FORUMS: list search recent posts

HOW: cut sbs 3d video with space between the two side

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
fratti franck
HOW: cut sbs 3d video with space between the two side
on Dec 14, 2014 at 12:39:45 am

Hello there,

I have to test the CARDBOARD from google with 3d movies but i have a problem with the space between the pictures.
Look at this (http://thebergerbits.com/wp-content/uploads/2014/09/avengers-3d-sbs-vr-demo.png from this post http://thebergerbits.com/?p=1097) and you'll understand what i mean.
I have done this command

ffmpeg -i in.mkv" -s 1280x720 -aspect 32:9 -vf scale=1120:630,pad=1280:720:80:45 -codec:v libx264 -crf 23 -preset slow out.mp4

because 1120x630 (1120=70*16 630=720*(1120/1280)) and (1280-1120)/2=80 and (720-630)/2=45

but i need THIS SPACE....

Is someone could help? PLEASE..

Thanks in advance.


Return to posts index

Lou Logan
Re: HOW: cut sbs 3d video with space between the two side
on Dec 15, 2014 at 7:10:20 pm

Please provide a short sample video. You could probably make one with ffmpeg:

ffmpeg -ss 00:10:00 -i input.mkv -t 10 -map 0 -c copy output.mkv


Return to posts index

fratti franck
Re: HOW: cut sbs 3d video with space between the two side
on Dec 16, 2014 at 6:57:32 pm

Hello,

Here's an example of video Side by Side.
First, the original one :




Seconde, Correct asspect :




Third, correct asspect with black bars :





No Fourth one , because it's the subject ;)

Thanks for searching ...


Return to posts index


fratti franck
Re: HOW: cut sbs 3d video with space between the two side
on Feb 9, 2015 at 2:03:39 am

and the result i found by myself (thank you all.... ;)
It's a pleasant place here where no one help you.
so here's the result







i make a left , right , and black movie parts, and then i join all in a last one

1-Making a black video with correct aspect

ffmpeg -i "logo.mkv" -an -vf scale=320:232,pad=320:376:0:72,crop=16:16:16:16 -s 1920x720 -aspect 32:9 -codec:v libx264 -preset veryfast -qp 0 -f matroska -y black.mkv

2- Extracting the left part of the side by side video

ffmpeg -i "logo.mkv" -filter:v "crop=960:800:00:140" -s 800x630 -aspect 21:9 -codec:v libx264 -preset ultrafast -qp 0 -f matroska -y left.mkv

3- Extracting the Right part of the side by side video

ffmpeg -i "logo.mkv" -filter:v "crop=960:800:960:140" -s 800x630 -aspect 21:9 -codec:v libx264 -preset ultrafast -qp 0 -f matroska -y right.mkv

4-Making the final video with Black , left and right parts

ffmpeg -i "black.mkv" -s 1920x1080 -y -vf "movie=left.mkv[inner];movie=right.mkv[inner2];[in][inner] overlay=80:45 [step1];[step1][inner2] overlay=1040:45 [out]" -preset veryfast -qp 0 -vcodec libx264 3d-final.mkv

Thank you all,But i have a question.
It is possible to un-use the overlay part because in some (a lot in fact) videos there is and overlay buffer error.

Thanks


Return to posts index

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