[FFmpeg-user] Question on FFMPEG MpegPS demuxer

Sunitha Aaraveti Sunitha.Aaraveti at tpvision.com
Thu Feb 27 04:49:06 CET 2014


Hi,

In libavformat/utils.c  the function "estimate_timings_from_pts" is used for MpegPs streams to calculate the total duration of the file/stream, there is

do {
                ret = ff_read_packet(ic, pkt);
            } while(ret == AVERROR(EAGAIN));

This ff_read_packet always returns -11 .The totalduration of few VBR mpeg ps  streams is coming zero because of this,Can you please suggest the wayforward.


Regards
-Sunitha




More information about the ffmpeg-user mailing list