View Full Version : Can only open 1st Vob(mpg2) in VDMod, and "append avi segment" in not available
junglemike
17th January 2003, 00:00
Hi everyone, I usually encode dvd -> xvid. Mean while i'm using dvd2avi to create d2v file, after that i use VfapiCodec to frameserve it to Virutla Dub. I heard that VDMod can open DVD (vobs) directly. And it really does!!! But only the first vob. although "automatically detect and load additional segments" is checked. And "append avi segment" option is not availagle too. Can anyone give me some clue how to fix it? Or maybe i am doing something wrong(as usual) Cos it would really speed up the process and save time. Thanks in advance to any replies
The Edge
17th January 2003, 00:19
Have you tried
c:\vobs\vts_01_02.vob
c:\vobs\vts_01_03.vob
c:\vobs\vts_01_04.vob
c:\vobs\vts_01_05.vob
c:\vobs\vts_01_06.vob
saved as a txt file?
In VDMod when in File/Open, under the file types MPEG2 is listed as (*.vob,*.txt)
I can't try now but see if it works.
PS
Have you tried AVISynth instead.
DVD2AVI -> AVISynth -> VDub -> XviD
ALOT more versatile :)
Edge
junglemike
17th January 2003, 00:28
Yes, i tried txt file containing paths to all vobs, but VDM don't want to open it. About Avisynth it is the same as
DvdDecrypter - >dvd2avi -> VfapiCodec -> VDubMod. (if i am understandin things right). I just though thatt
DvdDecrypter -> VirtualDubMod would be faster than
DvdDecrypter -> Dvd2Avi -> Vfapi/Avisynth -> VirtualDubMod
The Edge
17th January 2003, 00:46
I suppose if you have no plans using Avisynth then the way you suggested is fine. Using Avisynth you can stay in YU2 colour space (faster, as your not switching between colour-spaces) and do all your processing, (e.g resizing,cropping,smoothing,etc) with Fast recompress in VDub. I might use Vfapi on the odd time.
I think I read that when you open a vob in VirtualDubMod, it is using code from DVD2AVI anyway. Again, I think so someone can maybe confim that.
Edge
pulco-citron
17th January 2003, 09:47
as stated in "MPEG2 support.html", available in the CVS (virtualdubmod help), if you want to open several vob files at once you can open a vtsxxx.txt file generated by SmartRipper
pulco-citron
17th January 2003, 09:52
about speed : if you resize and crop in the extended options dialog for MPEG2, you can use fast recompress in virtualdubmod (color space will be YUY2 or YV12)
performances issues are also evoked in "MPEG2 support.html".
junglemike
17th January 2003, 11:16
Thanks Pulco-citron, i read this help, but what if i use DvdDecrypter and not SmartRipper, so i don't have such txt file.
pulco-citron
17th January 2003, 13:48
you're right indeed :)
a workaround can be to make a smartripper-like txt file by hand : you need to start from an existing one (it's easier...).
it looks like this:
*************
* Main Info *
*************
Name: LE_PROFESSIONNEL
Size (B): 84807680
Frames: 6202
Title: 1
Angle: 1
MinDataRate (B/s): 344064
AvgDataRate (B/s): 687858
MaxDataRate (B/s): 766946
**************
* Video Info *
**************
Compression: MPEG-2
TV system: PAL
Aspect ratio: 4:3
TV system: not specified
Display mode: 720x576
Resolution: no
Letterboxed: Camera
Mode:
***************
* Stream Info *
***************
Stream[001] X=[[0xE0] Video PAL 720x576] [PTS 0:01:05] [Delay 0 ms] [@0] []
Stream[002] X=[[0x80] Audio Français AC3(2Ch) 48kHz ] [PTS 0:01:05] [Delay 0 ms] [@30] [192 kb/s]
Stream[003] 0=[[0x??] Others] [] [] [] []
****************
* Chapter Info *
****************
Chap#=Frame#
Chapter1=0
Chap#=@LBA
Chapter1=0
******************
* VOBFile Output *
******************
F:\prof\vts_02_1.vob
************
* Cut List *
************
001: Title[1]->Angle[1]->Chapter[1]->Cell[001] VobID[1].CellID[1] [#0] [@0]
lines that need to be replaced are
1)Name, for cosmetic reasons
2)stream info for audio, provided you know the stream ids
3)vobfile list
Note that another easier way to open lists would be that I implement a .lst reader too...
DeXT
25th January 2003, 01:23
Originally posted by pulco-citron
Note that another easier way to open lists would be that I implement a .lst reader too... It's done :) I added simple file list (*.lst) support to VDubMod. It's basically cut-and-paste from your smartripper txt file reader but it seems to work fine. So I hope it's much easier now to read concatenated VOBs when you have not used SmartRipper to rip them.
I also added M2V extension support just for easyness (no need to rename the files to VOB) and I think it should be easy to recognize if a stream is either MPEG-1 or MPEG-2 no matter the extension once I find some good docs about it.
The binaries are based on the latest VirtualDubMod CVS release (dated 23-01-03) and as a bonus I enabled the ASF reading, too ;). Below is attached the diff to the original sources.
Get it here (the page will probably go down after a while due to excess traffic, so be patient):
http://es.geocities.com/dextstuff
(file mirror here: http://webs.ono.com/dextstuff/virtualdubmod-lst-230103.zip)
DeXT
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.