Search found 5 matches

by MrNiceButDim
31 Jan 2024 15:00
Forum: DOS Batch Forum
Topic: Execute a ffmpeg command for each mp3 file in a folder
Replies: 7
Views: 5015

Re: Execute a ffmpeg command for each mp3 file in a folder

My code page was set to 850.

I changed to 65001 as per your recommendation, and now the bat file runs smoothly again.

Until the next stumbling block...
by MrNiceButDim
31 Jan 2024 14:07
Forum: DOS Batch Forum
Topic: Execute a ffmpeg command for each mp3 file in a folder
Replies: 7
Views: 5015

Re: Execute a ffmpeg command for each mp3 file in a folder

And I'm back!

Slight hick-up. The audio files are pronunciation of Esperanto words, some of which has diacritics like ĝ or ŭ. This causes the batch file to complain
No such file or directory.

Any way to fix this?
by MrNiceButDim
28 Jan 2024 14:01
Forum: DOS Batch Forum
Topic: Execute a ffmpeg command for each mp3 file in a folder
Replies: 7
Views: 5015

Re: Execute a ffmpeg command for each mp3 file in a folder

Steffen, you're a Super-Mensch! I may finally be able to understand some of the inner workings of this mysterious DOS command world. The fun thing is that I used to write Java programs, so the code shouldn't be that difficult for me to understand, but the syntax is quite different, so I was left stu...
by MrNiceButDim
28 Jan 2024 10:02
Forum: DOS Batch Forum
Topic: Execute a ffmpeg command for each mp3 file in a folder
Replies: 7
Views: 5015

Re: Execute a ffmpeg command for each mp3 file in a folder

Steffen, Du bist ein Mensch.

I've been looking for the answer to this problem for over a week, and you gave it to me in no time.

Don't know if line breaks are allowed in bat files, but with or without them could you break down the code and explain the most important parts?
by MrNiceButDim
28 Jan 2024 07:33
Forum: DOS Batch Forum
Topic: Execute a ffmpeg command for each mp3 file in a folder
Replies: 7
Views: 5015

Execute a ffmpeg command for each mp3 file in a folder

I have this command which works fine ffmpeg -i "concat: felica . mp3| 4sec .mp3| felica .mp3" -acodec copy felica 4sec felica .mp3 What is it? It's a pronunciation audio + 4 seconds silence + a repeat of the audio. I also have this code dir /b /a-d *.mp3 > mp3file.txt Which collects the names of all...