Closed app174 closed 8 years ago
You can add --enable-videotoolbox to CONFIGURE_FLAGS.
add --enable-videotoolbox to CONFIGURE_FLAGS is not work.
config.h:
it's not effect the config.h . after the ./configure,will generate the config.h file. make will use the config.h to compile. so, it's not work.
From Changelog:
- OS X VideoToolbox support
So I guess it's not ported to iOS yet. You should contact VideoToolbox maintainer if you need it.
the issue was solved by using FFmpeg-master instead of release2.8 version. thx
@app174 Were you able to get VideoToolbox to work on iOS? When I compile ffmpeg with the --enable-videotoolbox
configure flag, I get the same problem as you had, the video toolbox macros are all 0
--enable-videotoolbox option is [autodetect] in FFmpeg's configure script.
I ADD A LINE in build-ffmpeg.sh, to exit after ./configure running:
After running build-ffmpeg.sh, the ./configure lists the enabled features: ... Enabled hwaccels:
...
There's no enabled hwaccels.
if I directly run ./configure in FFmpeg-2.8 source , without any option, hwaccels will be enabled in the output:
Enabled hwaccels: h263_videotoolbox h264_videotoolbox mpeg4_videotoolbox h264_vda mpeg1_videotoolbox h264_vda_old mpeg2_videotoolbox
So, How to compile ffmpeg 2.8 with --enable-videotoolbox supported for iOS? plz help, thx