Created
December 31, 2019 02:40
-
-
Save Mirochiu/a7e960688e0fd8994f8b2470d1d8a460 to your computer and use it in GitHub Desktop.
Extract video part of the input media file and rotate it 90 degree
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls | |
@echo off | |
set in_file=%1 | |
echo in_file=%in_file% | |
set out_file=%~dpn1_rotated%~x1 | |
echo out_file=%out_file% | |
ffmpeg.exe -i %in_file% -metadata:s:v rotate="90" -sn -an -vcodec copy "%out_file%" | |
rem pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment