Date: Thu, 21 Feb 2019 17:03:35 +0100 From: <driesm.michiels@gmail.com> To: "'Jan Beich'" <jbeich@FreeBSD.org> Cc: <freebsd-multimedia@freebsd.org> Subject: RE: FFmpeg hardware transcoding Message-ID: <000b01d4c9ff$003d7c60$00b87520$@gmail.com> In-Reply-To: <o976-vzk9-wny@FreeBSD.org> References: <005401d4c957$c6bbc840$543358c0$@gmail.com> <o976-vzk9-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for this thorough response! > -----Original Message----- > From: Jan Beich <jbeich@FreeBSD.org> > Sent: woensdag 20 februari 2019 23:57 > To: driesm.michiels@gmail.com > Cc: freebsd-multimedia@freebsd.org > Subject: Re: FFmpeg hardware transcoding > > <driesm.michiels@gmail.com> writes: > > > What is the minimum requirements for being able to utilize quick sync > > on my intel chip for ffmpeg hardware transcoding? > > I don't configure my system(s) daily to remember such things. ;) > > Quick Sync Video is exposed via MediaSDK (high-level) and libva (low-level). > MediaSDK hasn't been ported yet but media-driver (its backend) has. > FFmpeg and GStreamer support both MediaSDK and libva. > > > 1. DRM module loaded > > 2. Correct permission for the application on /dev/dri/renderD128 > > 3. FFmpeg build with libva support (VAAPI on) > > 4. Either libva-intel-driver or libva-intel-media-driver > > > Are there any more I am missing? > > Probably not. Try and report your issues. > > > I saw another driver in ports as "multimedia/libva-intel-media-driver"? > > Try both. ;) Some examples from > https://trac.ffmpeg.org/wiki/Hardware/VAAPI > don't work on iHD e.g., "Burn subtitles into the video while transcoding". > > i965 (libva-intel-driver) advantages: > - VP8 encoding on Skylake > - Partial VP8 encoding on Haswell/Broadwell > - Partial VP9 decoding on Haswell/Broadwell/Skylake > - H264 encoding profiles for Multiview and Stereo > > iHD (libva-intel-media-driver) advantages: > - Decoding on console framebuffer (e.g, mpv --gpu-context=drm) > - Better encoding performance (even without MediaSDK) > - FEI (Flexible Encoding Infrastructure) for HEVC > - JIT (Just-In-Time) compilation of media kernels (needs intel-graphics- > compiler) > - Icelake support (and maybe Xe in future) > - Actively developed upstream
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01d4c9ff$003d7c60$00b87520$>