PDA

View Full Version : Ani-x264 v1.3.10.3


kenji123
24th October 2006, 03:23
Over View
---------
Ani-x264 is a front-end batch encoder GUI (Graphical User Interface) for re-encoding media files. For both beginner and intermediate users who wish to make their large media files into smaller ones, while loosing very little quality.

Input: avs, d2v, avi, mkv, mp4, ogm, wav, ac3, mp3, mka, m4a, ogg, aac
Output: mkv, mp4, m4a


Minimum System Requirements:
Windows XP, Windows Vista (Not tested on other systems)
1.2GHz AMD/Intel Processor with MMX
256MB RAM

Recomended System Requirements:
Windows XP, Windows Vista (Not tested on other systems)
2.8GHz AMD/Intel Processor with MMX, MMX EXT, SSE, SSE2, 3DNOW!
1GB RAM

Functional Requirements:
Microsoft .NET Framework v2.0 (http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en)
(This is not included with Ani-x264 you must obtain it from the Microsoft web site.)

Nero's Aac Encoder cli (http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html)
(This is not included with Ani-x264 you must obtain it from the Nero web site.)



Download
--------
http://www.softpedia.com/images/spyward/softpedia_clean_award_f.gif (http://www.softpedia.com/progClean/Ani-x264-Clean-60714.html)


Mirror #1 (http://kenji123.uni.cc/ani-x264/Ani-x264-v1.3.10.3-setup.zip)
Mirror #2 (http://kenji123.110mb.com/files/Ani-x264-v1.3.10.3-setup.zip)
Mirror #3 (http://www.softpedia.com/get/Multimedia/Video/Encoders-Converter-DIVX-Related/Ani-x264.shtml) - (Softpedia)


updaters:
Ani-x264 v1.3.9.2 to v1.3.10.3 updater (http://kenji123.uni.cc/ani-x264/Ani-x264-v1.3.10.3-update.zip)



Full Changelog (http://kenji123.uni.cc/ani-x264/Ani-x264_changelog.txt)
---------

v1.3.10.3 - [Oct-21-2007]
---------
* Minor GUI changes
* Bug fixes

Kayser
24th October 2006, 04:51
I'm testing it right now. So far so good :) (encoding ogm file right now)... You did a good job man! Seems like you based your work on a really well balanced combination of MeGui + RealAnime plus features of your own.
I'll give you feedback tomorrow morning :)

Sirber
24th October 2006, 13:05
Settings:
* Trellis 2 is just slow, best use 1
* Trellis just work with subme 6 and 7
* No auto bframe mode
* No Fast P skip should be checked

General:
* changelog tab should be in About tab.
* no filtering?

Kayser
24th October 2006, 16:52
I got it to encode an OGM file. It encoded every audio track as expected and the file works #1.
The thing I noticed is that the command lines do not seem to work in a folder with spaces in it's name. It takes the first part of the name (up to the first space) and throws an error.


command line:
/C C:\ani x264\ani-x264\tools\BePipe\BePipe --script "DirectShowSource(^C:\ani x264\ani-x264\tempfiles\[a4e]Great_Teacher_Onizuka_03_v2[divx5.1.1]\[a4e]Great_Teacher_Onizuka_03_v2[divx5.1.1]_aud1_und.ogg^).Normalize" | C:\ani x264\ani-x264\tools\neroAacEnc\neroAacEnc.exe -cbr 32000 -ignorelength -if - -of "E:\Encoded\[a4e]Great_Teacher_Onizuka_03_v2[divx5.1.1]_(1).mp4"

Lines returned by the BePipe cli & neroAacEnc cli:
'C:\ani' is not recognized as an internal or external command,
operable program or batch file.

Not that it's terribly hard to avoid, but it would be great if that were to be solved.

Sharktooth
24th October 2006, 16:54
it lacks "s...

GodofaGap
24th October 2006, 17:06
Trellis just work with subme 6 and 7
This is not true. Trellis 1 works on all subme settings.

Sirber
24th October 2006, 18:14
it lacks "s...What does that mean?

Sharktooth
24th October 2006, 18:16
"C:\ani x264\ani-x264\tools\BePipe\BePipe"

not

C:\ani x264\ani-x264\tools\BePipe\BePipe

kenji123
24th October 2006, 21:06
Settings:
* Trellis 2 is just slow, best use 1
* Trellis just work with subme 6 and 7
* No auto bframe mode
* No Fast P skip should be checked

General:
* changelog tab should be in About tab.
* no filtering?

*i don't agree that trellis 2 is slow, in my tests trellis 1 and 2 increased the encoding speed by at least 1 or 2 fps, if i remember correctly.
*yip seems i forgot the 'auto' option in bframe mode, thanx.
*why should the changelog tab be in about tab?
*filtering will be in beta2


I got it to encode an OGM file. It encoded every audio track as expected and the file works #1.
The thing I noticed is that the command lines do not seem to work in a folder with spaces in it's name. It takes the first part of the name (up to the first space) and throws an error.


command line:
/C C:\ani x264\ani-x264\tools\BePipe\BePipe --script "DirectShowSource(^C:\ani x264\ani-x264\tempfiles\[a4e]Great_Teacher_Onizuka_03_v2[divx5.1.1]\[a4e]Great_Teacher_Onizuka_03_v2[divx5.1.1]_aud1_und.ogg^).Normalize" | C:\ani x264\ani-x264\tools\neroAacEnc\neroAacEnc.exe -cbr 32000 -ignorelength -if - -of "E:\Encoded\[a4e]Great_Teacher_Onizuka_03_v2[divx5.1.1]_(1).mp4"

Lines returned by the BePipe cli & neroAacEnc cli:
'C:\ani' is not recognized as an internal or external command,
operable program or batch file.

Not that it's terribly hard to avoid, but it would be great if that were to be solved.

thanx for posting this. actually i came across that error before and just forgot too correct it. this will be fixed in beta2.



for beta2, i'm currently adding a bit more x264 options to the gui, filters and a feature to allow importing and exporting of profiles it will also support MeGui profiles. i'm still having trouble with the avs parser, so avs support my not be ready.

Sirber
24th October 2006, 21:28
too much tabs :p
changelog is useless and belong to About tab

In my tests trellis makes it slower. Can someone else confirm?

Sharktooth
24th October 2006, 21:30
Yes, trellis 2 is slows down the encode... while trellis 1 is almost unnoticeable.

Danisan
16th December 2006, 13:48
Hi!

Can you put up another download link for Ani-x264 1.0 Beta 2? I can't get it to download from the link on your site.

SeeMoreDigital
16th December 2006, 13:58
Can you put up another download link for Ani-x264 1.0 Beta 2? I can't get it to download from the link on your site.I think this project is dead now.....

kenji123
17th December 2006, 00:58
no it's not. the next version is almost complete. i'm planning to release it in 2-3 days. its just that i am adding in a gui for x264farm.

killerhex
17th December 2006, 03:00
nevermind the download links dont work

kenji123
22nd December 2006, 01:46
ok v1.1.5 is done and the links have been updated.

Danisan
22nd December 2006, 13:52
ok v1.1.5 is done and the links have been updated.

Thank you. I'll try it out right away. :)

EDIT:

I'm getting an error when I try to start it: "There was a problem while Ani-x264 tried to start. Try reinstalling this program to solve this issue."

kenji123
22nd December 2006, 18:23
I'm getting an error when I try to start it: "There was a problem while Ani-x264 tried to start. Try reinstalling this program to solve this issue."

strange.... are you sure the you/program has file I/O (read & write) permissions?

well replace the 'Ani-x264.exe' with this one here (http://kenji123.uni.cc/Ani-x264-exe-only.7z). if there is still an error this time it will return the full message.

Danisan
22nd December 2006, 20:33
strange.... are you sure the you/program has file I/O (read & write) permissions?

well replace the 'Ani-x264.exe' with this one here (http://kenji123.uni.cc/Ani-x264-exe-only.7z). if there is still an error this time it will return the full message.

Hi! I'm running it on a XP system and I'm running as an administrator. Permissions shouldn't be a problem. I've tried the new exe file and it give me the following error message: "Value of '9' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'. Parameter name: Value"

EDIT: Oh I forgot. The program does start after I press OK on the error message.

ehushagen
23rd December 2006, 02:35
I just set up a batch encode using AutoMKV, but I'll give this a shot tomorrow when I set up another. I'm intrigued entirely by the idea being able to set up a render farm b/w my main PC and my often-idle HTPC.

Any idea what kind of experience I'll have farming across a wireless network?

Danisan
23rd December 2006, 22:56
I seem to have found a bug. The value for "Bitrate Variance" can only be changed for whole numbers. The decimal value can't be changed. It's stuck on 0.1. (0.1, 1.1, 2.1 etc.) and x264 throws an error

x264 [error]: invalid argument: ratetol = 1,1

kenji123
25th December 2006, 05:18
Any idea what kind of experience I'll have farming across a wireless network?

It may be slow depending on how fast the main computer is, cause the controller on the main computer has to do all the splitting and job regulation. Other than that every thing should run smoothly.

I seem to have found a bug. The value for "Bitrate Variance" can only be changed for whole numbers. The decimal value can't be changed. It's stuck on 0.1. (0.1, 1.1, 2.1 etc.) and x264 throws an error

x264 [error]: invalid argument: ratetol = 1,1

ok, thanks. I'll add this to my todo list. still not sure where the previous error you posted came from.

Danisan
25th December 2006, 10:29
ok, thanks. I'll add this to my todo list. still not sure where the previous error you posted came from.

I'm not seeing that start up error any longer, weird. It's starts just fine now. :)

kenji123
1st January 2007, 03:04
ok, besides the bug fixes the next release will feature automated DVD encoding. I've already written the code just need to sync it with GUI and do some testing.

You will be able to chose which titles to encode and weather to join them into one file or keep them separate. It will also have a preview title option.

oh! Ani-x264 is now on Softpedia.com (http://www.softpedia.com/get/Multimedia/Video/Encoders-Converter-DIVX-Related/Ani-x264.shtml)

Unrealbr
1st January 2007, 14:23
The program wont even start for me.
It tells me to reinstall the program do solve the issue??? o.O
Anyways, i already got Frameworks 2.0 installedn and processor wouldnt be the problem since i'm using an C2D E6400

How can i reinstall something that has been ZIPPED?? o.O

kenji123
1st January 2007, 18:20
The program wont even start for me.
It tells me to reinstall the program do solve the issue??? o.O
Anyways, i already got Frameworks 2.0 installedn and processor wouldnt be the problem since i'm using an C2D E6400

How can i reinstall something that has been ZIPPED?? o.O

Yes its a bug, although it doesn't occur on the computers I've tested it on, but some persons get this error. This will be fixed in the next release, until then just use this quick work around here (http://kenji123.uni.cc/Ani-x264-exe-only.7z). It would display the error, but just click 'OK' and the program will start. Please post the error you get. The program was originally to be created as an installer thats why it says 'reinstall'.

DarkZell666
4th January 2007, 12:58
First, I struggled to download your GUI, because softpedia is obviously 128k-ISDN powered :p

Once the download finished (25 minutes later), the corporate firewall/proxy popped a message on me saying: "this file belongs to the 'Criminal Skills' category, and you aren't allowed to download it.", and dropped the connection.

This made me laugh at first, but would you be kind enough to post your GUI to an alternative download location plz ? ^^

kenji123
5th January 2007, 13:41
ok, here is a another mirror (http://84.95.247.4/~kenji12/ani-x264/Ani-x264-v1.1.5-setup.exe)

DarkZell666
5th January 2007, 14:32
Thx for the reupload ;)

However, I haven't been successful at all for the moment :

- First use: I encoutered the same problem as Unrealbr.
- I downloaded the workaround exe and launched it: "String 0.9 to Decimal conversion error", clicked ok, and it launched ok.
- Then I drag&dropped a random avi file into the GUI: after 10 seconds thinking, the GUI exited without any other message.
- I launched the GUI again, trying with another avi file: the avi file wouldn't appear in the input file list (just as if I hadn't dropped anything on it), but the "drag&drop files here" message dissapeared (so something must have happened but didn't finish).

- After exiting the GUI manually because this avi file wouldn't work, I was unable to restart the GUI at all because a 3rd error popped up "Ani-x264 has encountered an problem and must be closed immediately" (translated from french so maybe innacurate).

Uninstalling and reinstalling (+exe replacing) allows me to start the GUI again, but I still can't use it.

One side note which might have to do with the problem: I'm using .NET Framework (1.1 and 2.0 are both installed) on a XP pro SP1 machine. I'll have a try at home tonight if I can gather some time. Until then ... *crosses his fingers*

Edit, notes about the installer: during installation, the default install path is missing a "\" after "Program files", and during uninstallation, the Start menu & desktop shortcuts aren't removed.
Edit2: after reinstallation, launching the normal exe (not the workaround) works, so I think the error is about some setting not being initialised properly on first launch, but becomes correct after.

kenji123
5th January 2007, 16:02
seems i'll need to do a complete over haul of the start up procedure, and i'll also fixup the installer. As you said, some setting is not being initialized properly on first launch.

DarkZell666
8th January 2007, 16:20
I allowed myself to reupload the workaround exe here (http://xasonline.info/doom9/Ani-x264-exe-only.7z) because the links you provide to it are down :)
Edit: up'ed the v1.1.5 installer here (http://xasonline.info/doom9/Ani-x264-v1.1.5-setup.exe) too ^^

kenji123
9th January 2007, 14:57
thanks very much for the links DarkZell666

kenji123
24th May 2007, 02:15
new version

IzeKILL
24th May 2007, 10:22
Changelog link dont work...
Whats new?

DarkZell666
24th May 2007, 14:00
Just got version 1.3.8 ... and got the same silly "Conversion from string "0.9" to type decimal is not valid" (3 times in a row, on the same 0.9 value oO) http://xeoteam.info/anix264-1.3.8_1st_launch.png

Will try it more extensively later on :)

kenji123
24th May 2007, 15:18
changelog link now works


think i got it fixed this time DarkZell666, changed the associated control combo to numeric box.

download and replace the exe with this one here (http://www.hotlinkfiles.com/files/43891_zicb9/Ani-x264-1.3.8%28fix%29.zip]Ani-x264-1.3.8(fix).zip).

please let me know if it works so that i can rebuild the installer.

Kayser
24th May 2007, 19:14
I'm trying this version out but can't get it to output audio... My sources are OGM files. From what I can see, the files are properly converted to matroska and the audio tracks that fail to encode are correctly demuxed. I mean, the files that fail to encode DO exist and are playable with an external app.
Hope this meager report helps in any way :)
Logs below

--------------------------------------------------------------------------------
remuxing to a mkv container

command line:
-o "F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_vid.mkv" --engage allow_avc_in_vfw_mode "G:\[a4e]Video_Girl_AI_03[divx5].ogm"

lines returned by the mkvmerge cli:
'G:\[a4e]Video_Girl_AI_03[divx5].ogm': Using the OGG/OGM demultiplexer.
'G:\[a4e]Video_Girl_AI_03[divx5].ogm' track 0: Using the MPEG-4 part 2 video output module.
'G:\[a4e]Video_Girl_AI_03[divx5].ogm' track 1: Using the Vorbis output module.
'G:\[a4e]Video_Girl_AI_03[divx5].ogm' track 2: Using the Vorbis output module.
'G:\[a4e]Video_Girl_AI_03[divx5].ogm' track 3: Using the text subtitle output module.
The file 'F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_vid.mkv' has been opened for writing.
The cue entries (the index) are being written...
Muxing took 34 seconds.


--------------------------------------------------------------------------------
extracting audio/subtitles

command line:
tracks "F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_vid.mkv" 3:"F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud0_jpn.ogg" 2:"F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud1_eng.ogg" 4:"F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_sub0_eng.srt"

lines returned by the mkvextract.exe cli:
Extracting track 3 with the CodecID 'A_VORBIS' to the file 'F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud0_jpn.ogg'. Container format: Ogg (Vorbis in Ogg)
Extracting track 4 with the CodecID 'S_TEXT/UTF8' to the file 'F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_sub0_eng.srt'. Container format: SRT text subtitles


--------------------------------------------------------------------------------
transcoding audio track 1

command line:
--script "DirectShowSource(^F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud0_jpn.ogg^).Normalize().DelayAudio(0)" | "F:\Program Files\Ani-x264\tools\neroAacEnc\neroAacEnc.exe" -cbr 64000 -he -ignorelength -if - -of "E:\\[a4e]Video_Girl_AI_03[divx5]_aud0_encoded.mp4"%--script "DirectShowSource(^F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud1_eng.ogg^).Normalize().DelayAudio(0)" | "F:\Program Files\Ani-x264\tools\neroAacEnc\neroAacEnc.exe" -cbr 64000 -he -ignorelength -if - -of "E:\\[a4e]Video_Girl_AI_03[divx5]_aud1_encoded.mp4"%

lines returned by the BePipe cli & neroAacEnc cli:
BePipe by dimzon
***************************************
Script used:
# BEGIN
DirectShowSource("F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud0_jpn.ogg").Normalize().DelayAudio(0)
# END
Scanning for Audio Stream...
ERROR: Can't find audio stream!
*************************************************************
* *
* Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
* Copyright (C) 2006 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Feb 12 2007 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************

--------------------------------------------------------------------------------

log end: #May.24.2007_2.08.p.m_[a4e]Video_Girl_AI_03[divx5].ogm#


EDIT: I kind of found another "bug"... When you encode with the "video only" option checked and the file finishes encoding, the status in queue is still "encoding" and if you try to remove it from queue you get a warning stating that "this file is currently encoding". The start and end time of the encode are both correct. I checked with avi (xvid+mp3) files in "video and audio" mode and it's changed properly.

DarkZell666
24th May 2007, 20:47
changelog link now works

think i got it fixed this time DarkZell666, changed the associated control combo to numeric box.

download and replace the exe with this one here (http://www.hotlinkfiles.com/files/43891_zicb9/Ani-x264-1.3.8%28fix%29.zip]Ani-x264-1.3.8(fix).zip).

please let me know if it works so that i can rebuild the installer.

I still get the error with the fixed exe, and the changelog link still doesn't work (for me at least).
I also get the same error when I change video profile (for 0.5 this time :p).

Edit : it looks like it's the same .exe, it's exactly the same size ... :/

Edit2:
When clicking the "queue files" button, I get this :

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Conversion from string "" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)
at Ani_x264.CommandLineGenerator.x264(String inputFile, String outputFile, String videoOutCon)
at Ani_x264.ani_x264.cmdque_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Edit3: for those looking for the changelog since v1.1.5:

v1.3.8 - [May-23-2007]
------
* Now fully compatiable with Windows Vista
* GUI changes and bug fixes
* After encoding 'Shutdown PC' option now works
* Added more common audio and subtitle languages to choose from
* Fixed VBR audio encode error
* Fixed error when trying to transcode aac audio file
* Fixed process pause and resume issues
* Changing job status to waiting no longer result in an error
* Added various MeGUI profiles
* Updated import and export capabilities with MeGUI profiles
* Removed x264FARM
* Created program icon
* Other minor fixes and code changes

kenji123
25th May 2007, 00:21
I'll work more on this and try to get these errors fixed. Thanks for testing it out and report any other bugs you may find.

Kayser
28th May 2007, 04:57
kenji123, I was wondering, is Ani-x264 open source? If it is, can you tell me where can I get the source to take a look?... I'm sorry if this has been asked before, I couldn't find it

kenji123
31st May 2007, 03:02
kenji123, I was wondering, is Ani-x264 open source? If it is, can you tell me where can I get the source to take a look?... I'm sorry if this has been asked before, I couldn't find it

Haven't given much thought to open source, and don't worry, you're the first to ask. I was planning to make Ani-x264 open source after a bit more development, cause this is my first program and I just want to make sure that I get it done right the first time. Besides, the code still needs more comments added in and other stuff, but it will be open source soon.

If you still want to see the source, I can send you it, but there hardly any exclamatory comments in it right now.

IzeKILL
2nd June 2007, 19:44
download and replace the exe with this one here (http://www.hotlinkfiles.com/files/43891_zicb9/Ani-x264-1.3.8%28fix%29.zip]Ani-x264-1.3.8(fix).zip).

"File not found!"

kenji123
11th June 2007, 18:00
I need someone to test this build, concerning the errors DarkZell666 & Kayser posted, as well as a few other changes. It can be obtained here (http://www.hotlinkfiles.com/files/73107_zhzqt/Ani-x264-1391.zip). You must replace the old Ani-x264 executable with the one in the archive.


Just got version 1.3.8 ... and got the same silly "Conversion from string "0.9" to type decimal is not valid" (3 times in a row, on the same 0.9 value oO) http://xeoteam.info/anix264-1.3.8_1st_launch.png

Will try it more extensively later on :)

Edit2:
When clicking the "queue files" button, I get this :

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Conversion from string "" to type 'Double' is not valid. ---> System.FormatException:

Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)
at Ani_x264.CommandLineGenerator.x264(String inputFile, String outputFile, String videoOutCon)
at Ani_x264.ani_x264.cmdque_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


The "Conversion from string" errors are caused because strings are trying to be converted to decimal values. These errors were found where saving and loading gui settings and command line generation code.




I'm trying this version out but can't get it to output audio... My sources are OGM files. From what I can see, the files are properly converted to matroska and the audio tracks that fail to encode are correctly demuxed. I mean, the files that fail to encode DO exist and are playable with an external app.
Hope this meager report helps in any way :)
Logs below

--------------------------------------------------------------------------------
remuxing to a mkv container

command line:
-o "F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_vid.mkv" --engage allow_avc_in_vfw_mode "G:\[a4e]Video_Girl_AI_03[divx5].ogm"

lines returned by the mkvmerge cli:
'G:\[a4e]Video_Girl_AI_03[divx5].ogm': Using the OGG/OGM demultiplexer.
'G:\[a4e]Video_Girl_AI_03[divx5].ogm' track 0: Using the MPEG-4 part 2 video output module.
'G:\[a4e]Video_Girl_AI_03[divx5].ogm' track 1: Using the Vorbis output module.
'G:\[a4e]Video_Girl_AI_03[divx5].ogm' track 2: Using the Vorbis output module.
'G:\[a4e]Video_Girl_AI_03[divx5].ogm' track 3: Using the text subtitle output module.
The file 'F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_vid.mkv'

has been opened for writing.
The cue entries (the index) are being written...
Muxing took 34 seconds.


--------------------------------------------------------------------------------
extracting audio/subtitles

command line:
tracks "F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_vid.mkv"

3:"F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud0_jpn.ogg"

2:"F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud1_eng.ogg"

4:"F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_sub0_eng.srt"

lines returned by the mkvextract.exe cli:
Extracting track 3 with the CodecID 'A_VORBIS' to the file 'F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud0_jpn.ogg'. Container format: Ogg (Vorbis in Ogg)
Extracting track 4 with the CodecID 'S_TEXT/UTF8' to the file 'F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_sub0_eng.srt'. Container format: SRT text subtitles


--------------------------------------------------------------------------------
transcoding audio track 1

command line:
--script "DirectShowSource(^F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud0_jpn.ogg^).Normalize().DelayAudio(0)" | "F:\Program Files\Ani-x264\tools\neroAacEnc\neroAacEnc.exe" -cbr 64000 -he -ignorelength -if - -of "E:\\[a4e]Video_Girl_AI_03[divx5]_aud0_encoded.mp4"%--script "DirectShowSource(^F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud1_eng.ogg^).Normalize().DelayAudio(0)" | "F:\Program Files\Ani-x264\tools\neroAacEnc\neroAacEnc.exe" -cbr 64000 -he -ignorelength -if - -of "E:\\[a4e]Video_Girl_AI_03[divx5]_aud1_encoded.mp4"%

lines returned by the BePipe cli & neroAacEnc cli:
BePipe by dimzon
***************************************
Script used:
# BEGIN
DirectShowSource("F:\Program Files\Ani-x264\tmpfiles\[a4e]Video_Girl_AI_03[divx5].ogm\[a4e]Video_Girl_AI_03[divx5]_aud0_jpn.ogg").Normalize().DelayAudio(0)
# END
Scanning for Audio Stream...
ERROR: Can't find audio stream!
*************************************************************
* *
* Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
* Copyright (C) 2006 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Feb 12 2007 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************

--------------------------------------------------------------------------------

log end: #May.24.2007_2.08.p.m_[a4e]Video_Girl_AI_03[divx5].ogm#



still not too sure what hapened there, didn't get this error during testing. try again with this new build.




EDIT: I kind of found another "bug"... When you encode with the "video only" option checked and the file finishes encoding, the status in queue is still "encoding" and if you try to remove it from queue you get a warning stating that "this file is currently encoding". The start and end time of the encode are both correct. I checked with avi (xvid+mp3) files in "video and audio" mode and it's changed properly.


This was caused by a few lines of code I left out. will work correctly now.




if any other bugs are found please post them.

Kayser
12th June 2007, 00:52
The audio encoding error is not there anymore, it could've been something missing on my part... Thank you for the fixes :)
I found another error. When you encode an ogm file and leave "Same as source" for output directory, the encoded file ends up in the temp directory of Ani-x264... I presume this has something to do with the fact that you do ogm to mkv conversion. Maybe you're taking the output directory from the converted file and not the original ogm? Just a guess.
Thank you again :)

EDIT: Testing, I found out that the output file bug I'm talking about doesn't always happen... I'm encoding a big batch of files right now (40+) and they are being correctly outputted. Maybe it only happens with only one file in queue?... I just hope I'm not troubling you with some error on my part.

kenji123
14th June 2007, 01:11
Actually, the error only occurs when the output directory is set to [Same as source]. This was caused by a change in the GUI, and me forgetting to update the affected code. Neither was it caused by the ogm to mkv conversion nor was it an error on your part.

I'm guessing you changed the output directory, and thats why the error isn't reoccurring.

If the 40+ batch doesn't reveal any other errors then the final build for this version can be compiled, and also release the source code.

Thanks for all the testing you've done, much appreciated. :)

Jerry_Sm@rt
17th June 2007, 11:31
I drop a video only avs in,and the 1st pass goes well,but the 2nd pass is not started.
log start: #Jun.17.2007_10.45.a.m_test.avs#

---------------------------------------------------------------------
creating avisynth script

script generated:

# Created with Gordian Knot
#
# http://gknot.doom9.org

# PLUGINS
LoadPlugin("D:\RipTool\Video\h.264\MeGUI\EXE\DGDecode.dll")

# SOURCE
mpeg2source("G:\anime\VTS_01_1.d2v")

# CROPPING
#crop( 8, 14, -8, -18)
AUTOCR(640,1)
# RESIZING
#LanczosResize(640,336)
#audiodub(last,wavsource("VTS_01_1 T01 48K 16bit 2ch.wav").Amplifydb(7))




---------------------------------------------------------------------
analysing video

command line:
--pass 1 --bitrate 350 --stats "C:\Program Files\Ani-x264\tmpfiles\test.avs\test.stats" --bframes 3 --b-pyramid --subme 1 --analyse none --me dia --threads auto --thread-input --progress --no-psnr --no-ssim --output NUL "C:\Program Files\Ani-x264\tmpfiles\test.avs\test.avs"

lines returned by the x264 cli:

avis [info]: 640x336 @ 23.98 fps (2479 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE 3DNow!
x264 [info]: slice I:13 Avg QP:17.08 size: 23629
x264 [info]: slice P:675 Avg QP:19.00 size: 3782
x264 [info]: slice B:1791 Avg QP:20.73 size: 953
x264 [info]: mb I I16..4: 34.4% 0.0% 65.6%
x264 [info]: mb P I16..4: 8.3% 0.0% 0.0% P16..4: 62.4% 0.0% 0.0% 0.0% 0.0% skip:29.3%
x264 [info]: mb B I16..4: 0.4% 0.0% 0.0% B16..8: 14.8% 0.0% 0.0% direct:15.8% skip:69.1%
x264 [info]: final ratefactor: 21.54
x264 [info]: kb/s:353.4
encoded 2479 frames, 17.81 fps, 353.46 kb/s

---------------------------------------------------------------------
encoding video

command line:
--pass 2 --bitrate 350 --stats "C:\Program Files\Ani-x264\tmpfiles\test.avs\test.stats" --vbv-maxrate 4000 --ref 3 --mixed-refs --no-fast-pskip --analyse all --8x8dct --bframes 3 --b-pyramid --weightb --bime --direct auto --threads auto --thread-input --progress --no-psnr --no-ssim --output "G:\anime\test_encoded.mp4" "C:\Program Files\Ani-x264\tmpfiles\test.avs\test.avs"

lines returned by the x264 cli:

kenji123
18th June 2007, 03:02
thank you for reporting this. the bug has been fixed. (caused by not setting job in progress to false for avs and d2v files)

simply get the update installer from the first post.

Jerry_Sm@rt
18th June 2007, 09:15
That's a quick fix!
It would be better if u add a bitrate calculator module

Jerry_Sm@rt
18th June 2007, 12:43
A little UI bug?the options could not be displayed completely

kenji123
19th June 2007, 06:04
I think its the font style your operating system is using thats causing that. on XP and Vista default themes all options are clearly shown.

dansus
21st June 2007, 11:37
Is mpeg2 input support in the works?

Why remove farm option, thats the best bit.

Jerry_Sm@rt
21st June 2007, 13:30
I think its the font style your operating system is using thats causing that. on XP and Vista default themes all options are clearly shown.

I still got that problem after switching to xp default theme,anyway to chage system default font?

Eretria-chan
14th September 2007, 22:30
I get the same problem as DarkZell666 when I click Quene Items. The newest build didn't help. All settings are default.
It's a shame because this looks like a really good GUI, akin to RealAnime.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Conversion from string "" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)
at Ani_x264.CommandLineGenerator.x264(String encodeMode, String inputFile, String outputFile, String videoOutCon) in E:\[8]Coding\Ani-x264\Ani-x264\CommandLineGenerator.vb:line 698
at Ani_x264.ani_x264.cmdque_Click(Object sender, EventArgs e) in E:\[8]Coding\Ani-x264\Ani-x264\Ani-x264.vb:line 2137
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Ani-x264
Assembly Version: 1.0.0.0
Win32 Version: 1.3.9.2
CodeBase: file:///C:/Program%20Files/Ani-x264/Ani-x264.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

kenji123
15th September 2007, 22:47
thanks for reporting this Eretria-chan. Silly me didn't do a string to integer conversion.

heres how it looks

If ani_x264.txtvbbufs.Text > 0 Then cli.AppendFormat("--vbv-bufsize {0} ", ani_x264.txtvbbufs.Text)

If ani_x264.txtvbmbit.Text > 0 Then cli.AppendFormat("--vbv-maxrate {0} ", ani_x264.txtvbmbit.Text)


it should be

If CInt(ani_x264.txtvbbufs.Text) > 0 Then cli.AppendFormat("--vbv-bufsize {0} ", CInt(ani_x264.txtvbbufs.Text))

If CInt(ani_x264.txtvbmbit.Text) > 0 Then cli.AppendFormat("--vbv-maxrate {0} ", CInt(ani_x264.txtvbmbit.Text))


i'll run back through the program line by line and do a full check.
i'll also make a update installer with the updates.

thanks again,
regards.

Eretria-chan
16th September 2007, 00:00
Sure thing!
Waiting for an update! Can't wait! :D

Eretria-chan
30th September 2007, 02:14
What happened to this project? Are you simply busy?

kenji123
22nd October 2007, 03:52
What happened to this project? Are you simply busy?

yes i've been busy for the past few weeks. sadly thats just how life is sometimes.

ok, this update just has bug fixes and such, currently working on a more drastic update which would include the redesign of the GUI and reintegrating x264FARM. source code now also available from here (http://kenji123.uni.cc/?x=ani-x264.php#download). (i'm just a novice, so expect redundant and inefficient code, also sadly, no comments are included)

Eretria-chan
22nd October 2007, 04:09
I see.
But there's two suggestions, if you don't mind.
First, I don't think it's too good an idea to reply on ProcessHandler.exe since some AV & anti-spyware programs see it as a security risk (like NOD32).
And second, the quit message, when quitting ani-x264 may be a little confusing. Perhaps consider removing the "or did your mouse get a little eager?" part. It makes it easier to understand what to click.
Oh and thirdly, ASK if the user wants a desktop shortcut. I always find it annoying that installera put shortcuts on my desktop all the time without asking so I normally deny access to my desktop through the security tab.

NeroAAC is missing and the link points to Nero Digital. It would be great if you could point the link to place to download the thing directly, if such is possible.

Atak_Snajpera
22nd October 2007, 11:17
NeroAAC is missing and the link points to Nero Digital. It would be great if you could point the link to place to download the thing directly, if such is possible.
It's forbidden !!!

Eretria-chan
22nd October 2007, 16:09
Not pointing to a link where to download it or the package you can get it from. Hosting the file elsewhere and such, yes, but not pointing to the package where to acquire it (from nero).
The link in the app links to the useless page that described Nero Digital. It doesn't even have a download link nor say if it's hidden somewhere in Nero Digital, or even where.

kenji123
23rd October 2007, 06:41
I see.
But there's two suggestions, if you don't mind.
First, I don't think it's too good an idea to reply on ProcessHandler.exe since some AV & anti-spyware programs see it as a security risk (like NOD32).
And second, the quit message, when quitting ani-x264 may be a little confusing. Perhaps consider removing the "or did your mouse get a little eager?" part. It makes it easier to understand what to click.
Oh and thirdly, ASK if the user wants a desktop shortcut. I always find it annoying that installera put shortcuts on my desktop all the time without asking so I normally deny access to my desktop through the security tab.

NeroAAC is missing and the link points to Nero Digital. It would be great if you could point the link to place to download the thing directly, if such is possible.

Thanks for your suggestions. Especially points 2 & 3, which others have also told me about.


Nero site has changed and now NeroAAC is gone. can't locate it on thier site anymore.

softpedia has it though. if you google neroaacenc, it should be the second result.

Eretria-chan
23rd October 2007, 07:43
Then maybe you should link to it in the future?
ERROR: Can't convert string to double - default settings.

kenji123
24th October 2007, 13:22
Then maybe you should link to it in the future?

most likely, yes.


ERROR: Can't convert string to double - default settings.

if this came from a log file it shoud have a line number with it. if not could could u tell me with this error occurred?

Eretria-chan
24th October 2007, 19:16
Ah, I didn't notice it produced logs. But here it is:

---------------------------------------------------------------------
#Oct.22.2007#
Error applies to: Ani-x264
On line: 271, Thrown by: readProfile

[4:11 a.m.] Värdet på 5 är inte giltigt för Value. Value ska vara mellan 'Minimum' och 'Maximum'.
(The value 5 is not a valid number for Value. Value should be between 'Minimum' and 'Maximum'.)
Parameternamn: Value
---------------------------------------------------------------------

I assume it's just .NET showing the error in local language?

kenji123
24th October 2007, 22:18
I assume it's just .NET showing the error in local language?

yes, i think so.


I believe the problem lies with the actual saved profile. either the profile was manually edited, corrupt or something else.

Because when checking through all the profile's numeric values and comparing them against the GUI's numeric object's maximum and minimum values, every thing was ok.

Then I manually edited one of the profiles, and changed a decimal value 0.5 to 5. and arrived at the same error that you posted.


---------------------------------------------------------------------
#Oct.24.2007#
Error applies to: Ani-x264
On line: 271, Thrown by: readProfile

[4:13 p.m.] Value of '5' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
---------------------------------------------------------------------


not sure if you tried uninstalling the application and running the installation again, if not then please do. and be sure that all previous profiles are deleted before installation.

Eretria-chan
24th October 2007, 22:54
Will do.
I just removed the folder and re-installed. Then I added an ogm to the list and lickc quene.
Error again, the same if I'm not mistaken:

---------------------------------------------------------------------
#Oct.24.2007#
Error applies to: Ani-x264
On line: 271, Thrown by: readProfile

[11:04 p.m.] Värdet på 5 är inte giltigt för Value. Value ska vara mellan 'Minimum' och 'Maximum'.
Parameternamn: Value
---------------------------------------------------------------------

kenji123
27th October 2007, 21:12
Well then, I really don't know what the problem could be. neither on my pc which runs vista nor the other two pcs i have (windows xp sp2) return an error. even when debugging in visual studio, no exceptions were raised.

DarkZell666
28th October 2007, 11:03
I think I understand what's going on.
I also got tons of those "Sting to Double" conversion errors.
How did I fix them ?

1- Many textboxes don't contain a default value. I have encountered several popup errors saying converting "" string to double wasn't a valid conversion (which is indeed correct, lol). So I manually filled in all the fields (vbv buffer size and bitrate for ex :P)
It also seems you don't populate all the options from the profiles in the GUI (unless the profiles lack those options completely, I didn't check). You need to strengthen the "how to manage the default settings" aspect.

2- String values need a , instead of a . to be converted to Double properly ! (at least on my system with a Locale.FR configuration :)) Haha, fancy being used to enter a . everywhere ... <_< I even think it indeed should be . if you're in the US xD

So once I filled in all the fields in the GUI and replaced the . to , where I could, I could actually cue a file for encoding ! ;)

But then, I launched encoding ... and once x264 needed those parameters, it errored saying :
x264 [error]: invalid argument: vbv-bufsize = 0,9.... :cool:

I'd suggest you use a spin field for the vbv size with a step of say, 0.05, and get the string representation of that field using the US locale to use as a parameter for x264, though this is a something you could apply to other fields I guess.

Eretria-chan
28th October 2007, 17:37
Well then, I really don't know what the problem could be. neither on my pc which runs vista nor the other two pcs i have (windows xp sp2) return an error. even when debugging in visual studio, no exceptions were raised.

Maybe add more debug logging, logging each failed conversion and especially what FIELD that failed to convert.
Let's make this into a terrific GUI, shall we?!
Or maybe you should make your settings default. You know, create a new profile, bundle it with the app? Maybe it will work.

kenji123
29th October 2007, 12:28
thanks DarkZell666, your post indeed sheds light on the situation. will check it out as soon as I could.

Maybe add more debug logging, logging each failed conversion and especially what FIELD that failed to convert.

thats a good idea, will try to do that.

kenji123
23rd November 2007, 06:07
ok, DarkZell666 was right about the Locale configuration being the cause.

I switched to a French locale configuration using a application called, LocTester. All the "Sting to Double" conversion errors mentioned before showed up.

Now i've made changes to the program again :( changing up how both jobs and profiles are loaded and saved, then tested it using the same LocTester. Things seem to work without error.

If DarkZell666, Eretria-chan or anyone who were getting errors before, test this build here (http://kenji123.uni.cc/ani-x264/Ani-x264-13115.7z)

just extract the files to a new folder, then copy the 'tools' folder from the existing Ani-x264 installation into the new folder.


hope it works -_-

Eretria-chan
23rd November 2007, 07:17
We have success! At first glance, it seems to start the encoding chain!
I don't have time to watch it complete at this time, but at least you've made progress!

DarkZell666
23rd November 2007, 11:34
Thx for the update !

It works like a charm now, and the useability is pretty good :D
I'll try using it for a massive batch I have to run and see if any quirks show up ^^

Just a quick wishlist, which might encourage more people to use it :
- Add CRF and CQ modes support (just add the corresponding items in the dropdown box and a second textbox that you'd selectively enable/disable according to what's selected in the dropdown box, just like you did with ABR/VBR/CBR for the audio)
- Add a "custom avisynth commands" text zone (a multi-line text zone that will be inserted into the internally generated avs script, ie: before the ConvertToYV12() line). This allows people to add whatever they like to the script, without you having to go through the hassle of coding too much avisynth-specific stuff.
- Allow the resize dimensions to go up to 1920 *1080

Thumbs up ! :thanks:

Eretria-chan
23rd November 2007, 18:19
I think you should clean up the profile list too. It's a hassle to know what profile is good for what and what to use.

killerhex
23rd November 2007, 22:21
anyone have the updater patch

DarkZell666
23rd November 2007, 22:43
Download full versiom from post #1 and get fixed files from post #71.

kenji123
25th November 2007, 22:39
great to hear that it works now.

i've already started working on reintegrating x264FARM, while also taking heed to your suggestions. just say if any quirks show up, before i go to far ahead of myself.

thanks for your help.

Eretria-chan
25th November 2007, 23:37
Seems to be working so far.
Only thing I noticed is when I set VBR AAC to 0.3, audio encoding failed.
Nero split out this error:
H:\Apps\Ani-x264\tools\neroAacEnc\neroAacEnc.exe -ignorelength -q 0.3 -hev2 -if - -of "H:\Apps\Ani-x264\tmpfiles\[Vegapunk]_One_Piece_311_HD_[A3D9B547].avi\[Vegapunk]_One_Piece_311_HD_[A3D9B547]_aud1_und.mp4"

lines returned by the neroAacEnc cli:

Channels=2, BitsPerSample=16, SampleRate=48000Hz
Preprocessing...
Encoding audio...
*************************************************************
* *
* Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
* Copyright (C) 2006 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Feb 12 2007 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************
Det går inte att konvertera strängen till typen Integer.
(Can not convert string to type integer).

Eretria-chan
28th November 2007, 17:56
OK, serious problems here:
Ani-x264 doesn't support filenames with "," which is kinda silly. Plus everytime I drop such a file it simply complains it doesn't support them, but doesn't say what filename, so when I put in a lot of files, I don't know which one it is!
Further, it aborts processing the REST of the files too because of that error so I have NO IDEA which files I've added and not.
It also doesn't support directories, folder and recursion. Drop a folder and it'll warn about incompatible file, while IMO, it should search through the folder(s) and add all the files within.
It's also very slow when dropping files, locking Explorer in the process because it's so slow to parse the files and so.
Click Quene Files is even slower.
It's very possible to add duplicates to the queue. Perhaps warn if the same file is already added?
Also consider using the real temp directory %TEMP% instead of install_path\tmpfiles. Works better for non-admins and can be cleaned up later.

Another problem with that pesky audio encoding, which always seem to be troublesome:

transcoding audio track 1

command line:
H:\Apps\Ani-x264\tools\neroAacEnc\neroAacEnc.exe -ignorelength -q 0.4 -hev2 -if - -of "H:\Apps\Ani-x264\tmpfiles\[AHQ] Elfen Lied - 04 - Attack.mkv\[AHQ] Elfen Lied - 04 - Attack_aud0_eng.mp4"

lines returned by the neroAacEnc cli:

Channels=5, BitsPerSample=16, SampleRate=44100Hz
Preprocessing...
Encoding audio...
ERROR: Unsupported encoding configuration
*************************************************************


I suppose it needs to be 48KHz? Perhaps a filter to change this, or some other way if it exists? I don't know.
Also consider doing audio encoding before video encodingh. In case there's an audio problem, the video encoding isn't ruined (which takes such a lot of time).

Atak_Snajpera
28th November 2007, 23:27
Channels=5
That's the problem not sample rate. It should be 6!
Try to use different AC3 decoder. If audio is demuxed I suggest NicAudio plugin for AviSynth.

Eretria-chan
29th November 2007, 20:47
The audio is AAC, if I'm not mistaken. FFDshow decodes it with libfaad. I can try realaac, though.

mckiejohn
3rd March 2008, 21:02
Excellent peice of software, but I do have some issues that I need help with.

First of all the out-put file seems to have some audio synch issues. It's maybe a second out of synch - not much but it is distracting during playback. Is there anywhy to fix this? I have all the relevent codecs, and Nero AAC installed. I've tried re-encoding two HD files and the same audio problem has occured.

Also, is it possible to set the out-put file size, or does that app determine this during encoding?

The out-put size isn't realy an issue, but I do need some help with the out of synch audio. Is there software I can use to fix this and then save the changes made?

kenji123
24th March 2008, 05:56
Excellent peice of software, but I do have some issues that I need help with.

First of all the out-put file seems to have some audio synch issues. It's maybe a second out of synch - not much but it is distracting during playback. Is there anywhy to fix this? I have all the relevent codecs, and Nero AAC installed. I've tried re-encoding two HD files and the same audio problem has occured.

Also, is it possible to set the out-put file size, or does that app determine this during encoding?

The out-put size isn't realy an issue, but I do need some help with the out of synch audio. Is there software I can use to fix this and then save the changes made?


my apologies for replying to your post so late.

If the audio is consistently a second out of sync then the output file can be easily adjusted by using mkvmerge and setting the audio delay by 1000 ms. However if the audio sync varies, then it could be a result of a problem with the original HD file. Does this problem occur when encoding the HD file with another software?


In the next version I can add an option to specify an out-put file size.

Dustin013
3rd May 2008, 01:09
I have been playing around with some different programs out there and I am liking this program a lot! (Where are the x264farm features?)

I could use some assistance in creating a profile. I have been unable to get Ani-x264 to work on my IPhone. When I use FFMPEG with the following options the encode will work.

ffmpeg.exe -y -i "C:\Test.avi" -f mp4 -title "Test" -vcodec libx264 -level 21 -s 426x320 -r 24000/1001 -b 308k -bt 308k -bufsize 2000k -maxrate 400k -g 250 -coder 0 -threads 4 -acodec libfaac -ac 2 -ab 92k "C:\Test.mp4"

How would I convert this into a profile to be used with Ani-X264?

Thanks in advance!

Southstorm
3rd May 2008, 01:31
Add this attachement to the "profiles" directory and see if it will work for your iPhone. Be sure to remove the TXT extension from it so the filename is just "PD-iPhone.xml"

I created an XML profile based on your FFMpeg settings.

tentbent
6th May 2008, 03:54
I don't know if this is the place to be asking about ani-x264 problems but my log comes back with this

log start: #May.5.2008_8.52.p.m_BECK- Mongolian Chop Squad - 01 - The View at 14 [C-W].avi#

---------------------------------------------------------------------
#May.5.2008#
Error applies to: Job 2 (BECK- Mongolian Chop Squad - 01 - The View at 14 [C-W].avi)
On line: 160, Thrown by: changePriority

[8:52 p.m.] Access is denied
---------------------------------------------------------------------

---------------------------------------------------------------------
remuxing to a mkv container

command line:
-o "C:\Program Files\Ani-x264\tmpfiles\BECK- Mongolian Chop Squad - 01 - The View at 14 [C-W].avi\BECK- Mongolian Chop Squad - 01 - The View at 14 [C-W]_vid.mkv" --engage allow_avc_in_vfw_mode "C:\Program Files\BECK- Mongolian Chop Squad 01-26 [C-W]\BECK- Mongolian Chop Squad - 01 - The View at 14 [C-W].avi"

lines returned by the mkvmerge cli:


---------------------------------------------------------------------

log end: #May.5.2008_8.52.p.m_BECK- Mongolian Chop Squad - 01 - The View at 14 [C-W].avi#

I have given all of the software's applications administrater priviliges
any ideas peeps

steve51184
4th August 2008, 07:43
hi i LOVE this program but i have a question: when i convert something it always get set to 19.1 frames.. why is this and what do i set it so it's the same as the source file?

grkn
17th November 2009, 00:57
In windows 7 64 bit drag and drop doesn't work :|

steban1990
7th January 2010, 22:11
plis kenjiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii, thanks for this ubber software i love it, and still, but now that my pc is working with window 7, i cant use it at all, pliss i need you to make it support it, I BEG YOU, no software deliver the quality it does, and its simplicity is the love of my encoding life, omg if i would have knew that window 7 is so short-fck of compatibility i would have stayed in xp without paying that tard-much of money for this crappy os, hope you read this, thanks a lot.

Alex_080
8th January 2010, 09:18
Nice software...any update of components??

steban1990
9th January 2010, 08:13
Try Bencos, the ... successor?

I dont know, i will try it out thanks, but indeed i would love to keep using this one since the quality from avi source is freaking good to me, thought to go back to xp for this one but i will try to wait, this is the least that could be done, hope kenji does hear us out, i really like this software.:p

steban1990
9th January 2010, 18:13
Ok thanks, thus far the only problem with the software is the option for put the files you want to encode in, the only way is the drag/ drop(if at least there were another way with an put files in)it could do if you start the software in admin mode but if you don´t it would from nowhere shut down itself(i guess it is some compatibility issues), but the option just doesn't seem to exist no-where, btw thanks for the software advice.

Alex_080
12th January 2010, 01:23
can we change or edit Display aspect ratio of video file in Ani-x264??
What is mean of this
x264 [warning]: VBV maxrate specified, but no bufsize.

kenji123
12th January 2010, 20:43
Currently rewriting most of the application. Expect something hopefully by the end of the week.

steban1990
13th January 2010, 06:07
Currently rewriting most of the application. Expect something hopefully by the end of the week.

In serious.....................NICEEEE to see ya back, thanks a lot for these news, waiting for any future updates !!!THANKS A LOT.

Alex_080
14th January 2010, 13:17
Currently rewriting most of the application. Expect something hopefully by the end of the week.
it's good news...i also wait for new Ani-x264.
Thanks:):):):)

kenji123
21st January 2010, 01:14
Most of the coding is done, just fine-tuning the processes used and doing a lot of testing. Work just started back this week, will try hard to get it to a releasable state. Most of the testing right now is with x264farm.

Alex_080
21st January 2010, 02:24
Most of the coding is done, just fine-tuning the processes used and doing a lot of testing. Work just started back this week, will try hard to get it to a releasable state. Most of the testing right now is with x264farm.
That sounds good take your time and make Ani-x264 more better:).

steban1990
23rd January 2010, 08:49
That sounds good take your time and make Ani-x264 more better:).

Oh come on, more good than it is with xp, i wouldnt ask for more, since the soft fo´me is just sweet, but sure thing is, take lot of the time you need there, dunno rush it, i know this software gonna be the bomb for me, thanks a lot kenji.

Alex_080
4th February 2010, 08:55
Hi, waiting for your next update kenji123

Alex_080
6th February 2010, 14:43
hi kenji123
Ani-x264 works great but one problem i face that it is not maintain the DAR of input file to output file mean when i encode a 16:9 DAR file it encode perfectly but it change DAR to 1.500 but i want same DAR as input file to output file. Can i do with Ani-x264 please help!

kenji123
7th February 2010, 18:13
Correct me if I'm wrong. Avisynth doesn't (as far as i know) retain any DAR info. I believe it's auto-detected by x264 and/or by mkvmerge. Ani-x264 (v1.x) doesn't pass DAR to x264, mkvmerge, or mp4box. The version of x264 and/or mkvmerge may be the problem as I'm not sure if those versions (they're probably months old by now) that are bundled with Ani-x264 auto-detect DAR.

Truly I've never paid too much attention to DAR since most of the time it comes out correct for me.

Alex_080
7th February 2010, 21:58
ur write kenji123...can u fix it in your next version of Ani-x264.

Can u tell me when new Ani-x264 version come please??

steban1990
11th February 2010, 22:44
any news sir kenji, when is it coming out¿?:confused::confused:

Dexter Dude
16th February 2010, 08:50
Can't wait to try it! Thank you for your work !

Alex_080
19th February 2010, 02:01
re-encoding a dual audio .mkv file to .mkv shows a error please help

Error: No language specified in '--language 0:'

Complete Log File:
http://www.mediafire.com/?iwmmz5j3dmu

steban1990
20th February 2010, 06:04
hey use this meanwhile till kenshi is ready for set a release date

http://minicoder.minitech.org/index.php?title=Main_Page

you´ll love it, i use to encode low size anime , the site project is called minitheatre.org now .info if you want give it a try, and that is our mainly encoder gui, pretty good and is update frequently though hasn't lastly since seem like there are problem with the time of the author, but expect some updates soon, though right now it acept quite a range of input w/e low rate of error into, anyway i assure you it will be your new love.

still hoping a lot for your gui sir kenshi.

Neillithan
20th February 2010, 21:59
Hi, I have some suggestions for Ani-x264.

I noticed FFDShow and Avisynth are checked during the installation of Ani-x264. I already have the latest versions of those 2 things installed. Perhaps give a benefit of the doubt and uncheck those if they're detected on your system.

Allow a video bitrate higher than 10,000. There should not be a limit on the number of digits allowed to type in the bitrate input box.

AAC-LC should be selected by default, with an ABR of at least 128 (preferably 160). Otherwise, use VBR with a quality of at least 0.5 by default. (I see 0.5 is already the default).

Preferred audio language should be English by default.

Output container should be MP4 by default.

Perhaps use FAAC as default, that way beginners don't have to go download the NeroAAC encoder? FAAC works just fine.

Thanks,
-Neil

jofori89
26th March 2010, 01:45
Why cant it import audio from avs file? in avs audio=true and no problem with other GUIs.

Ani-x264
The file '[Vi-Anime]_Black_Cat_14_audio' is an AviSynth file, and AviSynth files currently only work with 'video only' encode mode, and you have selected 'video & audio' encode mode. Add this job as 'video only'? Otherwise it will be removed from the queue list.

MajorX
20th May 2010, 23:09
hi kenji123
In Ani-x264 while encoding anime source should i enable Deinterlace and Inverse Telecine option??????

MajorX
3rd June 2010, 04:13
i face a error during encoding a file??

Error: No language specified in '--language 0:'

killerhex
10th September 2010, 17:59
does this work on windows 7

fusebyte
3rd March 2011, 14:34
Last updater is offline
Can reup?
Tk's

fusebyte
19th March 2011, 13:43
Please can reup last GUI upgrade?
tk's