[FFmpeg-trac] #6482(avcodec:closed): h264_videotoolbox encoder hardcodes SPS with 25fps

FFmpeg trac at avcodec.org
Sun Oct 15 19:44:08 EEST 2017


#6482: h264_videotoolbox encoder hardcodes SPS with 25fps
------------------------------------+-----------------------------------
             Reporter:  tmm1        |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:  fixed
             Keywords:  vda         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by tmm1):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 If I write it into a mpegts container, the fps is detected correctly.
 (Containers with a header like mp4 or mkv already worked previously).

 macOS 10.12:

 {{{
 $ ffmpeg -i sample.mpg -c:v h264_videotoolbox -profile:v high -level 4.2
 -map v -frames 10 -y -f mpegts out-vt.mpg
 $ ffmpeg -i out-vt.mpg
 Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 25
 fps, 29.97 tbr, 90k tbn, 50 tbc
 }}}

 macOS 10.13:

 {{{
 $ ffmpeg -i sample.mpg -c:v h264_videotoolbox -profile:v high -level 4.2
 -map v -frames 10 -y -f mpegts out-vt.mpg
 $ ffmpeg -i out-vt.mpg
 Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97
 fps, 29.97 tbr, 90k tbn, 180k tbc
 }}}

 So I think we can safely say this was a VT bug and has been fixed in the
 latest macOS.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6482#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list