Luca Abeni wrote:
[...]
> What I wrote in my previous email is that I do not believe that the
> bug (if there is a bug) is in the demuxer... It probably is in
> libavformat/utils.c.
> I suspect the problem could be in compute_pkt_fields() or truncate_ts().
After actually looking at the code, it seems that maybe I spoke too soon:
are you using mpeg ps as an output format? If yes, the problem might be
there...
I see that libavformat/mpegenc.c contains
av_set_pts_info(st, 64, 1, 90000);
which looks very wrong to me. If you are using mpeg ps as an output format,
try commenting out that line from libavformat/mpegenc.c, and see if it
helps.
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user