On Thu, Oct 27, 2011 at 06:48:13PM +0200, Janne Grunau wrote: > The only sample we have has only intra frames. With more than > one thread the timestamp guessing code manages to break timestamps. > Setting dts prevents this and is still correct assuming files in > this format have only intra frames. > --- > libavformat/iv8.c | 2 +- > tests/ref/fate/iv8-demux | 50 > +++++++++++++++++++++++-----------------------
This is still broken with 2 threads due to bad interaction between has_b_frames setting to 1 after frame_thread_init in the mpeg4video parser, using frame threading during avformat_find_stream_info but of course not during demuxing with -vcodec copy. I think the most sane way to fix this add a field max_delay and use it instead of adding the number of threads to has_b_frames. patch dropped Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
