0

At the moment i am using handbreak to encode gaming clips made with Fraps while using 3D Vision by Nvidia. It is the only recording app to produce 3840x1080 Full SBS when recording using 3d Display with 1080p. Sadly the right side is displayed left, and youtube won't allow swapping sides in the settings, only in flash version of youtube the toggle exists. Using ffmpeg to encode my clips, is it possible to use a command of crop and stack to produce the output? Option desired are: h.254, PAR width:height=1:2, constant quality: rf=17, framerate same as source

1

There may be an easy, quick way out, which is to remux to Matroska and set metadata to indicate that the right view is on the left.

ffmpeg -i in.mp4 -c copy -stereo_mode right_left out.mkv

Upload to Youtube and check.


Else, FFmpeg has a filter to handle this directly.

ffmpeg -i in.mp4 -vf stereo3d=sbsr:sbsl -crf 17 -c:a copy out.mp4

The filter interprets the input as side-by-side with right eye view on left side (sbsr) and swaps the halves.

  • I will try both, concerning aspect ratio, in handbreak I set PAR 2:1 so that the video is squished to display correctly in youtube, how can I set it in FFmpeg? is it setdar=16:9? – chrisoutwright Sep 12 '16 at 18:50
  • So to swap sides and slow down the movie from 45 fps to 30 fps this would be it: ffmpeg -i 02.m4v -r 30 -filter:v "setpts=1.5*PTS,stereo3d=sbsr:sbsl,setsar=1:2" -filter:a "atempo=0.6667" -crf 19 -q:a 330 out2.mp4 – chrisoutwright Sep 12 '16 at 21:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.