[FFmpeg-trac] #3658(undetermined:new): pts < dts av_interleaved_write_frame(): Invalid argument
FFmpeg
trac at avcodec.org
Tue May 20 22:06:35 CEST 2014
#3658: pts < dts av_interleaved_write_frame(): Invalid argument
--------------------------------+----------------------------------------
Reporter: bsnote | Owner:
Type: defect | Status: new
Priority: normal | Component: undetermined
Version: 2.2.1 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+----------------------------------------
Comment (by bsnote):
I've tried with current FFmpeg git HEAD (2491579) and x86 build using this
file http://s3.amazonaws.com/simpletv/streams/shared/tv.800000.100 . Same
problem, conversion is failing:
----
[bsnote at bsnotefedora19 ffmpeg (master)]$ ./ffmpeg -i tv.800000.100 -codec
copy -bsf:a aac_adtstoasc 1.mp4
ffmpeg version N-63346-g2491579 Copyright (c) 2000-2014 the FFmpeg
developers
built on May 20 2014 22:21:19 with gcc 4.8.2 (GCC) 20131212 (Red Hat
4.8.2-7)
configuration: --disable-ffplay --disable-ffprobe --disable-ffserver
--disable-debug --enable-hardcoded-tables --disable-iconv --disable-doc
--disable-everything --enable-decoder=aac --enable-decoder=h264 --enable-
muxer=mp4 --enable-demuxer=mov --enable-demuxer=mpegts --enable-parser=aac
--enable-parser=h264 --enable-bsf=aac_adtstoasc --enable-protocol=file
libavutil 52. 86.100 / 52. 86.100
libavcodec 55. 63.100 / 55. 63.100
libavformat 55. 39.100 / 55. 39.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
Input #0, mpegts, from 'tv.800000.100':
Duration: 00:30:45.42, start: 24293.446211, bitrate: 884 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p, 360x270 [SAR 1:1 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94
tbc
Stream #0:1[0x44]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp, 131 kb/s
Output #0, mp4, to '1.mp4':
Metadata:
encoder : Lavf55.39.100
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 360x270
[SAR 1:1 DAR 4:3], q=2-31, 29.97 fps, 90k tbn, 90k tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo,
131 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
13781987, current: 13781987; changing to 13781988. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2205360310 < 2205366316 out of orderitrate=
793.9kbits/s
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
20025225, current: 20025225; changing to 20025226. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2210387332 < 2210393338 out of order
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
24061257, current: 24061257; changing to 24061258. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2211909853 < 2211915859 out of order
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
25526721, current: 25526721; changing to 25526722. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
25682877, current: 25682877; changing to 25682878. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
26202396, current: 26202396; changing to 26202397. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
28340532, current: 28340532; changing to 28340533. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2215026967 < 2215032973 out of order
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
29382573, current: 29382573; changing to 29382574. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
32304492, current: 32304492; changing to 32304493. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
32385573, current: 32385573; changing to 32385574. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
32553741, current: 32553741; changing to 32553742. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
32790978, current: 32790978; changing to 32790979. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
34112298, current: 34112298; changing to 34112299. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
34310496, current: 34310496; changing to 34310497. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2221198132 < 2221204138 out of order
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
35286471, current: 35286471; changing to 35286472. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
37787970, current: 37787970; changing to 37787971. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
38613795, current: 38613795; changing to 38613796. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2226041971 < 2226047977 out of order
[mpegts @ 0x996b860] DTS 2226978907 < 2226984913 out of order
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
40697877, current: 40697877; changing to 40697878. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
61778937, current: 61778937; changing to 61778938. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
63460617, current: 63460617; changing to 63460618. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
65932086, current: 65932086; changing to 65932087. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
66082236, current: 66082236; changing to 66082237. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
69418569, current: 69418569; changing to 69418570. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
72139287, current: 72139287; changing to 72139288. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
80875014, current: 80875014; changing to 80875015. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
80884023, current: 80884023; changing to 80884024. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2274348229 < 2274354235 out of order
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
87974106, current: 87974106; changing to 87974107. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2278312189 < 2278318195 out of order
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
91920048, current: 91920048; changing to 91920049. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
96103228, current: 96103228; changing to 96103229. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
97586710, current: 97586710; changing to 97586711. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
102550669, current: 102550669; changing to 102550670. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
110481592, current: 110481592; changing to 110481593. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
129643735, current: 129643735; changing to 129643736. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
134004091, current: 134004091; changing to 134004092. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2323321154 < 2323327160 out of order
[mpegts @ 0x996b860] DTS 2323843676 < 2323849682 out of order
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
137562646, current: 137562646; changing to 137562647. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2326681511 < 2326687517 out of order
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
148427500, current: 148427500; changing to 148427501. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
149947018, current: 149947018; changing to 149947019. This may result in
incorrect timestamps in the output file.
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
151100170, current: 151100170; changing to 151100171. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] DTS 2347861670 < 2347867676 out of orderbitrate=
749.3kbits/s
[mp4 @ 0x99707c0] Non-monotonous DTS in output stream 0:0; previous:
161868928, current: 161868928; changing to 161868929. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x996b860] Invalid timestamps stream=0, pts=2348294102,
dts=2348300108, size=11255
[mpegts @ 0x996b860] Invalid timestamps stream=0, pts=2348297105,
dts=2348300108, size=3393
[mp4 @ 0x99707c0] pts (161883943) < dts (161889949) in stream 0
av_interleaved_write_frame(): Invalid argument
frame=51091 fps=9982 q=-1.0 Lsize= 167061kB time=00:29:58.81 bitrate=
760.8kbits/s
video:138629kB audio:26630kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 1.090201%
Conversion failed!
[bsnote at bsnotefedora19 ffmpeg (master)]$
----
Is there anything else I can do to help debug this?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3658#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list