[FFmpeg-trac] #432(avcodec:new): -vcodec copy on webm produces incorrect frame rate

FFmpeg trac at avcodec.org
Tue Sep 6 12:52:16 CEST 2011


#432: -vcodec copy on webm produces incorrect frame rate
----------------------------------+----------------------------------
             Reporter:  gervin23  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  git
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------
 using the attached blank.jpg as a starting point to loop and produce a
 valid webm file with a frame rate of 15, the resulting copy command will
 produce a file with an incorrect codec frame rate of 1000.

 '''ffmpeg -v 9 -loglevel 99 -y -loop 1 -vframes 225 -r 15 -i blank.jpg -f
 webm -vcodec libvpx blank.webm'''

 '''ffmpeg -v 9 -loglevel 99 -y -i blank.webm -vcodec copy -f webm
 blank_copy.webm'''

 '''ffmpeg -v 9 -loglevel 99 -i blank_copy.webm'''

 ffmpeg version N-32325-g6f8b1fc, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Sep  5 2011 11:04:19 with gcc 4.5.2
   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
 --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree
 --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx
 --prefix=/tmp
   libavutil    51. 16. 0 / 51. 16. 0
   libavcodec   53. 13. 0 / 53. 13. 0
   libavformat  53. 11. 0 / 53. 11. 0
   libavdevice  53.  3. 0 / 53.  3. 0
   libavfilter   2. 37. 0 /  2. 37. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [matroska,webm @ 0x8ecaac0] Format matroska,webm probed with size=2048 and
 score=100
 st:0 removing common factor 1000000 from timebase
 [vp8 @ 0x8eccd60] Unsupported bit depth: 0
 [matroska,webm @ 0x8ecaac0] All info found
 [matroska,webm @ 0x8ecaac0] Estimating duration from bitrate, this may be
 inaccurate

 '''Seems stream 0 codec frame rate differs from container frame rate:
 1000.00 (1000/1) -> 15.00 (15/1)'''
 Input #0, matroska,webm, from 'blank_copy.webm':
   Duration: 00:00:14.99, start: 0.000000, bitrate: N/A
     Stream #0.0, 41, 1/1000: Video: vp8, yuv420p, 640x360, 1/1000, SAR 1:1
 DAR 16:9, 1k fps, 15 tbr, 1k tbn, 1k tbc (default)
 At least one output file must be specified

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


More information about the FFmpeg-trac mailing list