You may notice nowadays, people digs video sharing. Thats why www.youtube.com are so famous, where it allocate space for internet user to share videos. If you are regulary surf youtube, you may relized that the video hardly play realtime, it takes sometimes to buffer the download. Sometimes you really like the content of the video, and wants to download and keep it for future replay.
Now you can with just install a add-ons for firefox. VideoDownloader enable you to download videos from Youtube, Google, Metacafe, iFilm, Dailymotion... and other 60+ video sites ! And all embedded objects on a webpage (movies, mp3s, flash, quicktime, etc) ! Directly ! check out this web
Now after you downloaded, you try to play using xine or mplayer and figure out that there are no sound. This problem exist until today. There is a work around solution, convert flv to mpg format. With ffmpeg, the conversion is simple. Let say you download a file temp.flv and you would like to convert it to mpg, you can consider bellow command line.
ffmpeg -i foo.flv -ar 22050 -b 500 -s 320x240 foo.mpg
To ease conversion, I write a bash script:
#!/bin/sh if [ -n "$1" ] then if [ -n "$2" ] then ffmpeg -i $1 -ar 22050 -b 500 -s 320x240 $2 fi else echo "Usage: `basename $0` source.flv target.mpg" fi