PDA

View Full Version : Smartripper & AviSynth


AsTimeGoesBy
27th November 2004, 22:14
Hi!
In many threads i have seen here that Smartipper's *.d2v files don't work well with AviSynth.

head of a d2v file from Smartipper:

DVD2AVIProjectFile
1
27 J:\_DVD_Mummy1\vts_02_1.vob

Stream_Type=1,0,0
iDCT_Algorithm=2
YUVRGB_Scale=1
Luminance=128,0
Picture_Size=0,0,0,0,0,0
Field_Operation=0
Frame_Rate=25000
Location=0,0,0,0

7 0 0 2 2 2 2 2 2 2 2 2 2 2 2
7 0 B 2 2 2 2 2 2 2 2 2 2 2 2
7 0 19 2 2 2 2 2 2 2 2 2 2 2 2
...



Is there any chance to correct these d2v files?

In future i hope i will get more familar with DVD2Avi. But for now i really would prefer settup up encoding job lists for the next week and not re-rip all my DVD-collection again. - So thanks for any help!

Boulder
27th November 2004, 22:18
DVD2AVI's really easy to use so you should definitely use it - and no need for a re-rip, you just have to save the project. In fact, don't use DVD2AVI but Donald Graft's DGIndex and dgdecode.dll. Just select File->Autoincrement open and choose the first VOB. DGIndex will then autoselect the rest. Then save the project and you're done. If you're an NTSC user, you'll want to enable Force FILM if the material is originally film (=progressive 23.976fps).

AsTimeGoesBy
27th November 2004, 22:26
Thanks for fast advice!
I just have read about the frame-loss-bugs in DVD2Avi... :(

Originally posted by Boulder
..
In fact, don't use DVD2AVI but Donald Graft's DGIndex and dgdecode.dll.
...


Just downloaded from: http://neuron2.net/fixd2v/decodefix.html

Boulder
27th November 2004, 22:34
And make sure you don't have any mpeg2dec*.* files in your plugins folder to avoid problems ;)

AsTimeGoesBy
27th November 2004, 22:35
Originally posted by Boulder
...
Just select File->Autoincrement open and choose the first VOB.
DGIndex will then autoselect the rest.
...
Smartripper has added all partial VOB files from DVD to one single VOB file.
Moreover where is a AC3 audio stream included in this single VOB file.

I like to maintain the AC3 audio as it is. Will it 'survive' DVD2Avi and AviSynth procedure or should i demux the audio stream and add/multiplex it afterwards to the resulting Divx/xvid file again?

Boulder
27th November 2004, 22:41
Originally posted by AsTimeGoesBy
Smartripper has added all partial VOB files from DVD to one single VOB file.
Moreover where is a AC3 audio stream included in this single VOB file.

I like to maintain the AC3 audio as it is. Will it 'survive' DVD2Avi and AviSynth procedure or should i demux the audio stream and add/multiplex it afterwards to the resulting Divx/xvid file again?

DGIndex will demux the audio out of the big VOB. The track is the same as the one on the original DVD.

OT: Casablanca's one of my favourite movies. Bogie's the coolest one you'll ever see:)

AsTimeGoesBy
27th November 2004, 22:50
Hmmm, something doesn't work...
VirtualDub says:
AviSynth open failure.
Mpeg2source : CPU level invalid (0 to 6)
(X:\Mummy1.avs, line 2)


beginning of my D2V file:

DGIndexProjectFile06
1
27 J:\_DVD_Mummy1\vts_03_1.vob

Stream_Type=1
iDCT_Algorithm=2 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
YUVRGB_Scale=1 (0:TVScale 1:PCScale)
Luminance_Filter=0,0 (Gamma, Offset)
Clipping=0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Aspect_Ratio=16:9
Picture_Size=720x576
Field_Operation=0 (0:None 1:ForcedFILM 2:RawFrames)
Frame_Rate=25000
Location=0,0,0,64A4

7 0 0 0 0 12 12 12 12 12 12 12 12 12 12 12 12
7 0 20480 0 0 2 2 12 12 12 12 12 12 12 12 12 12 12 12 12
7 0 75776 0 0 2 2 12 12 12 12 12 12 12
...


my AVS script:

LoadPlugin("d:\programs\video\DgMpegDec\DGDecode.dll")
Mpeg2source("J:\_DVD_Mummy1\_NEW_vts_03.d2v", 25 )
crop(4,5,709,566)
bicubicresize(720,320,0,0.5)


_____
Edit:
I have a AMD Athlon 1800+, Thouroghbred, 32bit. It should have SEE and MMX support as far as i know.

Boulder
27th November 2004, 22:53
Use Mpeg2source("J:\_DVD_Mummy1\_NEW_vts_03.d2v") instead of
Mpeg2source("J:\_DVD_Mummy1\_NEW_vts_03.d2v", 25 ). No need to tell MPEG2Source the framerate.

Your crop value's also a bit strange, try not to crop in odd numbers (not related to the error message though).

AsTimeGoesBy
27th November 2004, 23:08
Originally posted by Boulder
Your crop value's also a bit strange, try not to crop in odd numbers (not related to the error message though).

Indeed... VirtualDub says:
Avisynth open failure
Crop : YV12 images only be cropped by even numbers
(X:\Mummy1.avs, line 3)


Originally posted by Boulder
Use Mpeg2source("J:\_DVD_Mummy1\_NEW_vts_03.d2v") instead of
Mpeg2source("J:\_DVD_Mummy1\_NEW_vts_03.d2v", 25 ). No need to tell MPEG2Source the framerate.
COOL, after correcting the crop size and the Mpeg2source() command it works now! - Great! You have saved my Sunday! :) :) :)


By the way, try once 'To Have and Have Not' ;)

Boulder
27th November 2004, 23:16
A small tip: if you want to keep the aspect ratio correct, use FitCD. I would also use a 2-block overscan for increased compression, you won't see the extra black borders on the TV.

Oh, I think I've got almost every Bogie movie, I just wish The Petrified Forest would be released some day on DVD. Just bought High Sierra a couple of weeks ago:)

AsTimeGoesBy
28th November 2004, 00:09
Thanks again for your real-time help! I think the break-through is done.
So now i can browse the for plugins and filters. :)