To play a 3D SBS (Side-by-Side) video from a URL using ffplay and merge the split sides into one video stream, you can use the following command:

ffplay -i "URL" -vf "[in]split[left][tmp];[tmp]crop=iw/2:ih:0:0[right];[left][right]hstack"

Make sure to replace "URL" with the actual URL of the 3D SBS video you want to play.

Explanation of the command:

  • -i "URL": Specifies the input URL of the video.
  • -vf "[in]split[left][tmp];[tmp]crop=iw/2:ih:0:0[right];[left][right]hstack": Applies video filters to split, crop, and merge the video stream.
    • [in]split[left][tmp]: Splits the input video stream into two parts, saving the left side in the [left] stream and the right side in the [tmp] stream.
    • [tmp]crop=iw/2:ih:0:0[right]: Crops the [tmp] stream to keep only the right side of the video.
    • [left][right]hstack: Horizontally stacks the [left] and [right] streams, merging them into one video stream.

This command will play the 3D SBS video with the merged sides using ffplay

I need a command fo play 3D SBS video on URL using ffplay and some flags to merge two splitted sides of video in 1 video stream

原文地址: http://www.cveoy.top/t/topic/i0dc 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录