soup4you2
January 24th, 2003, 16:49
In my greater search of learning how to create DivX movies in FreeBSD, most of the procedures required you to use various utils or apps that are just not needed. Well, there is one extremely easy way to do this.
If you want to copy the VOB (DVD Video Object) tracks to your HD, it will use up around 5 to 6 GB of storage space... First, you need mplayer installed on this puppy, and when you install it, make sure you add in these options:
WITH_DVD=yes
WITH_LIBDVDREAD=yes
WITHOUT_RUNTIME_CPUDETECTION=yes
You also need a /dev/dvd link for your DVD drive.
Part 1 - Ripping with VOB
Install vobcopy:
cd /usr/ports/sysutils/vobcopy && make install clean
Make a directory to store your DVD's VOB tracks, cd /path/to/DivXdir/ and simply run vobcopy; it's smart, it will know what to do.
Next, you have a bunch of .vob files (VOB tracks). Just execute this:
cat *.vob | mencoder -o mymovie.avi
-oac mp3lame -lameopts br=192:vbr=2
-ovc lavc -lavcopts vcodec=mpeg4:vhq:keyint=250 -vop lb
Pretty easy, eh?
Part 2 - Ripping without VOB
This part is great. Let's just rip that DVD without copying the VOB tracks:
mencoder -dvd 1 -oac mp3lame -lameopts br=192:vbr=2
-ovc lavc -lavcopts vcodec=mpeg4:vhq:keyint=250
-o output.avi -vop lb
Now in some cases, you might also want to run mplayer on your output avi to make sure you don't get the audio commentary, which has happened to me a couple of times. If you do have an audio commentary, try adding in -alang en or other language settings. You might also want to refer to the mencoder man page for further tweakage.
So now you can see that DivX processing in BSD is extremely simple... Good luck!
If you want to copy the VOB (DVD Video Object) tracks to your HD, it will use up around 5 to 6 GB of storage space... First, you need mplayer installed on this puppy, and when you install it, make sure you add in these options:
WITH_DVD=yes
WITH_LIBDVDREAD=yes
WITHOUT_RUNTIME_CPUDETECTION=yes
You also need a /dev/dvd link for your DVD drive.
Part 1 - Ripping with VOB
Install vobcopy:
cd /usr/ports/sysutils/vobcopy && make install clean
Make a directory to store your DVD's VOB tracks, cd /path/to/DivXdir/ and simply run vobcopy; it's smart, it will know what to do.
Next, you have a bunch of .vob files (VOB tracks). Just execute this:
cat *.vob | mencoder -o mymovie.avi
-oac mp3lame -lameopts br=192:vbr=2
-ovc lavc -lavcopts vcodec=mpeg4:vhq:keyint=250 -vop lb
Pretty easy, eh?
Part 2 - Ripping without VOB
This part is great. Let's just rip that DVD without copying the VOB tracks:
mencoder -dvd 1 -oac mp3lame -lameopts br=192:vbr=2
-ovc lavc -lavcopts vcodec=mpeg4:vhq:keyint=250
-o output.avi -vop lb
Now in some cases, you might also want to run mplayer on your output avi to make sure you don't get the audio commentary, which has happened to me a couple of times. If you do have an audio commentary, try adding in -alang en or other language settings. You might also want to refer to the mencoder man page for further tweakage.
So now you can see that DivX processing in BSD is extremely simple... Good luck!