Convert Youtube Videos

I found this command that successfully strips the audio into a wav file:

ffmpeg -i Blessed_Be_Your_Name.flv -vn -acodec pcm_s16le \
   -ar 44100 -ac 2 Blessed_Be_Your_Name.wav

Here is the same command that includes the video that will play in Window’s Media Player:

ffmpeg -i Blessed_Be_Your_Name.flv -vcodec msmpeg4v2 -acodec pcm_s16le \
   -ar 44100 -ac 2 Blessed_Be_Your_Name.avi

I was able to use this command to convert an flv file from a downloaded Google Tech talk to an mp4 file that I could play with mplayer in Linux:

ffmpeg -i Using_bluemail_to_renew_the_design_and_study_of_enterprise_email.flv \
    -vcodec xvid -acodec pcm_s16le -ar 44100 -ac 2 \
    Using_bluemail_to_renew_the_design_and_study_of_enterprise_email.mp4

Resources

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: