PDA

View Full Version : Error w/ Scenarist about audio&video lengths


KamikazeCJ
1st June 2004, 10:45
I'm having a problem getting Scenarist to author my VOBs. One of my streams has audio that is 2 frames shorter than video. Tried adding 40ms delay with besweet but it still bitches about wrong resolution or drop frame. This was all after using BIG 3 apps.
I also tried just inserting dummies unsuccessfully. Any suggestions??
How can I add 2 frames of AC3 correctly?
In the future, would "correcting delays" down to 20ms or so in the "options" of DIF4U alleviate this issue??

influenza
1st June 2004, 12:32
I don't know if you used scenaid or not? The new scenaid version can correct those audio options for you (under audio options). If you want a real quick solution: make the video two frames shorter in scenarist: click on the video asset and in the property browser make it two frames shorter.

What also seems to work sometimes is : right mouseclick on audio asset (in data editor) select data -> placeholder. And after that right mouseclick placeholder -> data

good luck.

edit: just a few threads beneath yours is this one:

http://forum.doom9.org/showthread.php?s=&threadid=76996

;)

KamikazeCJ
4th June 2004, 18:14
Thanks Influenza!! Worked like a charm! The thread you gave me was exactly what was happening. Was using Reauthorist. BTW, DO you know of a thread on how to import a total DVD layout into Scenarist, including menus. Do I generate two seperate scripts, 1 for menus in NuMenu4U and one for other assets in Reauthorist and import both into same scenarist project. Don't know if I can even do that?

Thanks MUCH!

Bilbo69
5th June 2004, 08:34
Kamikaze : I was trying to do exactly that. Not exactly a beginner's task but seems doable... Would be much more easier (hint, hint !!) if the scripts produced by both Numenu and Scenaid named the assets, tracks, etc... the same way (one gives VTS_1_PGC_1.. and the other VTS1_PGC1...) and scripts are big...
I was thinking to write a shell script or something to do this automagically, but don't know if i'll have the time...

Great proggies, btw, thanks to their programmers (can't wait for a new, debugged release of Numenu... ;-))

D3s7
6th June 2004, 03:23
Bilbo: zeul and I talked about that actually.. (using same naming system) and may proceed that way....

Bilbo69
6th June 2004, 12:40
D3s7 : Great news to hear that. We'll be one step closer of the full DVD automagically authored in Scenarist with a script.
One missing thing will be the code enclosed in the non-menu PGCs... I don't know how far the code from Zeul is of something like that...

KamikazeCJ
8th June 2004, 07:02
zeul and I talked about that actually.. (using same naming system) and may proceed that way....

...if only all programs (and programmers) were that flexible... life would be good.

I have another thought... Why couldn't we have DIF4U demux all then have Numenu4U integrate with Reauthorist/Scenaid to draw up the menu table and have all ... menus, extras and movie... controlled by Reauthorist/Scenaid to get desired bitrates and then generate a total script for Scenarist. (Not sure how scenaid works this way. Can't remember. I tried Scenaid a couple times and ran into bugs (possibly due to my errors) and went back to Reauthorist.) Oh yeah, while we're at it can we super-size it and make ifoupdate (which seems to be one of the easiest parts ironically) somehow automated too. Would there even be a use for ifoupdate if all dvd layout was generated into a scenarist srcipt? Maybe just just a correction of VTS sectors? maybe not since encoded video would be imported into a full working sceen? Forgive me for any ignorance on this... Just some thoughts. Maybe a bit oversimplified.
PS DS7, I still have Scenaid installed =)

influenza
8th June 2004, 08:27
Oh yeah, while we're at it can we super-size it and make ifoupdate (which seems to be one of the easiest parts ironically) somehow automated too.

I suggest you read the stickys ;)




http://forum.doom9.org/showthread.php?s=&threadid=76630

Bilbo69
8th June 2004, 09:30
Since it seems that to have a DVD fully scripted to work on it with scenarist interests a few peoples and maybe more, I'll share my experience on this.
First of all, I only did this with a PGC demux. Never tested the rebuilding of a Vob-id demux.
First step is to generate the two scripts : Numenu will generate its, with the menu threshold set to 0 and all VTSes selected. In DIF4U I selected every VTSes too, to make it script every video sequence, even the smallest. Then I used scenaid to generate the script.
Now begins the non-automated part. My starting point was the script generated by Numenu, because it contains all what's subtle in the DVD (VMG and scripts in menus) and the whole architecture.
In the Data Folder part of the script, I simply added the assets of the Scenaid script which is long because of the subtitles.
In the Track Folder, I deleted the dummy tracks generated by Numenu and added the real ones from Scenaid. Once again, thousands of lines because of subtitles.
In the Scenario, I changed the First PGC to the right one (check in IFOEdit), I did not touch the VMG. Then for each VTS, I did not touch the menu PGCs that Numenu took care, and for each non-menu PGCs in it:
- I updated the Subpicture Attribute list to the correct values, which is the number of the stream for each screen format;
- I pointed the Linked Scene attribute to the one mentionned in the Scenaid script (D3s7 : this is the part where a common naming scheme would be really useful) for each cell of each program;
- I changed the Part of Title Reference List to the one generated in the Scenaid script.
Then I saved and executed the script in Scenarist 2.7. Every thing was imported correctly, but for some reason I don't know yet, I had to manually change video assets to placeholder then back to Data before being able to generate DVD files.
There is a last part, the borest one to me : copying pre-, post- and cell commands of non-menu PGCs from IFOEdit to the right place in the Scenario... And last but not least, until the next release of Numenu you'll have to check that SetSTN commands with at least two parameters in menu PGCs are correct.

Arriving at this point, you certainly noticed that I didn't talk about CCE and re-encoding : you're right, I registered as assets in Scenarist the M2V files found after the DIF4U part. And you still have a volume of data that can't fit on a single layer DVD+-R !!! But you have all the keys, and much more, to reencode the video files using your encoder of choice and importing them back in scenarist using the magic Data -> Place holder -> Data conversion.

I did all this because I had a DVD on which the film is burnt twice : one in Widescreen and the other one in Pan-and-Scan. Getting rid of one of the two version would make the other one fit with all the bonuses without recompressing anything. I had to get rid of stupid screens asking which version I would like to watch too. And, more importantly, I wanted to understand how it was working. Now I know better ;-)

Have fun.

PS : sorry for my english and if it was too much off-topic.

influenza
8th June 2004, 09:37
That was quite an achievement. I guess combining the scripts isn't the hardest part. But copying all commands and stuff is a huge task.

I know d3s7 is thinking of / looking at copying commands. Mainly for bov, but who knows....

KamikazeCJ
8th June 2004, 20:20
Yeah... nice work. I appreciate you sharing all this info. Time permitting, I'll look over your details a little more and see if I can give it a whirl on one of my DVD titles.

Oh yeah... thanks for the thread flu.