Michael Tison wrote:

> There have been a couple of files that have their AVPacket dts values
> out of order (and one with its pts value out of order) but other files
> I've used are just fine.
> Why would they be out of order?

I suppose your video stream contains B frames ?

Is it legal for a muxer to sort frames by PTS rather than by DTS ?

http://www.dranger.com/ffmpeg/tutorial05.html
http://avidemux.org/admWiki/index.php?title=B-frames

Do you know which encoders and which muxers produced each file ?

> Input #0, matroska, from 'final_nhk.mkv':
>   Duration: 00:23:39.97, start: 0.000000, bitrate: N/A
>     Stream #0.0: Video: mpeg4, yuv420p, 704x400 [PAR 1:1 DAR 44:25], 23.98 
> tb(r)
>     Stream #0.1(jpn): Audio: vorbis, 48000 Hz, stereo, s16
> 
> Input #0, asf, from 'robot_chicken.dvr-ms':

What container is this ?

>   Duration: 00:30:58.99, start: 0.166000, bitrate: 3709 kb/s
>     Stream #0.0: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
>     Stream #0.1: Invalid Codec type -1
>     Stream #0.2: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR 4:3], 3000 
> kb/s, 29.97 tb(r)

-- 
Regards.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to