linux download video from station b+ffmpeg extract mp3

My environment is ubuntu20.04

 

chrome download b station assistant

After downloading the video, we will get a .flv audio file.

Then extract the .mp3 file from the audio file:

ffmpeg -i Dinosaur Empire.flv result.mp3

Can

 

appendix:

Features command
mp4 to mp3 ffmpeg -i foo.mp4 foobar.mp3
flv to mp3 ffmpeg -i foo.flv foobar.mp3
mp4 to wav ffmpeg -i foo.mp4 foobar.wav
wav to mp3 ffmpeg -i foo.wav foobar.mp3
There are files in the folder *.mp4, to be converted to XX.mp3files in batches for i in ./*.mp4
do
ffmpeg -i $i ${i}.mp3
done
 
All files in the folder must be converted to XX.mp3files in batch for i in ./*
do
ffmpeg -i $i ${i}.mp3
done
 

 

Guess you like

Origin blog.csdn.net/appleyuchi/article/details/109010309