Drag and Drop batch file correction

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
bloodstar
Posts: 1
Joined: 17 Sep 2021 05:51

Drag and Drop batch file correction

#1 Post by bloodstar » 17 Sep 2021 05:57

Hi,

I have this batch code however i cannot figure out what am i doing wrong.

Code: Select all

ffmpeg -i "%~1" -c:v copy -c:a aac -segment_time 00:05:00 -f segment -reset_timestamps 1 %%03d.mp4
What i am trying to do is drag multiple mp4 files into the batch conversion file and at the end be outputted to their original file name with increments of _1 _2 etc... at the end.

Any help?

Thanks

penpen
Expert
Posts: 1991
Joined: 23 Jun 2013 06:15
Location: Germany

Re: Drag and Drop batch file correction

#2 Post by penpen » 18 Sep 2021 18:58

I am not familiar with the command line arguments of the tool "ffmpeg".
Do you have a working sample line for a single file?

penpen

Post Reply