#222: Remuxing video fails --------------------------+------------------------- Reporter: igloo | Type: defect Status: new | Priority: important Component: undetermined | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | --------------------------+------------------------- I was trying to remux http://urchin.earth.li/~ian/video_problem/00001.MTS (8 MB) but I get:
{{{ $ ffmpeg -i 00001.MTS -vcodec copy -acodec copy 00001.mp4 ffmpeg version git-N-29957-g85eedcf, Copyright (c) 2000-2011 the FFmpeg developers built on May 18 2011 20:45:00 with gcc 4.6.1 20110507 (prerelease) configuration: --prefix=/home/ian/code/ffmpeg/inst2 --enable-gpl libavutil 51. 2. 1 / 51. 2. 1 libavcodec 53. 5. 0 / 53. 5. 0 libavformat 53. 1. 0 / 53. 1. 0 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 5. 0 / 2. 5. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1) Input #0, mpegts, from '00001.MTS': Duration: 00:00:04.16, start: 1.000033, bitrate: 16038 kb/s Program 1 Stream #0.0[0x1011]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s Stream #0.2[0x1200]: Subtitle: pgssub Output #0, mp4, to '00001.mp4': Metadata: encoder : Lavf53.1.0 Stream #0.0: Video: ![0][0][0] / 0x0021, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 25 tbn, 25 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, [?] for help [mp4 @ 0x247f600] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1 >= 1 av_interleaved_write_frame(): Invalid argument $ }}} More info: {{{ $ ffmpeg -v 9 -loglevel 99 -i 00001.MTS ffmpeg version git-N-29957-g85eedcf, Copyright (c) 2000-2011 the FFmpeg developers built on May 18 2011 20:45:00 with gcc 4.6.1 20110507 (prerelease) configuration: --prefix=/home/ian/code/ffmpeg/inst2 --enable-gpl libavutil 51. 2. 1 / 51. 2. 1 libavcodec 53. 5. 0 / 53. 5. 0 libavformat 53. 1. 0 / 53. 1. 0 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 5. 0 / 2. 5. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 [NULL @ 0x2963d40] Format mpegts probed with size=2048 and score=100 [mpegts @ 0x2963d40] stream=0 stream_type=1b pid=1011 prog_reg_desc=HDMV [mpegts @ 0x2963d40] stream=1 stream_type=81 pid=1100 prog_reg_desc=HDMV [mpegts @ 0x2963d40] stream=2 stream_type=90 pid=1200 prog_reg_desc=HDMV [h264 @ 0x29692e0] Unsupported bit depth: 0 [h264 @ 0x29692e0] no picture [mpegts @ 0x2963d40] Probe buffer size limit 5000000 reached Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1) Input #0, mpegts, from '00001.MTS': Duration: 00:00:04.16, start: 1.000033, bitrate: 16038 kb/s Program 1 Stream #0.0[0x1011], 137, 1/90000: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 1/50, 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0.1[0x1100], 76, 1/90000: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s Stream #0.2[0x1200], 30, 1/90000: Subtitle: pgssub At least one output file must be specified $ }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/222> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac