[FFmpeg-devel] Videotoolbox encoder: Enable Videotoolbox encoder

Submitted by pon pon on Oct. 4, 2017, 12:55 a.m.

Details

Message ID CAGPT-GKASye2+DR_3mfn1BQKgDZqyeJ1jRVaRcSyQmmCQeQgSA@mail.gmail.com
State New
Headers show

Commit Message

pon pon Oct. 4, 2017, 12:55 a.m.
I reported that Videotoolbox encoder isn't enabled since commit
9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21
<http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d>
in ticket 6702.
This is a simple patch correcting it.


Thank you.

Comments

Clément Bœsch Oct. 4, 2017, 6:42 a.m.
On Wed, Oct 04, 2017 at 09:55:04AM +0900, pon pon wrote:
> I reported that Videotoolbox encoder isn't enabled since commit
> 9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21
> <http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d>
> in ticket 6702.
> This is a simple patch correcting it.
> 
> diff --git a/configure b/configure
> index ae0eddac6c..8922303c89 100755
> --- a/configure
> +++ b/configure
> @@ -1652,6 +1652,7 @@ HWACCEL_AUTODETECT_LIBRARY_LIST="
>      vda
>      vdpau
>      videotoolbox
> +    videotoolbox_encoder
>      v4l2_m2m
>      xvmc
>  "
> 

"videotoolbox_encoder" is not an autodetected library, it's a component
depending on videotoolbox, so i t doesn't belong in this list.

Please see http://ffmpeg.org/pipermail/ffmpeg-devel/2017-September/217075.html

If you can test it I'll apply it.

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index ae0eddac6c..8922303c89 100755
--- a/configure
+++ b/configure
@@ -1652,6 +1652,7 @@  HWACCEL_AUTODETECT_LIBRARY_LIST="
     vda
     vdpau
     videotoolbox
+    videotoolbox_encoder
     v4l2_m2m
     xvmc
 "