[FFmpeg-user] h264_videotooldbox usage

neve_capricorn at gmx.de neve_capricorn at gmx.de
Sun Aug 16 13:11:20 CEST 2015


anyone knows how to use h264_videotoolbox under OSX?

i tried for decoding this line (h264_videotoolbox was enabled and
include during the compile process).

Enabled hwaccels:
h263_videotoolbox	h264_videotoolbox	mpeg4_videotoolbox
h264_vda		mpeg1_videotoolbox
h264_vda_old		mpeg2_videotoolbox

Decoding
./ffmpeg -vcodec h264_videotoolbox -i ../demovideos/costarica.mp4 out.yuv

ffmpeg version N-74447-g767d780 Copyright (c) 2000-2015 the FFmpeg
developers
  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
3.6.0svn)
  configuration: --enable-libx264 --enable-gpl --enable-nonfree
--enable-libvpx
  libavutil      54. 30.100 / 54. 30.100
  libavcodec     56. 57.100 / 56. 57.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 33.100 /  5. 33.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Unknown decoder 'h264_videotoolbox'

Same for encoder:
./ffmpeg -i ../demovideos/costarica.mp4 -an -c:v h264_videotoolbox out.mp4


./ffmpeg -i ../demovideos/costarica.mp4 -c:v h264_videotoolbox out.mp4
ffmpeg version N-74447-g767d780 Copyright (c) 2000-2015 the FFmpeg
developers
  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
3.6.0svn)
  configuration: --enable-libx264 --enable-gpl --enable-nonfree
--enable-libvpx
  libavutil      54. 30.100 / 54. 30.100
  libavcodec     56. 57.100 / 56. 57.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 33.100 /  5. 33.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../demovideos/costarica.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2014-11-29 20:57:07
  Duration: 00:05:08.52, start: 0.000000, bitrate: 2567 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 2373 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 191 kb/s (default)
    Metadata:
      creation_time   : 2014-11-29 20:57:09
Unknown encoder 'h264_videotoolbox'




More information about the ffmpeg-user mailing list