[FFmpeg-trac] #3558(undetermined:closed): "-fflags +igndts" generates wrong dts when rewrapping some ts files to mp4

FFmpeg trac at avcodec.org
Thu Apr 2 15:57:48 CEST 2015


#3558: "-fflags +igndts" generates wrong dts when rewrapping some ts files to mp4
-------------------------------------+-------------------------------------
             Reporter:  wim_arbor    |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  wish         |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mov          |               Resolution:  fixed
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by wim_arbor):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 This issue seems to be fixed by
 [http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=22844132069ebd2c0b2ac4e7b41c93c33890bfb9
 22844132069ebd2c0b2ac4e7b41c93c33890bfb9].

 current version still shows a warning, but the output is ok.
 {{{
 arbor at debian7:~$ bin/ffmpeg  -y -fflags +igndts -i
 of_commercial_dvb_cut.ts -f mov -c:a copy -c:v copy out.mp4
 ffmpeg version N-71212-g7034026 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (Debian 4.7.2-5)
   configuration: --disable-yasm
   libavutil      54. 22.100 / 54. 22.100
   libavcodec     56. 33.100 / 56. 33.100
   libavformat    56. 28.100 / 56. 28.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 13.101 /  5. 13.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
 [mp3 @ 0x23c16c0] Header missing
 [mpegts @ 0x23bc260] PES packet size mismatch
     Last message repeated 1 times
 Input #0, mpegts, from 'of_commercial_dvb_cut.ts':
   Duration: 00:00:06.00, start: 4576.668422, bitrate: 2506 kb/s
   Program 1
     Stream #0:0[0xa1]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p(tv, bt470bg), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k
 tbn, 50 tbc
     Stream #0:1[0x111](nla): Subtitle: dvb_teletext ([6][0][0][0] /
 0x0006)
     Stream #0:2[0x489](nla): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 192 kb/s
 Output #0, mov, to 'out.mp4':
   Metadata:
     encoder         : Lavf56.28.100
     Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x576 [SAR
 16:11 DAR 20:11], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
     Stream #0:1(nla): Audio: mp2 (.mp2 / 0x32706D2E), 48000 Hz, stereo,
 192 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:2 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 [mov @ 0x23c3080] Invalid DTS: -3600 PTS: -10800 in output stream 0:0,
 replacing by guess
 [mov @ 0x23c3080] Non-monotonous DTS in output stream 0:0; previous:
 -7199, current: -10800; changing to -7198. This may result in incorrect
 timestamps in the output file.
 [mov @ 0x23c3080] Non-monotonous DTS in output stream 0:0; previous:
 -7198, current: -7200; changing to -7197. This may result in incorrect
 timestamps in the output file.
 [mpegts @ 0x23bc260] PES packet size mismatch
 frame=  132 fps=0.0 q=-1.0 Lsize=    1586kB time=00:00:05.04
 bitrate=2578.6kbits/s
 video:1480kB audio:101kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.335123%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3558#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list