New submission from WD <[email protected]>:
I have an h.264 TS stream from a Motorola DCT 6200 digital cable box via a
Hauppauge hd-pvr capture device. The audio stream is passthrough AC3 from the
STB. In attempting to transcode a recording to MPEG2, I get a "non monotone
timestamps" error with a value of -1.
Here is the output from ffmpeg:
ffmpeg -threads 4 -v 1 -i "/mnt/slanky/mythtv/2198_20110107010000.mpg" -r ntsc
-target dvd -b 9000k -s 720x480 -acodec copy -copyts -aspect 16:9 -pass 1
-passlogfile /var/lib/mytharchive/temp/work/pass
"/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 5 2010 22:35:47 with gcc 4.4.5
configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter
--enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm
--enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx
--disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc
--enable-x11grab --enable-libdc1394 --enable-shared --disable-static
WARNING: library configuration mismatch
libavutil configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib
--enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl
--enable-postproc --enable-x11grab --enable-libdc1394
--shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static
--disable-ffmpeg --disable-ffplay
libavcodec configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib
--enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl
--enable-postproc --enable-x11grab --enable-libdc1394
--shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static
--disable-ffmpeg --disable-ffplay
libavformat configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib
--enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl
--enable-postproc --enable-x11grab --enable-libdc1394
--shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static
--disable-ffmpeg --disable-ffplay
libavdevice configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib
--enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl
--enable-postproc --enable-x11grab --enable-libdc1394
--shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static
--disable-ffmpeg --disable-ffplay
libavfilter configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib
--enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl
--enable-postproc --enable-x11grab --enable-libdc1394
--shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static
--disable-ffmpeg --disable-ffplay
libswscale configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib
--enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl
--enable-postproc --enable-x11grab --enable-libdc1394
--shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static
--disable-ffmpeg --disable-ffplay
libpostproc configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib
--enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl
--enable-postproc --enable-x11grab --enable-libdc1394
--shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static
--disable-ffmpeg --disable-ffplay
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpegts @ 0x81c2420]max_analyze_duration reached
Seems stream 0 codec frame rate differs from container frame rate: 59.94
(60000/1001) -> 59.94 (60000/1001)
Input #0, mpegts, from '/mnt/slanky/mythtv/2198_20110107010000.mpg':
Duration: 00:05:47.11, start: 0.387056, bitrate: 66824 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9],
59.96 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Assuming NTSC for target.
[mpeg2video @ 0x81c5d80]impossible bitrate constraints, this will fail
Output #0, dvd, to '/var/lib/mytharchive/temp/work/1/newfile2.mpg':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR 16:9],
q=2-31, pass 1, 9000 kb/s, 90k tbn, 29.97 tbc
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, 448 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[h264 @ 0x81c6af0]Cannot parallelize deblocking type 1, decoding such frames in
sequential order
<cut progress indicators>
[dvd @ 0x81c7bb0]st:1 error, non monotone timestamps 291611519 >= -1
av_interleaved_write_frame(): Operation not permitted
The TS file in question is about 3GB in size. If there's some way to losslessly
cut the file to something more reasonable around the position in question, I
could upload a sample file. The last progress indicator before the indicator
shows that ffmpeg is at frame 97107 in the source file.
----------
messages: 13373
priority: normal
status: new
substatus: new
title: AC3 from DCT 6200 stb: non monotone timestamp (-1)
type: bug
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2535>
________________________________________________