I have a 3D video showing curved playback at the edges when playing it a on a flat screen. I'm trying to convert it to 2D using FFMPEG with the help of Stereo3d filter. By applying the filter to FFPLAY, the video is played back exactly of what is expected off the filter, i.e the curves at edges are gone and become plane. Here is command code for playing:

ffplay "in.mp4" -vf stereo3d=sbsl:ml

Encoding the video with same filter using different presets for libx264 or h264_qsv encoder, produced a video with same curved edges!!! Just like the stereo3d filter acts as a crop filter cropping the video correctly, resizing and adjusting aspect ratio, but didn't transform curved edges to plane one. Command code for encoding is:

ffmpeg -i "in.mp4" -vf stereo3d=sbsl:ml -metadata:s:v:0 stereo_mode="mono" -c:v h264_qsv -preset veryslow "2D.mp4"

Any idea how to get this done correctly with FFMPEG package for Win10-64bit? or perhaps with another tool.


Edit: As about my question for FFplay output, it was a mistake!!! due to the wide size of the output, my display didn't show video edges and tricked me :) When I toggled FFplay to full screen, the output was same as encoding process output.

  • What curved edges means in this context? Show single frame of input file.
    – user12174
    May 15, 2020 at 9:33
  • The following link shows a picture of how the input source file is played back. i0.wp.com/echeng.com/wp-content/uploads/2019/09/… I meant by "curved edges" are the black elliptic shapes at left/right sides of both side by side videos, as well as the left/right side video has up/down edges curved or stretched in spherical way. I hope this will help, thanks .. @PaulB.Mahol
    – Moody
    May 15, 2020 at 21:22
  • There is no way ffplay could play it differently that what is output with ffmpeg. Perhaps there is input crop parameters in metadata. Anyway file name of you upload contain oculus, so its some kind of 360 projection. Use v360 filter after stereo3d=sbsl:ml filter for this. Or v360 filter directly. If you know projection and FOVs.
    – user12174
    May 16, 2020 at 9:04
  • @PaulB.Mahol, Thank you very much for pointing to v360 filter, it wasn't enabled in FFmpeg package v.4.2.2 for Windows, but I got it and now digging FFmpeg documentations for v360 input/output parameters, trying to understand what they mean. Can FFmpeg detect if the source is SBS VR 180 degree? or I have to tell that through v360 input parameter? Then, what FOV degree is equivalent to view a non-stereoscopic video? a zero degree?
    – Moody
    May 18, 2020 at 6:38

1 Answer 1


I too have met this problem and am scratching my head. But I found one solution, once converted to h.265 and then to h.264, it worked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.