[FFmpeg-user] Stereoscopic hwaccel

Mark Thompson sw at jkqxz.net
Thu Oct 3 02:14:53 EEST 2019


On 17/09/2019 17:33, JackDesBwa wrote:
> Hi,
> 
> I do stereoscopic (3d) photography for a few years and I just start to
> experiment on stereoscopic videos.
> The filter_complex argument of ffmpeg allows me to do the editing I have in
> mind more precisely and less painfully than I was able to do with regular
> non-linear editors before.
> Now that the basic editing tools seem to be right for my video projects, I
> want to accelerate rendering with hardware, and here starts my question.
> 
> *How to have frame-packing information in h264 streams when generated with
> hardware acceleration?*
> 
> ...
> Accelerating with vaapi:
> ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi
> -hwaccel_output_format vaapi -i aligned/l_01.mp4 -i aligned/r_01.mp4
> -filter_complex '[0][1]framepack=sbs,format=nv12|vaapi,hwupload' -c:v
> h264_vaapi -qp 22 -profile:v high out_vaapi.mp4

Try this with <https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2019-October/250966.html>.

- Mark


More information about the ffmpeg-user mailing list