Monday, July 13, 2020

ffmpeg stereo 3d VR180

Sorry, this is some raw notes and highlights here.


https://ffmpeg.org/ffmpeg-filters.html#stereo3d


hequirect
Half equirectangular projection.

target_geometry
The target geometry of the output image/video. The following values are valid options:
rectilinear (default)
fisheye
panoramic
equirectangular
fisheye_orthographic
fisheye_stereographic
fisheye_equisolid
fisheye_thoby
dfisheye
Dual fisheye.

fisheye
Fisheye projection.

11.223.1 Examples


  • Convert equirectangular video to cubemap with 3x2 layout and 1% padding using bicubic interpolation:
    ffmpeg -i input.mkv -vf v360=e:c3x2:cubic:out_pad=0.01 output.mkv
    
  • Extract back view of Equi-Angular Cubemap:
    ffmpeg -i input.mkv -vf v360=eac:flat:yaw=180 output.mkv
    
  • Convert transposed and horizontally flipped Equi-Angular Cubemap in side-by-side stereo format to equirectangular top-bottom stereo format:
    v360=eac:equirect:in_stereo=sbs:in_trans=1:ih_flip=1:out_stereo=tb
    

https://trac.ffmpeg.org/wiki/Stereoscopic

ffmpeg -i top-and-bottom.mov -vf stereo3d=abl:sbsl -c:a copy side-by-side.mov


ENCODING VR 360 AND 180 IMMERSIVE VIDEOS FOR OCULUS MEDIA STUDIO AND SIDELOADING INTO OCULUS QUEST AND GOhttps://echeng.com/articles/encoding-for-oculus-media-studio/



No comments: