To play a 3D SBS (Side-by-Side) video from a URL using ffplay and merge the left and right eye sides, you can use the following command with the required flags:

ffplay -vf "crop=iw/2:ih:0:0, pad=iw*2:ih:0:0[left]; [left][1:v]overlay=W/2" -i <URL>

Here's an explanation of the flags used in the command:

  • -vf "crop=iw/2:ih:0:0 : Crop the left half of the video.
  • pad=iw*2:ih:0:0 : Pad the video to twice its width to accommodate both eyes.
  • [left][1:v]overlay=W/2 : Overlay the cropped left eye video on the right eye video.

Replace <URL> with the actual URL of the 3D SBS video you want to play. Make sure you have FFmpeg installed on your system and the ffplay command is accessible from the command line


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

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