November 21, 2009, 15:15:46 *
Speed Demos ArchiveWelcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
Pages: 1 ... 54 55 [56] 57 58 ... 89
Reply Send this topic Print
Author Topic: anri-chan  (Read 50049 times)
bmn
Moderator


tssb4u
View Profile WWW
« Reply #825 on: May 06, 2008, 01:30:58 »
Reply with quoteQuote

IQ uses HQ's settings for all but the bitrates, so the IQ result would be identical.

If you aren't satisfied with the encode quality, you could manually indecrease the minimum quantiser. Quick fix would be in this line in anri.bat; replace %hqq% with a number above below 19:

Code:
CALL :2pass %projname%_HQ.avs %projname%_HQ      2048 128000 %hqq% 1 1

You might also get better results by encoding yourself and playing with x264's settings, as SDA's settings are optimised for games, but that's a lot of work for just a little gain, if any.

Quote
It's just i want more quality as it's actually for a music video i spent hours on.

Is there a noticeable difference in quality against the source?
« Last Edit: May 06, 2008, 04:34:14 by B-man » Report to moderator   Logged

ballofsnow
Moderator


SDA techie


View Profile Email
« Reply #826 on: May 06, 2008, 04:06:19 »
Reply with quoteQuote

Quote
you could manually increase the minimum quantiser.

Decrease.

The default minimum quantizer for x264 is 10. Set it to that if you want.

You can also use Anri to create the avs scripts, then encode those with MeGUI using whichever settings you'd like.
« Last Edit: May 06, 2008, 04:21:23 by ballofsnow » Report to moderator   Logged
AnubisGI


View Profile
« Reply #827 on: May 09, 2008, 18:41:47 »
Reply with quoteQuote

Had good success with MeGUI.

Thanks.

Quality looks fab on YouTube.

http://www.youtube.com/watch?v=QQj9jp37M-I

Click "watch in high quality"
Report to moderator   Logged
ballofsnow
Moderator


SDA techie


View Profile Email
« Reply #828 on: May 11, 2008, 13:42:19 »
Reply with quoteQuote

Found a bug when running in non-IFO mode. DGindex -AIF doesn't automatically load new titles. I'll have to rework how the indexing is done.

I'm also playing around with DGMPGDec 1.5 RC5. Any objections with including it in beta 2?
« Last Edit: May 11, 2008, 13:44:31 by ballofsnow » Report to moderator   Logged
bmn
Moderator


tssb4u
View Profile WWW
« Reply #829 on: May 11, 2008, 22:47:30 »
Reply with quoteQuote

Got one for you. The [project_dir]\plugins.avs file is appended to when the questions are finished (e.g. when loading a saved job) without wiping the file. Results in loading the plugins multiple times on subsequent runs of that project.

Edit: That's in anri 3b1. Haven't tested 3b2.

Edit2: Unfixed in 3b2. Also for me the plugin loading is failing for the grain removal filter:

Quote
AVI: Opening file "C:\Documents and Settings\Administrator\Desktop\simon\simon_L
Q.avs"
Avisynth open failure:
LoadPlugin: unable to load "C:\Program Files\anrichan3_beta2\plugins\RemoveGrain
_v10pre1.dll"
(C:\Documents and Settings\Administrator\Desktop\simon\plugins.avs, line 9)
(C:\Documents and Settings\Administrator\Desktop\simon\simon_LQ.avs, line 2)
The file exists at that location, so duno.

On top of that, the a/v muxing gets a "failed to run the command" error. It's probably something on my end considering, so I'll try some stuff out.
« Last Edit: May 12, 2008, 10:59:56 by B-man » Report to moderator   Logged

Psonar



View Profile WWW
« Reply #830 on: May 17, 2008, 14:18:52 »
Reply with quoteQuote

Quote
If you aren't satisfied with the encode quality, you could manually indecrease the minimum quantiser. Quick fix would be in this line in anri.bat; replace %hqq% with a number above below 19:

Code:
CALL :2pass %projname%_HQ.avs %projname%_HQ      2048 128000 %hqq% 1 1

This can also be accomplished by editing the ProjectName_job.bat file on the line containing (SET hqq=19), which is a pretty painless fix and doesn't alter the anrichan source any.  Just say no when anrichan asks if you want to encode now, then change the job.bat file.

I think with ballofsnow's approach to editing the .avs files, you need to also change the name of the job.bat file (ex: job2.bat) or it will be overwritten with job.bak (the backup copy).  The simplest change might be to change the (SET hqq=19) line in the job.bak... then you wouldn't have to change any names, and the altered backup would get used, which exactly what you'd want.

[/ramble]
« Last Edit: May 17, 2008, 14:19:47 by Psonar » Report to moderator   Logged

Star Fox 64
 - [25:45]
 - Expert All Medals SS [1:24:52]
 - Redline [35:35]
Star Wars Starfighter
 - [1:16:53]
Star Trek Voyager: Elite Force
Psonar



View Profile WWW
« Reply #831 on: May 18, 2008, 01:46:54 »
Reply with quoteQuote

Okay, I've got a new version of anri-chan that can be completely automated! Woohoo!

anri_auto.zip

Basically I went through the code and carefully avoided all questions with some IF NOT "%auto%"=="y" logic.  Then, I made sure that all the necessary variables get set in a settings file beforehand, and that's all that's needed.  There were a few sticky spots where I couldn't just dodge the question subroutine altogether, and I wouldn't be surprised if I've made some mistakes since I haven't tested it very thoroughly.  I just wanted to let you all know what I'd done.

I'm hoping that it won't be hard to automate the creation of AnriAutoSettings.bat using a GUI.  It's just a simple bat file like the job.bat with a few extra variable assignments.

It's at least nice now to be able to enter all the settings in one place (in AnriAutoSettings.bat) and then when you run it, anrichan skips straight to the encoding with no questions.

I tried uploading the code to the kb, but bat files aren't on the whitelist.  So then I tried changing it to a text file, but apparently .txt files aren't allowed either.

I wanted to keep it separate from anri.bat for now.  Let me know what you think.  And yes, snow, now we truly have automated an automation program.  It's easily concievable that several of these could be strung together.  I think I left the final pause in there, but with a simple option to pause or not pause in the settings file, several jobs from different sources that create entirely different projects could be strung together using different Settings.bat files and a master.bat to call each of the settings.bat files in turn.
Report to moderator   Logged

Star Fox 64
 - [25:45]
 - Expert All Medals SS [1:24:52]
 - Redline [35:35]
Star Wars Starfighter
 - [1:16:53]
Star Trek Voyager: Elite Force
ballofsnow
Moderator


SDA techie


View Profile Email
« Reply #832 on: May 19, 2008, 12:15:50 »
Reply with quoteQuote

Cool. I notice that you're adding a bunch of if conditions. Just be careful with nesting IF's because you may run into the variable expansion thingy.

You can add it to the KB code if you want. We can always roll back the page version if worse comes to worse.
Report to moderator   Logged
nate
Administrator


PRYING OPEN MY THIRD EYE


View Profile WWW
« Reply #833 on: May 23, 2008, 19:35:13 »
Reply with quoteQuote

per these two topics we need to come up with a new "mq d1" quality. i'm on the fence about using the same settings as the existing d4 mq. using better values may make it look better but it may also make it less compatible (though imo the fact that it's d1 already makes it incompatible with most low end hardware).

what do we think?
Report to moderator   Logged

for help with any terms i may have used in this post please see the glossary.
AnubisGI


View Profile
« Reply #834 on: May 23, 2008, 20:38:08 »
Reply with quoteQuote

Explain "less compatible" please.

I eager to learn.

I'll take a stab at d1 only being able to play on good hardware because of the high reoslution and d4 is more compatible because of it's lower resolution(less strain on hardware)

« Last Edit: May 23, 2008, 20:42:49 by GregInnes » Report to moderator   Logged
nate
Administrator


PRYING OPEN MY THIRD EYE


View Profile WWW
« Reply #835 on: May 23, 2008, 23:51:27 »
Reply with quoteQuote

correct.
Report to moderator   Logged

for help with any terms i may have used in this post please see the glossary.
nate
Administrator


PRYING OPEN MY THIRD EYE


View Profile WWW
« Reply #836 on: May 25, 2008, 11:53:39 »
Reply with quoteQuote

EDIT: disregard the below post.

just found out the flash player plays d1 mq at d4 (using software scaling on my mac mini with no video hardware, youch):

http://dl.speeddemosarchive.com/demo.pl?PhantasyStarOnline_GCXbox_Force_203

unfortunately if we kill d4 mq (ipod compatible) then we still also kill older machine compatibility because i highly doubt a 500 mhz pentium iii without dedicated video hardware can play anything at 640x480, much less h.264. i don't think it'll be much of a problem though because we can just stick to the plan of encoding a special d1 mq when requested and always encoding ipod compatible d4 mq.
« Last Edit: May 25, 2008, 12:00:03 by njahnke » Report to moderator   Logged

for help with any terms i may have used in this post please see the glossary.
nate
Administrator


PRYING OPEN MY THIRD EYE


View Profile WWW
« Reply #837 on: June 17, 2008, 23:05:19 »
Reply with quoteQuote

how are we loading e.g. mvbob now? from c:\program files\anrichan\plugins\?

i'm concerned mvbob's dependencies are loading from c:\program files\avisynth 2.5 or whatever\plugins from previous installs of anri-chan ... installed latest beta on a fresh install of the os earlier tonight and doing import() with mvbob failed due to its dependencies.
« Last Edit: June 17, 2008, 23:20:29 by nate » Report to moderator   Logged

for help with any terms i may have used in this post please see the glossary.
nate
Administrator


PRYING OPEN MY THIRD EYE


View Profile WWW
« Reply #838 on: June 17, 2008, 23:08:47 »
Reply with quoteQuote



latest anri-chan installs fine under wine (darwine 1.0, mac os x 10.5.3). in the above screenshot, the source is a .d2v file, while the audio is ac3. had to take vdub off opengl display but didn't change anything else.

unfortunately anri.bat immediately fails with "file not found". it's probably one of my stupid registry tests (especially the desktop one - there is no "documents and settings" folder at all under ~/.wine/drive_c/ by default). perhaps i can test whether we're running under wine and use some default values in that case. i'll look into it tomorrow. the only other thing i'm concerned about is how wine handles removable media. may not be a problem but i haven't looked into that yet either. just thought i'd report the good news about anri-chan and friends under unix with wine.
« Last Edit: June 17, 2008, 23:11:18 by nate » Report to moderator   Logged

for help with any terms i may have used in this post please see the glossary.
ballofsnow
Moderator


SDA techie


View Profile Email
« Reply #839 on: June 18, 2008, 16:37:36 »
Reply with quoteQuote

Code:
REM ---------------------------------------------------------------------------
REM  function: load_plugins
REM
REM  All plugins used by anrichan should be contained in its own directory. Scan
REM  the plugins folder and write plugins.avs which will later be used for all
REM  scripts. We should never have to refer to the avisynth folder.
REM ---------------------------------------------------------------------------

:load_plugins
FOR %%G IN ("%anri_dir%plugins\*") DO (
  IF %%~xG==.dll ECHO loadplugin^("%%~fG"^) >> "plugins.avs"
  IF %%~xG==.avs ECHO import^("%%~fG"^) >> "plugins.avs"
)
COPY /B "plugins.avs" "plugins.bak" 1> NUL
GOTO :EOF
Report to moderator   Logged
Pages: 1 ... 54 55 [56] 57 58 ... 89
Reply Send this topic Print
Jump to: