VideoHelp Forum




+ Reply to Thread
Results 1 to 16 of 16
  1. Sorry for creating a new post of the same point, but probably I need to make it differently to finaly get an answer.
    I will start with an example.
    E.g. I have ripped a DVD in a file mode.
    It has 6 PGCs of 10 to 14 minutes of quite average quality, but the video is streched to whole DVD so its bitrate is 6-7 Mbit - far too much for storage on HDD and too much for quick burning of short (1.2 hour video) with low speed like 4x (for longer disk life).

    Now the question: How to create audio file and avisynth script file for each PGC?

    Please do not give me answers like this: Extract each PGC and index them with DGIndex.

    If I already have the video on my disk, how can I frameserve each PGC without extracting them?

    Please don't post if you do not understand the question!
    Cann't tell it's possible don't tell anything.
    Quote Quote  
  2. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    Please don't post if you do not understand the question!
    That would be all good and well ... if your question made any sense ...

    My understanding of aviscript is that you load your file(s) into it and it creates an avisynth script, ready for encoding in your encoder of choice.

    The idea of indexing with DGIndex is that it is a mechanism for frameserving MPEG-1/2 files directly into your encoder. Plus it can demux your audio at the same time, so you end up with an audio file and a pointer to the MPEG content, ready to feed into your encoder directly, OR for input into aviscript.

    If the PGCs all form the one titleset, load the VTS_01_0.IFO file into AutoGK and it will offer you a choice of PGC and then do the rest of the conversion for you. Repeat 5 times, selecting a different PGC each time and the job is done.
    If in doubt, Google it.
    Quote Quote  
  3. There is a problem.
    Noone seems to bother about it.
    Noone seems to understand it.
    I encode DVDs with CCE, I do not need an all in one proggy.
    Where does AutoGK creates d2v file, aviscript, audiofile and (if possible) subtitle streams of PGC?

    The idea of indexing with DGIndex is that it is a mechanism for frameserving MPEG-1/2 files directly into your encoder. Plus it can demux your audio at the same time, so you end up with an audio file and a pointer to the MPEG content, ready to feed into your encoder directly, OR for input into aviscript.
    Yes and how to load PGC into DGIndex? Or how to determine where PGC starts and ends in DGIndex? Or how to create audio file for PGC and index it at the same time like DGIndex does with whole VTS?!
    No this is useless...
    I know noone will answer this anyway!
    My understanding of aviscript is that you load your file(s) into it and it creates an avisynth script, ready for encoding in your encoder of choice.
    My understanding of aviscript is it is a name of avisinth script like PageMaker script is called pmscript or VBA macros are called just macros.
    Cann't tell it's possible don't tell anything.
    Quote Quote  
  4. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    Originally Posted by kurbads
    Yes and how to load PGC into DGIndex? Or how to determine where PGC starts and ends in DGIndex? Or how to create audio file for PGC and index it at the same time like DGIndex does with whole VTS?!
    No this is useless...
    I know noone will answer this anyway!
    Rip with DVDDecrypter in IFO mode, and you can extract singular PGCs to load into DGIndex.

    But you don't wanna do that, so ...

    I daresay autoGK uses one of the switches on the commandline to identify the PGC it wishes to load, since it asks you to select the correct PGC before doing the DGIndex part.

    Originally Posted by kurbads
    My understanding of aviscript is that you load your file(s) into it and it creates an avisynth script, ready for encoding in your encoder of choice.
    My understanding of aviscript is it is a name of avisinth script like PageMaker script is called pmscript or VBA macros are called just macros.
    Never heard it called that; it is simply an avisynth script. If you started calling it an aviscript then you would encounter the same confusion I did since there is a program of the same name.
    If in doubt, Google it.
    Quote Quote  
  5. If you started calling it an aviscript
    I admit there is a confusion...
    daresay autoGK uses one of the switches
    No the d2v file created by DGIndex during AutoGK operation is a d2v file of whole title set.
    Why there is no split on new PGC option in DGIndex?

    Rip with DVDDecrypter in IFO mode, and you can extract singular PGCs to load into DGIndex.

    But you don't wanna do that, so ...
    Yes because it means ripping the disk twice - once in file mode (for source in which to replace PGCs) and pgc mode - to have PGCs to work with... And how can I determine afterwards which PGC in VOBblanker is which PGC in DVDDecrypter?
    By the way, DVDDecrypter demuxes all PGCs in one file - so it is by no means better then VOBblanker in obtaining the demuxed PGCs! Also it does not work with files on hard disk!
    So the path remains the same:
    1) decrypt disk with DVDDecrypter in file mode
    2) extract al PGCs with VOBlanker
    3) index each with DGIndex
    4) write script for each PGC
    5) encode video for each PGC
    6) encode audio for each PGC
    7) demux subtitles for each PGC
    8) mux each PGC
    9) replace each PGC
    Even if they are lets say twelve!
    Cann't tell it's possible don't tell anything.
    Quote Quote  
  6. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    Well, you tell us not to answer your question if we don't understand it (which, in my mind, makes absolutely no sense at all), then you complain because no one is answering your questions.

    Okay, so I'll go out on a limb and tell you what I would have done in your situation.

    1) Create a .D2V file for each program chain.
    2) Convert the extracted audio to .WAV file.
    3) Create an AVISynth script like this:
    Code:
    vid1=mpeg2source("my path\first_pgc.D2V")
    aud1=wavsource("my path\first_pgc.wav")
    audiodub(vid1,aud1)
    4) Save this script as VID1.AVS.

    5) Open VID1.AVS in VirtualDub and check for proper audio sync'ing with the video.

    6) Repeat steps 1 thru 5 for the other five program chains.

    7) Once you are satisfied with all the videos, combine them into one big script file like this:
    Code:
    vid1=mpeg2source(...)
    vid2=mpeg2source(...)
    vid3=mpeg2source(...)
    vid4=mpeg2source(...)
    vid5=mpeg2source(...)
    vid6=mpeg2source(...)
    
    aud1=wavsource(...)
    aud2=wavsource(...)
    aud3=wavsource(...)
    aud4=wavsource(...)
    aud5=wavsource(...)
    aud6=wavsource(...)
    
    v1=audiodub(vid1,aud1)
    v2=audiodub(vid2,aud2)
    v3=audiodub(vid3,aud3)
    v4=audiodub(vid4,aud4)
    v5=audiodub(vid5,aud5)
    v6=audiodub(vid6,aud6)
    
    v1+v2+v3+v4+v5+v6
    8) Save this script as "BIG_ONE.AVS"

    9) Open BIG_ONE.AVS in VirtualDub, then go to FILES > SAVE WAV... This will combine your audio files into one big .WAV file that will be sync'ed to your video.

    10) Now, encode your video.

    11) Convert the .WAV file of the entire video to .AC3.

    You now have an audio file and a video file that will import into any DVD authoring program.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  7. You now have an audio file and a video file that will import into any DVD authoring program.
    If you can read the point was to prepare asets for replacing in VOB blanker.
    Also in your post there is no clue how to
    Create a .D2V file for each program chain.
    without extracting them.
    A bunch of pointless offtopic answers - exactly of what I am warning by saying do not post if you do not understand!
    Cann't tell it's possible don't tell anything.
    Quote Quote  
  8. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    I think one of us is just too stupid to be participating in this thread... Perhaps it's me.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  9. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by kurbads
    A bunch of pointless offtopic answers - exactly of what I am warning by saying do not post if you do not understand!
    Unless you can explain clearly what you're trying to do, and be more polite, you're unlikely to get any useful help.
    Quote Quote  
  10. Apparently I am too stupid to explain the problem.
    OK I will try again.
    First of all I am not trying anything. I am doing.
    I just do not like the way how.
    I will first explain what I am doing and then what I do not like.
    I reauthor a lot of DVDs then I keep them on my hard disk and also I keep a copy of each disk on DVD. They are almost 200 of them now. I sell them. When I run out of stock I burn them on 12 Pioneer DVD 111D burners at once (at 4x). I print the covers and inserts on two Pixma iP4300 printers. The disks I reauthor are not a Holywood movies. They are documentaries. In most cases VHS rips. When I get a new disk I look if it can be shrinked. Or if I get a film stretched over several disks I look if they can be put on one disk or two. About 5% of DVDs do not have to be reauthored. About 40% of DVDs have only one PGC. Another 40% even do not have menus or menu with one button. If the disk contains 1 hour VHS rip, I reencode to about 1/3 of disk to make it smaller to store on HDD and faster to burn. I do it if I can avoid visible loss of quality. Also I recompress sound. In some cases the mono sound is encoded as PCM stereo. I convert it to mono, normalize and encode at 64kbit. Also in some cases the sound is distributed over channels the way that voice is in one channel and music in other. Then users who have mono TVs hear only one of them. I merge both channels in CoolEdit so they both contian same audio while leaving minimal stereo effect where it was present in the beginning. Then I reauthor them with DVDAuthor if they do not have menus. Or I author the video with IfoEdit and replace in original DVD with VOBblanker. Some (about 15%) these DVDs have more sophisticated structure. Like dozens of PGCs. Recently I put on one disk 4 DVDs of 1 hour each. I preserved the main (motion) menu and modified chapter menu to contain all 12 episodes and erased a redundant button from main menu with VirtualDubMod's DeLogo filter. Also I reencoded 192 kbit mono sound to 64 kbit. Then I put everything back with Sonic Scenarist. The problem was I had to extract each PGC manually. I named them like 01 02 03 ... etc. Then indexed them, then created 12 avs files pointing to 12 *.d2v files. And this is not the only case. Each time I want to replace a PGC I have to extract it. Why I can't convert it by using the data which is already present and accessible on hard disk? Why I need duplicate data?
    Now I will probably again will not get "help" not because anybody is stupid or inpolite, but just because there is no help. Simply developers of the powerful freeware have not recognized the need for some even more powerful features.
    Cann't tell it's possible don't tell anything.
    Quote Quote  
  11. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by kurbads
    The problem was I had to extract each PGC manually. I named them like 01 02 03 ... etc. Then indexed them, then created 12 avs files pointing to 12 *.d2v files. And this is not the only case. Each time I want to replace a PGC I have to extract it.
    What do you mean by "extract manually"? Using what? Converting to what?
    Quote Quote  
  12. What do you mean by "extract manually"? Using what? Converting to what?
    Extract with VobBlanker to replace with VobBlanker. Converting with CCE encoder.
    You know there are functions in Vobblanker - extract and replace.
    Cann't tell it's possible don't tell anything.
    Quote Quote  
  13. I knew! Noone can answer questions I can't answer myself.
    Cann't tell it's possible don't tell anything.
    Quote Quote  
  14. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by kurbads
    I knew! Noone can answer questions I can't answer myself.
    With an attitude like that, yes.
    Good luck working it out.
    Quote Quote  
  15. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    Originally Posted by kurbads
    Why I need duplicate data?
    Here's a tip ... don't rip in file mode first. Rip only in IFO mode, and then you're only ripping each PGC once and not duplicating the process.

    Genius 8)


    Either that or develop your own freeware to do what you need it to do ..... and keep it only for yourself since the current freeware out there is no good to you.
    If in doubt, Google it.
    Quote Quote  
  16. Originally Posted by jimmalenko
    Here's a tip ... don't rip in file mode first. Rip only in IFO mode, and then you're only ripping each PGC once and not duplicating the process.
    No, it will not work. I need a full copy of original on HDD.
    Either that or develop your own freeware to do what you need it to do ..... and keep it only for yourself since the current freeware out there is no good to you.
    I would certainly like it. But I do not know where to start. May you suggest a beginner programmer guide? I have quite some skills of programming in VBA. There are few things I would like to write myself!
    Cann't tell it's possible don't tell anything.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!