[Slackbuilds-users] ffmpeg and hardware decoding in 14.2

Christoph Willing chris.willing at iinet.net.au
Mon Jul 25 11:46:36 UTC 2016


On 25/07/16 06:02, slackware at lemintown.eu wrote:
> Hi,
>
> Since slackbuilds should be executed in a full slackware environment we could
> add two lines in the ffmpeg script thanks to two new packages in 14.2:
>
> libva:
> --enable-vaapi \
>
> libvdpau:
>   --enable-vdpau \
>
> Another option would be to make them optional:
> VAAPI="yes"
> VDPAU="yes"

They are automagically enabled if detected at build time so no need to 
specifically enable them. You can confirm by checking your build output, 
which should have something like:

Enabled hwaccels:
h263_vaapi              mpeg1_vdpau             mpeg4_vdpau
h263_vdpau              mpeg1_xvmc              vc1_vaapi
h264_vaapi              mpeg2_vaapi             vc1_vdpau
h264_vdpau              mpeg2_vdpau             wmv3_vaapi
hevc_vaapi              mpeg2_xvmc              wmv3_vdpau
hevc_vdpau              mpeg4_vaapi

(at end of configuration, just  before compilation).


It's different if you want to disable these features but I think that 
would be an unusual case and should be left to the individual builder to 
modify their own copy of the SlackBuild.

chris



More information about the SlackBuilds-users mailing list