Log in

View Full Version : quick2pass


Pages : 1 [2] 3 4

rui
15th April 2002, 10:34
It doesn't crash anymore. :)
I will try it and later post here my results.

Thanks

DaveEL
15th April 2002, 10:41
Originally posted by rui
It doesn't crash anymore. :)
I will try it and later post here my results.

Thanks

Weird i didnt change anything except changing to the new xvid config struct. oh well if it works it works :)

DaveEL

rui
15th April 2002, 11:02
I spoke too soon :(
After opening the quick2pass.exe, a windows appears, tellijg me to choose my .dv2 project. I choose a dv2 project from a trailer i have in this comp, bu then a new window appears saying this: "Failed to get data from 'twopass_max_overflow_improvement'"
Then the software window appears, but i can't start either the comp test or the two pass encoding. When i choose the comp test, it opens Vdub, but closes it right away, and a new window saying "File not found" appears.

DaveEL
15th April 2002, 11:10
thats fine you NEED the latest build to run it
it you run the latest build in xvid it will fill in the reg values and you will stop getting the startup error. if you only use my tool you will continue to get that error but if you install the new codec then the comp check and encode should work again.

DaveEL

rui
15th April 2002, 12:17
I have the 13.04.2002.2220 build.
I thought that this was the latest build. :confused:

DaveEL
15th April 2002, 15:21
Originally posted by rui
I have the 13.04.2002.2220 build.
I thought that this was the latest build. :confused:


uManiacs instant build 15.05.2003.0800 is what its made to work with

DaveEL

uManiac
15th April 2002, 15:51
Maybe you should let your program check what version of the codec is installed. You can PM me if you need info on what's put in the registery during install.

uManiac

rui
15th April 2002, 16:38
Originally posted by DaveEL



uManiacs instant build 15.05.2003.0800 is what its made to work with

DaveEL

Sorry. I will try with this one. The uManiac's idea is very good. Could you implement something like that?

rui
15th April 2002, 17:12
Well, i just ended a comp test, using quick2pass. All went well :)
But i have some doubts with the values i got: the bits/pixel is 0,1592 and the comp test is 0,815. The subject was a trailer from the movie The Replacements and the target file size was 13MB. This clip is very dificult to encode, divx5 used to gave me a comp check of 29%.
So, what values i am to expect from xvid comp test to consider that the final avi will look good?

DaveEL
15th April 2002, 17:14
Originally posted by rui


Sorry. I will try with this one. The uManiac's idea is very good. Could you implement something like that?

Well if i put in a check for a particular version it can cause a few problems

1) only works with that particular binary so if someone has a diff binary from another source it wouldnt work.

2) If new builds do not change the config struct then they will be automatically supported if i check version numbers the program will detect a different version and even if it did work it program would think that it was the wrong version

if i cant find a more precise way to check for codec compatibility then i will probably put something in to detect a version which is too old and a warning if the version is too new as it may still work. not sure what to do about the fact that versions are available from different people and so i cant check for compatibility between builds.

DaveEL

DaveEL
15th April 2002, 17:31
Originally posted by rui
Well, i just ended a comp test, using quick2pass. All went well :)
But i have some doubts with the values i got: the bits/pixel is 0,1592 and the comp test is 0,815. The subject was a trailer from the movie The Replacements and the target file size was 13MB. This clip is very dificult to encode, divx5 used to gave me a comp check of 29%.
So, what values i am to expect from xvid comp test to consider that the final avi will look good?

if you doubt the value my program gives you load encode.stats into gordianknot comp check and it should give you the same value (i split every 13 frames like Gordian knot so i could use that to check my values were correct). as far as what percent to go for im not sure myself yet (must remeber to add a box showing what percentage the comp check is vs the BBP aimed for) generally i guess the values will be reasonable similar to those you want for a divx3 rip probably a bit lower. not sure what value for a divx5 comp check is reasonable.

DaveEL

kythorn
15th April 2002, 17:46
Any chance you could put in .avs support again?

DaveEL
15th April 2002, 18:02
Originally posted by kythorn
Any chance you could put in .avs support again?

depends on exactly what you mean by avs support. if you want to be able to open avs scripts as input this should happen when i get round to allowing you to open avis. so in short yes but not for a while:)

DaveEL

rui
15th April 2002, 18:34
Originally posted by DaveEL


if you doubt the value my program gives you load encode.stats into gordianknot comp check and it should give you the same value (i split every 13 frames like Gordian knot so i could use that to check my values were correct).
DaveEL

Of course i don't doubt your work :)
This was a very small test (trailer), so it doesn't have much importance. I will do tests with full movies and then see what it gives me.

Thanks again for your efforts :)

Erbse
15th April 2002, 21:22
main, xvid buttons now appears correctly, thx for fix that

after starting quick2pass and loading *d2v i get this message:


failed to get data for twopass_max_overflow_improvement


of cource latest xvid build is installed (umaniac XviD.Alpha.15.04.2002.0800.exe)

DaveEL
15th April 2002, 21:37
The program will still work if you get that error what it means is you haven’t used the codec on its own (outside my program) since you installed the latest codec so no values are in the registry for the new parameters if you load the codec config window in virtualdub it should fix the problem but as i said it should still work if you ignore the message. ill make it ignore missing registry values at some point in time.

DaveEL

evaguiar
16th April 2002, 12:05
I'm Evandro Aguiar Nascimento and I'm leaning how to program computers using Delphi, will you publish the source code of quick2pass? Can you send it to me? What's your email?

Cheers,

Evandro Aguiar Nascimento
evandro@compacto.br
Assoc. Edu. Compacto

Dark-Cracker
16th April 2002, 15:06
i am interested too by the source :-) perhaps could u add it in your next release, almost it was a secret work.

metrom
16th April 2002, 19:39
Originally posted by DaveEL
i still use mp3 in my encodes and so far not convinced oggenc can beat lame with the right settings but ill take a look (havnt tested vorbis for a while anyway).DaveEL

you're joking right? :/

ogg vorbis beats mp3 at any bitrates, not just the lower ones.

Hanty
16th April 2002, 20:15
Beating mp3 at "Any bitrates" is a very bold statement. I invite you to make a better 32kbps ogg of the CD of your choice than my 256kbps mp3 of the same Cd. :)

Nic
16th April 2002, 20:44
He is referring to ogg beating mp3 at any set bitrate...i.e. Ogg at nkbps will beat MP3 at nkbps. Where n can be any given bitrate.

However, even with that mind, people may still not agree.

-Nic

dividee
16th April 2002, 20:46
DaveEL,
about the comp check, do you know that GKnot only use 12 frames out of 13 to evaluate it ? The first frame of each snip is bigger since an artificial scene change is introduced every 13 frames. If you don't discard it, you tend to overestimate the bpp of the first pass and underestimate the comp check % value.
Sorry if you already knew that.

DaveEL
17th April 2002, 10:27
about the comp check, do you know that GKnot only use 12 frames out of 13 to evaluate it ? The first frame of each snip is bigger since an artificial scene change is introduced every 13 frames. If you don't discard it, you tend to overestimate the bpp of the first pass and underestimate the comp check % value.


yeah it already does that

DaveEL

DaveEL
17th April 2002, 10:34
stupid bug in previous release sorry to anyone who had problems with it the new version up now should work better

DaveEL
(http://www.ecs.soton.ac.uk/~del100/quick2pass.zip)

DaveEL
17th April 2002, 18:16
more testing, more bugs found and so another release:)

DaveEL

(http://www.ecs.soton.ac.uk/del100/quick2pass.zip)

Apu
17th April 2002, 19:50
Hi,

wow, it took me a while to realize that you're quite serious with this "always use the latest built" thing. I very unsuccessful tried Nic's "latest" 05/04/02 built, Koepi's I think it was 17/04/02 and uManiac's 13/04/02 builts and it produced no output at all. I thought I'm just too stupid, but after a revisit on uManiacs site - this time finding the "instant built" section finally got me to where I wanted to go for.

Anyways, thank you for that nice tool (or let's say program as I thing it left "tool-stage").

And as many others I would very appreciate if you would publish the source code.

bb
18th April 2002, 06:34
What do you think about adding version numbers to the quick2pass filename?

bb

DaveEL
18th April 2002, 17:09
source released (GPL) i warn you its a mess


http://www.ecs.soton.ac.uk/~del100/Q2psrc.zip

fixed url should work now

DaveEL

uManiac
18th April 2002, 17:26
The url dosn't work :(

DaveEL
24th April 2002, 01:36
http://www.ecs.soton.ac.uk/~del100/quick2pass0.5.zip

just updated to support builds later then 23/04/2002 19:20


new features
- none :D



DaveEL
(anyone added anything to the source they want to share?)
(im working and not really getting anywhere with vstrip support currently)

Dark-Cracker
24th April 2002, 01:51
good idear to add vstrip, i have post a thread to know if someone could help me to modify vstripgui, perhaps this could give you an idear.

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

Ps: my knowledge in delphi are very bad but i working actualy on a new tool "autodub" who could automaticly start a 1pass CBR / 2pass (both) in Divx4/DivxPro 5 and Xvid, i think it was surely buggy , but if i could help you , this will be great. give a shot to my prog (Less Xvid option than your, but it support the new Build 23-04-02)

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

Bye. Good luck for your next release.

AsPiRiN
24th April 2002, 02:43
First of all the url doesnt work!
And why dont you ever support the stable builds of the xvid guys like Nic,Koepi an Umaniac??

Dark-Cracker
24th April 2002, 05:23
>First of all the url doesnt work!
first the Url seems to working

>why dont you ever support the stable builds of the xvid guys like Nic,Koepi an Umaniac??
secondly we support Nic/koepi/Umanic Build because there are STABLE.

Franko30
24th April 2002, 08:02
Sorry to disturb you guys, I don't want want to join the fight, but:

I just wanted to download quick 2-pass to check on the progress it's making but the URL produces the following result:


"403 Forbidden
You do not have permission to access /~del100/quick2pass0.5.zip on this server.

If you expected this URL to work, please contact del100@ecs.soton.ac.uk

You may want to try:
http://www.ecs.soton.ac.uk/~del100/ "

After trying the given alternative, I get the listing of the available files, but when trying to click on one of the files I get back to the "403" page :(

Cheers

Frank

DaveEL
24th April 2002, 08:44
"403 Forbidden
You do not have permission to access /~del100/quick2pass0.5.zip on this server.

that will teach me to upload stuff at silly hours of the morning when i should be sleeping fixed should work now

As for stable builds i support the very latest code so when these "stable" builds are updated i automatically support them if you want to work with older builds use the old URL from a few posts ago appart from support for the new builds they are identical.

DaveEL

AsPiRiN
24th April 2002, 15:50
Thanx DaveEL!i didnt mean to offend you i any way!Just asking.Great job!

acido
28th April 2002, 18:21
Please help me understanding how comp test works in quick2pass ...
What values should i expect from a comptest, i know bits per pixel/frame should be near 0.20 for 1cd and 0,27 for 2cds, but as in gknot this is not accurate.
so what values should i expect after choosing the right resolution?
Many thanks, ciao!

DaveEL
29th April 2002, 00:18
Originally posted by acido
Please help me understanding how comp test works in quick2pass ...
What values should i expect from a comptest, i know bits per pixel/frame should be near 0.20 for 1cd and 0,27 for 2cds, but as in gknot this is not accurate.
so what values should i expect after choosing the right resolution?
Many thanks, ciao!


not sure yet i try for about 75% of the comptest.

DaveEL

DaveEL
29th April 2002, 18:21
http://www.ecs.soton.ac.uk/~del100/quick2pass0.501.zip


just fixes the oggmux code.

DaveEL

(anyone intrested in testing new builds for me as my last couple of releases have had a few problems i didnt find until some time after the release)

DaveEL
30th April 2002, 15:36
another tiny upgrade (or downgrade depending on how you look at it) the instant builds have had a few problems with the dshow filter and i wanted to try with the EPZS(^2) code so i made a new version to work with nics current binary (included in the zip).

except that no differences with 0.501 (still available if you want to use the instant builds)

http://www.ecs.soton.ac.uk/~del100/quick2pass0.502.zip

DaveEL

hyperion
1st May 2002, 23:12
Getting this error 'Can't create oggMuxer!' and Oggmux crashing.

Am i doing something wrong.??

A suggestion, couldn't you collect all the files in the same dir
as the original movie instead of the quickpass dir.



Great program BTW.

Cheers
Hyperion

DaveEL
2nd May 2002, 11:28
[QUOTE]Originally posted by hyperion
[B]Getting this error 'Can't create oggMuxer!' and Oggmux crashing.

Am i doing something wrong.??

currently only suppored output is ogm/xvid/vorbis so you need the ogg directshow filter installed. get them from doom9. avi/xvid/mp3 output support should be in soon(and so ogm/xvid/mp3 should work too).

A suggestion, couldn't you collect all the files in the same dir
as the original movie instead of the quickpass dir.

planed will be needed for job control which hopefully will be added soon (multithreaded goodness is already in my copy of the code but not the release versions so it should be easy possibly next release).

Dark-Cracker
2nd May 2002, 18:17
does it exist a CLI version of oggmux ?

hyperion
2nd May 2002, 22:54
It worked !!

It made a .ogm fil.

One thing, any suggestions on the % for Ogg compression (default 50).
Is 50% like 128 Kbps MP3 ABR or..?

I may add, that i haven't done much in Ogg before.. Sounds great on my test file..

Keep up the great work and add .avs support ;)

Cheers
Hyperion

DaveEL
3rd May 2002, 01:43
One thing, any suggestions on the % for Ogg compression (default 50).
Is 50% like 128 Kbps MP3 ABR or..?

Vorbis stuff is VBR but IIRC its about 140kbps for a film.



Keep up the great work and add .avs support ;)
basic .avs/.avi support on the way soonish.


new version 0.55 (http://www.ecs.soton.ac.uk/~dell00/quick2pass0.55.zip)
(use http://www.ecs.soton.ac.uk/~del100/quick2pass.zip if you want to link to latest version).

1) MP3/avi output

If you want an avi just use an MP3 audio track (no mp3s in ogm yet!)

2) decomb support

(http://www.doom9.org/decomb.htm) not all params supported yet


3) lots of internal changes (read bugs) please test
4) multi-threaded goodness (read useless until job control is added (oh and bugs))


DaveEL

Gazza
3rd May 2002, 02:25
Had problems with the links - files not available...

What is the difference between quick2pass0.55.zip and quick2pass.zip? Should quick2pass0.55.zip be titled quick2pass0.505?

I'm new to quick2pass, but would like to give it a go. Does it come with a guide? Or is it blatantly obvious - maybe I should go and give it a shot... A guide would be good though.

DaveEL
3rd May 2002, 11:18
Originally posted by Gazza
Had problems with the links - files not available...


fixed new links in the previous post


What is the difference between quick2pass0.55.zip and quick2pass.zip?

nothing quick2pass.zip always points to the latest version which currently is 0.55

Should quick2pass0.55.zip be titled quick2pass0.505?

no

I'm new to quick2pass, but would like to give it a go. Does it come with a guide?


i need to write some docs soon but coding is more fun you should be able to work it out if you have used xvid before .

DaveEL

Apu
4th May 2002, 14:59
:devil:

I've got some trouble again. VD produces no output. Actually it behaves the same as when I had a wrong quick2pass/Codec Version combination (Codec to old) some weeks ago. But this time I can't solve it. I'm using the quick2pass Version of your last post and tried the following Codecs:

the included Nic's release (22042002)
the latest Nic's release (02052002)
uManiac's build "XviD.Alpha.03.05.2002.1520.exe"

Any suggestions?

thanks.

DaveEL
4th May 2002, 15:56
[QUOTE]Originally posted by Apu
[B]:devil:

I've got some trouble again. VD produces no output. Actually it behaves the same as when I had a wrong quick2pass/Codec Version combination (Codec to old) some weeks ago. But this time I can't solve it. I'm using the quick2pass Version of your last post and tried the following Codecs:

Does it process the video or just exit can you send me the virtualdub.jobs file to dave at leatherdale dot net.

the included Nic's release (22042002)
use that one make sure you uninstall any other builds first.


DaveEL

Apu
4th May 2002, 16:49
No, VD starts and immediately exits.

I hope my Codec setup is alright. I tried uninstal the old Codec in various ways. I tried the "unisnstal" Option of Xvid in my Start folder, and also did it via System->Device Manager->Audio, Video and Gamecontroller->Videocodecs->remove. This should be enough. Just to be sure I will delete anything that smells like Xvid by hand again and then have another try...

and this ist my jobs file (i also mailed it to you):

// VirtualDub job list (Sylia script format)
// This is a program generated file -- edit at your own risk.
//
// $numjobs 1
//

// $job "Job 1"
// $input "C:\Dokumente und Einstellungen\Der Nippie\Desktop\quick2pass\encode.avs"
// $output "C:\Dokumente und Einstellungen\Der Nippie\Desktop\quick2pass\encode.avi"
// $state 5
// $start_time 01c1f383 db820080
// $end_time 01c1f383 dc0eb020
// $error "Video compression error: An unknown error occurred (may be corrupt data). (error code -100)"
// $script

VirtualDub.Open("C:\\Dokumente und Einstellungen\\Der Nippie\\Desktop\\quick2pass\\encode.avs",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.SetCompData(1126,"AwAAAAAAAAABAAAAAAAAACjtEgBW1EEAAAAAAAYAAAAAAAAAAAAAACwBAAAGAAAAAAAAAAAAAAACAAAAHwAAAAIAAAAfAAAACBESExUXGRsREhMVFxkbHBQVFhcYGhweFRYXGBocHiAWFxgaHB4gIxcYGhweICMmGRocHiAjJikbHB4gIyYpLRAREhMUFRYXERITFBUWFxgSExQVFhcYGRMUFRYXGBobFBUWFxkaGxwVFhcYGhscHhYXGBobHB4fFxgZGxweHyEQ6wkAFAAAAAEAAAAAAAAAGQAAAAoAAAAAAAAAAQAAADIAAAABAAAAMgAAAAEAAAAsAQAALAEAADIAAACAlpgAPAAAADwAAADwAAAAAAAAAAAAAABDOlxEb2t1bWVudGUgdW5kIEVpbnN0ZWxsdW5nZW5cRGVyIE5pcHBpZVxEZXNrdG9wXHF1aWNrMnBhc3NcdmlkZW8ubXZoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEM6XERva3VtZW50ZSB1bmQgRWluc3RlbGx1bmdlblxEZXIgTmlwcGllXERlc2t0b3BccXVpY2sycGFzc1x2aWRlby5zdGF0cwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALEsDAEBiAwAAAAAACAAAABQAAAAUAAAAECcAABAnAAAAAAAAAAAAAAEAAADLXkEA");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Dokumente und Einstellungen\\Der Nippie\\Desktop\\quick2pass\\encode.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done