Log in

View Full Version : How to create an Avisynth script to use with Quenc?


ricardo.santos
27th September 2005, 18:07
HI everyone.

I was trying out Quenc encoder yesterday and i was really surprised by its output. the problem is that my final video doesnt have audio even though Quenc has an option to convert audio.

My question was:
Could anyone point me out how to make a avisynth script to ensure the audio is on the final video.
I have bought a dvd that has lots of music clips, i wanted to reencode/backup(just main movie) it using Quenc because dvdshrink doesnt do a good job even with "deep scaning function on"(dont recall the function)

I would use chapterb extractor to get the chapters and use muxman or dvd lab to author the video.

Thanks

Guest
27th September 2005, 18:33
Please fix your thread title per forum rule 9. Thank you.

ricardo.santos
27th September 2005, 18:49
Please fix your thread title per forum rule 9. Thank you.

Done. Thanks

communist
27th September 2005, 19:07
It would help if you posted the script you used. Also make sure you selected DVD / Separate Passes mux profile and not "Video only" in QuEnc's advanced settings.

ricardo.santos
27th September 2005, 19:40
i used AutoGk and Gordian Knot to do the scripts. the image looked small. Im not at home at the moment but will post the script here tomorrow.

Lets say i decrypted a dvd (main movie) to my pc in c:\movie

can you give a rough idea of how it should be? (if possible?)

i never created one before but have a general idea of its work(what it does/allow) us to do.

thanks

communist
27th September 2005, 20:22
I assume you're using DGIndex / DVD2AVI to frameserve it (Using MPEG2Source(...)) - I haven't used that for quite a while - but AFAIR it frameserves only Video not Audio - which is processed by (A)GK via BeSweet and muxed at the final stage - you would have to load the audio separately.
Try something like this:

Video = MPEG2Source("x:\path\yourproject.d2v")
Audio = MPASource("x:\path\yourmpafile.mpa") # or you can use NicMPASource
AudioDub(video, audio)

You might aswell consider just remuxing the original AudioStream (ie leaving it untouched).

ricardo.santos
27th September 2005, 20:48
my first tool i used/tried to creat avs was Dgindex but it ccreates a d2v file instead of a avs file. what i did was opening the d32v file with gordian knot and creat a avs file.

can quenc use d2v files? or am i missing something?
thanks

communist
27th September 2005, 21:01
can quenc use d2v files? or am i missing something?
thanks
No it cant. Use those 3 lines as your AviSynth script. Open that avs in QuEnc.

ricardo.santos
27th September 2005, 21:25
Ahhhhhhhhh! Got it now

the d2v file is "part" of the avisynth script(in the avs file i need to point it to the d2v file)

i will try your example tomorrow and pst back my results.

Thanks a lot.