[FFmpeg-trac] #712(FFmpeg:new): m2v: wrong duration

FFmpeg trac at avcodec.org
Tue Dec 6 15:46:01 CET 2011


#712: m2v: wrong duration
----------------------------------------+----------------------------------
             Reporter:  cbsrobot        |                    Owner:
                 Type:  defect          |                   Status:  new
             Priority:  normal          |                Component:  FFmpeg
              Version:  git-master      |               Resolution:
             Keywords:  mpeg2video m2v  |               Blocked By:
             Blocking:                  |  Reproduced by developer:  0
Analyzed by developer:  0               |
----------------------------------------+----------------------------------

Comment (by cbsrobot):

 $ ffmpeg -i aletrek-rle.mov -target pal-dvd -f mpeg2video -an aletrek-
 rle.m2v
 ffmpeg version N-35336-g18abf46, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Dec  1 2011 22:40:41 with gcc 4.2.1 (Apple Inc. build 5666)
 (dot 3)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-
 libxvid --enable-libvpx --enable-libmp3lame --enable-libfreetype --enable-
 libopenjpeg --prefix=/usr/local
   libavutil    51. 29. 1 / 51. 29. 1
   libavcodec   53. 39. 1 / 53. 39. 1
   libavformat  53. 24. 0 / 53. 24. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 50. 0 /  2. 50. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0

 Seems stream 0 codec frame rate differs from container frame rate: 600.00
 (600/1) -> 10.00 (10/1)
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aletrek-rle.mov':
   Metadata:
     creation_time   : 2002-10-18 17:15:11
   Duration: 00:00:03.33, start: 0.000000, bitrate: 567 kb/s
     Stream #0:0(eng): Video: qtrle (rle  / 0x20656C72), rgb24, 160x120,
 564 kb/s, 10.20 fps, 10 tbr, 600 tbn, 600 tbc
     Metadata:
       creation_time   : 2002-10-18 17:15:11
       handler_name    : ?Apple Alias Data Handler
 File 'aletrek-rle.m2v' already exists. Overwrite ? [y/N] y
 w:160 h:120 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
 [scale @ 0x101813fa0] w:160 h:120 fmt:rgb24 -> w:720 h:576 fmt:yuv420p
 flags:0x4
 Output #0, mpeg2video, to 'aletrek-rle.m2v':
   Metadata:
     creation_time   : 2002-10-18 17:15:11
     encoder         : Lavf53.24.0
     Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x576, q=2-31, 6000
 kb/s, 90k tbn, 25 tbc
     Metadata:
       creation_time   : 2002-10-18 17:15:11
       handler_name    : ?Apple Alias Data Handler
 Stream mapping:
   Stream #0:0 -> #0:0 (qtrle -> mpeg2video)
 Press [q] to stop, [?] for help
 [mpeg2video @ 0x10204ce00] rc buffer underflow
 frame=   85 fps=  0 q=2.0 Lsize=     841kB time=00:00:03.36
 bitrate=2051.1kbits/s dup=51 drop=0
 video:841kB audio:0kB global headers:0kB muxing overhead 0.000000%



 ffprobe aletrek-rle.m2v
 ffprobe version N-35336-g18abf46, Copyright (c) 2007-2011 the FFmpeg
 developers
   built on Dec  1 2011 22:40:41 with gcc 4.2.1 (Apple Inc. build 5666)
 (dot 3)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-
 libxvid --enable-libvpx --enable-libmp3lame --enable-libfreetype --enable-
 libopenjpeg --prefix=/usr/local
   libavutil    51. 29. 1 / 51. 29. 1
   libavcodec   53. 39. 1 / 53. 39. 1
   libavformat  53. 24. 0 / 53. 24. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 50. 0 /  2. 50. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mpegvideo @ 0x10200f200] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, mpegvideo, from 'aletrek-rle.m2v':
   Duration: 00:00:00.76, bitrate: 8999 kb/s
     Stream #0:0: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 1:1 DAR
 5:4], 9000 kb/s, 25 fps, 25 tbr, 1200k tbn, 50 tbc


 $ ffprobe aletrek-rle.mov
 ffprobe version N-35336-g18abf46, Copyright (c) 2007-2011 the FFmpeg
 developers
   built on Dec  1 2011 22:40:41 with gcc 4.2.1 (Apple Inc. build 5666)
 (dot 3)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-
 libxvid --enable-libvpx --enable-libmp3lame --enable-libfreetype --enable-
 libopenjpeg --prefix=/usr/local
   libavutil    51. 29. 1 / 51. 29. 1
   libavcodec   53. 39. 1 / 53. 39. 1
   libavformat  53. 24. 0 / 53. 24. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 50. 0 /  2. 50. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aletrek-rle.mov':
   Metadata:
     creation_time   : 2002-10-18 17:15:11
   Duration: 00:00:03.33, start: 0.000000, bitrate: 567 kb/s
     Stream #0:0(eng): Video: qtrle (rle  / 0x20656C72), rgb24, 160x120,
 564 kb/s, 10.20 fps, 10 tbr, 600 tbn, 600 tbc
     Metadata:
       creation_time   : 2002-10-18 17:15:11
       handler_name    : ?Apple Alias Data Handler

-- 
Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/712#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list