View Full Version : ASXGui 1.9.4 (Any Video to MP4/x264/AAC or MKV/x264/AC3)
Pages :
1
2
3
[
4]
5
6
7
8
9
morphinapg
23rd May 2008, 23:07
Not really.
What's wrong, is autocrop not working for you?
I know you like to keep your audio...but since you're encoding the audio to aac for .mp4. Why don't you have an option for user to click to keep original ac3 or convert to aac for mkv??.
I do have the option to keep original audio ("Don't Recompress Audio" option", which also supports many other formats other than ac3, as long as mkv supports them). Right now it only encodes to ac3 for mkv, but I may support other formats in the future. Originally I had two formats MP4/AAC and MKV/AC3. If you wanted AAC audio you could go with mp4 and if you wanted ac3 audio you would go with mkv. And since there isn't multi-track encoding yet I don't see a reason to change this yet. I usually use mkv with AVC video and AC3 audio to preserve the video and audio tracks and not have to re-encode when I finally get a blu-ray burner. Right now though if you want aac audio, there's no reason not to go with mp4 in ASXGui
IWhich is better in terms on audio quality and file size? AC3 or AAC??? A lot of newer audio format uses AAC..My Iphone uses it..most mkv files on the net uses it. So I guess AAC is better than AC3? Giving the fact that they both are normalize and the same or have close bitrate #.
AAC compresses better, which means it will have the same quality at a lower bitrate, or a higher quality at the same bitrate as AC3.
For stereo:
AAC is recommended at least 96kbps
AC3 is recommended at least 192kbps
For 5.1:
AAC is recommended at least 224kbps
AC3 is recommended at least 448kbps
And Mtz, I'm having trouble downloading your file, the first time it only downloaded 8 mb out of the 250mb, and now it's only downloading at like ~10kbps. I tried converting the 8 mb file and it worked fine, so I'm wondering if there might be corruption somewhere in your video file. Have you tried checking the "Force Decoding with Directshow" check box?
Maybe someday you'll add an option for AC3 in MP4. Reason. (http://forum.doom9.org/showthread.php?t=23084&highlight=MP4&page=6)
Regarding my DV file. I'm sure it is not corrupt. AutoGK convert it OK. Also MeGui.
enjoy,
Mtz
morphinapg
24th May 2008, 00:01
Maybe someday you'll add an option for AC3 in MP4. Reason. (http://forum.doom9.org/showthread.php?t=23084&highlight=MP4&page=6)
Regarding my DV file. I'm sure it is not corrupt. AutoGK convert it OK. Also MeGui.
enjoy,
Mtz
Okay, but did you try using the decoding via Directshow option (instead of the default ffmpegsource)?
Of course I tried, but I forget to tell you.
Also I loaded the audio.avs into avs2wav.exe and the encoding was OK. The resulted file was Audio.avs.wav.
enjoy,
Mtz
What's wrong, is autocrop not working for you?
Yes, autocrop wasn't working and I was having some other random problems (some error messages and such).
I installed v.1.6.4 and all the problems were gone... :confused:
morphinapg
24th May 2008, 14:57
Of course I tried, but I forget to tell you.
Also I loaded the audio.avs into avs2wav.exe and the encoding was OK. The resulted file was Audio.avs.wav.
enjoy,
Mtz
Well then I'm not sure what's happening. I'd need to see a full encode.log.
You could maybe also try making your own Avisynth script and loading that in ASXGui instead.
Yes, autocrop wasn't working and I was having some other random problems (some error messages and such).
I installed v.1.6.4 and all the problems were gone... :confused:
Well that tells me it's probably related to the mediainfo update as well, but could you be more specific on the errors and what's going wrong?
tacman1123
26th May 2008, 12:13
Using the currently-posted program (not sure what version, but just downloaded this morning), I got an error with a trivial script
DirectShowSource("c:\avi\ellen\dinner.avi")
It prompted for same audio, I said "yes", then selected YouTube (100M) profile for output, and got an index error. The avi file and the avs file play fine in WMP. The avi file was created with a Canon Camcorder.
The error is at the end of the message. I was not able to re-create the error on subsequent attempts, but I've never gotten the audio to work (also tried with AviSource), though again, it plays fine as an avs or avi file.
Suggestions? At first I thought it was my avi file, but I've also tried with with the Audio.avs file from the Examples folder in the Avisynth, and a simple Colorbars() script (both trimmed), and still no audio.
I'm also having the same audio problems encoding with MeGUI, so maybe it's some codec I have installed here. I'm stuck as to how to proceed.
Thanks!
Tac
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
at System.Windows.Forms.ListView.ListViewItemCollection.get_Item(Int32 index)
at ASXGui.MainForm.CmdAudioClick(Object sender, EventArgs e)
at ASXGui.MainForm.ChkAudioCheckedChanged(Object sender, EventArgs e)
at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e)
at System.Windows.Forms.CheckBox.set_CheckState(CheckState value)
at System.Windows.Forms.CheckBox.set_Checked(Boolean value)
at ASXGui.MainForm.CmdOpenVideoClick(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)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ASXGui
Assembly Version: 1.7.1.29208
Win32 Version: 1.7.1.29208
CodeBase: file:///C:/Program%20Files/ASXGui/ASXGui.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.
morphinapg
26th May 2008, 16:00
Using the currently-posted program (not sure what version, but just downloaded this morning), I got an error with a trivial script
DirectShowSource("c:\avi\ellen\dinner.avi")
It prompted for same audio, I said "yes", then selected YouTube (100M) profile for output, and got an index error. The avi file and the avs file play fine in WMP. The avi file was created with a Canon Camcorder.
The error is at the end of the message. I was not able to re-create the error on subsequent attempts, but I've never gotten the audio to work (also tried with AviSource), though again, it plays fine as an avs or avi file.
Suggestions? At first I thought it was my avi file, but I've also tried with with the Audio.avs file from the Examples folder in the Avisynth, and a simple Colorbars() script (both trimmed), and still no audio.
I'm also having the same audio problems encoding with MeGUI, so maybe it's some codec I have installed here. I'm stuck as to how to proceed.
Thanks!
Tac
It seems a couple of people now have had problems with DV-AVI files. I'm going to test this format a little more myself. I have an HD camcorder that by default makes mpeg-2 files so I don't work with DV-AVI enough to have noticed a bug.
For now, though, try using version 1.6.2 (found HERE (http://www.mediafire.com/?whb2mxgl2ly)) and let me know if 1.6.2 has the same issues
tacman1123
26th May 2008, 16:16
I can send you some dv files if you'd like (kinda big), but I'm having the audio problem even with a trivial script like Colorbars(720, 480, "rbg32").Trim(0, 200). That same script converts to Flash okay (with sound). I'm wondering if I have codec installed that's being used for mp4 files that's the cause of the problem. Any suggestions on how to debug this?
tacman1123
26th May 2008, 16:32
I downloaded 1.62 and tried to run it with the trivial Version.avs file (Consisting of the one line, Version(), located in the Avisynth Examples folder). The program quickly dies with avs2wav.exe has encountered a problem...
Question: what is the purpose of the "Separate Audio File" checkbox? Is separate an adjective or a verb in that context? I assume if it's not checked that audio won't be included.
Anyway, checking the box and using the default audio, I'm still not hearing any audio in the final .mp4 file.
morphinapg
26th May 2008, 23:52
I can send you some dv files if you'd like (kinda big)
No need, my camera also has a setting for dv.
but I'm having the audio problem even with a trivial script like Colorbars(720, 480, "rbg32").Trim(0, 200). That same script converts to Flash okay (with sound). I'm wondering if I have codec installed that's being used for mp4 files that's the cause of the problem. Any suggestions on how to debug this?
Okay, I figured out the problem, reading audio from an avisynth file isn't working right now. (in version 1.7.0+) This will be fixed in the next release.
I downloaded 1.62 and tried to run it with the trivial Version.avs file (Consisting of the one line, Version(), located in the Avisynth Examples folder). The program quickly dies with avs2wav.exe has encountered a problem...
Version() doesn't produce any audio, so don't load audio from avs and you should be fine. Try 1.6.2 with the colorbars example from above. (EDIT: This doesn't seem to work in 1.6.2, but it does work in the next version so don't worry)
Question: what is the purpose of the "Separate Audio File" checkbox? Is separate an adjective or a verb in that context? I assume if it's not checked that audio won't be included.
Anyway, checking the box and using the default audio, I'm still not hearing any audio in the final .mp4 file.
The "Separate Audio File" check box means using an external audio file, such as audio demuxed by DGIndex or virtualdub for instance. Leaving it unchecked simply uses the audio contained in input video.
tacman1123
27th May 2008, 03:19
Whoops! Not Version(), but Authors.avs. Regardless, sounds like you've id'd the problem, if you're looking for beta testers please let me know.
Tac
tac (at) smokescreen (d.t) org
morphinapg
27th May 2008, 09:20
1.8.0 Released
-ADDED: GUI Improvements
--Video output textbox
--Collapsible and expandable option groups. ASXGui remembers whether they were collapsed or expanded on exit.
-ADDED: A Readme/FAQ PDF
-CHANGED: Rearranged several options to fit the groups better
-FIXED: Bug where clicking "Stop Encoding" would continue in the queue instead of stopping the entire queue
-FIXED: Bug that wouldn't allow you to delete all jobs unless jobs were all finished
-FIXED: Various bugs with autocrop (I hope I've got all of them this time)
-FIXED: Bug that prevented audio from within an AVS Script to be processed.
I tested several different DVAVI files with this version with a bunch of different settings and didn't have any problems, so if you have problems, try upgrading your codecs.
tacman1123
27th May 2008, 12:19
First, the DV files are working, and audio is working for me now. Thanks very much for the rapid fix!
Some feedback, from a newbie to your program, for your consideration. "+" and "-" aren't intuitive, I ended up deleting the profile I was using, not sure how to get it back without re-installing. Both those buttons should have a ToolTip, and "-/Delete" should have a confirmation prompt.
I still find the question "Would you like to try to load the Audio from the Video File?" to be awkward to then automatically check the "Separate Audio File" box. It's not a separate audio file, it's the audio source, which may or may not be the same as the video source. Or, it's a radio box with 3 options: No Audio, Use Audio From Video, Separate Audio Source (and then the filename). I think it's the word "Separate" that seems wrong.
I think Start Encoding should switch taps to the Encoding Progress tab, so that you immediaetly see that it's going. It looked like it wasn't started, except that it changed to "Stop Encoding"
When it's finished encoding, there's an Output File: [Filename] Open Button. When I saw that, I thought -- cool, I don't have to hunt around to find the file and launch it to see if it worked, I can open it from here. But that dialog is for setting the output, not opening it. So I'm wondering if the output file Open Button should be only visible in when the Input Info / Output Info tabs are present (since you can't change the output file during encoding, and it doesn't really make sense from the job queue).
Finally, thanks for the log file! I realize that your GUI is written to provide a UI to tools that are normally command-line tools, so it would be odd to ask for a command line option. Still, I like they way you've integrated everything, so something like
avi2mp4 -profile youtube100 -video myvideo.avs -audio myvideo.avs -output myvideo.mp4 would be cool, but I think I can figure out how to create that from the tools you've provided.
Last question: Can you point me in the right direction for tools (menu, chapters, etc) to get from here to a DVD?
Many thanks for putting all this together, it's very helpful!
Tac
africanmarty
27th May 2008, 12:57
i love your app ( most of the other H.264 encoders crash when i try doing a 2 pass encode, but this is working great ) i have been using since your early editions, i was thinking do you think there could be a 'join' option, eg when i capture from my camera ( i use HDVsplit ) i get seperate .M2T files, it would be nice if i could joint them into one H.264/MKV file ( or is this avaliable in the app now ?? ). Also i was wondering if i wanted the following settings for the H.264 settings how do i apply them in your app ?? i have included a pic of the settings i was after.
regards Marty.
what would bring better quality ??
1- 1 pass, target Quantizer 0 @ 15MB
2- 2 pass @ 15MB
morphinapg
27th May 2008, 23:19
Some feedback, from a newbie to your program, for your consideration. "+" and "-" aren't intuitive, I ended up deleting the profile I was using, not sure how to get it back without re-installing. Both those buttons should have a ToolTip, and "-/Delete" should have a confirmation prompt.
The confirmation prompt definitely sounds like a good idea, as well as the tool tips. I know, I liked "Save" and "Del" for the buttons better, but they take up a lot of space, which is why I made them + and - instead. If you were only using the default profiles, you could just just delete Profiles.ini and it will re-download or, download this file HERE (http://www.gilleandbros.com/foodeefunk/profiles.ini) and copy only the profile you want from it into your existing profiles.ini file.
I still find the question "Would you like to try to load the Audio from the Video File?" to be awkward to then automatically check the "Separate Audio File" box. It's not a separate audio file, it's the audio source, which may or may not be the same as the video source. Or, it's a radio box with 3 options: No Audio, Use Audio From Video, Separate Audio Source (and then the filename). I think it's the word "Separate" that seems wrong.
Audio is not loaded by default from an AVS script because many avs scripts don't have audio at all (including a lot of scripts I write) If the avs script doesn't have audio and ASXGui tries to process the audio, avs2wav will generate an error. So the way ASXGui reads the audio from an avs script is to load it separately from the video. At first I had this set up to simply be done manually, but I figured a lot of people wouldn't understand loading the same file twice, so I added a message box to automate loading it separately as audio.
So if you look at it that way, it makes a bit more sense. The file in the video text box is processed separately from the file in the audio text box. If you look in the ASXGui folder, you will see data.txt and data2.txt for the media information from each file loaded. When audio is loaded from a normal video file (not an avs script), both the audio and video information are loaded together, therefore, nothing needs to be in the audio text box. I hope this clears things up for you.
Also, it seems you've been using avs scripts as input, so I'm not sure if you realize that any type of video file that can be played in WMP can be opened as input, not only AVS scripts like MeGUI. ASXGui will generate avs scripts based on which settings are chosen in ASXGui.
I think Start Encoding should switch taps to the Encoding Progress tab, so that you immediaetly see that it's going. It looked like it wasn't started, except that it changed to "Stop Encoding"
Yeah, noticed that too, small bug in 1.8.0 will be fixed in 1.8.1
When it's finished encoding, there's an Output File: [Filename] Open Button. When I saw that, I thought -- cool, I don't have to hunt around to find the file and launch it to see if it worked, I can open it from here. But that dialog is for setting the output, not opening it. So I'm wondering if the output file Open Button should be only visible in when the Input Info / Output Info tabs are present (since you can't change the output file during encoding, and it doesn't really make sense from the job queue).
Yeah, I was wondering if maybe I should change [Open] to maybe [Save] or [...] like MeGUI has to avoid confusion. But, it will not be disabled while encoding because you can still add jobs while encoding. The output text box doesn't necessarily only show the output file of the current encode, but shows where the output path is currently set. Once a user had clicked "Start Encoding" or "Add Job" those settings are set, and can't be changed. Any settings a user changes after clicking add job or start encoding will only effect the next job.
Finally, thanks for the log file! I realize that your GUI is written to provide a UI to tools that are normally command-line tools, so it would be odd to ask for a command line option. Still, I like they way you've integrated everything, so something like
avi2mp4 -profile youtube100 -video myvideo.avs -audio myvideo.avs -output myvideo.mp4 would be cool, but I think I can figure out how to create that from the tools you've provided.
Unfortunately, I know nothing about programming for the command line (only reading from it), so it would be quite a while before I could add something like that. My program is more for people who don't understand the command line tools anyway.
Last question: Can you point me in the right direction for tools (menu, chapters, etc) to get from here to a DVD?
Many thanks for putting all this together, it's very helpful!
Tac
Do you mean from mp4/mkv to DVD? Because there are other boards on here that deal more with that topic. Maybe ask your question on the MPEG-2 Encoding (http://forum.doom9.org/forumdisplay.php?f=62) or (HD) DVD / Blu-ray Authoring (http://forum.doom9.org/forumdisplay.php?f=39) boards
tacman1123
27th May 2008, 23:30
When I run a particular .avs script in WMP, it cranks along and displays just fine, so expected that exporting a 12-minute video to mp4 would go pretty quickly. It's mostly captioning and subtitling, with a few transitions. Alas, it's taking a LONG time, so I'm wondering if my script is the culprit.
Global W = 720
Global H = 480
Global F = Framerate(AssumeFPS(BlankClip(),"ntsc_video"))
Global R = 48000
Global Resizer = "BlackmanResize"
Global Blank = BlankClip(1, W, H, "YV12", F, stereo=true, audio_rate=R).Loop(1)
# Global Blank = BlankClip(1, width=W, height=H, pixel_type="YV12", fps=F, stereo=true, audio_rate=R).Loop()
f=Blank.Loop(150).Subtitle("Title", size=36, align=5, lsp=1)
f=f+Blank.Loop(150).SubtitleEx("Chapter 1", x=Blank.Width/2, y=Blank.Height/2, size=32, effects="c")
# Tac (3.6 seconds)
c1=DirectShowSource("c:\avi\daver\272.331.avi").Trim(0,0).BicubicResize(W, H).ConvertToYV12().ChangeFPS(F).ResampleAudio(R)
c1=c1.add_caption("Tac", "")
f=Dissolve(f,c1,20)
c2=DirectShowSource("c:\avi\daver\274.331.avi").Trim(0,0).BicubicResize(W, H).ConvertToYV12().ChangeFPS(F).ResampleAudio(R)
c2=c2.add_caption("Bob Smith", "")
f=Dissolve(f,c2,20)
c3=DirectShowSource("c:\avi\daver\275.331.avi").Trim(0,0).BicubicResize(W, H).ConvertToYV12().ChangeFPS(F).ResampleAudio(R)
c3=c3.add_caption("Peter Jones", "")
f=Dissolve(f,c3,20)
f
I'm doing all these conversions in case the clip comes in from a different camera (e.g. a webcam), but in reality I can usually avoid them, since in this particular case the clips are from the source.
But will that help all that much? Where's the bottleneck? I'm merging about 20 clips (I just have 3 in the example), and I can re-do the code, but trying to figure out where to optimize.
Thx,
Tac
PS I see I have a .trim(0,0) which isn't necessary, but I'm assuming isn't hurting anything either.
morphinapg
28th May 2008, 00:26
When I run a particular .avs script in WMP, it cranks along and displays just fine, so expected that exporting a 12-minute video to mp4 would go pretty quickly. It's mostly captioning and subtitling, with a few transitions. Alas, it's taking a LONG time, so I'm wondering if my script is the culprit.
I'm doing all these conversions in case the clip comes in from a different camera (e.g. a webcam), but in reality I can usually avoid them, since in this particular case the clips are from the source.
But will that help all that much? Where's the bottleneck? I'm merging about 20 clips (I just have 3 in the example), and I can re-do the code, but trying to figure out where to optimize.
Thx,
Tac
PS I see I have a .trim(0,0) which isn't necessary, but I'm assuming isn't hurting anything either.
To be honest, your script is much more complex than I'm used to and includes some functions I'm unfamiliar with so I don't think I would be able to help you there. I guess just take out anything that is unnecessary in the script. Sorry I can't help much more than that.
Does your script encode faster in other encoder programs? I do know that by default, ASXGui has the advanced x264 settings set pretty high for good quality encodes. If you understand those settings I would suggest maybe tweaking them for better performance. The only thing ASXGui does to your script is adds ConvertotoYV12() and Lanczos4resize(), unless other options in ASXGui are selected. It adds both of those every time to maintain compatibility with autocrop, with some avs plugins and with x264.
You know, now that I think of it, I could be simply using import() instead of messing with your script directly. Don't know why I didn't think of that before.
morphinapg
28th May 2008, 00:57
1.8.1 Released
-FIXED: Minor Job Queue related bugs
-CHANGED: "+" and "-" profile buttons back to "Save" and "Del". Added tool tips for profile buttons. Added user confirmation of deleting a profile.
-CHANGED: [Open] button on the output path to [...] to avoid confusion.
-CHANGED: Avisynth import mode to Import() instead of modifying original script.
morphinapg
28th May 2008, 01:16
i love your app ( most of the other H.264 encoders crash when i try doing a 2 pass encode, but this is working great ) i have been using since your early editions, i was thinking do you think there could be a 'join' option, eg when i capture from my camera ( i use HDVsplit ) i get seperate .M2T files, it would be nice if i could joint them into one H.264/MKV file ( or is this avaliable in the app now ?? ).
regards Marty.
There are other programs around that can do this but unfortunately right now ASXGui only joins VOBs that are in a sequence. This may be a good idea for a future release though, but I don't see it happening for a while.
what would bring better quality ??
1- 1 pass, target Quantizer 0 @ 15MB
2- 2 pass @ 15MB
Thanks for this question, because I didn't even realize that my bitrate settings (including target filesize) were still enabled after constant quantizer was enabled. So to answer your question, if target quantizer 0 gave you a 15 MB file then it would be better quality then a 15 MB 2 pass encode because quantizer 0 is lossless. But the fact is you can't set a target filesize for constant quantizer encodes. I'm going to have to change those to be disabled when CQ is checked.
Than the highest # ASXGui, than more trouble we have :)
By default extension for output file mp4, not mkv as selected on "Output format".
morphinapg
28th May 2008, 21:06
Than the highest # ASXGui, than more trouble we have :)
By default extension for output file mp4, not mkv as selected on "Output format".
*Sigh* lol yeah, the higher version we have, the more complicated it gets I guess...
I'll be sure to fix that
Any other bugs I should know about before I release 1.8.2?
morphinapg
29th May 2008, 01:55
1.8.2 Released
-FIXED: Default extension for mkv
-FIXED: Any video bitrate-related controls are now disabled when 1 Pass, CQ mode is selected
morphinapg
29th May 2008, 03:45
Also i was wondering if i wanted the following settings for the H.264 settings how do i apply them in your app ?? i have included a pic of the settings i was after.
http://i32.tinypic.com/10ome0x.jpg
I've tried my best to make a profile based on those settings. I didn't have options for every setting listed above but tried my best with what I did have. Copy this and add it to the end of your profiles.ini file in the ASXGui folder:
Profile=africanmarty
Version= 182
MP4= True
RemuxVideo= False
Recompressed= False
1Pass= False
CQ= False
Quant= 0
AutoSize= True
Aspect= False
Ratio= 16:9
CustomX=
CustomY=
MaxSize= False
MaxX=
MaxY=
AutoCrop= False
CustomCrop= False
CropL=
CropT=
CropR=
CropB=
Deinterlace= False
Double= False
FieldOrder= TFF
AutoBitrate= True
CustomABitrate=False
ABitrate= 192
VBitrate=
Downmix= False
EnforceProfile=True
X264Profile= High
Level= 4.0
UseMaxRate= False
MaxRate=
TargetSize= False
ChangeFPS= False
FPS= 23.976
FileSize=
Bytes= MB
Deblocking= True
Strength= -2
Thresh= -1
Buffer= 0
IBuffer= 0
Variance= 1
QC= 0.6
Blur= 20
BlurQ= 0.5
Chroma= True
Range= 16
Scene= 40
Algorithm= 3
Subpixel= 5
Stats= video.stats
MinQ= 10
MaxQ= 51
MaxQD= 4
IandP= 1.4
PandB= 1.3
ChromaQP= 0
BFrames= 5
Adaptive= True
Pyramid= True
RDO= True
Weighted= True
Bidirectional= True
BMode= 3
Bias= 0
ADCT= True
i4x4= True
p4x4= True
i8x8= True
p8x8= True
b8x8= True
PNSR= False
SSIM= False
Interlaced= False
Keyframe= 250
GOP= 25
Noise= 0
Threads= 0
Trellis= 1
RefFrames= 5
Mixed= False
CABAC= True
DCT= False
PSkip= True
Directshow= False
END
morphinapg! Can you keep your gui as simple as possible? Each time you release a new version of your GUI, it gets more and more complicated, you have to keep it simple, there's no reason to add useless features that make the program work less efficiently. There are other programs in this forum that are more accessible than yours.
arrirc
29th May 2008, 08:50
I am not sure whether you still remember me, but it is nice to see that your baby is growing up :)
Carry on my friend....
I think the UI is very good. It's not complicated at all. The UI is very straight forward if users just want to encode by just open the input file and add to queue to start encoding. But it also has hidden properties for the advance users to play around with. I think this is a good little app for all types of users. All I am waiting now is the support of dual audio tracks so that I can fully test it, but so far so good. Keep up the good work..
Thanks!
morphinapg
29th May 2008, 17:35
morphinapg! Can you keep your gui as simple as possible? Each time you release a new version of your GUI, it gets more and more complicated, you have to keep it simple, there's no reason to add useless features that make the program work less efficiently. There are other programs in this forum that are more accessible than yours.
I think Ekin said pretty much what I would have said. Remember that you can always hide the options under "Video Options" and "Codec Options" to make things simpler. Also the user doesn't even need to understand the queue to start encoding as well, just open and click "Start Encoding". I try my best to keep ASXGui as simple as possible for new users as well as making it advanced enough for power users to do what they need to do as well.
I am not sure whether you still remember me, but it is nice to see that your baby is growing up :)
Carry on my friend....
Of course I remember you, you gave me the name of ASXGui. Many thanks for that.
All I am waiting now is the support of dual audio tracks so that I can fully test it, but so far so good. Keep up the good work..
Thanks!
Yes, still coming. I was going to wait for a big release, like maybe version 2.0.0, to add it, because it is going to take a lot of coding to implement. I need to make sure I can make it advanced enough to do what it needs to, as well as keeping it simple enough for beginner users. I need to make sure I don't lose the ability to simply open and encode in one click.
RickA
29th May 2008, 18:19
Greets,
morphinapg, good to see that your program is advancing along very nicely. :-)
Ekin, not sure what format you are using - mp4 or mkv. If mkv and you are seeking extra audio tracks or even extra subtitles. You can easily use mmg from mkvtools to mux those in. Provided your source is from a dvd - DGIndex to demux the audio tracks and VSRip to pull out the subtitles. Then mmg to mux what you like into your mkv file from ASXGui, easy as pie. I think MP4Box may be able to do the same with mp4's if that is your preference.
Cheers,
Rick
africanmarty
31st May 2008, 06:48
I've tried my best to make a profile based on those settings. I didn't have options for every setting listed above but tried my best with what I did have. Copy this and add it to the end of your profiles.ini file in the ASXGui folder:
Profile=africanmarty
Version= 182
MP4= True
RemuxVideo= False
Recompressed= False
1Pass= False
CQ= False
Quant= 0
AutoSize= True
Aspect= False
Ratio= 16:9
CustomX=
CustomY=
MaxSize= False
MaxX=
MaxY=
AutoCrop= False
CustomCrop= False
CropL=
CropT=
CropR=
CropB=
Deinterlace= False
Double= False
FieldOrder= TFF
AutoBitrate= True
CustomABitrate=False
ABitrate= 192
VBitrate=
Downmix= False
EnforceProfile=True
X264Profile= High
Level= 4.0
UseMaxRate= False
MaxRate=
TargetSize= False
ChangeFPS= False
FPS= 23.976
FileSize=
Bytes= MB
Deblocking= True
Strength= -2
Thresh= -1
Buffer= 0
IBuffer= 0
Variance= 1
QC= 0.6
Blur= 20
BlurQ= 0.5
Chroma= True
Range= 16
Scene= 40
Algorithm= 3
Subpixel= 5
Stats= video.stats
MinQ= 10
MaxQ= 51
MaxQD= 4
IandP= 1.4
PandB= 1.3
ChromaQP= 0
BFrames= 5
Adaptive= True
Pyramid= True
RDO= True
Weighted= True
Bidirectional= True
BMode= 3
Bias= 0
ADCT= True
i4x4= True
p4x4= True
i8x8= True
p8x8= True
b8x8= True
PNSR= False
SSIM= False
Interlaced= False
Keyframe= 250
GOP= 25
Noise= 0
Threads= 0
Trellis= 1
RefFrames= 5
Mixed= False
CABAC= True
DCT= False
PSkip= True
Directshow= False
END
thankyou so much for this, i dont have the command line knowlage to do it myslef, very much appriciatiated. i will try it out and report back.
regards Marty.
xaero
31st May 2008, 09:08
hi, i used ASX GUI to encode a bunch of .m4v podcasts for my psp. i set the configs to this :
http://uploadingit.com/files/640778_esgu3/unsupported.png
and yet i get my output like this :
http://uploadingit.com/view/640777_05txo
psp shows "unsupported media"...
morphinapg
31st May 2008, 15:53
hi, i used ASX GUI to encode a bunch of .m4v podcasts for my psp. i set the configs to this :
http://uploadingit.com/files/640778_esgu3/unsupported.png
and yet i get my output like this :
http://uploadingit.com/view/640777_05txo
psp shows "unsupported media"...
It may require more advanced x264 settings changed. I'm not sure what the psp requires, as I don't own one. I do know I had the same type of configuration for my original iPod profiles, and some would work and others wouldn't. In the end, I had to change "Reference Frames" in the advanced settings to 1 (The default was at 3)
I could try looking up the specs for psp to try to make a profile but I wouldn't be able to test it out myself.
morphinapg
31st May 2008, 18:07
1.8.3 Released
-FIXED: Some minor bugs that caused the Encoding Progress tab to sometimes appear to freeze (Should also help on videos that report an audio track but don't have any audio)
-FIXED: A bug with the job queue that would crash ASXGui if a job was deleted that was above the currently encoding job.
Merkie
31st May 2008, 18:51
I am trying to convert some regular XviD files, pass 1 and pass 2 immediately go to "finished", although the CPU usage still is significant so I guess the program is still converting.
morphinapg
31st May 2008, 19:41
I am trying to convert some regular XviD files, pass 1 and pass 2 immediately go to "finished", although the CPU usage still is significant so I guess the program is still converting.
Hmm. Is this 1.8.3 only or 1.8.2 as well?
Also it could indicate that it went straight to audio encoding, which would mean there might have been a problem decoding your video. Try posting the contents of encode.log.
If it's still encoding, you should see x264.exe in the task manager.
Merkie
1st June 2008, 01:06
I restarted the program, now it's working fine. But am I crazy or is there no sound?
morphinapg
1st June 2008, 04:54
I restarted the program, now it's working fine. But am I crazy or is there no sound?
Hmm. I was afraid of that. It's not happening with all videos but some. I tried switching back from avs2wav back to WAVI because it doesn't crash as much with avs scripts that don't have any audio track. Unfortunately, once before I had some problems with WAVI and I had hoped they had gone away due to the many changes I have done over the time. I guess I'll be going back to avs2wav again...
I just wish it would simply report an error instead of crashing.
xaero
1st June 2008, 06:31
It may require more advanced x264 settings changed. I'm not sure what the psp requires, as I don't own one. I do know I had the same type of configuration for my original iPod profiles, and some would work and others wouldn't. In the end, I had to change "Reference Frames" in the advanced settings to 1 (The default was at 3)
I could try looking up the specs for psp to try to make a profile but I wouldn't be able to test it out myself.
Same here, not all video work. It plays fine when I re-encode short videos(5-10mins+), but when I re-encode longer videos(30-40+mins), I get "media not supported" error on my PSP. It's not really that important but a PSP profile would be nice :) I'll try it and see if i can get it to work on mine..
morphinapg
1st June 2008, 09:36
I restarted the program, now it's working fine. But am I crazy or is there no sound?
Hmm, on second thought, I've just tried a variety of different file formats and have gotten sound on all of them. Maybe a codec issue?
Could you post the contents of encode.log after your encode doesn't have audio?
Same here, not all video work. It plays fine when I re-encode short videos(5-10mins+), but when I re-encode longer videos(30-40+mins), I get "media not supported" error on my PSP. It's not really that important but a PSP profile would be nice :) I'll try it and see if i can get it to work on mine..
That is exactly what was happening with my iPod profiles. Try 1 reference frame and see if that helps.
binh25
1st June 2008, 11:48
I got Error Reading input file while trying to encode a blueray M2TS file .... the file open ok and the program can detect the source but
as soon as I hit the encode button 10-15 seconds later that error pop up.
This is my first time trying to test encode a blueray to mkv so I could be doing something wrong.
there is nothing log in the encode.log file
morphinapg
1st June 2008, 20:53
I got Error Reading input file while trying to encode a blueray M2TS file .... the file open ok and the program can detect the source but
as soon as I hit the encode button 10-15 seconds later that error pop up.
This is my first time trying to test encode a blueray to mkv so I could be doing something wrong.
there is nothing log in the encode.log file
That error means x264 is unable to read the avisynth.avs file created in the ASXGui. Can you tell me the contents of Avisynth.avs while the error is up and/or encode.log right after you close ASXGui?
Also, are you sure you can play the m2ts file in WMP?
I tried to encode one of my m2ts files (AVC 16mbps / AC3 2.0 192kbps) and it worked fine.
africanmarty
1st June 2008, 21:23
i have uploaded two images @ 640x360 scaled down from 1920x1080 ( becuase the original files were over 200k and i coudnt upload them ) but i am putting them up as a comparasin to show my finsings:
the first file - 'troy - M2T' is from the original footage (raw) and the second 'troy - MKV' is from a single pass x264 MKV @ 15MB/s, High profile @ 4.0 with the custom settings given to me by morphinapg - this was using asxgui v1.8.2 (using v1.8.3 atm).
1. detail is all there ( wich i am very happy with )
2. there is a slight colour shift, i only piced it up when comparing the two images side by side ( but i would say its due to the x264 codec).
- marty.
xaero
2nd June 2008, 04:43
Try 1 reference frame and see if that helps.
aha! it works! i got video but there is audio/video desyncronization... it becomes more and more wider as the video plays longer...
Sorry, but since v.1.7.0 and up - Auto Crop Bars doesn't work right. At begining it recognized right size of the black bars and shows like 1280x544, but and the end of the process it rewrites the Aspect Ratio to 16:9 and the Resolution to 1280x720. I install ASXGui v.1.6.4. - works great, no problem at all...
morphinapg
2nd June 2008, 08:24
aha! it works! i got video but there is audio/video desyncronization... it becomes more and more wider as the video plays longer...
That's weird, does it do that on the PC as well or only psp? It sounds like the frame rate is off or something.
Sorry, but since v.1.7.0 and up - Auto Crop Bars doesn't work right. At begining it recognized right size of the black bars and shows like 1280x544, but and the end of the process it rewrites the Aspect Ratio to 16:9 and the Resolution to 1280x720. I install ASXGui v.1.6.4. - works great, no problem at all...
The problem is most likely due to the fact that everything is added to the queue, and the hard part is that auto crop was originally set up in ASXGui in a way where it auto crops the video, creates a temporary video file and imports that in order to read the new resolution. The problem is, when a job is loaded, the original video has to be re-loaded and when it's not loading the temporary file but the original things get kind of messed up. The queue really makes everything else a lot harder work.
morphinapg
2nd June 2008, 10:16
1.8.4 Released
-FIXED: Bug that caused Autocrop's output resolution to be incorrect
hopefully everything is fixed now with autocrop. Let me know if you run into anything that doesn't work right.
binh25
2nd June 2008, 11:29
That error means x264 is unable to read the avisynth.avs file created in the ASXGui. Can you tell me the contents of Avisynth.avs while the error is up and/or encode.log right after you close ASXGui?
Also, are you sure you can play the m2ts file in WMP?
I tried to encode one of my m2ts files (AVC 16mbps / AC3 2.0 192kbps) and it worked fine.
This is the log you requested
Avisynth.avs
-------------
Directshowsource("F:\blueray\BDMV\STREAM\00001.m2ts", fps=23.976)
ConverttoYV12()
lanczos4resize(1920,1080)
audio.avs
----------
Directshowsource("F:\blueray\BDMV\STREAM\00001.m2ts", fps=23.976,seekzero=true)
Normalize()
Encoder.log
-----------
Input File: F:\blueray\BDMV\STREAM\00001.m2ts
Creating Avisynth File...
Directshowsource("F:\blueray\BDMV\STREAM\00001.m2ts", fps=23.976)
Directshowsource("F:\blueray\BDMV\STREAM\00001.m2ts", fps=23.976,seekzero=true)
Output File Name set to:C:\00001..mkv
Writing x264 Batch File
Setting Pixel Aspect Ratio to --sar 1920:1920
tools\x264 --pass 1 --bitrate 5921 --stats "video.stats" --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 6 --trellis 1 --partitions all --8x8dct --qpmin 1 --me umh --merange 24 --threads auto --thread-input --sar 1920:1920 --progress --no-psnr --no-ssim --output NUL Avisynth.avs
tools\x264 --pass 2 --bitrate 5921 --stats "video.stats" --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 6 --trellis 1 --partitions all --8x8dct --qpmin 1 --me umh --merange 24 --threads auto --thread-input --sar 1920:1920 --progress --no-psnr --no-ssim --output video.mp4 Avisynth.avs
tools\wavi Audio.avs && tools\wavi Audio.avs - | tools\ffmpeg -i - -y -acodec ac3 -ab 448k audio.ac3
tools\mkvmerge -o "C:\00001..mkv" -A -S video.mp4 -D -S audio.ac3 --no-clusters-in-meta-seek
Closing Batch File...
Starting Encode...
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'Avisynth.avs'
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'Avisynth.avs'
morphinapg
2nd June 2008, 19:58
This is the log you requested
Avisynth.avs
-------------
Directshowsource("F:\blueray\BDMV\STREAM\00001.m2ts", fps=23.976)
ConverttoYV12()
lanczos4resize(1920,1080)
audio.avs
----------
Directshowsource("F:\blueray\BDMV\STREAM\00001.m2ts", fps=23.976,seekzero=true)
Normalize()
Encoder.log
-----------
Input File: F:\blueray\BDMV\STREAM\00001.m2ts
Creating Avisynth File...
Directshowsource("F:\blueray\BDMV\STREAM\00001.m2ts", fps=23.976)
Directshowsource("F:\blueray\BDMV\STREAM\00001.m2ts", fps=23.976,seekzero=true)
Output File Name set to:C:\00001..mkv
Writing x264 Batch File
Setting Pixel Aspect Ratio to --sar 1920:1920
tools\x264 --pass 1 --bitrate 5921 --stats "video.stats" --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 6 --trellis 1 --partitions all --8x8dct --qpmin 1 --me umh --merange 24 --threads auto --thread-input --sar 1920:1920 --progress --no-psnr --no-ssim --output NUL Avisynth.avs
tools\x264 --pass 2 --bitrate 5921 --stats "video.stats" --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 6 --trellis 1 --partitions all --8x8dct --qpmin 1 --me umh --merange 24 --threads auto --thread-input --sar 1920:1920 --progress --no-psnr --no-ssim --output video.mp4 Avisynth.avs
tools\wavi Audio.avs && tools\wavi Audio.avs - | tools\ffmpeg -i - -y -acodec ac3 -ab 448k audio.ac3
tools\mkvmerge -o "C:\00001..mkv" -A -S video.mp4 -D -S audio.ac3 --no-clusters-in-meta-seek
Closing Batch File...
Starting Encode...
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'Avisynth.avs'
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'Avisynth.avs'
Everything looks okay from here. If you open Avisynth.avs in a media player do you get any errors?
Ajax_Undone
3rd June 2008, 02:34
Hey morph wondering if you could add FFDshow Player for preview...
africanmarty
3rd June 2008, 05:38
Hey, thanks for the cool program, my computer normally craps out when I've tried x264 in the past but I've managed to get through both passes with no problem... apart from the audio. It hasn't encoded it, here's how it looks at the moment:
http://img.photobucket.com/albums/v390/genxide/asx264.jpg
It's been stuck like that for a while, figured I'd bring it to your attention. If it helps, I'm running XP Pro, Athlon 64 X2 4200+ and 2GB RAM.
Also, in case anyone tries running the program and gets an 0xc0000135 error, you need to download the latest version of Microsoft's .NET Framework.
any idea what causes this, this happened to me today ( after a 2 pass encode, where each pass was 20 hours in legnth ) it is stuck on audio for 5 hours i'm going to try and mux the .mp4 and .ac3 to see if it will work. using 1.8.3 - marty.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.