Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.zip

5 replies

lemmy.world

I would try adding ffmpeg to path, setting your working directory to the output folder, and running the script from there. If that doesn't work then you probably need to tweak the script.

The script page you linked also gives example syntax of

for %f in (*.mp4 *.avi *.mov) do ffmpeg -i "%f" -c:v libx264 -c:a aac "%~nf_new.mkv"

Did you try modifying the very last argument to something like "c:/your/path/%~nf_new.mkv"?

4
sarmalereply
lemmy.zip

Thank you, didnt knew that I should put the path there. Ended up with this: for %f in (*.opus) do ffmpeg -i "%f" -b:a 192k -ar 44100 "E:\MUZICA\Music\miscmp3\%~nf_new.mp3"

1
sarmalereply
lemmy.zip

It was a typo, I put a backslash there like 40min ago(so it worked) but it seems like it didnt edit... Weird

Try clicking view source, it shows it

1

I don't know the markup language for Lemmy but it might be treating it like an escape character. In any case, I hope your ffmpeg project is working!

2

You reached the end

[SOLVED] How to set ffmpeg output location? | Spyke