Log in

View Full Version : "Direct DVD to HD" ogg and DivX encoding


neird
9th October 2002, 19:15
Is it possible with Besweet and Avisynth(MpegDecoder)-VirtualDub, with good quality and speed improvment?
And then mux.

killingspree
9th October 2002, 19:56
... NO
i think you would need a terribly fast computer with probably a SCSI DVD ROM drive and HD and loads of RAM.
otherwise you'll get too many dropped frames!

anyway feel free to try and post your results!

regards
steVe

TheUnforgiven
9th October 2002, 20:09
@killingspree
he means without ripping i think.

neird
10th October 2002, 15:14
I mean:
-video: list of .vob(on the dvd) -> Avisynth(with MPEGDecoder by Nic, can read vob) -> VirtualDub encoding in DivX or Xvid -> .avi
-audio: list of .vob(on the dvd) -> Besweet 1.4(can read vob) -> .ogg
-mux: .ogg and .avi in .ogm with oggmux.

Everything integrated in an all-in-one automation software.
Could be usefull for saving time and space?isn't it?

neird
10th October 2002, 19:17
I test the method and everything work well:
I encode the first vob(vts_02_1.vob) in the PAL DVD Ghost in the shell.
video lenght: 22min13s
Overall process takes around 35min, on a Tbird 1.4Ghz with 256mo and Win98SE, the reader is a Toshiba SDM1612.
The divx bitrate is around 1500(i forgot :) ), 1-pass, GMC, Bi-enc, psycho light

-I make a .bat for the method describe:

@echo off

echo Start audio encoding...
Besweet\BeSweet.exe -core( -input "voblist.lst" -substream 0x80 -output "movie.ogg" -logfilea "Besweet.log" ) -azid( -n1 -c normal -L -3db -s stereo ) -ota( -G max ) -ogg( -q 0.400 ) -ssrc( --rate 44100 ) -boost( /b2=5 )
echo Audio encoding complete

echo Start video encoding...
start /wait VirtualDub\VirtualDub.exe /r /x
echo Video encoding complete

echo Start muxing...
echo Wait few minutes for the .ogm (even if it seems that nothing happens)
OggMux\OggMux.exe oggmux.omx


-Resume:
Besweet time: 6:47
VirtualDub time: 3min for size estimation(MPEGDecoder) then 25min of encoding (around 22FPS)
oggmux time: 1min

-First the besweet log:

BeSweet v1.4 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.13 by Myers Carpenter <myers@users.sf.net>
Using VOBInput.dll v1.2 by DVD2SVCD (http://www.notrace.dk)
Using Shibatch.dll v0.2 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
Manual Dynamic-Compression algorithm by LigH (author of WaveBooster).

Logging start : 10/10/02 , 18:31:58.

H:\ESSAI\BESWEET\BESWEET.EXE -core( -input voblist.lst -substream 0x80 -output movie.ogg -logfilea Besweet.log ) -azid( -n1 -c normal -L -3db -s stereo ) -ota( -G max ) -ogg( -q 0.400 ) -ssrc( --rate 44100 ) -boost( /b2=5 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : voblist.lst
[00:00:00:000] | Output: movie.ogg
[00:00:00:000] | Substream ID: 0x80
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | A/V Delay found : 0msec
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Output Stereo mode: Stereo
[00:00:00:000] | Total Gain: 0.000dB, Compression: Normal
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: Yes
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] | Dest. Sample-Rate: 44.1KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +-------- BOOST ------
[00:00:00:000] | Algorithm by : Dg
[00:00:00:000] | Boost Factor : 5.0
[00:00:00:000] | Limit Factor : 0.73
[00:00:00:000] +-------- OGG --------
[00:00:00:000] | VBR Quality : 0.400
[00:00:00:000] +---------------------
[00:22:13:728] Gain of 13.8dB had been asserted to file.
[00:22:13:728] Conversion Completed !
[00:22:13:728] Actual Avg. Bitrate : 104kbps
[00:06:47:000] <-- Transcoding Duration
Logging ends : 10/10/02 , 18:38:45.


-Second the AVS script:

LoadPlugin("MPEGDecoder.dll")
MPEGSource("voblist.lst", 0, "decss")
# -2 doesn't work with me

#FieldDeinterlace(blend=false) i forget to include this line

Crop(6,14,708,545)

LanczosResize(432,304)


-Third the VirtualDub jobs:

// VirtualDub job list (Sylia script format)
// This is a program generated file -- edit at your own risk.
//
// $numjobs 1
//

// $job "Job 1"
// $input "H:\essai\movie.avs"
// $output "H:\essai\movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("H:\\essai\\movie.avs",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(319,"GAEAAABqGADQBwAACgAAABQAAAD6AAAACgAAAAIAAAAFAAAAAAAAACgAAAAAAAAAAAAAAAAAAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAQAAAAAAAAAAAAAAAADwP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////AQAAAGM6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGk=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("H:\\essai\\movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done


-Finally the .omx for oggmux:

<movie>
movie.avi
</movie>

<title>
My movie
</title>

<soundtracks>
movie.ogg
French
</soundtracks>

<subtitles></subtitles>

<chapters>
</chapters>

<target>
movie.ogm
</target>

<split>
0
</split>


Long post ;) , too long?:)
Any comment?

DJ Bobo
10th October 2002, 22:53
@ neird
If you think you're sparing time, you're totally wrong. You're just wasting (your) time!

killingspree
11th October 2002, 17:21
@dj bobo:
i'm not convinced of this method either, but can you specifyß
thx

@neird:
i think you'll give up quite a bit of quality! if time is this important to you, ok... or do you NOt have enough space to do it the 'normal' way?

regards
steVe

DSPguru
11th October 2002, 18:02
Besweet\BeSweet.exe -core( -input "voblist.lst" -substream 0x80 -output "movie.ogg" -logfilea "Besweet.log" ) -azid( -n1 -c normal -g 10db -L -3db ) -ota( -G max -d auto ) -ogg( -q 0.400 )

Nic
11th October 2002, 18:32
I really do have to update my dvd2avi_nic so people dont have to do this...lol. It makes ripping straight from the DVD so easy, but its not something I recommend.

-Nic

DSPguru
11th October 2002, 18:42
Nic Nic Nic !

:o

neird
11th October 2002, 20:04
I'm not convinced of my method too.
That's just an idea, maybe that could interest someone (apparently not :) )

@killingspree: I have enough space but, i must always keep free around 8Go on my HD.
For the time, i think you can free up the time of the rip process (around 20min for the entire DVD).