Convert DVD to FLV

Print

Q. I would like to play this DVD online - how do I do that?

A. Websites nowadays are using swf and flv file formats to play videos hosted on their site or sites, it's advantage is clear in that the file itself is often in comparison to regular video format files, smaller and easier to upload so the site is able to hold and run more video content with much less bandwidth than would normally be required. There are various methods to do the conversion.

For demonstration purposes, we have used Ubuntu linux, but the software is available under all modern distributions of linux as well as Windows.

1. First install the required software:

sudo apt-get install mencoder

sudo apt-get install mplayer

2. The next step is to dump the video stream. In this step the video is converted from many chapters into one big chapter:

mplayer dvd://1 -dumpstream -dumpfile ~/conference.vob

Where dvd://1 is your dvd device. It doesn't have to be a physical device, can be an ISO image:

mplayer conference.iso -dumpstream -dumpfile ~/conference.vob

3. Finally, the conversion to FLV format:

mencoder conference.vob -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=150 -ofps 25 -oac mp3lame -lameopts abr:br=32 -srate 44100 -vf scale=720 -o conference.flv


Related links:

You will need something like this in order to play the video on your site:

https://www.longtailvideo.com/players/jw-flv-player/

Versions of mplayer and mencoder can be downloaded from here

https://www.mplayerhq.hu

https://wiki.soslug.org/wiki/vob_to_flv

Video Conversion
Comments (2)
Convert to AVI
2 Wednesday, 31 August 2011 06:45
Dave
Here's how you would convert to an AVI instead of FLV (all in one line):

mencoder input.vob -oac mp3lame -lameopts mode=2:cbr:br=96:vol=0 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=400:vhq:autoaspect -o output.avi
combining vob
1 Sunday, 31 January 2010 16:34
Ant
Just to add:

If you want to convert a DVD to ISO:
mkisofs -dvd-video -o ~/mydvd.iso /media/dvdrom

If you want to combine all your VOB files into 1 big VOB:
cat *.VOB > whatever.VOB
yvComment v.1.24.0