Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
23rd March 2002, 10:56 | #1 | Link |
Moderator
Join Date: Nov 2001
Posts: 581
|
quick2pass at last a working version i hope
http://www.ecs.soton.ac.uk/del100/quick2pass.zip
Here is a small app to do 2 pass encoding requires todays builds to run. You currently need to set up an avisynth frame script this will eventually be built in but for the moment just use GordianKnot to do that bit. Just uses the default settings for now ill hack together a gui to allow you to set the options soon. When you run it it will ask for the AVS then an output Avi and then an output size. Features that will eventually be added Xvid Options Size Calc Audio Processing Frame Server Setup like Gordian Knot DaveEL Last edited by DaveEL; 16th April 2002 at 13:41. |
24th March 2002, 04:04 | #4 | Link | |
Registered User
Join Date: Feb 2002
Posts: 30
|
try this!
Quote:
20mb free space and it is fast!
__________________
http://www.aspirin.com/images/main/aspirin_original.jpg |
|
25th March 2002, 02:42 | #5 | Link |
Moderator
Join Date: Nov 2001
Posts: 581
|
Ok new version again
New basic Frame server setup (just crop and resize) still have to do things like deinterlace and smart crop like GordianKnot. now asks for a D2V file as input instead of an avs. Loads default settings from the registry so your normal xvid settings will be used. Bugs Fixed Should really work this time i missed one of the new variables in the CONFIG struct out yesterday so it probably never worked at all before. need to setup some shorter clips for testing to avoid this only thing i have on my hdd for testing now are all about 2 hours long which means test cycles are rather slow. Still To Do: Audio Processing. Finish Frame Server setup size calc (still trying to find correct values for vbr-mp3 mux overhead) Suggestions? Download down till i fix a bug Last edited by DaveEL; 25th March 2002 at 03:02. |
25th March 2002, 03:15 | #6 | Link |
Registered User
Join Date: Feb 2002
Posts: 30
|
ogg?
why dont you try to implement ogg??
it is rather better than mp3 and it is growing up!
__________________
http://www.aspirin.com/images/main/aspirin_original.jpg |
25th March 2002, 04:35 | #7 | Link |
Moderator
Join Date: Nov 2001
Posts: 581
|
well after an hour and a half of bug hunting turns out the bug is in the library i used to do base64 encoding so i switched to a new one hopefully it should really work this time.
http:\\daveel.hotbox.ru\quick2pass.zip for vorbis to work properly you ned to use .ogm right? (i got nandub to mux vorbis streams but i lost the audio when i seeked). might have a look 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). do any command line tools exist to do the ogm muxing? DaveEL |
25th March 2002, 12:10 | #8 | Link | |
Registered User
Join Date: Feb 2002
Posts: 30
|
Quote:
For oggs you need the ogg directshow filter.Mixing oggs with nundub is verry buggy.But a very good gui tool appeared: oggmux0.4 find both at doom9.org
__________________
http://www.aspirin.com/images/main/aspirin_original.jpg |
|
25th March 2002, 17:42 | #10 | Link |
Registered User
Join Date: Feb 2002
Posts: 1,195
|
quick2pass SRC
Do u think you will add your source code in the next release ? i am interested in the construction of the virtualdub jobs file.
Very nice work.Good luck for your next release. PS: it seems to me that the mp3 mux overhead is around 24kb/s and vbr-mp3 overhead 40 kb/s. |
25th March 2002, 18:36 | #11 | Link |
Moderator
Join Date: Nov 2001
Posts: 581
|
will release the source once the frame server setup is finished. whole thing writen in delphi so i dont know how much use it will be to you.
DaveEL ps. Got a version now that seems to work just running a test encode will upload in a few hours if all goes well |
26th March 2002, 02:42 | #14 | Link |
Moderator
Join Date: Nov 2001
Posts: 581
|
Ok after much bug hunting and a fix which doesnt appear to make any sense at all but which makes my virtualdub job files the same as the ones that virtualdub generates itsself (Adding AAAA to the base64 encoded data (dont ask me why it works)) i finally have a version that can do encodes properly.
http://www.ecs.soton.ac.uk/~del100/quick2pass.zip DaveEL ps no time to update for the next couple of days most likely. please test this so i can work out any problems. damm always helps if i upload the new build once ive compiled it please redownload sorry Last edited by DaveEL; 26th March 2002 at 03:13. |
26th March 2002, 09:05 | #16 | Link |
H.264 is the Future
Join Date: Dec 2001
Location: UK
Posts: 210
|
When I run quick2pass.exe I get:
failed to get data for 'use_alt_curve' The program then loads but I don't get prompted to load the d2v file. Win 2K SP2 Yes I have xvid installed What else can I tell you that would be useful? |
26th March 2002, 13:48 | #17 | Link |
Moderator
Join Date: Nov 2001
Posts: 581
|
Do you have a current build with the alt curve compression stuff in??
ill fix it so it works without current registry settings next build for the moment you have to have run the normal xvid config dialog at least once to make it fill the registry settings. DaveEL |
26th March 2002, 20:54 | #19 | Link |
XviDer
Join Date: Feb 2002
Location: France
Posts: 119
|
A few things
Ok, maybe this will sound a little rough but:
1) No way to see the top of the video: some dificulties to crop it. 2) The resize do not affect the shown video, and it would be cool to have H and V linked. 3) I guess the size is in kB, but could you precise it ? 4) Maybe some options could be locked when you choose some other ones (e.g. 'Enable auto minimum relative quality' locks 'minimum relative in the codec configuration window, under VDub), so that you're sure about what you do. 5) How can I choose between 1st and 2ns pass ? 6) Where do I put the end credits size ? 7) How does the resize affect the image geometry ? % of deformation would be great. Well, as you can guess, these are options you can find in GKnot, I don't want to compare your work with this, but I think it would be good to have them too Nevertheless, you're tool is on the way to be a 'usefull' tool EDIT: An 'Open' button could be usefull too.
__________________
"There's no honorable way to kill, no gentle way to destroy. There is nothing good in war. Except its ending." Abraham Lincoln www.nion.us |
26th March 2002, 21:48 | #20 | Link |
Moderator
Join Date: Nov 2001
Posts: 581
|
Re: A few things
[QUOTE]Originally posted by NoLogo
[B]Ok, maybe this will sound a little rough but: 1) No way to see the top of the video: some dificulties to crop it. Hmm ill take a look at that perhaps when i was moving round stuff in the form i put it in the wrong place. 2) The resize do not affect the shown video, and it would be cool to have H and V linked. still trying to work out a good way to do that as the AR depends on source type PAL/NTSC and AR and the crop. if anyone has any idea please send me them. in order to do it properly i need to do something like the gordian knot Smart-crop too if someone has algorithms for these please send them. 3) I guess the size is in kB, but could you precise it ? yeah its in kB will add a little label next to the box next version. gonna redesign that when i put the size calc and audio processing in. 4) Maybe some options could be locked when you choose some other ones (e.g. 'Enable auto minimum relative quality' locks 'minimum relative in the codec configuration window, under VDub), so that you're sure about what you do. will do doesnt matter what values you put in the parts which are already locked so i left them for now as i had bugs in the job control to fix first. 5) How can I choose between 1st and 2ns pass ? currently just does both putting in options to only do one is easy so expect it in the next version. 6) Where do I put the end credits size ? on the last page under the credit start/end is a size box then set credit mode to size. 7) How does the resize affect the image geometry ? % of deformation would be great. need to code all the stuff for selecting of input AR first Well, as you can guess, these are options you can find in GKnot, I don't want to compare your work with this, but I think it would be good to have them too all planned to be done GK is the reason im working on this i used Gordian knot until i decided to switch to xvid (now i still use Gordian knot i just feed the output into my program) Nevertheless, you're tool is on the way to be a 'usefull' tool EDIT: An 'Open' button could be usefull too. Once all the options are finish ill start on that kind of stuff |
|
|