PDA

View Full Version : dvd2avi with commandline options


dvd2svcd
29th November 2001, 16:52
Hi, if anybody at all should be interested I have modified a dvd2avi 1.76 to accept a commandline. Give it a try if you want:

http://dvd2svcd.doom9.net

dvd2svcd
29th November 2001, 23:56
Ups, there was a bug in the command-line parser but that is now fixed in version 1.01.

TheWEF
30th November 2001, 00:58
yes, someone is interested!

:D

wef.

b0b0b0b
1st December 2001, 03:14
THANK YOU for doing this. I am ripping something with 60 vobs that I want to process independently.

Nocturno
2nd December 2001, 16:37
Thanx that's just what i was looking for, but i have one question,

is it possible to make it select all the vobs instead of having to add all the vobs seperately to the command line, this would help me a lot as i'm making a batchfile for conversions.

or maybe Smartrippers .lst support?

Kedirekin
2nd December 2001, 19:50
You might be able to create an environment variable to get the same effect.

- Create a text file - name it something like MyVobList.bat
- Add a single very long line with something like:
set voblist=vts_01_1.vob vts_01_2.vob vts_01_3.vob
- Open a command prompt
- execute MyVobList.bat
- now type in your dvd2avi command line, with %voblist% where you would normally put the vob files. I don't know the syntax for the dvd2avi command l;ine, so I can't give an example. Hopefully you get the idea.

Nocturno
2nd December 2001, 23:47
Thanx, i get the picture, but that's not quite what i needed,
if i do that i could also just add the dvd2avi commandline including the vobs to the batchfile i'm making, what i need is something like:

dvd2avi -IF=[D:\vobfiles\*.vob]

so that it will open all the vobs,just like it would if you do it manually ,

or that it opens a smartripper streamlist wich looks like this

D:\vobfiles\vts_02_1.vob
D:\vobfiles\vts_02_2.vob
D:\vobfiles\vts_02_3.vob

because my batchprogram is intended to work on all dvd's i rip i need a solution in wich i don't need to select all the vobs, just the first
and it selects the rest automatic, just like it does when you manually select the first vob.

dvd2svcd
3rd December 2001, 00:07
It'll be made.

Nocturno
3rd December 2001, 03:06
You just Gotta Love that guy.....

Nocturno
12th December 2001, 19:42
i just saw that you've been working on that problem with your own excellent program too,did you modify dvd2avi?

dvd2svcd
12th December 2001, 21:22
I have not yet added your suggestion, I will add it as soon as I come home from my vacation.

Nocturno
13th December 2001, 03:11
have a nice one!:D

mrbass
14th December 2001, 02:30
does this overcome the ten .vob limitation? If so that's great as DVD disc 1 and 2 and can ripped together much more easily.

dvd2svcd
17th December 2001, 20:12
Yes it does. It supports up to 255 vobfiles.

mrbass
19th December 2001, 02:08
holy crapper...255...this is GOOD to know. Saves a lot of aggravation for those that will attempt combining multiple dvds, disc 1 and disc 2 and even if one were trying to combine the various special features on a dvd.

dvd2svcd
31st December 2001, 14:10
New version is out of my commandline version. Added -AIF, which autloads vob files incrementally.

HongKongFu
2nd January 2002, 02:40
can anybody tell me why this don't work?

C:\DVD2AVI.exe -IA=1 -fo=0 -CS=2 -TN=1 -DD=1 -MA=1 -DRC=0 -DSD=0 -AIF=[E:\test.vob] -OF=[E:\] -exit

I tried a few things but couldn't create a Project File

with this line I could at least open my files

C:\DVD2AVI.exe -IA=1 -fo=0 -CS=2 -TN=1 -DD=1 -MA=1 -DRC=0 -DSD=0 -AIF=[E:\test.vob]

it's the same line as above but without -OF=[E:\] -exit

I want to use the commandline Version for PVA2DIVX (http://home1.tiscalinet.de/pva2divx) (also VOB2DIVX, a german GUI for mpeg2dec.dll)

regards
Frank

HongKongFu
2nd January 2002, 19:39
for only one file I have to use -if instead of -aif

HongKongFu

Nocturno
2nd January 2002, 23:19
Thanx.. i'll use it along with besweet in my proggie, that will solve besweets .vob problems.. i can mux off the .ac3 from commandline in dvd2avi and let besweet handle the conversion.

dvd2svcd
8th January 2002, 14:51
new version online.

HongKongFu
23rd January 2002, 02:36
Hello,

the commandline Version creates very often corrupt files, as you can see something is missing


7 0 0 2 2 2 2 2 2 2 2 2 2 2 2
7 0 94 2 2 2 2 2 2 2 2 2 2 2 2


a valid file should start with something like this


DVD2AVIProjectFile
3
23 E:\TESTVIDEOS\VIVA.MPV

Stream_Type=0,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,2,78F3

7 0 0 2 2 2 2 2 2 2 2 2 2 2 2
7 0 94 2 2 2 2 2 2 2 2 2 2 2 2

regards

Dolemite

dirtEdirtE
23rd January 2002, 22:41
First of all, excellent modification!

I've run into a few problems with it tho. One problem is that in a few projects that i created using the command line, the output project file was missing the header... the part that looks like this:

DVD2AVIProjectFile
1
28 C:\RIPS\EDGEIN\ED_GEIN_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=29970
Location=0,0,0,1B170

It had everything after this though. On a few other vobs it has set the Frame_Rate to 0 in the project file but everything else is fine. Do you know why this is happening? Thanks.

dirtEdirtE
23rd January 2002, 22:48
oops sorry i didn't see the last post... =P

dvd2svcd
1st February 2002, 13:44
There's a new version online which should fix the above Header Missing bug.

kilg0r3
13th August 2002, 22:40
hi it seems i be too stupid.

any idea why this does not work?

dvd2avi -ia=1 -FO=0 -Cs=2 -YR=1 -TN=1 -AIF=["Z:\zzzTEMP\Rip_4\vts_01_1.vob"] -CF=4 -DD=2 -DRC=0 -OF=["Z:\zzzTemp\Rip4\test.vts"] -exit

the gui starts up but nothing happens and it does not seem to have loaded any vob file. instaed it just draws 100% cpu.

thanks in advance

kilg0r3
25th August 2002, 13:04
ping

dvd2svcd
26th August 2002, 12:17
Do not use "" around the filenames.

kilg0r3
26th August 2002, 12:32
Thanks