Re: [Live-devel] Index onlive stream

2010-11-03 Thread Ross Finlayson
One problem thought. I read 7*188 bytes from input and output 188 byte each time. but when the indexer read 7th frame (last 188 bytes of 188*7 bytes) I get this error: Bad TS sync byte: 0x0 Then clearly you're not outputting the 7th 188-byte 'frame' correctly, because each of the 7 188-byte '

Re: [Live-devel] Index onlive stream

2010-11-03 Thread Mojtaba Nouri
Thank you. One problem thought. I read 7*188 bytes from input and output 188 byte each time. but when the indexer read 7th frame (last 188 bytes of 188*7 bytes) I get this error: Bad TS sync byte: 0x0 But when I drop the last frame each time, indexing works and it seems that it generates a correct

Re: [Live-devel] Index onlive stream

2010-11-02 Thread Ross Finlayson
I am trying to capture a live stream (which is MPEG2TS) via openRTSP and instead of recording it in 'video-MP2T-1', index the received video on-live. FramedSource* video1 = sources[0]; //I caught it from MediaSubsession MediaSink* outputIndexerSink = FileSink::createNew(*env, "out.tsx"); FramedSo

[Live-devel] Index onlive stream

2010-11-02 Thread Mojtaba Nouri
Hi I am trying to capture a live stream (which is MPEG2TS) via openRTSP and instead of recording it in 'video-MP2T-1', index the received video on-live. FramedSource* video1 = sources[0]; //I caught it from MediaSubsession MediaSink* outputIndexerSink = FileSink::createNew(*env, "out.tsx"); Framed