[FFmpeg-devel] Additional RTSP issues
Wed Jul 15 12:38:53 CEST 2009
Just a question about design - why to keep these packets buffered (as it
>> seems to happen now), and not return them immediately to user, for his
> Well, the RTSP demuxer does not keep packets buffered. I guess they are
> buffered by libavformat during av_find_stream_info().
> So, I suspect this is application's decision (I think you can avoid calling
> av_find_stream_info(), and fill all the codecs' parameters by yourself...).
Thanks, I will try to fill it out myself and see how it works.
> Maybe just taking the first X correct timestamps, then approximate
>> for the non-stamped packets?
> Well, after receiving the first RTCP SR (and having the first reliable
> you can do some kind of backward extrapolation...
> But this is something that the application must do, not something for
Indeed, I prefer to do it in the application side.
More information about the ffmpeg-devel