Media transformation

A few weeks back, I bought myself a new super zoom camera. It's Sony DSC H9 with 15x zoom. I shot some videos and wanted to edit and put them on VCD/DVD so that it can be viewed on any VCD/DVD player. For editing my video clips my first tool was to use Windows Movie maker on my laptop. I edited my video and them the next step was to put it on CD. Movie maker does not support this, it can only save it in wmv format. Frustrated with this, I started googling. I didn't find any good tools to convert my wmv file into VCD/DVD. After a week, I found a open source command line based tool which can be used to convert my video. And that is "ffmpeg" command. This is how I did it.

Command to convert into vcd format:
ffmpeg -i my_video.wmv -target vcd my_video.mpg
Now use k3b to put it into CD:
Start K3B and them File -> New -> New VCD Project
drag and drop the mpg converted file to K3B.

You can also use ffmpeg to extract mp3 from flv, following is the command:
ffmpeg -i my_flv_file.flv my_output.mp3
Note: make sure that flv file(ffmpeg -i my_flv_file.flv) has the mp3 audio stream before issuing above command.

You can also convert to dvd format, but I've never tried this though:
ffmpeg -i my_video.wmv -target pal-dvd my_video.mpg
$ mkdir DVD
$ dvdauthor —title -f my_video.mpg -o DVD
$ dvdauthor -T -o DVD
Now use k3b to put it into CD:
Start K3B and them File -> New -> New DVD Project
drag and drop the mpg converted file to K3B.

*Converting any video file into flv file*
$ ffmpeg -i mov00326.mpg -ab 56 -ar 22050 -b 500 -r 15 -s 320x240 test.flv

Youtube video link: http://www.youtube.com/watch?v=9V2hf_riyqY
http://www.youtube.com/watch?v=e0NMuWCEhTo

Photos shot on this camera are also available at http://www.orkut.com/Profile.aspx?uid=11341012188185187544

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.