Answers.Body: <p>You'll need to use something different, other than VirtualDub. Sony Vegas 8+ comes to my mind.</p>
  
  <p>In Sony Vegas you can put your video, rotate it, crop it and fit the first upper part in the left side of the video. I am assuming that you are going to use a 16:9 aspect ratio video project for this case, so you can use the left side of the canvas in order to put the first part of your video.</p>
  
  <p>In another row in the time line, you can add the same video, rotate it, crop it and fit the right side of the project. This way, you can put the parts of the video in whatever position, rotation, size, zoom, etc. as you wish.</p>
  
  <p>I suggest you to run a search on youtube with the words "Sony Vegas Pan Crop Tutorial" in order to find useful tricks on how to do this. I was about to suggest you some of them but they doesn't cover exactly your need. Nevertheless, learning how to pan/crop a video you can achieve this task.</p>
  
  <p>Good luck!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2012-09-22T16:50:24.067Z
Answers.LastActivityDate: 2012-09-22T16:50:24.067Z
Answers.UserDisplayName: Geppettvs D'Constanzo
Answers.Body: <p>FFmpeg can do anything :D</p>
  
  <pre><code>ffmpeg -i input.mp4 \
  -filter_complex '[0:v]split[top][bottom];[bottom]crop=iw:ih/2:0:ih/2[right];[top]crop=iw:ih/2:0:0,pad=iw*2:ih:0:0[left];[left][right]overlay=W/2:0[outv]' \
  -map [outv] -c:v libx264 -crf 22 -preset veryfast output.mp4
  </code></pre>
  
  <p>The <a href="http://ffmpeg.org/ffmpeg-filters.html#split" rel="nofollow">split</a> filter creates two identical versions of the input video (<code>[0:v]</code>), called <code>[top]</code> and <code>[bottom]</code> for the purposes of the filtergraph. The first <a href="http://ffmpeg.org/ffmpeg-filters.html#crop" rel="nofollow">crop</a> cuts the top half of <code>[bottom]</code> off, creating an output called <code>[right]</code>; the second <a href="http://ffmpeg.org/ffmpeg-filters.html#crop" rel="nofollow">crop</a> removes the bottom half of <code>[top]</code>, then sends it to the <a href="http://ffmpeg.org/ffmpeg-filters.html#pad" rel="nofollow">pad</a> filter, which doubles the width of the video frame to the right and creates an output <code>[left]</code>. Finally, <code>[left]</code> and <code>[right]</code> are sent to the <a href="http://ffmpeg.org/ffmpeg-filters.html#overlay-1" rel="nofollow">overlay</a> filter, which places <code>[right]</code> on top of <code>[left]</code>, on top of the black area created by the pad filter, creating the final output <code>[outv]</code>.</p>
  
  <p>Unfortunately I can't put a line break in the <code>-filter_complex</code>, since that would break the command.</p>
  
  <p><code>-map [outv]</code> tells ffmpeg to use the video output of the complex filtergraph; if you want to use the input audio too, you can use <code>-map 0:a</code> as well. All the <code>-c:v</code> and so on are video settings.</p>
  
  <p>Here's a slightly shorter, but less clear version of the above command:</p>
  
  <pre><code>ffmpeg -i input.mp4 \
  -filter_complex 'split[top][bottom];[bottom]crop=iw:ih/2:0:ih/2[right];[top]crop=iw:ih/2:0:0,pad=iw*2:ih:0:0,[right]overlay=W/2:0' \
  -c:v libx264 -crf 22 -preset veryfast output.mp4
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-01-16T17:48:28.160Z
Answers.LastActivityDate: 2013-01-16T17:48:28.160Z
Answers.UserDisplayName: evilsoup
Body: <p>I want to crop the video at some position and move the part next to the part that wasn't cropped. (See image, it explains better)</p>
  
  <p><img src="https://i.sstatic.net/QCJJC.png" alt="example"></p>
  
  <p><a href="https://i.sstatic.net/mzBN8.png" rel="nofollow noreferrer">https://i.sstatic.net/mzBN8.png</a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2012-09-22T11:02:25.507Z
Comments.Text: I'm not sure I understand. You want to move lower half of the frame to the right side? On each frame? In that case you'd turn from portrait mode to landscape (to use photography terms) and screw up initial resolution? And... what software you have at disposal?
Comments.UserDisplayName: dandellion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2012-09-22T13:48:26.420Z
Comments.Text: I have VirtualDub.
Comments.UserDisplayName: Blastcore
Tags: <video><editing>
Title: How do I move (rearrange) the orientation of a video?
UserDisplayName: Blastcore
ThreadText: # How do I move (rearrange) the orientation of a video?
  
  (Asked by: username_0 on 2012-09-21)
  
  I want to crop the video at some position and move the part next to the part that wasn't cropped. (See image, it explains better)
  
  ![example](https://i.sstatic.net/QCJJC.png)
  
  <https://i.sstatic.net/mzBN8.png>
  
  **Tags:** video, editing
  
  > **Comments:**
  > **username_1**: I'm not sure I understand. You want to move lower half of the frame to the right side? On each frame? In that case you'd turn from portrait mode to landscape (to use photography terms) and screw up initial resolution? And... what software you have at disposal?  
  > **username_0**: I have VirtualDub.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2012-09-22. Score: 1 | Accepted answer
  
  You'll need to use something different, other than VirtualDub. Sony Vegas 8+ comes to my mind.
  
  In Sony Vegas you can put your video, rotate it, crop it and fit the first upper part in the left side of the video. I am assuming that you are going to use a 16:9 aspect ratio video project for this case, so you can use the left side of the canvas in order to put the first part of your video.
  
  In another row in the time line, you can add the same video, rotate it, crop it and fit the right side of the project. This way, you can put the parts of the video in whatever position, rotation, size, zoom, etc. as you wish.
  
  I suggest you to run a search on youtube with the words "Sony Vegas Pan Crop Tutorial" in order to find useful tricks on how to do this. I was about to suggest you some of them but they doesn't cover exactly your need. Nevertheless, learning how to pan/crop a video you can achieve this task.
  
  Good luck!
  
  
  ---
  
  ### Answer by username_3 on 2013-01-16. Score: 2
  
  FFmpeg can do anything :D
  
  ```
  ffmpeg -i input.mp4 \
  -filter_complex '[0:v]split[top][bottom];[bottom]crop=iw:ih/2:0:ih/2[right];[top]crop=iw:ih/2:0:0,pad=iw*2:ih:0:0[left];[left][right]overlay=W/2:0[outv]' \
  -map [outv] -c:v libx264 -crf 22 -preset veryfast output.mp4
  
  ```
  
  The [split](http://ffmpeg.org/ffmpeg-filters.html#split) filter creates two identical versions of the input video (`[0:v]`), called `[top]` and `[bottom]` for the purposes of the filtergraph. The first [crop](http://ffmpeg.org/ffmpeg-filters.html#crop) cuts the top half of `[bottom]` off, creating an output called `[right]`; the second [crop](http://ffmpeg.org/ffmpeg-filters.html#crop) removes the bottom half of `[top]`, then sends it to the [pad](http://ffmpeg.org/ffmpeg-filters.html#pad) filter, which doubles the width of the video frame to the right and creates an output `[left]`. Finally, `[left]` and `[right]` are sent to the [overlay](http://ffmpeg.org/ffmpeg-filters.html#overlay-1) filter, which places `[right]` on top of `[left]`, on top of the black area created by the pad filter, creating the final output `[outv]`.
  
  Unfortunately I can't put a line break in the `-filter_complex`, since that would break the command.
  
  `-map [outv]` tells ffmpeg to use the video output of the complex filtergraph; if you want to use the input audio too, you can use `-map 0:a` as well. All the `-c:v` and so on are video settings.
  
  Here's a slightly shorter, but less clear version of the above command:
  
  ```
  ffmpeg -i input.mp4 \
  -filter_complex 'split[top][bottom];[bottom]crop=iw:ih/2:0:ih/2[right];[top]crop=iw:ih/2:0:0,pad=iw*2:ih:0:0,[right]overlay=W/2:0' \
  -c:v libx264 -crf 22 -preset veryfast output.mp4
  
  ```
  
  
  ---
  
  