PDA

View Full Version : DVD to Quicktime


raj2569
23rd September 2005, 21:59
Hi,

I have been trying to encode a DVD to quicktime for streaming via darwin streaming server. The steps I followed are:

1. Rip the DVD to hard disk using DVDDecrypter.
2. convert the .VOB files to H.264 usig x264 with this command
x264.exe -q 30 --bitrate 650 -I 250 -i 25 --bframes 0 --no-b-adapt -r 5 -w --analyse all --subme 6 --no-psnr --progress --fps 25 -o "raw.264" Movie.avs

The avs file is as follows:

LoadPlugin("C:\PROGRA~1\Autorv10\SOFTS\AVSFILE\DGDECODE.DLL")
LoadPlugin("C:\PROGRA~1\Autorv10\SOFTS\AVSFILE\COLORMATRIX.DLL")
Video=Mpeg2Source("C:\Documents and Settings\Abraham \Desktop\mp4\2.d2v")
Video=Crop(Video,0,0, -0, -0, align=true)
Video=ColorMatrix(Video)
Return(Video)


3. The ac3 file was converted to wav using foobar.
4. wav is converted to .aac using this command
faac -q 75 -c 32000 --mpeg-vers 4 -o sound_done.aac sound_temp.wav
5. Create .mp4 using
mp4creator -c raw.264 -rate=25 movie.mp4
6. Add .aac to .mp4
mp4creator -c sound_done.aac -aac-profile=4 -hint -interleave movie.mp4
mp4creator -optimize movie.mp4


After this I put the file in DSS's directory, but quicktime will not open this. I tried to put this in apache's web root and was able to play in browser using quicktime. I tried various combinations of hinting, including using quicktime pro but no luck so far.

When I tried to add hinting while creating .mp4, mp4creator crashed with this error:

C:\Documents and Settings\Abraham\Desktop\mp4>mp4creator -c raw.264 -rate=25 -H movie.mp4
MP4ERROR:


Now, did I do some thing wrong here or is there any better way to get this done?

raj

bond
1st October 2005, 13:34
are you sure dss handles avc?

Drachir
1st October 2005, 14:06
Seems like Darwin Streaming Server supports AVC:

http://developer.apple.com/darwin/projects/streaming/faq.html
Q. What’s new in Darwin Streaming Server 5.5?
Darwin Streaming Server 5.5 includes the following enhancements:
Latest security update changes
Latest 3GPP release 5 client support
High definition H.264 streaming
Support for automatic bandwidth detection with QuickTime 7 Player
Darwin Streaming Server 5.5.1 includes a security update for Windows

I would try to get help at the DSS mailinglist.

LeMoi
1st October 2005, 20:43
When i try to open mp4 with x264 video in it (with quicktime), i have no video, but with those created with nero recode, no problem...