I would like to combine the two following commands to find mp4 files and convert them to mp3 and save them with same name. The two command line:
find ./ -name '*.mp4'
ffmpeg -i video.mp4 -vn -acodec libmp3lame -ac 2 -ab 160k -ar 48000 audio.mp3
I would like to combine the two following commands to find mp4 files and convert them to mp3 and save them with same name. The two command line:
find ./ -name '*.mp4'
ffmpeg -i video.mp4 -vn -acodec libmp3lame -ac 2 -ab 160k -ar 48000 audio.mp3