Converting a bunch of avi files from 16:9 to 4:3 format with avc and aac.
That part works fine.
I have srt subs with the same names as the videos, but I don't know how to automate the command in the ffmpeg bat file.
(I want to skip using mkvmerge).
md newfiles
for %%a in (*.avi) do ffmpeg -i "%%a" -c:a aac -ac 2 -aspect 1.33 -strict -2 "newfiles\%%~na.mkv"
+ Reply to Thread
Results 1 to 3 of 3
-
-
Change this line:
Code:for %%a in (*.avi) do ffmpeg -i "%%a" -i "%%~na.srt" -c:s copy -c:a aac -ac 2 -aspect 1.33 -strict -2
Similar Threads
-
Add SRT to Windows 7 File associations
By loninappleton in forum SubtitleReplies: 10Last Post: 12th Dec 2023, 21:26 -
How to extract subs with batch file
By pouki in forum SubtitleReplies: 5Last Post: 29th Nov 2022, 17:01 -
ffmpeg - output metadata, add/remove modification then add it to the video
By kalemvar1 in forum Video ConversionReplies: 3Last Post: 30th Jul 2021, 01:29 -
Simple FFmpeg Batch File Command
By Axel Slingerland in forum Video ConversionReplies: 6Last Post: 6th Jul 2020, 12:36 -
Batch add intro to Videos using FFMPEG
By dexterfox44 in forum EditingReplies: 2Last Post: 10th Jun 2020, 19:32