Hi all, how do u do guys?
Once again, need a help.
I have 91 videos that look like this.
I need you to stay that way.
I can do this in FFMPEG one at a time, but I don't know how to create a script to make all inside the folder.
All my videos are separated into files (video + audio) and I don't know how to mux to mp4.
They look like this: video test1.mp4 + video test1.aac.
Is there a script to mix all 91 videos after rotate all?
resume:Thanks,Code:Script 1: Rotate all video files from folder Script 2: Mux to MP4 all rotated videos with aac files
+ Reply to Thread
Results 1 to 6 of 6
Feel free to elaborate on this batch job
if not exist rotated md rotated for %%g in (*.mp4) do ( ffmpeg -i "%%g" -i "%%~ng.aac" -c:v libx264 -vf "transpose=1" -c:a copy "rotated\%%~ng_rotated.mp4" )
Last edited by videobruger; 4th Nov 2019 at 16:09. Reason: spelling
as a side note:
In case the player support it, one could use:
ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4users currently on my ignore list: deadrats, Stears555