Answers.Body: <p>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.</p>
  
  <pre><code>ffmpeg -i in.mp4 -c copy -stereo_mode right_left out.mkv
  </code></pre>
  
  <p>Upload to Youtube and check.</p>
  
  <hr>
  
  <p>Else, FFmpeg has a filter to handle this directly.</p>
  
  <pre><code>ffmpeg -i in.mp4 -vf stereo3d=sbsr:sbsl -crf 17 -c:a copy out.mp4
  </code></pre>
  
  <p>The filter interprets the input as side-by-side with right eye view on left side (sbsr) and swaps the halves.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-12T18:50:29.200Z
Answers.Text: 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?
Answers.UserDisplayName: chrisoutwright
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-12T21:57:30.807Z
Answers.Text: 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`
Answers.UserDisplayName: chrisoutwright
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-12T18:30:43.880Z
Answers.LastActivityDate: 2016-09-12T18:30:43.880Z
Answers.UserDisplayName: Gyan
Body: <p>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: <em>h.254, PAR width:height=1:2, constant quality: rf=17, framerate same as source</em></p>
  
Tags: <ffmpeg>
Title: Swapping video sides of side-by-side clip with ffmpeg
UserDisplayName: chrisoutwright
ThreadText: # Swapping video sides of side-by-side clip with ffmpeg
  
  (Asked by: username_0 on 2016-09-12)
  
  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*
  
  **Tags:** ffmpeg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-09-12. Score: 3 | Accepted answer
  
  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.
  
  > **Comments:**
  > **username_0**: 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?  
  > **username_0**: 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`  
  
  ---
  
  