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

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



View Profile WWW
« Reply #810 on: April 15, 2008, 01:12:19 »
Reply with quoteQuote

Just a sidenote - the ability to handle widescreen DVD would allow anrichan to be used on both full and widescreen commercial DVDs.  This is by no means a priority for anrichan, but it's a possible (and powerful) application outside of gaming.

I'm making progress with AutoIt - I can now run anrichan with the command window hidden, using autoIt to read the StdOut of AnriChan and write responses to anrichan's StdIn.

The program I used to color the command window is on a page that the author labeled as freeware, including a "use as is - at your own risk" disclaimer.
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
nate
Administrator


PRYING OPEN MY THIRD EYE


View Profile WWW
« Reply #811 on: April 15, 2008, 03:49:36 »
Reply with quoteQuote

sure it's freeware but does it say anything about redistribution?

i'm ambivalent about the widescreen dvd thing because i don't watch very many movies and rip none.
Report to moderator   Logged

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



View Profile WWW
« Reply #812 on: April 15, 2008, 06:46:10 »
Reply with quoteQuote

I've left a message on the project forum at CodeProject regarding distribution of cecho.exe.  From the looks of it, the author intends for his name and email address to be mentioned wherever the software is used...he includes it in all demo outputs - in comments at the top of the demo.bat, and at the top of the "cecho.exe /?" help dialog.  That help dialog is:

Code:
C:\Program Files\anrichan3_beta1>cecho /?
Enhanced echo command with colors support
by thomas_polaert@yahoo.fr

cecho message

       {{              = Escape character
       {\n\t}          = New line - tab
       {0x07}          = Hex ASCII code
       {0A}            = Hex color code
       {red on black}  = Color information

Available colors:
       0 = black       8 = gray
       1 = navy        9 = blue
       2 = green       A = lime
       3 = teal        B = aqua
       4 = maroon      C = red
       5 = purple      D = fuchisa
       6 = olive       E = yellow
       7 = silver      F = white


Here's my latest attempt at coloring anrichan's output:



Here I've used black on gray as the default and black as the background for the header.  I'm still not sure this is a winner, but I wanted to push in a different direction to get more feedback.

Snow, if you'd rather play with the colors, the color tags aren't difficult.  With cecho plain text is supported so the code is much more understandable.  Here's the out functions:

Code:
:out_cls
CLS
%CECHO% "{gray on black}                                                                               {\n}"
%CECHO% "{blue on black}==============================================================================={\n}"
%CECHO% "{white on black}                metroid 2002 speed demos archive anri-chan %anri_ver%                   {\n}"
%CECHO% "{aqua on black}       http://www.metroid2002.com/     http://speeddemosarchive.com/           {\n}"
%CECHO% "{blue on black}==============================================================================={\n}"
ECHO.
%RESET_COLOR%
Goto :EOF

:out_info
%CECHO% "{white on gray}%*{\n}"
%RESET_COLOR%
REM ECHO.
GOTO :EOF

:out_error
%CECHO% "{maroon on gray}[!]{\n}"
%CECHO% "{maroon on gray}[!] {maroon on silver}%*{\n}"
%CECHO% "{maroon on gray}[!]{\n}"
%RESET_COLOR%
ECHO.
GOTO :EOF

:out_section
TITLE Anri-chan %anri_ver% - %*
%CECHO% "{teal on gray}-------------------------{\n}"
%CECHO% "{navy on gray}%*{\n}
%CECHO% "{teal on gray}-------------------------{\n}"
%RESET_COLOR%
ECHO.
GOTO :EOF


And I think all my quotes are superfluous (old habits).  Any thoughts on the colors? Is that any better snow?  Feel free to draft up what the output would look like using a word processor or something and I can implement it in the code.  Or I was even thinking about making a color preferences file and then a simple colorConfig GUI allowing users to customize their anri-chan... just because... what other console program has color options?  That and if it were a GUI that would be downright hilarious in my opinion - but that's my sense of humor for ya.
« Last Edit: April 15, 2008, 06:47:42 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
nate
Administrator


PRYING OPEN MY THIRD EYE


View Profile WWW
« Reply #813 on: April 15, 2008, 15:44:44 »
Reply with quoteQuote

hahaha. yeah, i agree. would be awesome.
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 #814 on: April 15, 2008, 17:38:18 »
Reply with quoteQuote

Quote
Is that any better snow?

i LIKE THE NEW *capslock* color scheme. It's a big improvement from the last. Easy on the eyes too.
« Last Edit: April 15, 2008, 17:38:36 by ballofsnow » Report to moderator   Logged
ballofsnow
Moderator


SDA techie


View Profile Email
« Reply #815 on: April 20, 2008, 01:08:18 »
Reply with quoteQuote

- XQ implemented.
- Correct avi resizing in case of non 4:3 videos.
- "Is this a PC game?" asked after avi input. Skip DFnD questions, use D1 F1 3D.

Psonar, do you plan on updating the KB with your colour code? I'd like to put it in for the next beta.
Report to moderator   Logged
Psonar



View Profile WWW
« Reply #816 on: April 20, 2008, 04:53:21 »
Reply with quoteQuote

I'd be glad to add in the colors... I guess I need to get access to the kb and whatnot then...I'll pm nate like you said...

The Cecho.exe software that makes it possible is confirmed to be open source in every meaning of the term.... here's the response from the author:

http://i92.photobucket.com/albums/l35/flutefreak7/freetodistribute-1.png

...so there you go.  Any further tweaks to the colors, or do they look good just like they are?
« Last Edit: April 21, 2008, 07:26:31 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
ballofsnow
Moderator


SDA techie


View Profile Email
« Reply #817 on: April 20, 2008, 04:57:08 »
Reply with quoteQuote

Up to you on tweaking the colours. I like 'em so far.

Can you upload cecho or provide a link so that I have the same exact one as you?
« Last Edit: April 20, 2008, 04:59:06 by ballofsnow » Report to moderator   Logged
Psonar



View Profile WWW
« Reply #818 on: April 21, 2008, 23:35:15 »
Reply with quoteQuote

Ok, I've uploaded the Cecho.exe file...

http://speeddemosarchive.com/kb/index.php/Image:Cecho.zip

I guess I did it properly...

I've also edited anri.bat on the wiki to include the color code... affected areas are the credits, where I added my name, the initialization area where I add "Color Initialization" which has a lot of comments and a few variables are set, and then the output section where I've inserted my versions of all the "out" functions.  I've commented everything, so you should be able to find my changes by simply searching for psonar or "Brett Ables."

Hopefully that takes care of it - let me know if I messed anything up!

edit: Comparison of my changes to prev. version
« Last Edit: April 21, 2008, 23:51:25 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
ballofsnow
Moderator


SDA techie


View Profile Email
« Reply #819 on: April 23, 2008, 00:02:21 »
Reply with quoteQuote

Awesome.

Hope to get beta 2 out within a week or two.
« Last Edit: April 23, 2008, 00:03:06 by ballofsnow » Report to moderator   Logged
ballofsnow
Moderator


SDA techie


View Profile Email
« Reply #820 on: May 05, 2008, 02:50:56 »
Reply with quoteQuote

Was going to get beta 2 out.. but then decided to work on:

- Rip specific title numbers. (must be in advanced mode (ini.bat))

Works pretty seamlessly since it only needs to edit pgclist.txt.


Beta 2 by next week perhaps..
« Last Edit: May 05, 2008, 02:53:15 by ballofsnow » Report to moderator   Logged
nate
Administrator


PRYING OPEN MY THIRD EYE


View Profile WWW
« Reply #821 on: May 05, 2008, 03:26:21 »
Reply with quoteQuote

sweet. what are yalls thoughts on this?
« Last Edit: May 05, 2008, 03:26:31 by njahnke » Report to moderator   Logged

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


View Profile
« Reply #822 on: May 05, 2008, 19:18:42 »
Reply with quoteQuote

Sorry for my absence. Well anyway i'm now on anri 3 and thank god that 4 window choice in virtualdub and stuff is out.

I do however have a problem if you could help with. I have a video i made and when i encode i get the following error.

error: 2pass failed to converge
target: 2040, expected 1404.55

Is there a way i can get the 2 pass encode to work for better quality?

I looked in the folder with anri-chan and got this text file labelled,

x264pass2_stdout

If that helps i can post what that conatins (60kb)

Here's a snip it of the first line.

avis [info]: 640x480 @ 29.97 fps (6806 frames)
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [warning]: Error: 2pass curve failed to converge
x264 [warning]: target: 2048.00 kbit/s, expected: 1404.55 kbit/s, avg QP: 19.0001
x264 [warning]: try reducing target bitrate or reducing qp_min (currently 19)
mp4 [info]: initial delay 100 (scale 2997)
encoded frames: 7/6806 (0.1%), 148.94 fps, eta 0:00:45  
encoded frames: 14/6806 (0.2%), 148.94 fps, eta 0:00:45  
encoded frames: 21/6806 (0.3%), 168.00 fps, eta 0:00:40  
encoded frames: 28/6806 (0.4%), 74.67 fps, eta 0:01:30  
encoded frames: 35/6806 (0.5%), 44.76 fps, eta 0:02:31  
encoded frames: 41/6806 (0.6%), 38.00 fps, eta 0:02:58  
encoded frames: 48/6806 (0.7%), 34.12 fps, eta 0:03:18  
encoded frames: 55/6806 (0.8%), 28.62 fps, eta 0:03:55  
encoded frames: 62/6806 (0.9%), 24.64 fps, eta 0:04:33  
encoded frames: 69/6806 (1.0%), 21.23 fps, eta 0:05:17  
encoded frames: 75/6806 (1.1%), 19.75 fps, eta 0:05:40
« Last Edit: May 05, 2008, 19:21:50 by GregInnes » Report to moderator   Logged
ballofsnow
Moderator


SDA techie


View Profile Email
« Reply #823 on: May 05, 2008, 22:09:54 »
Reply with quoteQuote

It's normal. Your video hit the SDA quality limit and some bitrate was saved for less file size.

The message is actually a warning, not an error that causes the encode to fail.
« Last Edit: May 05, 2008, 22:11:07 by ballofsnow » Report to moderator   Logged
AnubisGI


View Profile
« Reply #824 on: May 05, 2008, 23:51:21 »
Reply with quoteQuote

Quote
It's normal. Your video hit the SDA quality limit and some bitrate was saved for less file size.

The message is actually a warning, not an error that causes the encode to fail.


Ah right. Thanks for clearing that up.

Would i have any success with Insane quality or can i modify the scripts or something?

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

Virtualdub maybe for compressing mp4?
« Last Edit: May 05, 2008, 23:53:28 by GregInnes » Report to moderator   Logged
Pages: 1 ... 53 54 [55] 56 57 ... 89
Reply Send this topic Print
Jump to: