FORUMS: list search recent posts

3D to 2D conversion with ffmpeg

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
alain dazzi
3D to 2D conversion with ffmpeg
on Feb 29, 2012 at 6:14:10 pm

I have a 3D video (AVCHD left, right side, with audio attached to left eye).
I convert it to 2D using ...

1/
ffmpeg -y -i 3D_V_.MP4 -r 20 -aspect 16:9
-vcodec mjpeg -qscale 1 -vf crop=960:1080:0:0 -acodec pcm_s16le -ac 2 l.avi

2/
ffmpeg -y -i 3D_V_.MP4 -r 20 -aspect 16:9
-vcodec mjpeg -qscale 1 -vf crop=960:1080:960:0 -an r.avi

3/
ffmpeg -y -i l.avi -i r.avi
-vcodec copy -acodec adpcm_ima_wav -ar 22050 -ab 32 -ac 2
-vcodec copy -map 0:0 -map 0:1 -map 1:0 HTD.AVI

This works great.

My question is: do I need the last step (#3)? step #2 actually produces a video+audio that works and I don't see any visual differences. Thank you for your comments.


Return to posts index

stephen dixon
Re: 3D to 2D conversion with ffmpeg
on Feb 29, 2012 at 9:21:59 pm

The last step puts both video streams into the one AVI file. If you don't need to hang on to both streams you could do it in one step (either step 1 or step 2, depending on whether you want to keep the left or right side).


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]