VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Jul 2010
    Location
    Sweden
    Search PM
    is that possible. I have read that something like this should work can anyone help me with this.


    ffmpeg -i input.mkv -vf "[in] scale=960:1080, pad=2*960:1080 [left]; movie=right.mkv, scale=960:1080 [right]; [left][right] overlay=1920:0 [out]" -b:v 10000k -vcodec libx264 -an SBS.mkv
    Quote Quote  
  2. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Not familiar enough with ffmpeg's order of operations, but it looks like it should work. Strange that your left image would be called "input" and your right, "right" (but that's just me). But shouldn't the "overlay=960:0" ? Right image starts at midpoint, correct?

    This assumes you have 2 completely separate standard 1080p 2D files, one for each eyeview.
    I'd suggest using the more generic height & width features, or calculations, to make the same script easier to use with various dimensions of video...

    Scott
    Quote Quote  
  3. Member
    Join Date
    Jul 2012
    Location
    Los Angeles
    Search PM
    I understand you have two video files (left and right), so try that:

    ffmpeg -i "left.mkv" -i "right.mkv" -filter_complex "pad=in_w*2:in_h, overlay=main_w/2:0, scale=in_w/2:in_h, scale=-1:1080" -b:v 10000k -vcodec libx264 -an "output.mkv"
    Quote Quote  
  4. Member
    Join Date
    Jul 2010
    Location
    Sweden
    Search PM
    that seems to look more good will try that one.
    Yes I have the lefteye file and righteye file. I have several Blueray disc that I want to do an backup off and it should be playable in my Media player.
    Quote Quote  
  5. Member
    Join Date
    Jul 2012
    Location
    Los Angeles
    Search PM
    Actually you can remove this part "scale=-1:1080" if your input streams are already 1080 pix in height.. I put this filter to reduce the output for my phone (EVO 3D) by using "scale=-1:540" instead. The "-1" automatically calculate the width and keep the aspect ratio of the video.

    Good luck with ffmpeg, it's a powerful tool when you know how to use it!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!