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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd March 2002, 10:56   #1  |  Link
DaveEL
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.
DaveEL is offline   Reply With Quote
Old 23rd March 2002, 13:14   #2  |  Link
DaveEL
Moderator
 
Join Date: Nov 2001
Posts: 581
New Version now contains all the xvid options



DaveEL

Last edited by DaveEL; 26th March 2002 at 02:44.
DaveEL is offline   Reply With Quote
Old 24th March 2002, 02:23   #3  |  Link
DaveEL
Moderator
 
Join Date: Nov 2001
Posts: 581
hmm geocities seems to have disabled my site for using too much bandwidth can anyone suggest where else i could put this for download?

DaveEL
DaveEL is offline   Reply With Quote
Old 24th March 2002, 04:04   #4  |  Link
AsPiRiN
Registered User
 
Join Date: Feb 2002
Posts: 30
try this!

Quote:
Originally posted by DaveEL
hmm geocities seems to have disabled my site for using too much bandwidth can anyone suggest where else i could put this for download?

DaveEL
try www.hotbox.ru
20mb free space and it is fast!
AsPiRiN is offline   Reply With Quote
Old 25th March 2002, 02:42   #5  |  Link
DaveEL
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.
DaveEL is offline   Reply With Quote
Old 25th March 2002, 03:15   #6  |  Link
AsPiRiN
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!
AsPiRiN is offline   Reply With Quote
Old 25th March 2002, 04:35   #7  |  Link
DaveEL
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
DaveEL is offline   Reply With Quote
Old 25th March 2002, 12:10   #8  |  Link
AsPiRiN
Registered User
 
Join Date: Feb 2002
Posts: 30
Quote:
Originally posted by DaveEL
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
Oggs seems to be very good quality at lower bitrates!
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
AsPiRiN is offline   Reply With Quote
Old 25th March 2002, 14:08   #9  |  Link
DaveEL
Moderator
 
Join Date: Nov 2001
Posts: 581
New Release again just fixed the second pass code this time.


broken download down again

DaveEL

Last edited by DaveEL; 25th March 2002 at 16:31.
DaveEL is offline   Reply With Quote
Old 25th March 2002, 17:42   #10  |  Link
Dark-Cracker
Registered User
 
Dark-Cracker's Avatar
 
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.
Dark-Cracker is offline   Reply With Quote
Old 25th March 2002, 18:36   #11  |  Link
DaveEL
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
DaveEL is offline   Reply With Quote
Old 25th March 2002, 21:10   #12  |  Link
Vanos_b
Registered User
 
Join Date: Feb 2002
Posts: 63
Please do that. There are Delphi coders here.
__________________
"Because b is usually the second letter of the alphabet".
Vanos_b is offline   Reply With Quote
Old 25th March 2002, 21:23   #13  |  Link
dado023
Registered User
 
Join Date: Dec 2001
Location: CROATIA
Posts: 77
Quote:
hmm geocities seems to have disabled my site for using too much bandwidth can anyone suggest where else i could put this for download?
i can offer hosting.....only 6MB
its free
dado023 is offline   Reply With Quote
Old 26th March 2002, 02:42   #14  |  Link
DaveEL
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.
DaveEL is offline   Reply With Quote
Old 26th March 2002, 08:59   #15  |  Link
Nuro
A knight of Ni!
 
Join Date: Mar 2002
Location: South Africa
Posts: 15
Please do

It'll be cool if you could publish the code

/me loves Delphi

Gerard
Nuro is offline   Reply With Quote
Old 26th March 2002, 09:05   #16  |  Link
ivan_alias
H.264 is the Future
 
ivan_alias's Avatar
 
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?
ivan_alias is offline   Reply With Quote
Old 26th March 2002, 13:48   #17  |  Link
DaveEL
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
DaveEL is offline   Reply With Quote
Old 26th March 2002, 14:29   #18  |  Link
ivan_alias
H.264 is the Future
 
ivan_alias's Avatar
 
Join Date: Dec 2001
Location: UK
Posts: 210
Ahh that might be it. My xvid may have come from 2 days ago. way out of date now!

I'll try it with a later compile this evening.
ivan_alias is offline   Reply With Quote
Old 26th March 2002, 20:54   #19  |  Link
NoLogo
XviDer
 
NoLogo's Avatar
 
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
NoLogo is offline   Reply With Quote
Old 26th March 2002, 21:48   #20  |  Link
DaveEL
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
DaveEL is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:13.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.