Skip to content

Instantly share code, notes, and snippets.

@arnabanimesh
Created November 22, 2020 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arnabanimesh/f5a76a3d2f9cc2d438b85394cfc1105b to your computer and use it in GitHub Desktop.
Save arnabanimesh/f5a76a3d2f9cc2d438b85394cfc1105b to your computer and use it in GitHub Desktop.
Side by side audioless video player
@ECHO OFF
where /q ffplay
IF ERRORLEVEL 1 (
ECHO ffplay.exe not found.
ECHO Download ffmpeg from https://ffmpeg.org and add the ffplay executable to the PATH
PAUSE
) ELSE (
ECHO Side by side audioless video player
ECHO.
ECHO Enter the names with extension. e.g.: sample video.mp4
ECHO.
SET /P left="Enter the name of the 1st video: "
SET /P right="Enter the name of the 2nd video: "
ffplay -f lavfi "movie='%left%',scale=iw/2:ih/2.5[v0];movie='%right%',scale=iw/2:ih/2.5[v1];[v0][v1]hstack"
)
@arnabanimesh
Copy link
Author

Depends on ffplay.exe. Download it from https://ffmpeg.org and add ffplay.exe to the path before running the script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment