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
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