View Full Version : xAnime (0.1.5) (x264, AAC, MKV, MP4)
Sirber
16th April 2006, 02:53
xAnime is a video conversion tool designed to provide you best quality video for animes at low bitrates with its stock settings.
Main developper: daverc
Common target : 20 minute episode (50 mb)
Requires Avisynth and .NET 2.0
Bundled with audio and video encoders, and open source MP4/MKV editing software.
Features :
Input : avi and avisynth files
Video : x264 PC / Ipod (good, high, highest)
Audio : Nero digital AAC or Winamp AAC
Containers : MP4, MKV
Filtering : Deinterlace, resize, inverse telecine
xAnime 0.0.1.5
Changes : Much more efficient new defaults settings for x264 encoder (from ra5 thx to sirber's settings).
xAnime 0.0.1.4
Add: Supports avs input
Add: Nero digital audio
Fix: Internal work
Change: No more temp audio file,
xAnime 0.0.1.3
Fix :Fix bad x264 setting
xAnime 0.0.1.2
Add : Progress display
Add : Language support
xAnime 0.1.5 (http://detritus.sobanet.com/files/xanime/xAnime.0.1.5.full.7z)
killerhex
16th April 2006, 06:31
you still working on it can you add higher audio bitrates such as 128kbps to 192kbps
^_^x
16th April 2006, 06:44
is that your new project ;)
realanime.net
Sirber
16th April 2006, 13:16
@killerhex
it's early in development. Audio bitrate is from 16kbps to 192kbps. The GUI will choose to use PS, HE or LC automaticly.
@^_^x
Yes, new project :p. We wanna learn C#! :D Also, we want an app which is less "bulky", only for top codecs (H264, AAC), with settings for high end systems (RealAnime medium quality = xAnime low quality).
^_^x
16th April 2006, 14:11
OOT:
may i have Detritus Player Pack 1.0.0 source code. i am interesting with that stuf.
me: desaranjani@yahoo.com
Sirber
16th April 2006, 14:14
My thing is a "Pack", no source on my side ;)
Get MPUI sources and mPlayer sources.
BTW the thread about DPP is here: http://forum.doom9.org/showthread.php?t=109873
@bond, can you move to DPP thread please?
killerhex
18th April 2006, 10:20
any beta version
Sirber
18th April 2006, 12:16
not even an alpha. I started this thread to have comments before it's finished.
bond
18th April 2006, 18:07
is prefiltering really still needed? ^^
Sirber
18th April 2006, 18:11
what do you mean? If noise reduction is needed?
Sirber
19th April 2006, 13:32
an audio delay will be set when encoding with PS and maybe HE too, a delay of -200ms, so prevent the sync issue many encounted.
killerhex
19th April 2006, 14:52
hey sirber if i use x264 single pass can i still have good quality if i keep the original resolution
Sirber
19th April 2006, 14:58
There is a place for x264 related questions, and xAnime thread is not.
Eretria-chan
21st April 2006, 13:07
I'll be keeping my eyes on you, Thread!
Waiting for this new version, Sirber ;)
Sirber
21st April 2006, 13:15
I can't say any ETA for alpha1, since I'm always wrong with ETAs :(
Sirber
21st April 2006, 13:15
oh, I removed Noise Reduction. Not needed on most anime.
If you want to filter, nothing prevent you from using AVS as input.
Eretria-chan
21st April 2006, 14:06
Many n00bs don't know how AVS works, you know (including me *cough*). If you can't say ETA, then you could at least guess how much work is left to be done, and in that way we would know about when it would be ready. At least more than if you say nothing :)
Sirber
21st April 2006, 14:08
GUI: done
XML: in dev (Lain)
x264: to do
aac: to do
analyse: to do
output: to do
Eretria-chan
21st April 2006, 14:12
Quite a bit to do then. Well, good luck.
Sirber
21st April 2006, 14:29
most of the code will be ported from RealAnime, so it shouldn't be too hard.
Sirber
22nd April 2006, 00:06
alright, I made the first setting profiles:
// Profiles
private void pc_base()
{
sCmdLine = "--no-fast-pskip --no-psnr --progress --thread-input --threads " + Environment.ProcessorCount;
}
private void pc_fast()
{
sCmdLine += "--min-keyint 12 --min-keyint 600 --bime ";
sCmdLine += "--direct auto --weightb --bframes 3 ";
sCmdLine += "--filter 1:1 ";
sCmdLine += "--me dia --subme 1 --ref 0 ";
sCmdLine += "--analyse \"none\" ";
}
private void pc_low()
{
sCmdLine += "--min-keyint 12 --min-keyint 600 --bime ";
sCmdLine += "--direct auto --weightb --bframes 3 ";
sCmdLine += "--filter 1:1 ";
sCmdLine += "--me umh --subme 6 --b-rdo --ref 8 --mixed-refs ";
sCmdLine += "--analyse \"all\" --trellis 1 --8x8dct ";
}
private void pc_medium()
{
sCmdLine += "--min-keyint 12 --min-keyint 600 --bime ";
sCmdLine += "--direct auto --weightb --bframes 3 ";
sCmdLine += "--filter 1:1 ";
sCmdLine += "--me umh --subme 7 --b-rdo --ref 12 --mixed-refs ";
sCmdLine += "--analyse \"all\" --trellis 1 --8x8dct ";
}
private void pc_high()
{
sCmdLine += "--min-keyint 12 --min-keyint 600 --bime ";
sCmdLine += "--direct auto --weightb --bframes 3 ";
sCmdLine += "--filter 1:1 ";
sCmdLine += "--me umh --subme 7 --b-rdo --ref 16 --mixed-refs ";
sCmdLine += "--analyse \"all\" --trellis 2 --8x8dct ";
}
private void ipod_fast()
{
sCmdLine += "--no-cabac --keyint 900 --min-keyint 12 --nr 150 --level 1.3 --bime ";
sCmdLine += "--filter 0:0 --bframes 0 ";
sCmdLine += "--me dia --subme 1 --ref 0 ";
sCmdLine += "--analyse \"none\" ";
}
private void ipod_low()
{
sCmdLine += "--no-cabac --keyint 900 --min-keyint 12 --nr 150 --level 1.3 --bime ";
sCmdLine += "--filter 0:0 --bframes 0 ";
sCmdLine += "--me umh --subme 6 --ref 8 --mixed-refs ";
sCmdLine += "--analyse \"all\" --trellis 1 ";
}
private void ipod_medium()
{
sCmdLine += "--no-cabac --keyint 900 --min-keyint 12 --nr 150 --level 1.3 --bime ";
sCmdLine += "--filter 0:0 --bframes 0 ";
sCmdLine += "--me umh --subme 7 --ref 12 --mixed-refs ";
sCmdLine += "--analyse \"all\" --trellis 1 ";
}
private void ipod_high()
{
sCmdLine += "--no-cabac --keyint 900 --min-keyint 12 --nr 150 --level 1.3 --bime ";
sCmdLine += "--filter 0:0 --bframes 0 ";
sCmdLine += "--me umh --subme 7 --ref 16 --mixed-refs ";
sCmdLine += "--analyse \"all\" --trellis 2 ";
}
Low profil is supposed to be for P4 3Ghz or AMD64 3000+, while medium aim for dual core.
Eretria-chan
22nd April 2006, 00:09
And what about high? How will it compare to RA's typical default profile?
Sirber
22nd April 2006, 00:15
RA Medium --> xA Low
RA High --> ~xA Medium
for High, dunno, a good dual core? ;)
killerhex
22nd April 2006, 02:16
will this program work on a 1.00ghz processor
siddharthagandhi
22nd April 2006, 02:19
It'll work probably. Now, will it encode fast? Lets just say you might have to leave your computer on overnight.
leowai
22nd April 2006, 04:31
for High, dunno, a good dual core? ;)
Probably your xAnime high profile is suitable for computer with the following spec... :eek: :D
AMD Plans Four-Core Opterons by 2007
http://www.pcworld.com/news/article/0,aid,123559,00.asp
DarkZell666
22nd April 2006, 12:19
You've been smart enough not to use .NET 1.0 (or 1.1 even), that's cool ! ;) You'll have much less of a hassle when it comes to event handling ^^
Many n00bs don't know how AVS works, you know (including me *cough*).
This is why xAnime should be fool-proof :p
As long as it supports "drag-and-drop" (any files) and auto-generates a minimalistic avs script (avisource if avi, directshowsource for anything else + custom resizing + hqdn3D() since it rocks on anime stuff + Undot()) I think it will be enough :)
Using avisynth for audio encoding would be a pretty good idea since you wouldn't need to have anything else installed than avisynth to run xAnime =) (cli apps would be in xAnime's working directory, unless you add a config panel to specify the cli's paths)
Just my two cents, but it's a good idea to keep things simple ;)
Sirber
22nd April 2006, 13:19
will this program work on a 1.00ghz processorAlrigth! You've just been added to my ignore list! Congratulation!
Search love to answer already answered questions, I do not. :sly:
Sirber
22nd April 2006, 13:20
Probably your xAnime high profile is suitable for computer with the following spec... :eek: :D
AMD Plans Four-Core Opterons by 2007
http://www.pcworld.com/news/article/0,aid,123559,00.asp
well, for 4 core, the only crazy option left is ESA :(
Sirber
22nd April 2006, 13:23
You've been smart enough not to use .NET 1.0 (or 1.1 even), that's cool ! ;) You'll have much less of a hassle when it comes to event handling ^^events? handling? :scared:
This is why xAnime should be fool-proof :pIt will be. Everything will be automatic. Dual audio and dual sub will be stripped down to 1 audio and 1 sub, if the output is for iPod, sub will be hardcoded in video stream. Everything will go via AVS, video and audio, for better comptability.
Sirber
22nd April 2006, 13:29
@all
so, the settings are ok?
Sirber
22nd April 2006, 15:10
Lain finished the Save/Load settings.
Eretria-chan
22nd April 2006, 15:16
@all
so, the settings are ok?
Hmmm, I just reached around 30 fps (although it remains to be seen if the speed remains that with other files) for RA Medium Profile, so I guess the profiles are okay, as long as it gives better quality!
...Erm, although, I guess that the most quality loss comes from the already poor sources =/
The everything automatic sounds terrific to me!
DarkZell666
22nd April 2006, 15:40
You've been smart enough not to use .NET 1.0 (or 1.1 even), that's cool ! You'll have much less of a hassle when it comes to event handling ^^
events? handling?
With framework 1.0/1.1, some events (mouse clicks, keyboard keypress, adding items to a listview, etc) aren't triggered when they should be.
I've had to use threads and global variables to sort things out.
With framework 2.0 there is nearly always a "before click" and an "after click" event or a "before update" and an "after update" event, which gives you some very precise error-handling possibilities. Needless to say that you will have great time programming simple things rather than finding workarounds ;)
Sirber
22nd April 2006, 15:58
guess that the most quality loss comes from the already poor sources =/Bad source is bad to start with, with every codec.
The everything automatic sounds terrific to me!Cool! :D
With framework 1.0/1.1, some events (mouse clicks, keyboard keypress, adding items to a listview, etc) aren't triggered when they should be.
I've had to use threads and global variables to sort things out.
With framework 2.0 there is nearly always a "before click" and an "after click" event or a "before update" and an "after update" event, which gives you some very precise error-handling possibilities. Needless to say that you will have great time programming simple things rather than finding workarounds ;)Like good old VB ;)
Eretria-chan
22nd April 2006, 16:01
Bad source is bad to start with, with every codec.
Yep, that is unfortunaly so. So much crap DivX/XVid encodings. Looks pretty much crap on a big monitor :p
Sirber
22nd April 2006, 16:08
Yep, that is unfortunaly so. So much crap DivX/XVid encodings. Looks pretty much crap on a big monitor :pand 24KHz audio ;) Looks pretty much crap on a big soundcard :p
Eretria-chan
22nd April 2006, 16:10
Maybe for an audiophile :p On this AC97 codec & my speakers, it sounds just fine :sly:
Sirber
22nd April 2006, 16:20
Maybe for an audiophile :p On this AC97 codec & my speakers, it sounds just fine :sly:Maybe it's time to spend more than 2 buck for decent speakers ;)
Eretria-chan
22nd April 2006, 16:32
Well, maybe... but then I would need a real sound card, too, huh? These speaks have faithfully served me and continue to do so even now!
Sirber
22nd April 2006, 16:33
AC97 itself ain't too bad. Speakerset makes the most difference IMO.
Eretria-chan
22nd April 2006, 17:56
Still, I don't think I'll be aquiring new speakers. I gave better speakers if I just want to connect the PC to them... but I won't. Still waiting patiently for xAnime ^_^
Sirber
22nd April 2006, 18:03
What's your CPU?
Eretria-chan
22nd April 2006, 20:30
Athlon64 X2 3800+
Oh, 256. Mmm, 255 + 1 = 2 ^ 8 ^_^
Sirber
22nd April 2006, 20:34
alright!
256 what? :confused:
Eretria-chan
22nd April 2006, 20:37
Don't mind that ^_^
Now incremented to 257, but that's not an interesting number =/
Sirber
22nd April 2006, 20:43
alright, if it goes to 258, you will never get xAnime :devil:
Eretria-chan
22nd April 2006, 23:04
Lies! I'll steal it from you! :devil:
So, anyway, can I have the source when it's done? I'll just keep it for private purposes, I'll swear to that!
Sirber
22nd April 2006, 23:05
all my sources are on the SVN....
svn://svn.detritus.qc.ca/detritus/xAnime (C# .NET 2.0)
svn://svn.detritus.qc.ca/detritus/RealAnimeLE (Delphi 7)
but it will cost ya.... that's right.... all the tea :D
Eretria-chan
23rd April 2006, 00:04
What tea? :confused:
Who cares about delphi? I'll take C# over that any day :sly:
I'll just use C# if need be, convert it to C++ .NET or C++ Native, if possible. For private purposes, of course.
Sirber
23rd April 2006, 14:51
Delphi is great, make standalone binaries (no framework) and is easy to dev. A great mix of VB and C++.
Eretria-chan
23rd April 2006, 15:10
And huge files, plus as I see it, a ripoff of existing langues, and so on. In my book, delphi isn't great. For me, C++ is all I need--easy to use and powerful to boot. Don't need VB. Too simple and annoying. Boring syntax, too :p
Sirber
23rd April 2006, 15:15
Well, you can do easy user interface using MFC, then you have to bundle the DLL or else your app will not work.
anyway, this is getting OT.
Eretria-chan
23rd April 2006, 15:19
Well, you can do easy user interface using MFC, then you have to bundle the DLL or else your app will not work.
anyway, this is getting OT.
But if people have the runtime, they will only have to download smaller files in the future.
As for xAnime, why have you used such high minimum specs? Are you actually trying to require some things like SSE2, in because of that, setting the minumum processor for AMD to A64? And is it required to have Pixel Shader 2 card?
What are your motives?
Sirber
23rd April 2006, 15:36
As for xAnime, why have you used such high minimum specs?I boosted the quality profiles, so Low will run at ~8FPS on an AMD64 3000+ and P4 3Ghz. So, if you have lower then minimum reqs., you will encode for weeks!
Are you actually trying to require some things like SSE2, in because of that, setting the minumum processor for AMD to A64? no, read above :sly:
And is it required to have Pixel Shader 2 card?The Noise Filter I planned to use was using the GPU instead of the CPU. But, I removed the noise filter so I will drop this requirement.
What are your motives?Wold domination!!! :D
leowai
24th April 2006, 08:58
all my sources are on the SVN....
svn://svn.detritus.qc.ca/detritus/xAnime (C# .NET 2.0)
Thanks. For those who don't even have the express version of C# dev kits installed, following batch file will still allow you to compile the source (with .net framework v2.0 installed) just like the MeGUI.
:: Setup C# compilation environment (Extracted from MeGUI project, http://sourceforge.net/projects/megui)
@Set Path=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\vcpackages;%PATH%
@Set LIB=C:\Program Files\Microsoft Visual Studio 8\VC\lib;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Lib;%LIB%
@Set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\include;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include;%INCLUDE%
@Set NetSamplePath=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
@echo Setting environment to use Microsoft .NET Framework v2.0 SDK tools.
@echo For a list of SDK tools, see the 'StartTools.htm' file in the bin folder.
@echo off
:: Create the temperary directory
mkdir temp
:: Generate the xAnime Resource
@echo.
@echo Generating resource files
resgen Main.resx .\temp\xAnime.Main.resources
resgen .\Properties\Resources.resx .\temp\xAnime.Properties.Resources.resources
:: Create the output folder
mkdir dist
:: Compile the xAnime binary
@echo.
@echo Compiling xAnime source
%windir%\Microsoft.NET\Framework\v2.0.50727\csc /platform:x86 /res:.\temp\xAnime.Main.resources /res:.\temp\xAnime.Properties.Resources.resources /win32icon:images.ico /target:winexe /out:.\dist\xAnime.exe *.cs /optimize+ /unsafe+
@echo.
@echo. Compilation completed.
@echo. Please check the ready to run "xAnime.exe" program under
@echo. "dist" sub-folder.
pause
Save above code as "Compile.bat" under the main directory of the xAnime sources. Double click to start compilation. Note the screen msg for output binary.
This is the my first trial to create the compilation on C# under dos, so correct me if any where I did is wrong. Thanks. :)
[Edit]
"resgen" command seem to be in path "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin". This means you probably also need to install the huge Microsoft .NET Framework SDK 2.0. :(
Sirber
24th April 2006, 12:33
:goodpost:
Please note that the SVN is read only for anonymous. If you want to make modifications, please post a description and a .patch. Thanks!
Eretria-chan
24th April 2006, 12:38
[Edit]
"resgen" command seem to be in path "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin". This means you probably also need to install the huge Microsoft .NET Framework SDK 2.0. :(
This was bound to happen anyway. You shouldn't attempt to compile something without the proper SDKs.
leowai
24th April 2006, 13:25
This was bound to happen anyway. You shouldn't attempt to compile something without the proper SDKs.
It make sense but according to the "compile.bat" file in MeGUI src do not require "resgen.ex" to compile *.resx into *.resource. It can be compiled with "csc.exe" only even there are *.resx files.
If MeGUI can, why not xAnime? Then everyone who had installed dot net framework v2.0 can get most recent build by it owns, they no need to install the huge dot net framework v2.0 SDK. Most ppl won't install that thing if possible, unless you're a developer or so.
leowai
24th April 2006, 13:27
Please note that the SVN is read only for anonymous. If you want to make modifications, please post a description and a .patch. Thanks!
OK. Where should I upload the patch?
I will PM you.
Cheers.
Eretria-chan
24th April 2006, 13:30
If MeGUI can, why not xAnime? Then everyone who had installed dot net framework v2.0 can get most recent build by it owns, they no need to install the huge dot net framework v2.0 SDK. Most ppl won't install that thing if possible, unless you're a developer or so.
Now that is the problen mostly nowdays. Developers should compile the sources, not the public. And developers should not expect the public to compile them on their own. I don't see why not download the fekkin' SDK and be done with it? Is it a sin to download something from microsoft? Sheesh.
Sirber
24th April 2006, 13:58
OK. Where should I upload the patch?I don't mind an email for that :)
Now that is the problen mostly nowdays. Developers should compile the sources, not the public. And developers should not expect the public to compile them on their own. I don't see why not download the fekkin' SDK and be done with it? Is it a sin to download something from microsoft? Sheesh.As usual, I don't mind making a nice installer, so no need of SDK.
Eretria-chan
24th April 2006, 14:05
As usual, I don't mind making a nice installer, so no need of SDK.
Yep, and we love you for that! :p
(Now, enough of that...)
Sirber
24th April 2006, 14:13
I commited it. It works well :) Thanks!
leowai
24th April 2006, 14:43
You're welcome. :)
Ya. Since it's now C#, the installer will be much smaller now. :D
Thanks.
Sirber
24th April 2006, 14:46
You're welcome. :)
Ya. Since it's now C#, the installer will be much smaller now. :D
Thanks.What's big is not the main executable, it's all the bundeled apps. I'm at 6MB now for the installer.
Should I still bundle AVISynth, FFDShow and Helix codecs?
Eretria-chan
24th April 2006, 14:51
Is there no way to detect if they are installed? I vote for as small as possible (ie no to all those components).
Sirber
24th April 2006, 15:08
would be more coding, keeping version of every package, looking on the web if an update is avalible, heavier to maintain, not sure it's worth it for a 10MB package :)
Eretria-chan
24th April 2006, 15:12
It's always worth it :devil:
Check for appropriate version if installed. Optionally download and install. Otherwise, point users to where they can download it.
And that's it.
Sirber
24th April 2006, 15:14
Isn't RealAnime (xAnime) supposed to be fool-proof? ;)
Eretria-chan
24th April 2006, 15:27
That is no excuse for not doing such an installer, if you ask me ;)
Sirber
24th April 2006, 15:30
alright, I will just include Helix codecs and post a link to AVISynth and FFDShow.
Sirber
25th April 2006, 02:09
woot woot!
C:\Projets\xAnime\bin\Release>avs2wav.exe -n e:\Anime\Tests\1.avs - | enc_aacPlus.exe - c:\out.aac
avs2wav v1.0 by Jory Stone <jcsston@toughguy.net>
Input: e:\Anime\Tests\1.avs
Output: -
********************************************************************
* AACPlus v2 Encoder (using Winamp 5.2 enc_aacplus.dll)
* Source timestamp Sun Feb 26 16:19:37 2006
* Build Feb 26 2006, 16:22:43
********************************************************************
* NOTE! enc_aacplus.dll must be into executable directory
* get it from Winamp 5.2 plugins directory
* tested on Winamp 5.2 Release Feb 23 2006 Full (Not Pro) version)
********************************************************************
Scanning for Audio Stream...
Found Audio Stream
Using stdout for WAV Output
Writing WAV Headers...
Scanning...
Input file: -
Output file: c:\out.aac
SampleRate: 48000
ChannelCount: 2
BitsPerSample: 16
Bitrate: 48000
ChannelMode: Parametric Stereo
Encoder: aacPlus v2 (HE-AAC+PS)
Encoding...
Took 1.66 seconds for the writing pass
Normalizing with a factor of 1.1971 ...
Took 2.80 seconds for the normalizing pass
Done
with no temp file :D
Sirber
25th April 2006, 02:20
So far so good, installer is 4.5MB.
Includes:
* xAnime
* MediaInfo 0.7.x
* x264
* mkvtoolnix 1.6.5
* mp4box
* yamb 1.6
* avs2wav
* enc_aacPlus + DLL
* some AVS filters
Sirber
25th April 2006, 02:21
Should I do an NSIS installer, or just a 7z?
Sirber
25th April 2006, 02:30
Can someone give me a hand with this function?
// Execute something and show logs
private void Exec(string cmdLine)
{
}
I don't have a clue on how to start a process, monitor it while it's running, get the output made by the CLI, and get the exitCode when it terminates.
Thanks for your help!
Eretria-chan
25th April 2006, 13:08
Should I do an NSIS installer, or just a 7z?
I always prefer an installation since I don't have to add shortcuts manually.
About the CLI problem: that's just the problem with CLI. You are supposed to do it in DOS envoirment, not execute them from other programs. Why can't there exist a dll interface?
Meh. Search MSDN and see what you can find. I might take some small bit of time looking into it if I have time.
Btw, how long was the audio clip?
stax76
25th April 2006, 13:45
I always prefer an installation since I don't have to add shortcuts manually.
With drag & drop you should be done with this in 2-5 seconds.
Eretria-chan
25th April 2006, 13:50
And yes, automatic uninstall too. Yes, I know it can be done easily and fast, and yes, I'm lazy.
EDIT:
I found this sample to communicate with CLI apps!
System.Diagnostics.Process calcProc = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo i =
new System.Diagnostics.ProcessStartInfo();
i.FileName = "cscript.exe";
i.Arguments = "//NoLogo calc.vbs";
i.RedirectStandardOutput = true;
i.RedirectStandardInput = true;
i.RedirectStandardError = true;
i.CreateNoWindow = true;
i.UseShellExecute = false;
calcProc.StartInfo = i;
calcProc.Start();
You might even be able to find the exit code in there!
Here is the article: http://msdn.microsoft.com/msdnmag/issues/04/02/NETConsoleApps/default.aspx
Good luck!
Sirber
25th April 2006, 13:56
About the CLI problem: that's just the problem with CLI. You are supposed to do it in DOS envoirment, not execute them from other programs. Why can't there exist a dll interface?All my external SW are in win32 console softwares, so I need to manage them ;)
And yes, automatic uninstall too. Yes, I know it can be done easily and fast, and yes, I'm lazy.
EDIT: Sirber, you could try System.Console.Out, System.Console.In and System.Console.Error. They are the standard streams which CLI applications should use. Try it and see if it works.My app is a GUI. System.console is to input / output for .NET console app.
Eretria-chan
25th April 2006, 14:19
Hey wait! I found another way! Look again at the post, as I edited it.
Sirber
25th April 2006, 14:54
I found this sample to communicate with CLI apps!
System.Diagnostics.Process calcProc = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo i =
new System.Diagnostics.ProcessStartInfo();
i.FileName = "cscript.exe";
i.Arguments = "//NoLogo calc.vbs";
i.RedirectStandardOutput = true;
i.RedirectStandardInput = true;
i.RedirectStandardError = true;
i.CreateNoWindow = true;
i.UseShellExecute = false;
calcProc.StartInfo = i;
calcProc.Start();
You might even be able to find the exit code in there!
Here is the article: http://msdn.microsoft.com/msdnmag/issues/04/02/NETConsoleApps/default.aspx
Good luck!
Nice! Thanks!
Where does RedirectStandardOutput go?
Eretria-chan
25th April 2006, 14:55
calcProc.StandardInput.WriteLine("1+1");
string result = calcProc.StandardOutput.ReadLine();
That should do it :)
Sirber
25th April 2006, 15:01
sweet! gonna try during lunch time! :D
Eretria-chan
25th April 2006, 15:06
Good luck :) Let me know how it turns out!
Sirber
25th April 2006, 17:36
private void Exec(string cmdApp, string cmdLine)
{
Process calcProc = new Process();
ProcessStartInfo i = new ProcessStartInfo();
// Start info
i.FileName = cmdApp;
i.Arguments = cmdLine;
i.RedirectStandardOutput = true;
i.RedirectStandardInput = true;
i.RedirectStandardError = true;
i.CreateNoWindow = true;
i.UseShellExecute = false;
calcProc.StartInfo = i;
// Start
calcProc.Start();
// Wait
while (calcProc.HasExited == false)
{
// Get logs
}
// Close
calcProc.Close();
}
But, can I pipe in the field "arguments"? for avs2wav | enc_aacPlus
[edit]
If not, I can do it in 2 pass using a temp big WAV file.
Eretria-chan
25th April 2006, 19:52
Not sure what you mean with pipe, but you might want to take a look at the actual article:
http://msdn.microsoft.com/msdnmag/issues/04/02/NETConsoleApps/default.aspx
It might give you some advice.
You can, of course, pass arguments when starting the process. Or, you can use the standard input stream to send it data, if that's what you mean. There is also a sample of that from the previous post I did, with the code samples (two lines).
Sirber
25th April 2006, 20:48
By pipe I mean here:
http://forum.doom9.org/showthread.php?p=819210#post819210
actually 2 software are called, in 1 shot.
Sirber
25th April 2006, 20:51
ConsoleProcess atProc = new ConsoleProcess("at.exe", "/?");
ConsoleProcess findProc = new ConsoleProcess("findstr.exe", "\/delete");
Pipe pipe = new Pipe(atProc, findProc);
atProc.Start();
findProc.Start();
pipe.Start();
string output = findProc.StandardOutput.ReadToEnd(); Seems I can pipe :)
I think I will do it in 2 Exec();
Eretria-chan
25th April 2006, 20:52
I see... that. To actually send the results of the first output directly to the second. Yes, the article DID mention that, and that it could be accomplished in two different ways. One of them was yours, to control it manually.
It's a shame I can't compile your project. My Visual Studio is practically borked, and I only just installed it! Stupid microsoft...
Sirber
25th April 2006, 21:11
Bah, easier to understand in 2 pass:
1) avs2wav
2) enc_aacPlus
Eretria-chan
25th April 2006, 21:12
I know what it means, no need to explain.
Or are you saying it's too hard for you to use pipes? :p
Sirber
25th April 2006, 21:42
I want to keep the code simple, as in mentally challenged ;)
Eretria-chan
25th April 2006, 21:43
Sure thing. Do what you want :) As long as it gets done :sly:
Sirber
25th April 2006, 21:46
I'd like to remind you RealAnime 4 took more than a year to complete. xAnime should be done completly in 2 months. If everything goes well, alpha 1 should be avalible this weekend... just need to whip Lain some more ;)
Eretria-chan
25th April 2006, 22:06
Let me remind you: I don't need all the features. As long as it works, that's fine. And I will continue using RA until you finish development on this one.
Of course, I will test any alphas you post, too.
Sirber
25th April 2006, 23:47
cool! thanks!
I don't uyse every feature of RA4 too, that's why I'm making xAnime.
Sirber
26th April 2006, 12:43
anyone having code to get some basic info from VFW?
* width
* height
* fps
* if audio
* if video
Eretria-chan
26th April 2006, 12:49
Can't you use Managed DirectX? Or perhaps DirectShow isn't available in managed form? I don't know. Either way, DirectShow should be able to provide such information, if you can use it.
Sirber
26th April 2006, 14:50
gonna look at megui sources ;)
Sirber
27th April 2006, 01:14
output class (basic) is done.
I also added systray management (with baloon!) :D
Now all I need is to build a basic analyse class to at leat handle AVI then IMO preview 1 is ready.
I thought about a "package" system to manage all bundeled apps with xAnime. So, xAnime.exe will be shipped alone. On start, it will see that all it's packages are missing, then cry, then ask the user if he wants to download them.
Later on, xAnime gets updated, on start it will look if already downlaoded package is still up to date, if not it will ask the user if he wants to download a new one, then automaticly install it.
I'm thinking also about an auto-update for xAnime.
Sounds nice?
killerhex
27th April 2006, 01:39
will xanime support encoding wmv->x264
Eretria-chan
27th April 2006, 07:53
output class (basic) is done.
I also added systray management (with baloon!) :D
Now all I need is to build a basic analyse class to at leat handle AVI then IMO preview 1 is ready.
I thought about a "package" system to manage all bundeled apps with xAnime. So, xAnime.exe will be shipped alone. On start, it will see that all it's packages are missing, then cry, then ask the user if he wants to download them.
Later on, xAnime gets updated, on start it will look if already downlaoded package is still up to date, if not it will ask the user if he wants to download a new one, then automaticly install it.
I'm thinking also about an auto-update for xAnime.
Sounds nice?
Sounds very nice! Omit the "he" for the user, though, as it can be either a he or she ;) You never know... :D
Sirber
27th April 2006, 12:16
If a "she" use my software, I will be very very surprised ;)
Sirber
27th April 2006, 12:40
I added MediaInfo in Analyze.cs. If I'm lucky I might be able to encode tonight :)
Eretria-chan
27th April 2006, 13:47
If a "she" use my software, I will be very very surprised ;)
Have you ever heard of gender discrimination? :sly:
Use neutral words and spare yourself the embaressment if your statement turns "true." :D
Eretria-chan
27th April 2006, 20:55
Btw, you've spelled "profile" wrong. It says "profil."
Sirber
27th April 2006, 22:36
Sharktooth was supposed to send me a patch for that. Still waiting for it.
Eretria-chan
27th April 2006, 22:41
Sharktooth is responsible for the GUI? Why can't you make such a simple modification?
Sirber
27th April 2006, 23:08
well, I can't do everything ;)
do you have MSN? PM me your address please.
Sirber
28th April 2006, 02:55
After some hit with the head on the table, I can now encode AVI to MKV.
Also, I would like to thank AEI.CA, which is my ISP, for making the connection crappy and unreliable when you most need it.
Eretria-chan
28th April 2006, 07:53
Yes, burn them all to hell! :devil:
Nice to see the progress you made :)
Sirber
28th April 2006, 12:10
I can get the Output of everything except x264
// Execute something and show logs
private int Exec(string cmdApp, string cmdLine)
{
Process calcProc = new Process();
ProcessStartInfo i = new ProcessStartInfo();
int iExitCode = 0;
// Start info
i.FileName = cmdApp;
i.Arguments = cmdLine;
i.RedirectStandardOutput = true;
//i.RedirectStandardError = true;
i.CreateNoWindow = true;
i.UseShellExecute = false;
calcProc.StartInfo = i;
// Start
calcProc.Start();
calcProc.BeginOutputReadLine();
calcProc.PriorityClass = ProcessPriorityClass.Idle;
calcProc.OutputDataReceived += new DataReceivedEventHandler(OutputHandler);
//calcProc.ErrorDataReceived += new DataReceivedEventHandler(OutputHandler);
// Wait
while (!calcProc.WaitForExit(25))
Application.DoEvents();
// Error?
iExitCode = calcProc.ExitCode;
// Close
calcProc.Close();
return iExitCode;
}
private static void OutputHandler(object sendingProcess, DataReceivedEventArgs outLine)
{
// Collect the sort command output.
if (!String.IsNullOrEmpty(outLine.Data))
{
string message = outLine.Data;
//MessageBox.Show(message);
}
}
x264 output nothing.
Eretria-chan
28th April 2006, 12:59
Then I guess x264 must be doing something weird...
But again, you can check MeGUI's sources.
Sirber
28th April 2006, 13:08
I did not find any "Process" in MeGUI source :confused:
also, "x264.exe > test.txt" gives me an empty file. I suspect x264 to be WRONG!!!
Eretria-chan
28th April 2006, 13:11
Indeed. It is the odd one.
Should study the source of x264 and see what it truly is doing. Where is it outputting its information?
DarkZell666
28th April 2006, 13:16
(whoever it was, speaking of Delphi) plus as I see it, a ripoff of existing langues
Hell no, it's the other way round ;)
Delphi is the IDE the the Pascal language, and that was the very first in it's generation. C/C++ derived from it =)
If you take a closer look you'll see that ... C# is a ripoff of Java ! :p
Whatever, good luck Sirber, I'm waiting for the first stable release !
Sirber
28th April 2006, 13:46
If I could get a hand with the coding, stable would be out faster ;)
stax76
28th April 2006, 14:08
x264.exe 2> test.txt (http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true)
I did not find any "Process" in MeGUI source
It might use P/Invoke but in any case it should not be hard to find the code, you can do file search, there is a class browser incl. quick search, in the code editor you can click on a symbol and do 'Go to definition' and 'Find all references', there is lot's of cool browsing features even some VB don't has yet e.g. 'Code Definition Window', maybe you could gain much by learning more about VS, .NET and C# before doing too much code. Since you are new to .NET studying the MeGUI and StaxRip source code could teach you much.
Sirber
28th April 2006, 14:37
x264 use the ERROR stream?
When I try to redirect that stream in C#, x264 does not encode (0% CPU).
Eretria-chan
29th April 2006, 13:46
(whoever it was, speaking of Delphi)
Hell no, it's the other way round ;)
Delphi is the IDE the the Pascal language, and that was the very first in it's generation. C/C++ derived from it =)
If you take a closer look you'll see that ... C# is a ripoff of Java ! :p
Whatever, good luck Sirber, I'm waiting for the first stable release !
Pascal? How crap... We all know C++ is the way to go! :p
I'd help, Sirber, but I don't know C# and I don't like it.
Although, if I use the .NET Framework, I can code in any language I like (C++ even! :D) and still make it work. Meh. It IS a possibility. I could code libraries (dll) to work with xAnime.
...But I don't like CLI.
Sharktooth
29th April 2006, 14:18
(whoever it was, speaking of Delphi)
Hell no, it's the other way round ;)
Delphi is the IDE the the Pascal language, and that was the very first in it's generation. C/C++ derived from it =)
If you take a closer look you'll see that ... C# is a ripoff of Java ! :p
Whatever, good luck Sirber, I'm waiting for the first stable release !
Uhm... no.
Pascal is a high level language derived from c/c++.
However C# is a mix of Java and C++.
J# is a ripoff of Java ;)
Sirber
29th April 2006, 14:49
I'm testing Fitlering and MP4 output. I should be able to post preview 1 today.
Sirber
29th April 2006, 19:54
Alright, here's the news:
i.RedirectStandardOutput = true; makes MP4Box jam at start
i.RedirectStandardError = true; makes x264 jam at start
so I can't get the logs (output) :(
Eretria-chan
29th April 2006, 20:11
Welcome to Microsoft and its crappy framework. Welcome to CLI and its crappy usage abilities.
Sirber
29th April 2006, 20:15
everything works #1 in delphi....
might return to vcl...
Sirber
29th April 2006, 20:59
you can get preview 1 here:
http://www.detritus.qc.ca/index.php?entry=entry060429-155722
killerhex
29th April 2006, 22:32
first bug: right click=add files does not work
only drag and drop works
does not show encoding progress %
but it just a preview
Sirber
29th April 2006, 23:58
I made the right click menu at the last minute to be able to remove the files.
I still cannot get the output of the encoder, thanks .net, so no %
Sirber
30th April 2006, 01:15
Well guys, not sure I finish this one. I don,t see any advantage using C# vs using Delphi, except more problems. What is your opinion on that?
also, since only so few seems to care about my softs, what's the point?
Kayser
30th April 2006, 01:33
I would like to try xAnime but sincerely it's not a necesity (probably misspelled). I'm in love with RealAnime and would probably move to xAnime for the sake of updating and that would be it... I mean, it's not that RealAnime is lacking anything big... Maybe adding a "Command line edit" button to manually edit how x264 is called and let advanced users (which I'm not :P) do their work would be a good bet. My humble opinion is: Do what your head and concience tells you and don't feel that your decision is tied to us (the users). Us RealAnime users will support you all the way :).
Sirber
30th April 2006, 01:40
I'm thinking about dropping xAnime completly, since .NET is bad, and continu upgrade RealAnime, then make plans for RealAnime 5! :D
Sharktooth
30th April 2006, 03:04
bah... .NET is bad if you dont know what you're doing... :P
Eretria-chan
30th April 2006, 10:59
I'm thinking about dropping xAnime completly, since .NET is bad, and continu upgrade RealAnime, then make plans for RealAnime 5! :D
As I stated before, I'd rather want you to continue xAnime instead so I can modify at will since you outrightly "refuse" to add stuff because you wrongly think it will make the app "bloated."
Sirber
30th April 2006, 14:21
Sources are there, have fun
hi, i'm a bit late posting here :P
RA Medium --> xA Low
RA High --> ~xA Medium
for High, dunno, a good dual core? ;)
what about adding xAnime's profiles in RA :D ?
i'd like to see RA 5 too :P
tnks!
Eretria-chan
1st May 2006, 20:14
What would be the point about adding xAnime's profiles to RA? They're already there, only the highest profile is missing. But it would almost be too slow on a dual core anyway.
Sirber
1st May 2006, 21:59
2 of the 3 profiles are in RealAnime already.
No news about RealAnime 5 yet. :sly:
Sirber
12th May 2006, 19:37
daverc (http://forum.doom9.org/member.php?u=28833) sent me 2 patches for xAnime. I will give him full access to the SVN ASAP.
svn://svn.detritus.qc.ca/detritus/xAnime
Changelog:
rev 681:
patch by daverc
I had a quick look on xAnime this week and somehow achieved to show the progress in the status bar.
Main.cs is sligthly modified , and two classes are added : ProcessCaller and AsyncOperation.
rev 682:
Changes (daverc):
Fixed compilation in VS 2005.
Form localization in french and english.
xAnime should be in french on french computers and in english on every other.
Open file dialog with left mouse click.(+ bug fixed with avi info dll path)
Log report window.
clone83
14th May 2006, 05:01
well r u going to release another preview so we can see the fixes?
Sirber
14th May 2006, 15:31
daverc will release something when he is ready.
daverc
14th May 2006, 17:12
This is the new exe for xAnime.
I named it Preview 2.
Changes since Preview 1 from Sirber and Lain.
you can find this one
http://www.detritus.qc.ca/index.php?entry=entry060429-155722
Open file dialog
Progress report
Cancel/Stop button
Log window
Langage support enabled.
Sirber
14th May 2006, 17:16
What are the installation instructions? Install preview 1 then copy the new exe in?
Thanks for your efforts! :D
daverc
14th May 2006, 17:23
Yes,
just copy the new files in your existing xAnime folder.
Sirber
14th May 2006, 17:26
Post an installer / 7z and I will add it on my website.
Sirber
14th May 2006, 17:28
warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual Studio
8\VC\lib' specified in 'LIB environment variable' -- 'Le chemin d'accès
spécifié est introuvable. '
warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\Lib' specified in 'LIB environment variable' -- 'Le chemin
d'accès spécifié est introuvable. '
Analyze.cs(42,26): warning CS0169: The private field 'xAnime.Analyze.oSettings'
is never used
Main.cs(20,25): warning CS0169: The private field 'xAnime.Main.oProcess' is
never used
error CS1566: Error reading resource file
'c:\Projets\xAnime\temp\xAnime.Main.resources' -- 'Le fichier spécifié
est introuvable. '
error CS1566: Error reading resource file
'c:\Projets\xAnime\temp\xAnime.Properties.Resources.resources' -- 'Le
fichier spécifié est introuvable. '
:(
missing files on the SVN
daverc
14th May 2006, 17:44
Yes Compile.bat is broken on the svn.
I don't know why.
Yet you might be able to compile in Visual Studio without any problem.
Sirber
14th May 2006, 19:26
posted:
http://www.detritus.qc.ca/index.php?entry=entry060514-142134
and 4.6MB ;)
daverc
14th May 2006, 20:27
Nice.
7z is insane. :cool:
Sirber
14th May 2006, 20:38
Is there any way to "force" english? It's not coz I have a french windows that I want a french xAnime ;)
daverc
15th May 2006, 17:45
Not yet.
I'm working on it.
1 st : Is anyone there familiar with System.Globalization.Culture and Application.CurrentCulture?
I would like to know what are installed cultures ressources dll on loading, and put them in a combobox.
2 nd : What's the french for "Field Operation" ?
Sirber
15th May 2006, 17:55
2 nd : What's the french for "Field Operation" ?"Service terrain" google say ;)
Traitement des trames? :confused:
daverc
15th May 2006, 18:03
Done so far :
Language setting load/save to xAnime.xml
Va pour "Traitement des trames".
Sirber
15th May 2006, 18:12
I wouldn't have a clue about "Traitement des trames", that's why I love english versions :)
Sirber
16th May 2006, 02:05
bug in xAnime x264.cs:
string sCmdLine = "--min-keyint 12 --min-keyint 600 --bime ";
should be:
string sCmdLine = "--min-keyint 12 --keyint 600 --bime ";
daverc
16th May 2006, 09:09
Ok i fixed this one.
daverc
16th May 2006, 09:30
And here is the resulting xAnime.exe. :)
Simply put the files in your existing xAnime folder, it does not matter whether it is preview 1 or 2.
What next ?
daverc
31st May 2006, 16:16
New update.
0.1.5.
xAnime is a video conversion tool designed to provide you best quality video for animes at low bitrates with its stock settings.
Common target : 20 minute episode (50 mb)
Requires Avisynth and .NET 2.0
Bundled with audio and video encoders, and open source MP4/MKV editing software.
Features :
Input : avi and avisynth files
Video : x264 PC / Ipod (good, high, highest)
Audio : Nero digital AAC or Winamp AAC
Containers : MP4, MKV
Filtering : Deinterlace, resize, inverse telecine
xAnime 0.0.1.5
Changes : Much more efficient new defaults settings for x264 encoder (from ra5 thx to sirber's settings).
xAnime 0.0.1.4
Add: Supports avs input
Add: Nero digital audio
Fix: Internal work
Change: No more temp audio file,
xAnime 0.0.1.3
Fix :Fix bad x264 setting
xAnime 0.0.1.2
Add : Progress display
Add : Language support
daverc
3rd June 2006, 13:33
Here it is.
Full bundle
xAnime 0.1.5 (http://detritus.sobanet.com/files/xanime/xAnime.0.1.5.full.7z)
Sirber
19th June 2006, 10:50
Updating my posts. Thanks for your work! Maybe .NET is not useless after all ;)
daverc
25th June 2006, 17:32
0.1.5 can be found here :
http://detritus.sobanet.com/files/xanime/xAnime.0.1.5.7z
0.1.5 with source and code documentation is here :
http://detritus.sobanet.com/files/xanime/xAnime.0.1.5.full.7z
Next version is coming soon.
Any request ? Any complain ?
daverc
25th June 2006, 17:33
Bug report strongly needed here !!! :sly:
Eretria-chan
25th June 2006, 19:49
Do you think you could make it work well with compressing both anime and non-anime sources? :)
daverc
25th June 2006, 20:29
No problem.
The settings for x264 were made by sirber, i will post them later.
I don't know much about x264 configuration, but i can easily add a check box "is anime", and add new settings for other sources.
Give me 3 standard command lines and i will include them.
And virtually any avisynth filter you need.
Is there anything else ?
xyloy
25th June 2006, 20:29
BTW, "traitement des trames" = "frames treatement"(litterally) ;)
Eretria-chan
25th June 2006, 20:45
Derainbower for non-anime. I'm investigating it myself right now. Noise reduction for non-anime would also be nice. Basically, since RA is getting more anime-oriented, I'd need something for my non-anime sources. It's be great if you could provide it.
Other than that, perhaps something like that planned for RA5. For one thing, intelligent encoding: if an errors occours, note it and do the next.
Then there was also the possibility of encoding a "temp encode." My list is typically full of files to encode. But what if I want to encode something just now? Either to phase out the list or arrange it first in the list so that it would get encoded first. That would be nice.
daverc
25th June 2006, 21:00
Ok, va pour traitement des trames. :p
@eretria-chan : i'm gonna investigate your requests.
Provide me some standard settings for derainbower and i will include it.
About list management, consider it's done.
About RealAnime, i advise you to stick with it as it will have much more feature than xAnime will never have.
On the other hand i have much room for improvements, and a stable version to work on.
Eretria-chan
25th June 2006, 21:05
Provide me some standard settings for derainbower and i will include it.
Working on that.
About RealAnime, i advise you to stick with it as it will have much more feature than xAnime will never have.
On the other hand i have much room for improvements, and a stable version to work on.
Are you sure? You seem more willing to add things than Sirber. But RA is very nice when it comes to Anime material. However, I don't know if it will become as good for non-anime material. Perhaps you could add to allow the program for profiles so that new settings for x264 might be added even if you do not continue the program or figure out your own settings.
daverc
25th June 2006, 21:14
Current architecture does not allow user profiles, but i can easily add as many default profiles as needed.
I will add anything that don't require too much work for me and too many clics for the user.
:)
Eretria-chan
25th June 2006, 21:19
Current architecture does not allow user profiles, but i can easily add as many default profiles as needed.
I guess I'm asking this because you don't seem too concerned about finding optimal settings yourself.
daverc
25th June 2006, 21:49
You are right, i'm not.
You'd rather have manual editing of the commandline or some kind of xml settings like stax or megui ?
These are current settings
1 pass:
--bitrate 318 --no-fast-pskip --no-psnr --progress --thread-input --threads 2 --min-keyint 24 --keyint 480 --bime --direct "auto" --weightb --bframes 3 --filter 1:1 --me "dia" --subme 1 --ref 0 --analyse "none" --pass 1 -o "NUL:" "..\Temp\video_input.avs"
2 pass normal :
--bitrate 318 --no-fast-pskip --no-psnr --progress --thread-input --threads 2 --min-keyint 24 --keyint 480 --bime --direct "auto" --weightb --bframes 3 --filter 1:1 --me "umh" --8x8dct --analyse "all" --b-rdo --mixed-refs --subme 6 --ref 8 --trellis 1 --pass 2 -o "..\Temp\out.mp4" "..\Temp\video_input.avs"
2 pass better :
--bitrate 318 --no-fast-pskip --no-psnr --progress --thread-input --threads 2 --min-keyint 24 --keyint 480 --bime --direct "auto" --weightb --bframes 3 --filter 1:1 --me "umh" --8x8dct --analyse "all" --b-rdo --mixed-refs --subme 7 --ref 16 --trellis 1 --pass 2 -o "..\Temp\out.mp4" "..\Temp\video_input.avs"
2 pass best :
--bitrate 318 --no-fast-pskip --no-psnr --progress --thread-input --threads 2 --min-keyint 24 --keyint 480 --bime --direct "auto" --weightb --bframes 3 --filter 1:1 --me "umh" --8x8dct --analyse "all" --b-rdo --mixed-refs --subme 7 --ref 24 --trellis 2 --pass 2 -o "..\out.mp4" "..\Temp\video_input.avs"
Eretria-chan
25th June 2006, 21:54
Well, maybe... the idea would be to hunt down optimal settings for use with x264 with different materials. I don't know how all these options affect the outcome, which is partly why I use a GUI and why the function for profiles would help greatly.
daverc
25th June 2006, 22:19
The hunt started a long time ago here.
For now i will aim more at good default settings than at configurability. Maybe it will come at a later time.
There's too many derainbow filters floating around here for me to test them.
Take your time and then point me to the one that will prove to be the more efficient.
Eretria-chan
25th June 2006, 22:24
SmoothUV seems like a good one. But you'll have to be able to limit strength - and it does introduce color smeaing at too high values. I have an open thread on the matter though, so I'll get back to you with what I find best.
So far, though, SmoothUV has been the best. It has been able to remove all rainbows I've encountered.
daverc
25th June 2006, 22:46
I had a quick look at one of your current thread
Could you try to feed xAnime with some avs using fftd3d and SmoothUV and a Trim(0,100) for instance, and tell me if you notice any bug, report me speed drop, etc ...
Eretria-chan
25th June 2006, 23:03
First error:
Used this script:
#LoadPlugin("fft3dgpu.dll")
#import("RemoveNoiseMC.avs")
import("SmoothUV.avs")
#Star Trek - VGR - S2E18 - Deathwish.avi
input = DirectShowSource("...")
SmoothUV(input, 4, 255, false)
#FFT3DGPU(sigma2=90,sigma3=90,sigma=8,sigma4=0,plane=3,bw=64,bh=64,bt=1,ow=16,oh=16)
#FFT3DGPU(sigma2=40,sigma3=40,sigma=2,sigma4=0,plane=3,bw=64,bh=64,bt=1,ow=16,oh=16)
SmoothUV.avs simply contains LoadPlugin("SmoothUV.dll").
xAnime encodes the audio, then reports done.
I chose "C:\" to be the output folder. Nothing there.
Also as a suggestion, make the user able to see which output folder is currently selected.
daverc
25th June 2006, 23:18
I suppose you are using nero, can you try with enc acc plus ?
Eretria-chan
25th June 2006, 23:49
Nero & the other is the same. It encodes the audio (or so it says), then it says done and the gui is still disabled. It dumped a file named "Star Trek Voyager.avsxAnime.avs" into C:\, which is identical to the one I encoded except that it had added "# xAnime" to the end.
daverc
26th June 2006, 00:28
So far, the only thing i know that causes audio to hang is audio filtering in directshow. Eg UpMixing in ffdshow.
Check your PM.
Eretria-chan
26th June 2006, 00:32
I'll try as soon as I have a free moment.
Audionut
26th June 2006, 00:57
--ref 16 is the maximum.
Eretria-chan
26th June 2006, 01:55
First test: FAILED. Debug info tells me "Cannot find command file." (Translated from original, swedish message. Is this an system error string?)
Second test: FAILED. Same error. This was a simple avisynth file with a directshowsource to the file to encode only.
Third test: FAILED. Can't find audio stream. I just threw in the source, not an avisynth file here.
The specifics of the file:
General #0
Count : 167
Count of stream of t : 1
Kind of stream : General
StreamKindID : 0
Count of video strea : 1
Count of audio strea : 1
Count of text stream : 0
Count of chapter str : 0
Complete name :
Folder name :
File name :
File extension : avi
File size : 364992512
File size : 348 MiB
File size : 348 MiB
File size : 348 MiB
File size : 348 MiB
File size : 348.1 MiB
Format : AVI
Format : Audio Video Interleave
Extensions : AVI
Overal BitRate : 1058809
Overal BitRate : 1059 Kbps
PlayTime : 2757758
PlayTime : 45mn 57s
PlayTime : 45mn 57s 758ms
PlayTime : 45mn 57s
PlayTime : 00:45:57.758
Writing application : Nandub v1.0rc2
Codecs Video : XviD
Audio codecs : AC3
Video #0
Count : 36
Count of stream of t : 1
Kind of stream : Video
StreamKindID : 0
Codec : XVID
Codec : XviD
Info : XviD project
Url : http://www.koepi.org/xvid.shtml
Bit rate : 857059
Bit rate : 857 Kbps
Width : 576
Height : 432
Aspect ratio : 1.333
Aspect ratio : 4/3
Frame rate : 23.976
Frame rate : 23.976 fps
FrameCount : 66120
(Pixel*Frame) : 0.144
Audio #0
Count : 35
Count of stream of t : 1
Kind of stream : Audio
StreamKindID : 0
Codec : 2000
Codec : AC3
Info : Dolby AC3
Bit rate : 192000
Bit rate : 192 Kbps
Channel(s) : 2
Channel(s) : 2 channels
Sampling rate : 48000
Sampling rate : 48 KHz
SamplingCount : 132372383
Sirber
26th June 2006, 02:37
@daverc
Best keep the GUI simple. Also, if your GUI comes for general encoding, you can rename it if ya want, or start a "fork". I can make you another SVN repository.
Eretria-chan
26th June 2006, 02:39
Yes, simple, but not oversimplified. Don't start adding all those options for x264, since noone would understand them. But user profiles based on quality perhaps. A good addition I would say.
daverc
26th June 2006, 11:52
@daverc
Best keep the GUI simple. Also, if your GUI comes for general encoding, you can rename it if ya want, or start a "fork". I can make you another SVN repository.
I totally agree.
I'm considering adding three more profiles for general video, that won't raise the amount of clics for the user. No fork planned for me.
Eretria-chan
26th June 2006, 12:02
Oh. Another thing.
Is it possible with volume normalization do you think? Real normalization that actually sets the sound levels of the clips (in db) to the same amount so that I won't have to turn up or down the volume on speakers for different sources. I just HATE to have to turn up the speakers to its maximum for the one movie that has such low volume. Yet everything else in the system can make your ears squeak if you have the volume that high.
Sirber
26th June 2006, 12:06
Normalize() in AVISynth
daverc
26th June 2006, 13:28
First test: FAILED. Debug info tells me "Cannot find command file." (Translated from original, swedish message. Is this an system error string?)
Second test: FAILED. Same error. This was a simple avisynth file with a directshowsource to the file to encode only.
Third test: FAILED. Can't find audio stream. I just threw in the source, not an avisynth file here.
Sorry you 'll have to wait next version.
No problem for me with xvid ac3, avs or avi file.
I recommend using ffdshow for both audio and video decoding.
Eretria-chan
26th June 2006, 14:52
Normalize() in AVISynth
Understood. I will check it out. If it's this easy, though, it should also be easy to add as an option to the program.
However, reading the manual, I find a flaw. First, it doesn't appear to work with a video, or DirectShowSource. I'll need the actual audio source, which means, of course, that I need to extract that from the video first. Second, Normalize amplifies the volume enough below the level where it begins to clip. I can't specify an exact db level. Amplify amplifies the sound level with a certain multiplier if I understood correctly, which again, is inapproriate.
If possible, there should be a command to seperate the audio from the video (or maybe there doesn't exist) and, of course, the ability so set it to a certain db level. The separation is only necessary, of course, for non-encoding as your programs extracts it anyway. I'm suspecting, though, that it is impossible to extract the audio and normalize it in real time?
Okay, actually, screw the whole seperate audio theory, it works without. I still need to find a sensible way to increase it to a certain db level, though. Although when doing this, I remembered ffdshow has an audio normalizer. It works fine, so I don't know... should I actually consider to normalize audio? FFDShow can always normalize any audio that is processed through it and keep audio levels to a certain level. So there's no need for any normalizing.
daverc: Don't worry about the time it takes, I'm not about to start encodes those sources just yet. Keep working on the program and I'll test it again when a new version is ready.
Sirber
26th June 2006, 17:09
Normalize(clip clip, float volume, boolean show)
Amplifies the entire waveform as much as possible, without clipping.
By default the clip is amplified to 1.0, that is maximum without clipping - higher values are sure to clip, and create distortions. If one volume is supplied, the other channel will be amplified the same amount.
Starting from v2.08 there is an optional argument show, if set to "true", it will show the maximum amplification possible without distortions.
Stereo channels are never amplified seperately by the filter, even if level between them is very different. The two volumes are applied AFTER the maximum peak has been found, and works in effect as a seperate Amplify. That means if you have two channels that are very different the loudest channel will also be the peak for the lowest. If you want to normalize each channel seperately, you must use GetChannel to split up the stereo source. Audio is converted to 16 bits as a side-result of this filter.
Examples:
# normalizes signal to 98%
video = AviSource("C:\video.avi")
audio = WavSource("c:\autechre.wav")
audio = Normalize(audio, 0.98)
return AudioDub(video, audio)
# normalizes each channel seperately
video = AviSource("C:\video.avi")
audio = WavSource("bjoer7000.wav")
left_ch = GetChannel(audio,1).Normalize
right_ch = GetChannel(audio,2).Normalize
audio = MergeChannels(left_ch, right_ch)
return AudioDub(video, audio)
# normalizes each channel seperately
clip = AviSource("D:\Video\rawstuff\stereo-test file_left(-6db).avi")
left_ch = GetChannel(clip,1).Normalize
right_ch = GetChannel(clip,2).Normalize
audio = MergeChannels(left_ch, right_ch)
AudioDub(clip, audio)
Doesn't say it doesn't work with DirectShowSource... ;)
Eretria-chan
27th June 2006, 00:46
No it actually does, but I can't specify the db level to raise it with so I'm stuck with whatever it chooses.
Sirber
27th June 2006, 01:44
that's what normalize is... go to the max whitout clipping ;)
clip is amplified to 1.0, that is maximum without clipping
Eretria-chan
27th June 2006, 01:51
Yes, that's what it does but it's not what I want.
Normalize is a process to make all sound reach a certain sound level so they are all equally loud.
Sirber
27th June 2006, 02:05
that's a big manual job...
Eretria-chan
27th June 2006, 13:49
I would find the current level, then find out how many db is missing and amplify the sound. Doesn't sound too complicated, but I wonder if there are any avisynth commands for this.
Sharktooth
27th June 2006, 14:52
AmplifydB (clip, float amount1 [, ...])
AmplifydB is the same except values are in dB.
You can use negative dB values (or scale factor between 0 and 1) for reducing volume. Negative scale factors will shift phase by 180°.
8bit and 24bit Audio samples are converted to float in the process, the other audio formats are kept.
...
Eretria-chan
27th June 2006, 14:55
Still missing the current decibel level which is critical. I actually found that but not one to find the current level which rendered the results useless.
Weltall
28th June 2006, 03:39
\o/ My first post :'(
If your source is an avi or is called with an avs script, if you can play it with media player classic, there's 95 % chance you can encode it with xAnime.
Only advice i can give without further information is to install a stable ffdshow build, disable every possible filtering and try again.
What are the specifications of your file ?
You can have little more information if you clic just next to the progress bar while encoding.
Well daverc, my ffdshow version is 26-06-2006 one (first time I tried it was 12-06 one), I have all filters disabled and Avisynth decoder is enabled on video decoder config. Most of my animes are XviD/mp3 cbr/avi. I've tried to encode many videos, which I could in RA but couldn't in xA. I know the problem is with audio stream, but I don't know if that's because of bepipe. Now I remembered, I've tried to encode with xAnime 0.11 and everything was ok. But 0.15 version, which you wrote in changes: no more temp audio file, give me that error. See this file here (http://www.oxyshare.com/get/98945618644a1e8a40158f2.01843616/Test.rar.html), it has some videos and an image of what happen when I try to encode. I've tried with two different animes, both with NeroDigital and Enc AAC Plus.
Hey, I was forgeting to click on the progress bar like you said, I just did this. So in "see5.mp4" video I put what that log shows. I think I know now which is the problem, see by yourself, say me what you think.
P.S.: Sorry if I messed with words, I'm still learning english language.
daverc
28th June 2006, 04:07
It's a damn good bug report...
You are not the first one complaining about bepipe, i might reconsider using avs2wav.
I'll investigate that next days...
Sirber
28th June 2006, 12:11
avs2wav doesn't work with nero :(
daverc
28th June 2006, 17:00
avs2wav doesn't work with nero :(
I know :(
1 st choice : drop nero support
2 nd choice : use bepipe for nero, and avs2wav for eaacplus (nightmare to code)
3 rd choice : do what you are going to do in ra5.
Question is : what are you going to do ?
Sirber
28th June 2006, 17:18
avs2wav + encAacPlus
I'm not in the mood to make fancy solutions...
daverc
28th June 2006, 17:23
Roger.
daverc
28th June 2006, 17:26
\o/ My first post :'(
Well daverc, my ffdshow version is 26-06-2006 one (first time I tried it was 12-06 one), I have all filters disabled and Avisynth decoder is enabled on video decoder config. Most of my animes are XviD/mp3 cbr/avi. I've tried to encode many videos, which I could in RA but couldn't in xA. I know the problem is with audio stream, but I don't know if that's because of bepipe. Now I remembered, I've tried to encode with xAnime 0.11 and everything was ok. But 0.15 version, which you wrote in changes: no more temp audio file, give me that error. See this file here (http://www.oxyshare.com/get/98945618644a1e8a40158f2.01843616/Test.rar.html), it has some videos and an image of what happen when I try to encode. I've tried with two different animes, both with NeroDigital and Enc AAC Plus.
Hey, I was forgeting to click on the progress bar like you said, I just did this. So in "see5.mp4" video I put what that log shows. I think I know now which is the problem, see by yourself, say me what you think.
P.S.: Sorry if I messed with words, I'm still learning english language.
I have some news for you.
You have no audio encoding problems. There is an issue with special characters in the path of your temp folder.
It will be easy to figure a workaround.
Sirber
28th June 2006, 17:27
you could try avs2wav, find a way to fix the wav so nero likes it, then use nero with 2 pass.
daverc
28th June 2006, 17:37
That would be ideal, but i will postpone that.
Weltall
28th June 2006, 18:06
Yeah, I supossed that. xAnime seems doesn't support special characters like í in "Meus Vídeos" folder or ~ in "Configuações Locais". I hadn't that neither problem with RA nor with xA .11
If you could ask Dimzon to implement that in bepipe, I'll be glad. I could encode with xAnime, but I had to change my Ambient Variable folder and to move my anime to root, since my animes are in "Meus Vídeos/Animes". I can't say my reencode group to do that, they would be scared :S. Btw, I'm having the same problem with Avisynth, which I never had before. My Directshowsource script created with megui crashes in second pass. I've tried to play it and it plays like 2 seconds of the video (crashing), then stop. I'm having lots of problems this days with scripts and my special characters... I even tought to change my windows language to english, but I think this isn't a good solution. Thanks for the help =D
daverc
28th June 2006, 23:10
Avisynth files must be ANSI when containing weird filenames.
Notepad -> save as
Characters coding -> ANSI (instead of default UTF8 )
Eretria-chan
29th June 2006, 00:26
Bad news for you.
Trying to encode the avi file directory fails. It can't find the audio stream.
Using the avisynth file, it encodes the audio and then aborts. Log says only "Done" after the audio processing is complete.
daverc
29th June 2006, 01:57
As for distribution :
Who wants installer ?
Who wants 7zip ?
Who wants rar ?
Who wants zip ?
Sirber
29th June 2006, 02:01
NSIS or ISS :)
daverc
29th June 2006, 02:04
I tried NSIS and i'm ok with it.
What is ISS ?
Ok found it Inno Setup, i will try it.
Eretria-chan
29th June 2006, 02:08
/me votes for Installer of NSIS type.
I hate to do shortcuts manually. I rarely ever do.
UPDATE: Encoding seems to work when I set temp dir to C:\. At least, it didn't halt after the audio. It's now on the first pass. Testing using avisynth file.
Sirber
29th June 2006, 02:09
/me votes for Installer of NSIS type.
I hate to do shortcuts manually. I rarely ever do./you so lazy ;)
I like the simplicity of ISS code:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=RealAnime
AppVerName=RealAnime 5.0.0
AppPublisher=Detritus Software
AppPublisherURL=http://www.detritus.qc.ca
AppSupportURL=http://www.detritus.qc.ca
AppUpdatesURL=http://www.detritus.qc.ca
DefaultDirName={pf}\RealAnime5
DefaultGroupName=RealAnime 5
LicenseFile=C:\Projets\RealAnime5\dist\gpl.txt
OutputBaseFilename=RealAnime_500
SetupIconFile=C:\Projets\RealAnime5\images.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
; Base
Source: "C:\Projets\RealAnime5\dist\RealAnime5.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\7z.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\MediaInfo.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\avs2wav.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\DGIndex.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\MP4Box.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\enc_aacPlus.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\enc_aacplus.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\x264.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\Yamb.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\222571423_small.jpg"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\ffdico.ico"; DestDir: "{app}"; Flags: ignoreversion
; Player
Source: "C:\Projets\RealAnime5\dist\mplayerc.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\HFE.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\atrc.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\cook.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\drvc.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\pncrt.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\sipr.dll"; DestDir: "{app}"; Flags: ignoreversion
; Installers
Source: "C:\Projets\RealAnime5\dist\yuvcodecs-1.2.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\AviSynth_260402.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\ffdshow-20060420-gcc4.0.3-sse-x264.nl.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Projets\RealAnime5\dist\MatroskaSplitter.exe"; DestDir: "{app}"; Flags: ignoreversion
; AVS
Source: "C:\Projets\RealAnime5\dist\avs\*.dll"; DestDir: "{app}\avs"; Flags: ignoreversion
; MKV
Source: "C:\Projets\RealAnime5\dist\mkv\*"; DestDir: "{app}\mkv"; Flags: ignoreversion
; Producer
Source: "C:\Projets\RealAnime5\dist\producer\*"; DestDir: "{app}\producer"; Flags: ignoreversion recursesubdirs
; Theora
Source: "C:\Projets\RealAnime5\dist\ffmpeg2theora.exe"; DestDir: "{app}"; Flags: ignoreversion
[INI]
Filename: "{app}\RealAnime5.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.detritus.qc.ca"
[Icons]
Name: "{group}\RealAnime 5"; Filename: "{app}\RealAnime5.exe"
Name: "{group}\Media Player Classic"; Filename: "{app}\mplayerc.exe"
Name: "{group}\Filters\RealVideo Decoder"; Filename: "{app}\HFE.exe"
Name: "{group}\Filters\FFDShow Decoder"; Filename: "{win}\system32\rundll32.exe"; Parameters: "ffdshow.ax,configure"; WorkingDir: "{app}\ffdshow"; IconFilename: "{app}\ffdico.ico"
Name: "{group}\Filters\FFDShow VFW Decoder"; Filename: "{win}\system32\rundll32.exe"; Parameters: "ff_vfw.dll,configureVFW"; WorkingDir: "{app}\ffdshow"; IconFilename: "{app}\ffdico.ico"
Name: "{group}\Filters\FFDShow Audio Decoder"; Filename: "{win}\system32\rundll32.exe"; Parameters: "ffdshow.ax,configureAudio"; WorkingDir: "{app}\ffdshow"; IconFilename: "{app}\ffdico.ico"
Name: "{group}\Tools\MP4 Editor"; Filename: "{app}\Yamb.exe"
Name: "{group}\Tools\MKV Editor"; Filename: "{app}\mkv\mmg.exe"
Name: "{group}\{cm:ProgramOnTheWeb,RealAnime}"; Filename: "{app}\RealAnime5.url"
Name: "{group}\{cm:UninstallProgram,RealAnime}"; Filename: "{uninstallexe}"
Name: "{userdesktop}\RealAnime 5"; Filename: "{app}\RealAnime5.exe"; Tasks: desktopicon
[Run]
; Installers
Filename: "{app}\yuvcodecs-1.2.exe"; Parameters: "/S"; StatusMsg: "Installing YUV decoder..."; Flags: waituntilterminated
Filename: "{app}\AviSynth_260402.exe"; Parameters: "/S"; StatusMsg: "Installing AVISynth..."; Flags: waituntilterminated
Filename: "{app}\ffdshow-20060420-gcc4.0.3-sse-x264.nl.exe"; Parameters: "/S /D={app}\ffdshow"; StatusMsg: "Installing FFDShow..."; Flags: waituntilterminated
Filename: "{app}\MatroskaSplitter.exe"; Parameters: "/S"; StatusMsg: "Installing Haali Matroska Splitter..."; Flags: waituntilterminated
; RealAnime
Filename: "{app}\RealAnime5.exe"; Description: "{cm:LaunchProgram,RealAnime}"; Flags: nowait postinstall skipifsilent
[Registry]
; ** MPC
; WMR9 Renderless
Root: HKCU; Subkey: "Software\Gabest\Media Player Classic\Settings"; ValueType: "dword"; ValueName: "DSVidRen"; ValueData: "6"
Root: HKCU; Subkey: "Software\Gabest\Media Player Classic\Settings"; ValueType: "dword"; ValueName: "QTVidRen"; ValueData: "2"
Root: HKCU; Subkey: "Software\Gabest\Media Player Classic\Settings"; ValueType: "dword"; ValueName: "RMVidRen"; ValueData: "2"
; PS2 Bicubic resize
Root: HKCU; Subkey: "Software\Gabest\Media Player Classic\Settings"; ValueType: "dword"; ValueName: "DX9Resizer"; ValueData: "5"
; Logo
Root: HKCU; Subkey: "Software\Gabest\Media Player Classic\Settings"; ValueType: "dword"; ValueName: "LogoExt"; ValueData: "1"
Root: HKCU; Subkey: "Software\Gabest\Media Player Classic\Settings"; ValueType: "string"; ValueName: "LogoFile"; ValueData: "{app}\222571423_small.jpg"
; ** RealVideo
Root: HKLM; Subkey: "Software\RealNetworks\RV10HFE"; ValueType: "dword"; ValueName: "strength"; ValueData: "1"
Root: HKLM; Subkey: "Software\RealNetworks\RV10HFE"; ValueType: "dword"; ValueName: "sharpen"; ValueData: "5"
Root: HKLM; Subkey: "Software\RealNetworks\RV10HFE"; ValueType: "dword"; ValueName: "visualizations"; ValueData: "0"
[UninstallDelete]
Type: files; Name: "{app}\RealAnime5.url"
daverc
29th June 2006, 02:46
InnoSetup done.
Very good soft.
Took me 15 mins and 2 tries compared to 30 mins and many tries with nsis.
Sirber
29th June 2006, 02:51
gee take a break. grab a beer and dribk with me! :D
Eretria-chan
29th June 2006, 02:54
Beers are evil.
Second pass in progress. So far, so good.
Sirber
29th June 2006, 02:58
how can it be so far so good with no new release?
Eretria-chan
29th June 2006, 03:00
You wish you knew :sly:
Sirber
29th June 2006, 03:05
so tell me... :devil:
xAnime is nothing whitout me, NOTHING!!! then comes daverc :D
Eretria-chan
29th June 2006, 03:07
My secrets are mine :sly:
You you are a Delphi lover :D C# is a bad language :sly: No wonder you failed at it :p
Sirber
29th June 2006, 03:11
@daverc
did you succeed with the process launcher? to get logs? how many lines? :eek:
daverc
29th June 2006, 03:21
how can it be so far so good with no new release?
:D
I will upload all the stuff tomorow.
You will be first, you have my word.:p
Sirber
29th June 2006, 03:44
no fair, I'm always first :(
I want second! ;)
Eretria-chan
29th June 2006, 03:46
You are second ;) I am first :D
Sirber
29th June 2006, 03:54
the admin gave me direct access to the SVN so... ;)
the admin is a good friend, since it's me ;)
Eretria-chan
29th June 2006, 03:56
But I still have it, so you're still second.
Second pass progressing. No errors yet.
Eretria-chan
29th June 2006, 15:28
Encode completed successfully.
Still, it cannot find the audio stream if I use the avi file directly. Avisynth works. But it worked only when I moved the temp directory.
Weltall
30th June 2006, 16:36
Thank you very much for that Daverc! It'll make things a lot easier! Thanks for that hint too, I've changed my avs script to ANSI configuration and now it's totally working! Everything is fine now!
Btw, I was wondering, what happened with Avisynth!? I never had problems like that before. Megui worked normally before and my all my created scripts always worked, I never needed to change char codification. What's happening with Avisynth? How it suddenly don't read the scripts anymore? Could be something I did? Maybe some filter? I thought about ffdshow, since I'm using the newest ffdshow I found only in k-lite codec pack update (06-26-2006, free-codecs version is 05-26-2006), cause ffdshow have Avisynth support, am I right? I know the only problem is with special characters. I'm totally lost with that, if you could lend me a hand...
Thanks!!!!!!!
daverc
3rd July 2006, 15:08
Encode completed successfully.
Still, it cannot find the audio stream if I use the avi file directly. Avisynth works. But it worked only when I moved the temp directory.
Your temp directory and filenames should not contain weird characters.
Eretria-chan
3rd July 2006, 16:35
You cannot and should not blame that. By default, for example, the swedish version of Windows XP assign the temp path to the following:
C:\Documents and Settings\Username here\Lokala inställningar\Temp
Other programs works fine and writes temporary files without problems. Logically, your program, or any of its subcomponents are poorly written.
daverc
3rd July 2006, 16:44
Actually i encounter two problems
1 . Leak in avisynth text file reading -> fixed
2 . Dos commands use code pagesets specific to every country. If you want to use swedish, i have to set xAnime to use swedish characters. Or ensure some kind of conversion.
daverc
3rd July 2006, 16:47
Links dead.
Eretria-chan
3rd July 2006, 16:52
Actually i encounter two problems
1 . Leak in avisynth text file reading -> fixed
2 . Dos commands use code pagesets specific to every country. If you want to use swedish, i have to set xAnime to use swedish characters. Or ensure some kind of conversion.
I do not stand corrected. As I explained, this is the DEFAULT path on Windows XP Swedish. Many users do not even know how to switch temporary directory. And DOS programs are SO OVER now. Really. IMO Why can't you just abandon them? Grow up?
Console programs do not use code pagesets AFAIK, as I have managed to open and write files in the temporary directory without problems.
Logic states that your program is at fault. If you cannot read from the temp dir, then make your own, like RA does.
daverc
3rd July 2006, 16:56
x264.exe, nero, enc_aac plus, and mp4box are dos programs.
I will make a default temp dir in root folder in next version.
xAnime is still alpha, every bug report or suggestion is welcome.
Eretria-chan
3rd July 2006, 17:00
I will make a default temp dir in root folder in next version.
Why not make that xAnime\Temp as to not pollute the root folder?
daverc
3rd July 2006, 17:04
Same issue will occur if your program files folder contains special characters.
Don't worry, this will be fixed.
daverc
10th July 2006, 21:35
xAnime 0.0.1.6 7zip (http://www.box.net/public/ez5fgs9gae)
xAnime 0.0.1.6 installer (http://www.box.net/public/853p79hgzl)
Sirber
10th July 2006, 21:55
@bond
can you give this thread to daverc please? I don't have much to do with it now. thanks!
daverc
11th July 2006, 00:12
Bond told me he can't do that.
I will make a new post if there is a new release.
Sirber
11th July 2006, 00:47
make a new full post and we can close this one.
Robutix
13th July 2006, 13:11
whoa, so an alpha was released? Hey, why not update this release on Sirber's website? :) like the FreeAnime alpha...
Sirber
13th July 2006, 13:56
whoa, so an alpha was released? Hey, why not update this release on Sirber's website? :) like the FreeAnime alpha...xAnime is not my project anymore :)
Robutix
13th July 2006, 14:14
Oh, I see... Gomen.
Sirber
13th July 2006, 14:29
all I do now is hosting the sources and redirecting my webpage here.
Sharktooth
14th July 2006, 01:44
SVN public read access is denied :(
Sirber
14th July 2006, 01:58
yeah, my bad. I closed it to public coz I plan to make RA5 closed source, and both are on the same tree.
Eretria-chan
28th July 2006, 12:37
@daverc: Any chance of seeing the source of your latest version?
Sirber
29th July 2006, 03:10
@daverc
I'm closing the subversion server in 7 days. Please find another host in the meantime. I am sorry for the troubles :(
In case of no response, I will find a way to send you the latest hosted sources.
daverc
31st July 2006, 22:41
OK, you can close the svn and even this thread.
Developpement is aborted for lack of time, skills and interrest.
Below you will find last version which is about one month old.
0.0.1.6 installer (http://www.box.net/public/853p79hgzl)
0.0.1.6 7zip (http://www.box.net/public/ez5fgs9gae)
0.0.1.6 sources (http://www.box.net/public/26oi77phli)
Eretria-chan
1st August 2006, 11:20
@daverc: Thanks for the source.
Sirber
2nd August 2006, 02:53
seems like all you care is source, whatever it is ;)
Eretria-chan
2nd August 2006, 15:09
Research =) But it didn't turn out too well =(
And I still do not understand how you extract progress report from enc_aacplus >_<
Sirber
6th November 2006, 22:28
What's the status of xAnime?
What's working, what's not?
Sirber
1st October 2009, 16:50
download link is dead. anyone interrested in the sources?
BlindBandit
11th October 2009, 07:33
download link is dead. anyone interrested in the sources?
Here a working link http://www.softpedia.com/progDownload/xAnime-Download-56711.html
damrod
5th November 2009, 16:21
it can interest me also ;-)
@sirber : how was your hollidays ? take some shots ?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.