[FFmpeg-trac] #2211(undetermined:new): Not possible to override bogus FPS in raw h264 streams

FFmpeg trac at avcodec.org
Wed Jan 30 11:28:32 CET 2013


#2211: Not possible to override bogus FPS in raw h264 streams
-------------------------------------+-------------------------------------
             Reporter:  jaanusk      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  h264         |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by jaanusk):

 Working example:

 {{{

 $ ffmpeg -r 15 -i sample.h264 -vcodec copy out.mp4
 ffmpeg version 0.11.2 Copyright (c) 2000-2012 the FFmpeg developers
   built on Jan 23 2013 11:04:28 with gcc 4.4.5
   configuration:
   libavutil      51. 54.100 / 51. 54.100
   libavcodec     54. 23.100 / 54. 23.100
   libavformat    54.  6.100 / 54.  6.100
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     2. 77.100 /  2. 77.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
 [h264 @ 0x1e459160] max_analyze_duration 5000000 reached at 5000000
 [h264 @ 0x1e459160] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, h264, from 'sample.h264':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: h264 (High), yuv420p, 960x720, 15 fps, 15 tbr,
 1200k tbn, 30 tbc
 Output #0, mp4, to 'out.mp4':
   Metadata:
     encoder         : Lavf54.6.100
     Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 960x720,
 q=2-31, 15 fps, 1200k tbn, 1200k tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 frame=  140 fps=0.0 q=-1.0 Lsize=     202kB time=00:00:09.26 bitrate=
 178.8kbits/s
 video:200kB audio:0kB global headers:0kB muxing overhead 1.108398%
 }}}

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


More information about the FFmpeg-trac mailing list