[FFmpeg-trac] #3140(undetermined:new): ffmpeg fails to convert some files with pts (xx) < dts (yy) in stream z

FFmpeg trac at avcodec.org
Fri Nov 15 11:21:28 CET 2013


#3140: ffmpeg fails to convert some files with pts (xx) < dts (yy) in stream z
--------------------------------------+----------------------------------
             Reporter:  julian        |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  2.1
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 download https://dl.dropboxusercontent.com/u/7221986/test.mkv

 (i have several other files exhibiting the same issue)
 try to convert with ffmpeg from mkv to mp4:

 {{{
 $ ffmpeg -i test.mkv -acodec copy -vcodec copy test.mp4
 ffmpeg version 2.1-tessus Copyright (c) 2000-2013 the FFmpeg developers
   built on Oct 28 2013 04:17:07 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
   configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm
 --extra-version=tessus --disable-shared --enable-static --disable-ffplay
 --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame
 --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
 --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-
 libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm
 --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass
 --enable-libbluray --enable-filters --enable-runtime-cpudetect
   libavutil      52. 48.100 / 52. 48.100
   libavcodec     55. 39.100 / 55. 39.100
   libavformat    55. 19.104 / 55. 19.104
   libavdevice    55.  5.100 / 55.  5.100
   libavfilter     3. 90.100 /  3. 90.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, matroska,webm, from 'test.mkv':
   Metadata:
     ENCODER         : Lavf54.29.104
   Duration: 00:00:10.24, start: 0.000000, bitrate: 4107 kb/s
     Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x700, SAR 1:1 DAR
 64:35, 25 fps, 25 tbr, 1k tbn, 47.95 tbc (default)
     Metadata:
       title           : x264_L4.1 @ 2555 Kbps
       LANGUAGE        : eng
     Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
 (default)
     Metadata:
       title           : English Dolby Digital 5.1 @ 640 Kbps
       LANGUAGE        : eng
 [mp4 @ 0x103823e00] track 1: codec frame size is not set
 Output #0, mp4, to 'test.mp4':
   Metadata:
     encoder         : Lavf55.19.104
     Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p,
 1280x700 [SAR 1:1 DAR 64:35], q=2-31, 25 fps, 16k tbn, 1k tbc (default)
     Metadata:
       title           : x264_L4.1 @ 2555 Kbps
       LANGUAGE        : eng
     Stream #0:1(eng): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz,
 5.1(side), 640 kb/s (default)
     Metadata:
       title           : English Dolby Digital 5.1 @ 640 Kbps
       LANGUAGE        : eng
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 [mp4 @ 0x103823e00] pts (3200) < dts (47232) in stream 0
 av_interleaved_write_frame(): Invalid argument
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3140>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list