2019-10-03 09:56, JackDesBwa: > 2019-10-03 01:23, Mark Thompson : > > 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 '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>. > > Wow, thanks to have worked on it. > Sure I can try the patch to confirm it works, but you might have to help me. > > 1. This patch seems to be in a series. Should I apply the whole series > or only this patch would suffice? > 2. On which base should I apply it/them? Only master seems to be > recent, but it does not have your patches yet. > 3. In this patch, you do not use av_frame_get_side_data(frame, > AV_FRAME_DATA_STEREO3D) as in libx264.c codec, but I see you added a > frame_packing. Does it mean I have to add an option in the command > line?
Mark Thompson, you did not answered my questions. As your code is still not on master, I cannot test to confirm if your patch is working without your instructions. JackDesBwa _______________________________________________ ffmpeg-user mailing list email@example.com https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".