Re: [Live-devel] Read multiple frames?

2007-05-27 Thread Ross Finlayson
>Shouldn't MPEG1or2VideoRTPSource deliver exactly ONE VIDEO FRAME? I stand corrected. Reviewing the code once again, I'm reminded that "MPEG1or2VideoRTPSource" does not deliver complete video 'frames', but instead delivers complete MPEG video headers, and complete 'slices'. (The reason for th

Re: [Live-devel] Read multiple frames?

2007-05-27 Thread Ross Finlayson
>All the above functions get porperly called when I start the >program, but the problem is that the ffmpeg decoder does not get >enough data when the MPEG1or2VideoRTPSource::getNextFrame() is just >called one time. size == 0 in this case but the frame can't be >completely decoded. numBytesRead

[Live-devel] Read multiple frames?

2007-05-27 Thread Julian Lamberty
Hi! I've subclassed FramedFilter to transcode a MPEG2 Stream (from vobStreamer) to MPEG4. My "live-chain" is: MPEG1or2VideoRTPSource -> Transcoder -> FileSink I use the following code: void Transcoder::doGetNextFrame() { fInputSource->getNextFrame(fOrg, 4096, afterGettingFrame, this, han