image
image

|


Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
Thread Tools
  #1  
Old April 28th, 2003, 02:45 AM
Registered User
 
Join Date: Jul 2001
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
tieng is on a distinguished road
Creating Divx Files

Encoding stuff on a Mac is a pain in the ass right now. Mencoder and FFMpegX make it a little easier, but both of them have their downfalls, and I have trouble getting them to work consistently.

Here's another thread that talks about using ffMpeg instead; it might do what you're looking for in fewer steps.

encoding with ffmpegX



For me, the best combination of video stuff I've found is the following:
  • OSex, a ripper. Hasn't been updated in a while, and I had trouble getting it to work consistently under 10.2.5, but it's the best of what I've seen out there. Also tried command line based vobcopy, but I couldn't get that to work at all.
  • Diva, a front end to the 3ivx codec. Only does video at this point, but it's the only one of the tools out there that is MP aware, and has a graphical crop window, which is a lot nicer than having to manually put in values. The rate calculator in FFMpegX is nice, but I feel like the GUI cropping is worth more.
  • BBDemux, to pull the audio apart from the video track.
  • mAC3dec, to take the AC3 file and change it to an AIFF
  • QuickTime Pro, to encode the audio track into AAC, aka MP4, audio, and assemble the component parts into one movie.

The way I do it isn't the most straightforward way, but for me it's the fastest, and I get the results I want without trial and error at the command line.
[list=1][*] Rip the audio with 0Sex. Again, it's sort of hit and miss as to whether it'll work or not, but a series of login/logout and/or restarts will get it working. Pull the vob files out and put them somewhere. Make sure to have around 6 gigs free.[*] Demux the vob into separate tracks with BBDemux. The m2v is the mpeg 2 video, and the ac3 is the audio track.[*] Use mAC3dec to change the ac3 file into an AIFF. This might take a while with a full length movie soundtrack.[*] While that's going on, open Diva and find your m2v file.

* Pick an output file name and location

* Open the crop and scale window. Go to the middle of the window and drag the blue lines so that there's only movie, and no letterboxes. The default size works well; most of my movies end up being 480 wide by however tall. On playback, this size is pretty decent for full screen, and is pretty decent for output to TV. YMMV.

* Open the compression window. Use the pulldown to select the 3ivx codec, and select a data rate. You'll have to do some math here to make the right choice.

Assuming you're writing this to a 700 MB CD-R, let's say you want to leave about 70 megs for the soundtrack, leaving 630 megs for the movie. The data rate will be given by

(target video track size) * (1024) / (movie length) * (60) = Data Rate

Go a couple K below the data rate given, just to be safe, and then click options. Drag the slider to somewhere between QP= 8 -- 12. This will help ensure that your final output is the right size and will fit wherever you're trying to put it. Also, if you don't want to keep the closing credits, you can bump the data rate a little bit up by calculating it without that extra couple of minutes at the end.

* Hit encode. This will take a long time. On a Dual 1.25 G4, it can do about 30 fps, which is realtime. The best part about this is that if your movie is too long, you get to sit through this step again.
[*] While that's going on, encode the audio. Open the AIFF exported from mAC3dec in QuickTime, and export it as an mp4 audio track. You will need QuickTime Pro to do this. I've found that a sample rate of 44 khz, 64 kbit and medium encoder quality gives acceptable movie sound, and a good datasize. YMMV. Export it; this will take a while as well.[*] When the video and audio tracks are done encoding, you'll want to assemble them into a single file with QuickTime Pro. Open both, select the entire audio track, copy, then switch to the video track. Under edit, select add scaled. Play a bit to see that this went smoothly.[*] If all went well, then you'll have a single file with the entire movie. If you want to get rid of the credits, use QuickTime Player to select everything that you want, copy, and then paste into a new, blank QuickTime Player movie. This is sometimes a pain in the ass, as QuickTime only lets you select the movie in very rough chunks.[*] Last step...with your final movie, minus the credits if you want it that way, select File > Save as. Make it a self contained movie, and verify that the combined movie is gonna fit where you want it to. If so, then do it, and you've got yourself a movie.[*] The resulting .mov will play in QuickTime Player as long as you have the 3ivx codec installed. Won't work so hot in MPlayerX or VLC.[/list=1]

Using Diva instead of ffMpegX or Mencoder means you sacrifice one click DVD to Divx encoding and the possible quality gains from 2-pass encoding. However, I've found the 3ivx quality to be more than adequate, even in just one pass. There are a lot of steps involved here, but here are the advantages of this way over some of the others.
  • GUI-based cropping.
  • Diva is MP aware, making things a little faster. Real-time simultaneous video and audio encoding on a dual 1.25 ghz is not too shabby.
  • Using QuickTime gets you mp4 sound, which IMHO is a lot better than VBR mp3, even at lower bitrates.
  • Doing it this way guarantees you audio sync, where many of the other tools have some problems with that.

It's kind of a pain in the ass, but a lot of that will go away when Diva starts supporting audio in later releases. For now, this is the best way that I've found for me; maybe someone smarter than me will be able to refine this process a little more.

Last edited by tieng; April 28th, 2003 at 02:56 AM.
Reply With Quote
  #2  
Old April 28th, 2003, 06:15 AM
RPS's Avatar
RPS RPS is offline
Apple Guru Wannabe™
 
Join Date: Jul 2002
Location: Amsterdam, The Netherlands.
Posts: 521
Thanks: 0
Thanked 0 Times in 0 Posts
RPS is on a distinguished road
Or, use DivXRay 2. It's really easy.

Btw I have a very important question, how do you burn .avi's to play them on a dvd player?


(Doesn't matter whether it'll be VCD, SVCD, or DVD) I've been looking for an answer a long time now..
__________________
* iMac G4 running 10.3.4

My iChat Screenname:
zxyRobertzxy (aim)
Reply With Quote
  #3  
Old May 17th, 2003, 10:31 PM
Registered User
 
Join Date: Jan 2003
Location: Fredneck MD
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
djliquidice is on a distinguished road
You dont burn AVis to play them on a dvd player. yO uhave to get them converted to VOB files i think.
Reply With Quote
  #4  
Old July 7th, 2003, 06:37 AM
Registered User
 
Join Date: Feb 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
stardust is on a distinguished road
DVDibbler

All those weird story's bout DivX on a Mac.
First: ripping a DVD on a Mac is easy with DVDibbler.
Look here: http://sourceforge.net/projects/dvdibbler/
You have to have a G4 Mac that supports Velocity Engine. I rip a DVD in around 5 hours on my 1ghz iMac with no problems whatsover. Installing DVDibbler isn't easy, especially you have to do some tricks with some files in your library folder. Look at site mentioned above for the explanation.

Second: burning DivX on a DVD is only usefull for storage. You can't use it on a DVD player. Better copy a DVD for this with DVD2One. Even big DVD's (>4.7gbyte) can be copied with this tool. Simple drop files you don't want to use.
Burning the files with Toast give you real DVD's that can be played on almost every DVD player. Due to compression you will loose some quality but it's hardly noticeable.

Greetz
Some info off a DivX expert
Reply With Quote
  #5  
Old July 7th, 2003, 07:00 AM
Zammy-Sam's Avatar
Desertchild
 
Join Date: Feb 2002
Location: Germany
Posts: 6,658
Thanks: 0
Thanked 0 Times in 0 Posts
Zammy-Sam is on a distinguished road
doesn't toast allow to burn AVIs as VCD...?
__________________
iBook 600; 12''; 640mb; 8mb Rage; DVD-CDRW-Combo, 20GB
P4 1.6; 2x80GB Raid1 (file-server)
tiBook 1Ghz, Superdrive, 768MB, 64mb 9000, 60GB
Reply With Quote
  #6  
Old July 7th, 2003, 08:17 AM
hulkaros's Avatar
The Incredible...
 
Join Date: Jun 2002
Location: MacLand
Posts: 1,986
Thanks: 0
Thanked 0 Times in 0 Posts
hulkaros is on a distinguished road
I use DVDBackup, QuickTime Pro, DivX Pro, ffmpegX, mplayer, mencoder, FireStarterX, Toast, GNU vcdtoolsX, DVDibbler, 0SEx, DVD2oneX, iRipDVD and I can anything that I want! I admit that some of those tools are not easy to begin with but at least the majority of them seem to become better/easier with each release!

With those tools you can do DVD/VCD/SVCD/DivX/QT/XviD/etc. Believe me! The sky is the limit!

Many-many tools to bake your cake and eat it too!

BTW I use Toast ONLY to burn those DVD VIDEO_TS folders although one can do it via the Burner of Jaguar too!

Still, I think that the quality of DVDs worth every single $ and that's why I buy as many originals as I can unlike the original Audio CDs which I think that are way TOO expensive!
__________________
I find your lack of faith... Disturbing!

Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition

...not the sharpest knife in the drawer...
Reply With Quote
  #7  
Old April 10th, 2005, 12:48 AM
Registered User
 
Join Date: Apr 2005
Location: AZ
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
melisa is on a distinguished road
Quote:
Originally Posted by stardust
All those weird story's bout DivX on a Mac.
First: ripping a DVD on a Mac is easy with DVDibbler.
Look here: http://sourceforge.net/projects/dvdibbler/
You have to have a G4 Mac that supports Velocity Engine. I rip a DVD in around 5 hours on my 1ghz iMac with no problems whatsover. Installing DVDibbler isn't easy, especially you have to do some tricks with some files in your library folder. Look at site mentioned above for the explanation.

Second: burning DivX on a DVD is only usefull for storage. You can't use it on a DVD player. Better copy a DVD for this with DVD2One. Even big DVD's (>4.7gbyte) can be copied with this tool. Simple drop files you don't want to use.
Burning the files with Toast give you real DVD's that can be played on almost every DVD player. Due to compression you will loose some quality but it's hardly noticeable.

Greetz
Some info off a DivX expert

Hey I'm new, I have a Mac G5 and I am wondering, which files do you burn to a DVD so you can watch them on any DVD Player? Sorry for my confusion.
Reply With Quote
  #8  
Old April 24th, 2005, 12:08 AM
Registered User
 
Join Date: Jul 2001
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
tieng is on a distinguished road
If you want to backup a DVD, grab a copy of MacTheRipper, extract the entire disc, and burn the resultant VIDEO_TS and AUDIO_TS (if there is one) folders to a DVD...that should get it playable in most players.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating CD image files Perseus Mac Games 13 November 26th, 2006 01:21 PM
creating zip files : newbie... Harvey Mac OS X System & Mac Software 12 July 7th, 2003 06:54 PM
Creating duplict files in iPhoto themacko Mac OS X System & Mac Software 2 January 12th, 2002 10:41 AM
Solution: OS X creating "." files on Samba shares dricci Apple News, Rumors & Discussion 0 November 21st, 2001 11:23 PM


All times are GMT -5. The time now is 08:55 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.