Log in

View Full Version : xAnime (0.1.5) (x264, AAC, MKV, MP4)


Pages : 1 2 [3] 4 5 6

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

ggab
1st May 2006, 19:43
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 ;)