Log in

View Full Version : batch processing with multiple episodes


sPeziFisH
30th July 2003, 12:50
I want to rip my DVD (DVD with 10 Audio-Videos from an artist) and make an SVCD - yes I know, the idea is quite good.
Every video has its own PGC in the ifo-file of 3 vobs:

VTS_01_0.ifo with

VTS_01_1.vob
VTS_01_2.vob
VTS_01_3.vob.

Every PGC can be selected with movielength.
I am using batch processing with 10 processes (one for every video).
I want to use Gerti's SemiAutocropAndResize (http://forum.doom9.org/showthread.php?threadid=55641) which needs preview to set top and height. When I start preview d2s doesn't show me a preview of the selected pgc, but shows anything between all vobs (the 4th video or so - ok, all I know is that the shown video isn't the first one and !more important! not the one I want to have a look at).
This hinders me to set top and height for every batch-process as I cannot detect the top and height for the selected PGC (as it is not shown).
I have to rip each PGC with dvd-decrypter, load each ifo in d2s and start autodetect borders and note all values - now I have the following two possibilities:

1. start the encode (with dvddecrypter's ifos) and simulate a crash, copy & paste the commandline into batch-file. I have to do this for every ifo.

2. start the batch prepare with d2s's ripping - here I have to set every batch process with the noted values, which I wrote down in the extra dvddecrypter-single-ifo-and-loading-into-d2s-and-preview-step.

This is quite ok, but not very comfortable as it is extra work.
It would be optimal when d2s shows the right PGC when using preview, so there is no need for any extra step like making ifos for every PGC with dvddecrypter ... .

Another question aksed by some other ppl before:

Why is the ripping-step not included in the batch-processing (at the moment d2s has to rip all vobs, all vobs it needs for the selected PGC, immediately).
I guess internal ripping is also started by a commandline or is it (maybe like the name suggests) done with an internal method which cannot be started by commandline ?

edit: typos & expression

sPeziFisH
31st July 2003, 14:33
I forgot to mention that when using dvd-decrypter's ifo-files (those single PGC-ifos you can make) the audio-delay has to be corrected within bbmpeg, i.e. you have to look into the stream-file DVDDecrypter spends - it will tell you that specific value (for instance -80ms) - otherwhise you will be out of sync (n'sync).

edit by sPeziFisH:sorry, this is wrong

Sometimes it is quite interesting to read some reply, not give a damn about what nature it is :rolleyes

r6d2
31st July 2003, 15:12
Originally posted by sPeziFisH
[multiple episodes question]

You can use the search button since this question has been asked (and answered before).

Why is the ripping-step not included in the batch-processing (at the moment d2s has to rip all vobs, all vobs it needs for the selected PGC, immediately).

In fact it is, it's called "non-batch mode". :D

Just select the "Rip and convert" option. :)

(Why would you need batch ripping per se? You'd need multiple players, anyway, not common I guess.)


Sometimes it is quite interesting to read some reply, not give a damn about what nature it is :rolleyes:
I'd say that this is close to break rule #12, wouldn't you?

sPeziFisH
4th August 2003, 13:39
You can use the search button since this question has been asked (and answered before).

Sure, you learned well - that's the way to go and that was my way to be able to write a post like that one.
My post isn't about a problem with multiple episodes (it is quite easy to process multiple episodes as we both seem to know - maybe I have to use some xtra unnecessary complicated words to give the right impression), but about the preview of the selected PGC: preview does not show the PGC you want to handle - it shows anything of the vobs which need to be ripped to have access to that PGC.
This only affects preview, of course the right PGC will be processed.

In fact it is, ...
Still don't understand your joke - to save time and work I want to rip every PGC at one time, make my configurations and let D2S do its job (AFAIK you are not able to select all PGCs at one time, there can only be selected one with the movielength-pulldown-menu) so batch-processing will at least save me a lot of time, work and nerves.
Batch-ripping will save me extra time - the time I need to sit in front of D2S to wait for ripping (about 40s for each video) - after ripping I can configurate D2S with the next PGC - I will save about 5 min only for the ripping-step ... in addition to that waiting-time there is the trouble with the preview-option :rolleyes:

Maybe DVD2SVCD can give some further information about preview-mode.
Thank you for your reply r6d2.

r6d2
4th August 2003, 15:16
Originally posted by sPeziFisH
but about the preview of the selected PGC: preview does not show the PGC you want to handle - it shows anything of the vobs which need to be ripped to have access to that PGC.
This only affects preview, of course the right PGC will be processed.
(AFAIK you are not able to select all PGCs at one time, there can only be selected one with the movielength-pulldown-menu) so batch-processing will at least save me a lot of time, work and nerves.

I was under the impression D2S handles only one PGC (the longest one), and what you see in the movie length menu is the different chapters, not different PGCs.

I've never had D2S shown me in preview mode something it's not on the PGC it will encode. Maybe this has to do with a confusion with chapters and PGCs. In my case, at least, always what's on the preview is on the VOBs I'll rip and encode.

SemiAutoCropandResize does not absolutely need preview (only in 16:9 movies). And I guess it's very likely that all chapters on the same PGC have the same settings (width and height). So, anyone would do.

If you have multiple PGCs you want to join on the same SVCD, you may try joining and renaming the VOBs after ripping themall with DVD Decrypter. Then you'll have one single IFO for all the video, and with D2S you can use manual cutting to select the exact beginning of each disk.

Hope this helps. Sorry if I did not get you at first (or if I still don't). There is some language confusion I guess.

sPeziFisH
5th August 2003, 13:40
Glossary (guides>document overview>DVD related articles):
PGC stands for ProGram Chain. It is a term often used in DVD authoring and represents basically one concurrent playback item. For instance the main movie has its own PGC, each trailer on a DVD usually has its own PGC. The studio logo that comes up when you enter the disc has its own PGC, etc. Both SmartRipper in Movie mode and DVD Decrypter in IFO mode will show you all PGCs a DVD has.

Here every video has its own PGC.

I've never had D2S shown me in preview mode something it's not on the PGC it will encode.

I've never had this before too *cry*

And I guess it's very likely that all chapters on the same PGC have the same settings (width and height). So, anyone would do.

Sorry, I forgot to mention that this is not the case - it would make me overjoyed as this would be an easy job.

Then you'll have one single IFO for all the video

Every video has its own PGC in the ifo-file of 3 vobs:
VTS_01_0.ifo with ...

I got one ifo, frameselection is still possible, but every video needs its own top&height-setting (and I want to use it *with the voice of a small boy who just wants to get what he wants to* ).

I can go other ways but I think it's remarkable D2S acts like this.

Originally posted by sPeziFisH
[multiple episodes question]

I forgot to bring that up but this is not a quote of me (or I just cannot find it) - you should use another stylistic device in future to be correct - sure, at least I know what you mean and some people say this is most important - I proscribe those kind of quotes - don't want to sound hard, it's just ...

I hope you don't become nerved just because you want to help me :)

r6d2
5th August 2003, 14:52
Originally posted by sPeziFisH

I forgot to bring that up but this is not a quote of me (or I just cannot find it)
Rest assured I did not make it up. Either it was a typo, or the title of your thread changed.

sPeziFisH
7th August 2003, 11:31
So, all stuff is done.
As I think it is quite useful for other D2S-users I will tell you what I did:

I bought the 'Anouk - Lost Tracks'-DVD (DVD with music-clips) two weeks ago and decided to make an SVCD for a friend.
A look at the DVD showed me that all clips are stored in

VTS_01_0.IFO which refers to

VTS_01_0.VOB
...
VTS_01_3.VOB


After I recognized that each video-clip has its own PGC I knew that I had to use DVD2SVCD's batch-processing-mode, so I can select every video-clip with 'movie-length' and set different configurations for every video-clip - as batch-processing is only possible when DVD2SVCD rips the clip (choosen with 'movie-length') itself (I will give a statement to this later) I had to activate DVD ripping at 'DVD Rip'-Tab.

Because I want to use gerti's SemiAutoCropAndResize-Plugin I have to set top & height for each video-clip.
Here I recognized that the clips do not have the same format (top & height is different for each clip) - no problem, batch-mode gives me the possibility to set top & height for each clip.
To determine top & height you can use 'autodetect borders' (Avisynth setup) and 'preview video (still picture)'.
Here DVD2SVCD won't give you a preview of the selected PGC ('movie-length') but will show you anything in those vobs which are needed to be ripped to have that selected PGC.
This is quite awkward - whatever, I got two choices:

1. note top & height of the shown clip, select 'show next frame' until I have seen frames of every clip - by this I got the needed informations to set my configurations (top & height of every clip -> SemiAutoCropAndResize), use DVD2SVCD's DVD ripping and start batch-processing.

2. rip each PGC with DVD-Decrypter (I use DVD-Decrypter)(here renaming is needed, but DVD-Decrypter will give you that option) and load each PGC-ifo in DVD2SVCD, set my configurations (each clip has its own output folder (1,2,3,...)), start conversion, simulate a crash and copy&paste the batch-line as often as videos I got - I changed the commandline for the outputfolders (changed ..\1\.. to ..\2\.. etc.)

Whatever you may choose, I choosed choice 2.
When you load each PGC-ifo in DVD2SVCD it will tell you that the right *.vob could not be found - you have to select (means option 'add') it manually (here 10 PGCs with VTS_01_0.IFO, VTS_01_0(1).IFO, ..., VTS_01_0(9).IFO).
After all I started that rigged batch-file.

When you rip with DVD-Decrypter the audio-delay in the given 'stream information'-file has to be ignored - DVD2SVCD will set it right after DVD2AVI-processing - if you don't believe here is an extract of my dvd2svcd-log (first I thought it has to be set, but I was not 100% sure):

Found AC3 stream id: 0x80
Filename: E:\Anouk - DVD\1\Extracted_audio_1.ac3
Audio1 delay: -80 ms

Encoding Audio. Filename: E:\Anouk - DVD\1\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Programme\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "E:\Anouk - DVD\1\Extracted_audio_1.ac3" -output "E:\ANOUK-~1\1\Encoded_audio_1.mp2" -logfile "E:\ANOUK-~1\1\Encoded_audio_1.log" ) -azid( -L -3db -c normal -s surround -g max ) -ota( -d -80 ) -2lame( -e -b 224 -m s )

my comment on batch-processing and preview-mode:

it makes more sense to have the possibility to use batch-processing in every case -
also in the case you don't want to use D2S's DVD ripping - here dvd ripping can be integrated in the batch processing (own commandline) or D2S will do that starting its process (before demux etc.).
So you can use your own ifo-files with batch-processing or - if you don't use your own ripped ifos - you don't have to wait for D2S to rip each movie.

preview-mode seems to be strange as it doesn't really show you what you have selected.

@DVD2SVCD:
I hope you are reading these words as I want you to know that further enhancements are needed to work more smooth.

Don't hesitate to tell me any mistakes in grammar etc. as english is not my native language and it's quite helpful to be aware of every mistake.

Thanks fly out to DVD2SVCD & Greetings to you all

[sPeziFisH]

post scriptum:
'AutoFitCD Detect Borders' is more useful to determine top & height as it gives you the possibility to set a threshold-value (I needed it for one clip).
Then use 'SemiAutoCropAndResize' as usual.

p.s.2:
oh, I have read this in DVD2SVCD-readme a few minutes ago
- Bug Fix: The chapter extraction and preview would fail if the DVD had sporadic encryption (that is the key can only be found in the beginning of the DVD)
don't know if this will solve the problem

toru
7th August 2003, 21:47
sPeziFisH, I was wondering the same thing as you. I want option to use a different ripper instead of the options used in DVD2SVCD.

Basically I would use SmartRipper (yes, I know), or another ripper, to create an IFO, then a comandline option (via my own batch file) to introduce that IFO into DVD2SVCD for automatic conversion. I wouldn't need any extra boxes to check or anything visible inside the DVD2SVCD program UI itself to do this (I could see how this could create many more headaches).

I have everything automated up until the IFO introduction into DVD2SVCD, then after DVD2SVCD finishes converting, I have nerocmd automatically burn an image.

If this sounds demanding it truly is not meant to be. I'll continue doing things the way I have them set up if need be, no big deal.