I've seen lots of answers for this.
I'm trying to convert all videos in a folder to audio with.
for i in *.mp4; do ffmpeg -i "$i" -vn -acodec copy "${i%.*}.aac"; done
FFmpeg throws the error:
*.mp4: No such file or directory
Can anyone let me know how to do this?
.mp4
files in (the top level of) the current directory? or are they all inside subdirectories? Doesls *.mp4
return anything?