Extract Left Eye from 3D Video Using FFmpeg Stereo3d

This article explains how to isolate and extract the left-eye view from a 3D stereoscopic video using the FFmpeg stereo3d filter. You will find direct, step-by-step instructions and command-line examples for converting common 3D formats—such as side-by-side (SBS) and top-and-bottom (TAB)—into standard 2D videos containing only the left-eye perspective.

Understanding the Stereo3D Filter Syntax

The stereo3d filter in FFmpeg converts stereoscopic 3D videos from one format to another. To extract the left eye, you must define the input format of your 3D video and set the output format to mono left (ml).

The basic syntax for the filter is:

-vf "stereo3d=input_format:ml"

Common Input Format Codes


Command Examples

Example 1: Extracting Left Eye from Half Side-by-Side (SBS)

If your input video is a standard half-SBS 3D video, use the sbs2l input format. FFmpeg will extract the left half and automatically stretch the aspect ratio back to the correct dimensions:

ffmpeg -i input_3d_sbs.mp4 -vf "stereo3d=sbs2l:ml" -c:a copy output_left_eye.mp4

Example 2: Extracting Left Eye from Half Top-and-Bottom (TAB)

If your input video is a standard half top-and-bottom 3D video, use the tab2l input format. FFmpeg will extract the top half and scale it appropriately:

ffmpeg -i input_3d_tab.mp4 -vf "stereo3d=tab2l:ml" -c:a copy output_left_eye.mp4

Explanation of the Commands