View Full Version : ASXGui 1.9.4 (Any Video to MP4/x264/AAC or MKV/x264/AC3)
morphinapg
22nd March 2008, 07:53
ASXGui 1.9.4 - Another Simple X264 GUI
NOTE: New Version 2.0.0+ Thread Located HERE (http://forum.doom9.org/showthread.php?t=142502)
My brothers always complained that encoding tools were too advanced for them such as megui or virtualdub etc. So I decided to make a GUI that is basically as simple as opening your source video and clicking encode. The program can decide automatic resolution and bitrate settings for you, or you can set them yourself. You can input nearly any video that is playable on your computer.
Current Features:
-Output to MKV or MP4
-Import any type of video file
-Import a separate audio source
-Drag and Drop Source Files
-Ability to remux audio instead of recompressing.
-Automatic Resize based on bitrate
-Automatic Bitrate based on resolution
-Overrideable Aspect Ratio
-Maximum Resolution (default maximum is original resolution adjusted for Aspect Ratio)
-Custom Bitrate and Resolution
-Ability to change Frame Rate
-Deinterlacing/Inverse Telecine (Click deinterlace and change FPS to 23.976)
-Ability to encode in ether 1 or 2 pass
-Ability to encode Lossless (1 pass, target Quantizer 0)
-Auto crop off black bars
-Custom audio bitrate
-Save settings as Default or Custom profiles
-Ability to enforce x264 profiles
-Ability to set a maximum automatic bitrate
-Custom crop
-Advanced x264 Options
-Job Queue
-Ability to downmix Audio to stereo
-Select from multiple tracks in vob/mpg files
Upcoming features:
-Write multiple audio tracks
-Auto-Shutdown feature
-Import/Export profiles
-Change directory of temporary files
Known Bugs:
-The actual output file size may be up to 2.4% larger than asxgui predicts.
-Saving and loading of custom profiles may not work properly in Windows XP
-h264 based transport streams will crash upon loading, ASXGui thinks they are mpeg2 files. Index them with DGAVCIndex and open them through an AVS script instead.
Note:
-The Automatic Resolution/Bitrate is calculated using an equation that produces similar bitrates/resolutions as Nero Recode's Auto Resize feature.
-Make sure you don't have any audio upmixers enabled, or set them to output the audio's original channels. Otherwise all audio sources will be encoded multichannel, and stereo sources will have lower bitrates. DETAILS (http://www.gilleandbros.com/foodeefunk/guide.htm)
-1 GB = 1 billion bytes exact so things like 4.7 GB for DVD work just fine. (1 GiB = 1,073,741,824 bytes)
-When loading a MPEG2 type file, it can take a while to load, just wait, the program isn't hanging. (Same goes for large video files during the "Loading Video..." stage of pass 1)
-This program REQUIRES Avisynth to be installed to work. (Included with installer)
Changelog:
-Ver. 1.9.4 - Framerate conversion fixes. Input filenames are detected better now. Fixed VOB importing issues.(8/1/08)
-Ver. 1.9.3 - Fixed Interlace checking problem. Fixed delayaudio comma/period problem. Temporary files now only delete when job is deleted. Fixed a problem with target file size. (7/22/08)
-Ver. 1.9.2 - Scripts are checked before encode. Fixed audio encoding issues (7/19/08)
-Ver. 1.9.1 - FPS now uses a period to separate decimals regardless of what country ASXGui is run in. ASXGui no longer closes other DOS windows. (7/16/08)
-Ver. 1.9.0 - Automatic updates now check after GUI is already loaded. Added option do format mp4 for iPod. (6/28/08)
-Ver. 1.8.5 - Fixed bugs related to audio encoding (6/9/08)
-Ver. 1.8.4 - Fixed more bugs related to autocrop (6/2/08)
-Ver. 1.8.3 - Fixed minor bugs related to encoding progress and Job Queue (5/31/08)
-Ver. 1.8.2 - Changed bitrate related settings to be disabled when 1 Pass, CQ Mode is selected. Fixed default extension for mkv. (5/28/2008)
-Ver. 1.8.1 - Fixed minor Job Queue related bugs. Minor GUI Improvements. (5/27/08)
-Ver. 1.8.0 - GUI Improvements. Added Output text box instead of save prompt as default. Fixed several bugs (5/27/08)
-Ver. 1.7.1 - Fixed a bug with Autocrop (5/22/08)
-Ver. 1.7.0 - Added ability to choose between different audio tracks on mpeg-2 files. You may now delete Jobs during encoding without error. (Current job can't be deleted) (5/22/08)
-Ver. 1.6.4 - Prevented Load AVS Audio prompt from showing while running a job queue. (5/9/08)
-Ver. 1.6.3 - Fixed a bug that didn't load mpeg2 files correctly in Windows XP. Temporary mpeg2 job files now delete when job is deleted (5/8/08)
-Ver. 1.6.2 - Fixed a bug with audio encoding progress. Added option to force encoding with Directshow instead of FFmpegsource for avi/mp4/mov/mkv files (5/8/08)
-Ver. 1.6.1 - Fixed a bug that prevented some jobs from running. (5/7/08)
-Ver. 1.6.0 - Added Job Queue, Changed mp4,mov,mkv to open with ffmpegsource for better compatability. Added downmixing to stereo (required for iPods/iPhones) (5/7/08)
-Ver. 1.5.2 - Fixed bug dealing with initial running of ASXGui after automatic updates, will take effect on any updates after 1.5.2 (5/1/08)
-Ver. 1.5.1 - CQ Encoding now works with Advanced Options. You can now Drag and Drop files (4/29/08)
-Ver. 1.5.0 - Added advanced x264 options (4/24/08)
-Ver. 1.4.2 - Fixed bug with deinterlace message, added message for film content (4/23/08)
-Ver. 1.4.1 - Fixed some bugs with autoresize (4/22/08)
-Ver. 1.4.0 - Added custom profiles, x264 profiles, custom crop, maximum bitrate (4/21/08)
-Ver. 1.3.3 - Fixed a bug that caused autocrop to hang (4/19/08)
-Ver. 1.3.2 - Fixed a bug that caused autocrop to crash (4/11/08)
-Ver. 1.3.1 - Fixed issue that didn't encode the entire audio when the first of a sequence of VOBs is selected. (4/7/08)
-Ver. 1.3.0 - Added Auto Crop and custom Audio Bitrate. Bugfixes. (4/7/08)
-Ver. 1.2.2 - Fixed bug that cause ASXGui to hang between progress updates on large encodes. (4/5/08)
-Ver. 1.2.1 - No longer displays bitrate or file size information when CQ is enabled. (3/30/08)
-Ver. 1.2.0 - Added 1 pass settings (Bitrate or target quantizer). Added automatic updates. (3/30/08)
-Ver. 1.1.4 - Fixed a bug with MPEG-2 decoding. (3/27/08)
-Ver. 1.1.3 - Fixed a bug with interlace detection. (3/26/08)
-Ver. 1.1.2 - Fixed bug when doubling framerate using BFF mode. Added smart interlace detection. Added encoding log. (3/26/08)
-Ver. 1.1.1 - Fixed error while loading AVS audio. Fixed error with Deinterlace/FPS conversion when Avisynth scripts are used as input. (3/25/08)
-Ver. 1.1.0 - Added KiB,MiB,GiB target file size options. Added Deinterlace and framerate options. Updated all tools to most recent versions. (3/25/08)
-Ver. 1.0.4 - Fixed bug that prevented AVS resolution changing (3/24/08)
-Ver. 1.0.3 - Fixed Bug in XP that placed temporary files in the wrong directory (3/23/08)
-Ver. 1.0.2 - Fixed bug with deleting temporary files (3/22/08)
-Ver. 1.0.1 - Fixed bug with loading separate audio file (3/22/08)
Download (http://www.mediafire.com/?mmlgdwsjlyn)
If you like ASXGui and feel you'd like to donate feel free to just click on the donate link in ASXGui or click HERE (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=morphinapg%40gmail%2ecom&item_name=ASXGui&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)
http://i33.tinypic.com/9rm891.jpg
Schrade
22nd March 2008, 08:04
Non attached pic so people can see the GUI:
http://i25.tinypic.com/30ru007.png
~bT~
22nd March 2008, 10:49
^ will check it out :thanks:
~bT~
22nd March 2008, 12:52
1st try: http://maxupload.com/img/DB20D8FE.jpg
input was an xvid file with mp3 audio.
edit: i am so annoyed! this prog deleted my all my files within the folder that i was loading from!
morphinapg
22nd March 2008, 20:35
1st try: http://maxupload.com/img/DB20D8FE.jpg
input was an xvid file with mp3 audio.
edit: i am so annoyed! this prog deleted my all my files within the folder that i was loading from!
Not sure about the error reading resolution, sometimes it will still work after getting that error though. I'm sorry about the files getting deleted. I didn't figure people would put the input video files in the program folder. It was deleting files to clean up temporary files, but I'll make sure to make it more specific to which files it deletes in case someone puts their source video there.
For now, don't put your source video in the program folder
EDIT: Try version 1.0.2, but still don't put your sources in the program folder as it does still delete some files. I will move these temporary files later, but for now, keep your sources out of the program folder.
~bT~
22nd March 2008, 21:47
^ source video was NOT in the program folder.
morphinapg
22nd March 2008, 22:02
^ source video was NOT in the program folder.
Uh, that doesn't make sense, the only files my program deletes are files that are in the program folder.
Version 1.01 deleted all files of: *.av*, *.mp*, *.ac3, *.wav, *.txt, *.bat, *.stat*
Version 1.02 only deletes:
avisynth.avs
video.mp4
audio.mp4
audio.ac3
DGIndex*.*
*.bat
*.stat*
dat*.txt
Are you able to recreate the problem? Does it still happen in version 1.0.2? Thanks.
~bT~
22nd March 2008, 23:40
^ i ain't gona risk it again. it may wipe off more than last time. and yes, again, my files were not in the prog folder. they were on a completely diff drive.
morphinapg
23rd March 2008, 01:55
^ i ain't gona risk it again. it may wipe off more than last time. and yes, again, my files were not in the prog folder. they were on a completely diff drive.
I have tested this program hundreds of times with different files and different locations and not one test ever resulted in deletion of files other than the temporary files my program creates. If this really happened, I have a hard time believing my program was the cause. Unless you can recreate the problem. I would suggest filling a folder with a bunch of random empty/useless files to see if anything happens to them.
morphinapg
23rd March 2008, 03:19
okay, I seemed to recreate the problem. It seems my program works fine in vista, but when I rebooted to XP and tried it there, it wanted to place my temporary files in the input directory, instead of the program directory. I'll look into this more. If it does this it wouldn't be able to access the encoding tools so this isn't good, so I need to fix this as soon as possible. I'll try to find out why it did it then I'll post an update.
So right now the program probably doesn't work in XP just yet. Anybody out there with vista that can confirm it works for you fine?
~bT~
23rd March 2008, 04:39
^ pls do look into it. prog looks promising and pretty straightforward to use for newbs.
morphinapg
23rd March 2008, 05:04
1.0.3 released, that bug should be fixed now
arrirc
23rd March 2008, 06:37
Feels nice to see that I have also contributed though in a very insignificant way :)
BTW, the download link is still reading as ASXGUI ver 1.01....is it 1.03 actually?
morphinapg
23rd March 2008, 06:48
Feels nice to see that I have also contributed though in a very insignificant way :)
BTW, the download link is still reading as ASXGUI ver 1.01....is it 1.03 actually?
Yeah thanks for suggesting the name for the program.
I'm not seeing where it says 1.0.1, it should be 1.0.3
Also to answer you about the other question about disabling audio upmixing (from the other thread),
If you have AC3filter installed, then choose "AS IS (no change)" under output format and make sure "expand stereo" in unchecked
If you have ffdshow installed then make sure, under the mixer options, that output speakers configuration is "same as input" and make sure "expand stereo" is unchecked.
My program will automatically detect multichannel audio sources and determine a suitable bitrate for them.
arrirc
23rd March 2008, 07:04
Ok thanks for clarifying. Yes I do have both filters already installed. So I shall keep these points in mind.
Will the audio be encoded to Nero AAC for MP4 container? And if MKV container is chosen, then will the user be able to keep the original AC3 multichannel audio?
Regarding the download, it is now showing 1.0.3, so no worries...:)
morphinapg
23rd March 2008, 07:19
Ok thanks for clarifying. Yes I do have both filters already installed. So I shall keep these points in mind.
Will the audio be encoded to Nero AAC for MP4 container? And if MKV container is chosen, then will the user be able to keep the original AC3 multichannel audio?
Regarding the download, it is now showing 1.0.3, so no worries...:)
Yes Nero AAC for mp4 and by default MKV re-encodes the audio to AC3, you need to make sure to check the box under MKV that specifies not to re-encode.
arrirc
23rd March 2008, 07:33
Ok, thanks very much....
RickA
24th March 2008, 17:45
Greets,
Nice little program you have going here. Thankyou very much for creating and offering it to us. Am playing around with it now on my main computer. Great interface, simple and easy to use just like you say.
Being new to the wonders of h264 I am really liking your Auto Bitrate function and the ability to dynamically see the projected file size change depending how we adjust bitrate or resolution. Very helpfull to me when converting smallish, non-dvd movie files to the mp4 format for better storage purposes.
Is there a rough 'rule of thumb' guideline in how much one should be able to drop the video bitrate when going to h264 from say a regular mpeg2 movie file while still keeping near source quality... ie like 15% or so? I realize each vid is different and am not seeking a hard and fast rule. Just some ballpark to know where to aim for tesing.
This may be beyond your scope for keeping things simplistic and wishfull thinking on my part, but have you considered the possibility of adding networked farm encoding for a home LAN as well? I think omion in another thread is working on it but sadly no nice GUI yet for us CLI challenged peeps.
Cheers,
Rick
morphinapg
24th March 2008, 18:22
Greets,
Nice little program you have going here. Thankyou very much for creating and offering it to us. Am playing around with it now on my main computer. Great interface, simple and easy to use just like you say.
Being new to the wonders of h264 I am really liking your Auto Bitrate function and the ability to dynamically see the projected file size change depending how we adjust bitrate or resolution. Very helpfull to me when converting smallish, non-dvd movie files to the mp4 format for better storage purposes.
Is there a rough 'rule of thumb' guideline in how much one should be able to drop the video bitrate when going to h264 from say a regular mpeg2 movie file while still keeping near source quality... ie like 15% or so? I realize each vid is different and am not seeking a hard and fast rule. Just some ballpark to know where to aim for tesing.
This may be beyond your scope for keeping things simplistic and wishfull thinking on my part, but have you considered the possibility of adding networked farm encoding for a home LAN as well? I think omion in another thread is working on it but sadly no nice GUI yet for us CLI challenged peeps.
Cheers,
Rick
I'm not sure about any mpeg2 to h264 bitrate rule of thumb. I usually just go by resolution. There might be one someone else here could tell you but I don't know
For your second question, right now I don't see a network farm in the future, but you never know. If I get more features done then maybe I will look into it.
morphinapg
24th March 2008, 18:51
1.0.4 Released
-Fixed a bug that prevented changing the output resolution of AVS files.
-Also fixed a bug with target file size.
ajamils
24th March 2008, 20:16
will this software work for converting mkv files for Ps3 playback ?
morphinapg
24th March 2008, 20:49
will this software work for converting mkv files for Ps3 playback ?
It should, but I might use PS3 video 9 using the MKV remux preset, so you don't have to recode the video if it's already AVC/h264.
ajamils
24th March 2008, 20:54
It should, but I might use PS3 video 9 using the MKV remux preset, so you don't have to recode the video if it's already AVC/h264.
as far as I know video9 does not support 5.1 surround sound and it converts audio to 2.0. I would like to have original 5.1 surround sound on my ps3 :)
morphinapg
24th March 2008, 21:17
as far as I know video9 does not support 5.1 surround sound and it converts audio to 2.0. I would like to have original 5.1 surround sound on my ps3 :)
I think downmixing is default in video9, but I also think there is an option to keep original channels. I'd try that first, if it doesn't work, then use mine but you'll have to re-encode.
Gen
24th March 2008, 22:17
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.
morphinapg
24th March 2008, 22:46
Hmm, I encountered that problem yesterday too, can't seem to figure out what caused it. I suggest downloading mkvmerge GUI and import video.mp4 and audio.ac3 from the program folder (while ASXGui is still running) Then you can close ASXGui safely. Either that or you can try re-encoding again.
ajamils
25th March 2008, 04:10
tried converting a Transformers 1080p to mp4 (DTS audio) but every time I click the encode button ASXGui stops responding and nothing happens.
morphinapg
25th March 2008, 05:59
tried converting a Transformers 1080p to mp4 (DTS audio) but every time I click the encode button ASXGui stops responding and nothing happens.
Yeah, that's one of the bugs right now, it hasn't stopped encoding, it simply has to wait for x264 to output new progress information, if you let it sit for a while you will notice that it does indeed keep encoding. I have to find a way to stop my program from hanging in between each x264 progress report or figure out a way for x264 to output its progress report more often.
ajamils
25th March 2008, 06:40
tried it again and now for some reason "avs2avi.exe" generates an error and the software crashes :(
morphinapg
25th March 2008, 06:52
tried it again and now for some reason "avs2avi.exe" generates an error and the software crashes :(
Are you loading from an Avisynth script? Did you try just loading the original file?
morphinapg
25th March 2008, 22:32
I tried loading my 1080p transformers (I have aac audio) and it was "not responding" for a few seconds then continued, with about 15-20 seconds between each progress update.
EDIT: Actually it was DTS, but the AAC was a second track for commentary, I wonder why my program detected that track instead?
morphinapg
26th March 2008, 02:20
1.1.0 Released
- Updated all tools to most recent versions
- Added option to deinterlace
- Added Option to double frame rate when deinterlacing (for 60i to 60p or 50i to 50p)
- Added field order select [TFF (default) - Top Field First, BFF - Bottom Field First]
- Added Option to convert frame rate
- Inverse Telecine can be done by selecting deinterlace and converting frame rate to 23.976
- Convert frame rate is also useful for converting 60p (59.94) films back to 24p (23.976)
arrirc
26th March 2008, 04:27
Is there any Auto Update feature included in ASXGui or it is necessary to do it manually?
morphinapg
26th March 2008, 04:45
1.1.1 Released
- Fixed error while loading AVS audio.
- Fixed error with Deinterlace/FPS conversion when Avisynth scripts are used as input.
Also, no auto update feature. I don't really have my own webserver or anything so I'm not 100% sure how to do that. I might be able to look into it though.
gswudi
26th March 2008, 04:47
neroaacenc is the old one
morphinapg
26th March 2008, 04:51
neroaacenc is the old one
Can you give me a link to a newer one?
gswudi
26th March 2008, 05:20
Can you give me a link to a newer one?
OK
Download the latest version of Nero AAC Codec 1.1.34.2
http://www.nero.com/enu/down-ndaudio.html?NeroSID=7ca7cca02d79225c9ce4f47b27bd8433
gswudi
26th March 2008, 05:26
DGMPGDec 1.5.0 rc3
http://neuron2.net/dgmpgdec/dgmpgdec150rc3.zip
mkvmergev2.2.0
http://download.videohelp.com/download/mkvtoolnix-unicode-2.2.0-setup.exe
morphinapg
26th March 2008, 06:06
OK
Download the latest version of Nero AAC Codec 1.1.34.2
http://www.nero.com/enu/down-ndaudio.html?NeroSID=7ca7cca02d79225c9ce4f47b27bd8433
This will be in the next release, thanks.
DGMPGDec 1.5.0 rc3
http://neuron2.net/dgmpgdec/dgmpgdec150rc3.zip
mkvmergev2.2.0
http://download.videohelp.com/download/mkvtoolnix-unicode-2.2.0-setup.exe
I already have these in 1.1.1
morphinapg
26th March 2008, 08:04
1.1.2 Released
-Bug when doubling framerate using BFF fixed
-Added smart interlace detection
-Added encode log
-Also updated neroaacenc
gswudi
26th March 2008, 08:33
nice work
gswudi
26th March 2008, 08:40
This will be in the next release, thanks.
I already have these in 1.1.1
ah,DGIndex 1.5.0 rc2 is in ASXGui
morphinapg
26th March 2008, 09:26
ah,DGIndex 1.5.0 rc2 is in ASXGui
Oh, weird, I thought I got that.
Wait, only RC2 is listed on
http://neuron2.net/dgmpgdec/dgmpgdec.html
Ah, I didn't see the DGIndex thread, never mind. I wonder why the site isn't updated though?
Anyway, RC3 should be included in the next release.
morphinapg
26th March 2008, 18:48
1.1.3 Released
- Fixed a bug with interlace detection
- Updated DGIndex to 1.5.0 RC3
Also, I've been talking to my brother about maybe using one of his web servers as an auto update server.
morphinapg
27th March 2008, 02:31
Is anybody having problems encoding mpg files? I assume it's a problem with DGIndex 1.5 RC3. I might have to go back to RC2
EDIT: It turns out it was a problem with my syntax, I updated it and 1.1.4 should be released soon with the fix.
morphinapg
27th March 2008, 06:09
1.1.4 Released
- DGIndex 1.5.0 RC3 now works correctly with ASXGui
- Now detects some streams that won't remux into MKV.
goby
29th March 2008, 19:19
Nice done. Thanks.
Can you make 1 pass coding for x264? Please.
morphinapg
29th March 2008, 20:44
Nice done. Thanks.
Can you make 1 pass coding for x264? Please.
Yeah I was going to make a few 1 pass options later, just normal 1 pass bitrate, 1 pass CQ, and lossless.
Not there yet, but maybe in version 1.2.0
morphinapg
30th March 2008, 06:59
1.2.0 Released
-Added 1 pass options (either use bitrate settings or target quantizer)
-Lossless encoding can be achieved by using 1 pass, target quantizer 0
-Program can now be updated automatically.
-Programs updated.
morphinapg
30th March 2008, 08:02
1.2.1 Released
-No longer displays a bitrate or file size when CQ is enabled.
Pookie
30th March 2008, 08:22
Thanks! I tested it on an Mpeg2 Transport stream file. Some questions:
Are you sure you want to use AVS2WAV instead of the newer WAVI ?
Why use DGindex to index and demux the audio, but use DirectShowSource for the Avisynth script ?
DGindex is reporting a delay in ms in the audio file. Is this identified and compensated for in the program?
goby
30th March 2008, 09:18
Wow! So far, so good...
morphinapg
30th March 2008, 15:19
Thanks! I tested it on an Mpeg2 Transport stream file. Some questions:
Are you sure you want to use AVS2WAV instead of the newer WAVI ?
Why use DGindex to index and demux the audio, but use DirectShowSource for the Avisynth script ?
DGindex is reporting a delay in ms in the audio file. Is this identified and compensated for in the program?
I'll be sure to check out WAVI, never heard of it. A couple things it needs to have though, that I use with avs2wav are multichannel output and ability to pipe it to the encoder programs. AVS2WAV seems to be working pretty good for me right now, what benefits does WAVI have over avs2wav?
I guess I don't need to demux the audio with DGindex. I am interested in using the original audio as source instead of directshow but I'm not 100% sure how to do this. The audio needs to be piped in wav format with the original channels to the encoder programs. Also I'd need a lot more demuxers for different container formats. I just figured reading the audio from directshow would be easiest and most compatible. As long as audio upmixers aren't turned on.
Also, for your question about the delay. As far as I can tell, I don't think it's needed when I'm reading the audio with directshowsource, unless the source file doesn't play right in wmp.
morphinapg
5th April 2008, 05:58
1.2.2 Released
-I fixed the annoying bug that caused ASXGui to hang between each 0.1% on large encodes
-Also added the percentage of each pass on the title bar, so you can easily track your encoding progress while doing other things.
This fix took a large rewrite of the way it retrieves the progress information from the encoders, so there might be some bugs that I could have missed. Let me know.
goby
6th April 2008, 16:25
Sorry! I can't find any bug's... :thanks:
May you add the grooming tools and option into ASXGui?
morphinapg
6th April 2008, 20:24
Sorry! I can't find any bug's... :thanks:
Even Better :)
May you add the grooming tools and option into ASXGui?
Not quite sure what you meant by grooming tools, but hopefully soon enough I'll add audio bitrate options.
After that it may take a little while before the video codec options come because those will require a lot of coding and new GUIs for them as well, but they will be coming.
Eventually I'd also like to make default settings and profiles.
The next major update (1.3.0) will probably be the addition of custom audio bitrates though.
goby
7th April 2008, 04:54
I taking about a tools like the null filter on the VirtualDub to cropping the frames.
morphinapg
7th April 2008, 05:00
I taking about a tools like the null filter on the VirtualDub to cropping the frames.
Well, Auto-Cropping black bars is coming in the next release. No custom cropping yet but maybe in the future.
morphinapg
7th April 2008, 09:30
1.3.0 Released
-Auto crop feature
-Added custom audio bitrates
-Fixed a bug that displayed the wrong length when input file was the first of many VOB files
-Fixed a bug that displayed the last audio track information instead of the first track
-Updated programs
-Upgraded from avs2wav to wavi
goby
7th April 2008, 15:11
Wow! 1.3.0 version works nice.
One more question: Can you change the programs priority from "normal" to "low" or "idle"?
morphinapg
7th April 2008, 15:51
Wow! 1.3.0 version works nice.
One more question: Can you change the programs priority from "normal" to "low" or "idle"?
By default the encoders are run at idle, and though there's no way to turn that up, I don't think there would be a real benefit. Just don't run any other programs and it runs at the same speed as normal priority. I could probably add this later though if it's really wanted.
weaver4
7th April 2008, 16:53
Can't seem to download the 1.3.0 from mediafire, anyone else having problems?
morphinapg
7th April 2008, 17:20
maybe mediafire is having problems. If you have an older version (1.2.0 or higher) then it can auto update from another server. I'll try to see if re-uploading it makes a difference.
weaver4
7th April 2008, 21:37
Tried the program and really like it...but it seems to me that you should allow people to pick the X264 profile they want to use. At least some limited choices like:
BP@L1.6 for older iPods
BP@L3.0 for newer iPods, iPhone, iTouch, QuickTime
HP@L4.1 for Xbox, PS3, PopCorn Hour, and PC
HP@L5.1 for PC
morphinapg
7th April 2008, 21:49
Tried the program and really like it...but it seems to me that you should allow people to pick the X264 profile they want to use. At least some limited choices like:
BP@L1.6 for older iPods
BP@L3.0 for newer iPods, iPhone, iTouch, QuickTime
HP@L4.1 for Xbox, PS3, PopCorn Hour, and PC
HP@L5.1 for PC
Yeah that's definitely something I want to have. I don't know yet how long it will be. It shouldn't be too hard but I need to figure out a whole profile system first (for settings as well) before I do that. But yeah I have an iPhone and PS3 and I would really like to be able to use this program for that.
morphinapg
8th April 2008, 02:24
1.3.1 Released.
-Fixed a bug that only encoded the audio from the first VOB when input file is the first of many VOBs with help from neuron2
-Updated DGIndex to 1.5.0 RC4
http://www.mediafire.com/?u1ltqxdj1mt
Now DVD Rips can be made properly from multi-VOB sources. Just input the first VOB
morphinapg
8th April 2008, 20:59
Hmm, I just had a problem using WAVI on one of my projects, I may have to go back to avs2wav as that worked.
I never had a problem with avs2wav but WAVI has been giving me this problem. Not sure why, just states it can't open my avs file and locks up. Which causes ASXGui to only display "Loading Audio" forever. WAVI has worked on some videos but not all.
morphinapg
11th April 2008, 05:12
1.3.2 Released
-Fixed a bug with autocrop.
-Went back to using avs2wav due to WAVI crashing on certain avs scripts.
I also changed some code that should fix the bug that sometimes comes up where, when encoding MP4 audio, it never switches to the final progress bar. It actually does continue to mux the video and audio together and save the file, but doesn't ever show the progress bar. Unfortunately, since this was a rare bug to begin with and seemed to only happen at random times, there was no way for me to test if I truly did fix the bug. Let me know here if anybody else runs into this problem.
morphinapg
11th April 2008, 05:36
hmm, it seems my fix didn't really fix the bug with autocrop, it just changed it. Before it would give some weird resolution (due to an error being outputted in avisynth) Now, it just hangs. I'm thinking this may be the actual filter's fault as I can't seem to open the avisynth script at all on the ones that hang. I'm going to try to contact the author of autocrop to see if this can be fixed.
goby
11th April 2008, 08:19
Can you try a manual cropping option?
morphinapg
18th April 2008, 08:45
Can you try a manual cropping option?
Yeah that wouldn't be a big deal
morphinapg
19th April 2008, 08:49
1.3.3 Released
-Fixed a bug that would cause ASXGui to hang (or just take a long time) when autocrop was selected on some files
-Updated DGIndex to 1.5.0 RC5
morphinapg
22nd April 2008, 00:57
1.4.0 Released
-save any settings to a profile
-save any settings as the default settings (Save it as the "Default" profile)
-Ability to enforce x264 profiles
-set a maximum automatic bitrate
-custom crop controls
-updated programs
I've also made some profiles which can be downloaded when you first run 1.4.0:
-DVDRIP
-DVDRIP (700MB)
-iPhone/Newer iPods
-Older iPods
-PS3 1080p
-PS3 720p
-YouTube (1 GB)
-YouTube (100MB)
Feel free to post any custom profiles you might come up with (located in the Profiles.ini file in the program directory) here
Also let me know of any bugs you encounter as this was a pretty big update.
goby
22nd April 2008, 08:07
Wow! Nice done. Thx
morphinapg
22nd April 2008, 19:30
1.4.1 Released
-Fixed a bug where Auto Resize wasn't affected by maximum bitrate
-Fixed a bug in Auto Resize when Autocrop was used, but didn't crop anything
-Added a delay to the audio when using the original audio from a DVD rip
http://www.mediafire.com/?zgfmhjgmbc9
Ajax_Undone
22nd April 2008, 23:43
There is an installer its link will be in my signature...
Enjoy
morphinapg
23rd April 2008, 20:44
1.4.2 Released
-FIXED: The automatic interlace detection no longer asks you if you want to deinterlace if deinterlace is already selected
-ADDED: Automatic film detection with mpeg2 files. (Only prompts if convert frame rate isn't already selected)
http://www.mediafire.com/?bndig2ec3od
Ajax_Undone
24th April 2008, 04:12
Installer updated:
1. Runs Updater right after install if run ASXGui.exe is selected after a successful Install...
2. The Version Numbers of the contained software mounted a top the installer will use only the First two (X.x) so is not to disqualify the Updater per a discussion with the author, and Not to over work me as this software is being regularly updated...
** The next installer release will be 1.5...
And as always the installer is in my Signature...
Enjoy....
morphinapg
25th April 2008, 20:41
1.5.0 Released
-ADDED: Advanced x264 Options
http://i31.tinypic.com/14wrl9v.jpg
Download (http://www.mediafire.com/?5as2ytdgaj7)
Download with Installer (http://www.mediafire.com/?zntjbe3jcl3)
Atak_Snajpera
25th April 2008, 21:12
This screenshot reminds me something...hmmm...MeGUI? :) At least You grouped everything very well.
morphinapg
25th April 2008, 21:19
This screenshot reminds me something...hmmm...MeGUI? :)
lol yeah that's where I got the options from, just put (most) all of it on one page.
I sort of made this program as a simpler alternative to MeGUI, so I figure for the advanced stuff I might as well use what MeGUI already had set up. Of course I rebuilt and coded the advanced options GUI from scratch myself, just used MeGUI as a visual starting point. :)
Southstorm
26th April 2008, 03:08
Very Nice...
Ajax_Undone
26th April 2008, 07:51
Kool just was going to ask for something like this...
There she be... ASXGui and RipBot264 are the best two x264 apps I have seen, but AutoMKV is the second to none for detail and options... :)
Atak morph and buzz you guys rock... Makes me wish I knew a little more about how to code such awesome apps...:rolleyes:
Keep up the good work...
morphinapg
28th April 2008, 22:06
Hmm, I'm having trouble getting some videos to copy to itunes to test on my iphone. But then some videos work just fine with the same settings. (Such as this same input file cut to a shorter length) My default iPhone/Newer iPods profile is based on the iPhone profile in MeGUI, with some settings increased for better quality.
I also changed all my settings to the same as the MeGUI iphone defaults to do a test, and I verified that it was using the same command as meGUI, but I still wasn't able to copy the file to iTunes. It also seemed to make a very bad quality file too.
Strangely, I wasn't able to open my AVS script in meGUI to test it out, so I don't know yet if it would work from there or not.
Here's a sample of the command given to x264 for iPhone output
Video is 640x272 / 23.976fps
AsxGUI Defaults:--bitrate 923 --stats "video.stats" --level 3 --ref 3 --mixed-refs --no-fast-pskip --no-cabac --subme 6 --partitions p8x8,b8x8,i4x4,p4x4 --qpmin 1 --vbv-maxrate 2500 --merange 24 --threads auto --thread-input --sar 639:640 --progress --no-psnr --no-ssim --output video.mp4 Avisynth.avs
MeGUI Defaults: --bitrate 923 --stats "video.stats" --level 3 --no-cabac --subme 6 --partitions p8x8,b8x8,i4x4 --vbv-bufsize 1000 --vbv-maxrate 10000 --threads auto --thread-input --sar 639:640 --progress --no-psnr --no-ssim --output video.mp4 Avisynth.avs
I've also tried both commands with a 1:1 sar
Is there anything in my command that would prevent iTunes from recognizing my encode?
Thanks
Atak_Snajpera
29th April 2008, 00:09
try these:
--crf 24 --level 3.0 --sar 1:1 --no-cabac --filter 0,0 --ref 2 --mixed-refs --no-b-adapt --direct auto --subme 6 --analyse p8x8,b8x8,i4x4,p4x4 --me umh
morphinapg
29th April 2008, 00:42
try these:
--crf 24 --level 3.0 --sar 1:1 --no-cabac --filter 0,0 --ref 2 --mixed-refs --no-b-adapt --direct auto --subme 6 --analyse p8x8,b8x8,i4x4,p4x4 --me umh
a couple of questions:
Why --crf 24?
Does --filter 0,0 need to be there as those are the default options? (Megui doesn't put --filter 0,0 when it's set that way)
When using MeGUI in baseline profile, all the b-frame options are disabled, so I did that with mine as well. Is that wrong? (iPhone is baseline 3.0) Otherwise I don't see the need for --direct auto, --no-b-adapt
Is there a difference between --analyse and --partitions?
Thanks
Atak_Snajpera
29th April 2008, 13:37
Why --crf 24?
Because I like single pass :)
Does --filter 0,0 need to be there as those are the default options? (Megui doesn't put --filter 0,0 when it's set that way)
When using MeGUI in baseline profile, all the b-frame options are disabled, so I did that with mine as well. Is that wrong? (iPhone is baseline 3.0) Otherwise I don't see the need for --direct auto, --no-b-adapt
Yes I agree. Those options can be omitted.
Is there a difference between --analyse and --partitions?
My MeGUI also uses --analyse instead of --partitions
buzzqw
29th April 2008, 14:38
--analyse is an alias of --partitions
the correct syntax is --partitions
BHH
morphinapg
29th April 2008, 21:23
Hmm, I tried all those options and it's almost like it's not the file that has a problem, but iTunes itself. It seems every short length file I make using the same settings works fine, but when I try it on this movie, the output size is about 700mb and does not import to iTunes. I have plenty of room on my iPhone as well. I'm trying a different movie now to see if it happens on every long file I make.
I've made movies just fine before with Videora iphone converter, but for some reason I can't get them to work on my program.
I haven't tried making movies with MeGUI, but I would think it would give me the same results since I've used the same command as MeGUI with the same problem.
If you have any ideas let me know
EDIT: Just finished my other movie encode and it won't import to iTunes. But seems to work fine for every short video I do.
morphinapg
30th April 2008, 00:57
Version 1.5.1 Released
-FIXED: CQ now works with advanced options
-ADDED: Drag and drop files to ASXGui
http://www.mediafire.com/?c4rp4tnjz6y
I've noticed that if you update ASXGui through the Automatic updater, when the new version of ASXGui opens up many things won't work including the error message telling you you must download new profiles. This was a problem that had to due with the location of updater.exe. I will fix this in 1.5.2, but it will still give you the message because you're using 1.5.1(or earlier)'s updater. But any updates following 1.5.2 will work good. 1.5.2 should be out tomorrow.
morphinapg
1st May 2008, 09:43
1.5.2 Released
-FIXED: A bug that would cause ASXGui to not function correctly directly after an automatic update.
NOTE: You will still receive this problem when updating TO 1.5.2, because it's still using the old updater, but every update following 1.5.2 should be fixed.
http://www.mediafire.com/?n93tmvtxpe4
Ajax_Undone
2nd May 2008, 05:57
The author of this program has shown me some glitches with all of the installers... For some reason the uninstall.exe is not removing the start menu program folders on uninstallation. I have checked and found that the issues only happen after an update to SP3 in XP home/pro and SP1 in Vista Ultimate/Home premium...
Something to do with admin rights...
I am working on finding a way to fix this... I don't have much time till tonight though...
Ajax_Undone
3rd May 2008, 04:32
Fixed Bro Give it a try...
morphinapg
3rd May 2008, 05:02
Installer working perfectly
Not only the installer, I can't find any bag again... :)
morphinapg
3rd May 2008, 07:51
Not only the installer, I can't find any bag again... :)
I'm assuming you meant bug, because I don't pack any bags with ASXGui :D
Ajax_Undone
3rd May 2008, 18:27
Good to know
morphinapg
7th May 2008, 10:59
1.6.0 Released
-Added Job Queue
-Changed opening of mp4/mkv/mov files to ffmpegsource instead of directshowsource
-Added downmixing of surround sources to stereo (required for iPods/iPhones)
-Updated iPod profiles (You can download the updated official profiles HERE (http://www.gilleandbros.com/foodeefunk/profiles.ini))
Notes about Job Queue:
-Jobs will be saved when ASXGui is closed, and loaded when ASXGui is loaded
-You can delete multiple jobs a a time by selecting multiple jobs
-Jobs can be added or removed during encoding (removing the current job won't stop the current job, but removing jobs at or before the current job will effect which job it performs next, if it is performing the 3rd job and you delete it, it will move to whichever job is 4th in the list when it is done)
-The d2v and audio file will be saved with MPEG-2 based jobs, so ASXGui won't need to decode the file over again.
-Clicking "Start Encoding" will encode using the current settings as the first Job, and will run any following Jobs after.
-Jobs can be changed from "Done" to "Waiting" by double clicking the Job. This will also reload all the settings (this will still re-decode MPEG2 files)
-Jobs Marked as "Done" will be removed from the queue when "Start Job Queue" or "Start Encoding" is clicked. "Done" Jobs will also be removed from the queue on exit.
-The default Job name is a number (which increases with every job added) and the output filename
-The default Job name can be overridden by typing a name in this text box:
http://i28.tinypic.com/aw6t0x.jpg
Download ASXGui 1.6.0 (http://www.mediafire.com/?rctazq03rht)
morphinapg
7th May 2008, 22:44
I seem to have figured out the problem with my iPod profiles. I had it default set to 3 reference frames (which is supported by Baseline 3.0) but apparently while shorter videos work fine with 3 reference frames, longer videos seem to need 1 to import into iTunes.
I've updated the default iPod/iPhone/iTouch profiles HERE (http://www.gilleandbros.com/foodeefunk/profiles.ini)
morphinapg
7th May 2008, 23:54
1.6.1 Released
-FIXED: Bug that broke many job queues
-FIXED: Default profiles should now have better compatibility with iPods/iPhones
Download ASXGui 1.6.1 (http://www.mediafire.com/?kuzoimzjhx1)
morphinapg
8th May 2008, 08:36
1.6.2 Released
-FIXED: Bug with audio progress bar messing up when another video is opened while encoding
-ADDED: Option to force decoding with Directshow (in case ffmpegsource messes up)
-Updated Programs
ASXGui will let you know if FFmpegsource messes up, and will give you the option to switch to directshowsource and restart the encode
Download ASXGui 1.6.2 (http://www.mediafire.com/?whb2mxgl2ly)
Ver. 1.6.1 and 1.6,2 - something wrong:
"Can't find DGIndex.d2v" on drive E: or F:
Originaly DGIndex.d2v on drive C:\ASXGui\
morphinapg
8th May 2008, 18:29
Ver. 1.6.1 and 1.6,2 - something wrong:
"Can't find DGIndex.d2v" on drive E: or F:
Originaly DGIndex.d2v on drive C:\ASXGui\
I think I have an idea of what's causing this, similar to one of the first bugs. Are you running XP (or lower)?
Whenever I add a lot of buttons and code in one update I might miss a few lines where it needs to set the current working directory (which gets changed when open or save dialogs appear) to the application directory. It's not a problem in vista, so I don't often run into it myself.
I'm going to go do some tests in XP and if they go good then I should have 1.6.3 up later today
EDIT: I was right, everything seems to be working good in 1.6.3 in XP. I'll upload it a little later today.
morphinapg
8th May 2008, 22:28
1.6.3 Released
-FIXED: Mpeg-2 files should now load properly in Windows XP (and lower)
-FIXED: Mpeg2 temporary job files will now be deleted when the job is deleted.
Download ASXGui 1.6.3 (http://www.mediafire.com/?nbyhffdvibm)
Yes, I have XP SP3.
New ver. 1.6.3 works fine (no the bugs and a bags too. LOL)
Thank you!
Decided to try 1.6.3, but when trying to convert VTS_x files to either mkv or mp4, I get "error reading input file, would you like to force decoding by Directshow.
What could be wrong?
morphinapg
9th May 2008, 09:08
Decided to try 1.6.3, but when trying to convert VTS_x files to either mkv or mp4, I get "error reading input file, would you like to force decoding by Directshow.
What could be wrong?
Are you sure you have Avisynth installed?
You're getting that on a vob/mpg file? That error shouldn't actually come up on mpeg2 sources since those are being opened through DGIndex. That error is specifically saying x264 couldn't open the Avisynth script created by ASXGui. If you are sure you have Avisynth installed, then leave the error message up and answer me these:
- Is there a DGIndex.d2v file in the program folder? (If not, are there any other d2v files there?)
-Can you open Avisynth.avs in a Media Player or Virtualdub?
Now close ASXGui and post the contents of encode.log
morphinapg
9th May 2008, 09:14
1.6.4 Released
-FIXED: When encoding from AVS source, it no longer prompts to load AVS audio when the job is loaded.
Download ASXGui 1.6.4 (http://www.mediafire.com/?9sjewcm4jxr)
O.K., just tried 1.6.4.
Got a message: "Error reading input file, would you like to force decoding by Directshow?"
Also, got an MS error: "avs2wav.exe has stopped working" and asking if I want to check for an online solution, or close the program.
In the ASXGui+ folder, , I don't see DGIndex.d2v file, nor any d2v files. I do have DGIndex app in the Tools folder.
Vista SP1, AVISynth 2.5.7.
BTW, the link for the full installer doesn't work.
morphinapg
10th May 2008, 23:41
O.K., just tried 1.6.4.
Got a message: "Error reading input file, would you like to force decoding by Directshow?"
Also, got an MS error: "avs2wav.exe has stopped working" and asking if I want to check for an online solution, or close the program.
In the ASXGui+ folder, , I don't see DGIndex.d2v file, nor any d2v files. I do have DGIndex app in the Tools folder.
Vista SP1, AVISynth 2.5.7.
BTW, the link for the full installer doesn't work.
Hmm, it sounds like DGIndex is not working correctly. Have you tried opening your source file directly in DGIndex and saving a d2v to see if that works? What type of file exactly is your source file?
Also, you should post your encode.log so I can see if there are any problems with the commands ASXGui generated. :logfile:
BTW I fixed the installer link
Thetiger
12th May 2008, 15:37
Hi morph ,
Thx for great application .
I need your help,
I'm trying to encode DVDrip to mp4 .
the process going well until it go to the Audio.
the bar of Pass1 and 2 is green and the bar of Audio and finishing is empty.
I'v try it with many profiles. I'v never get the output file but in the ASXgui directory i can see the video file(mp4-withuot sound) and the Audio file(AC3).
Do you know what's the problem , I think it's somthing with the Audio encoding.
Thanks
TheTiger
morphinapg
12th May 2008, 21:18
Hi morph ,
Thx for great application .
I need your help,
I'm trying to encode DVDrip to mp4 .
the process going well until it go to the Audio.
the bar of Pass1 and 2 is green and the bar of Audio and finishing is empty.
I'v try it with many profiles. I'v never get the output file but in the ASXgui directory i can see the video file(mp4-withuot sound) and the Audio file(AC3).
Do you know what's the problem , I think it's something with the Audio encoding.
Thanks
TheTiger
Hmm, try posting encode.log after this issue happens. I haven't run into this problem myself.
A Couple of questions:
-Do you see an audio.mp4 file in the program folder?
-Do you get any error messages? Such as an error message from avs2wav or neroaacenc?
-If you wait a while, does the muxing bar ever suddenly show, or does the final output file suddenly show? (even without audio or muxing bars showing)
Thanks
Thetiger
13th May 2008, 04:34
Hmm, try posting encode.log after this issue happens. I haven't run into this problem myself.
A Couple of questions:
-Do you see an audio.mp4 file in the program folder?
-Do you get any error messages? Such as an error message from avs2wav or neroaacenc?
-If you wait a while, does the muxing bar ever suddenly show, or does the final output file suddenly show? (even without audio or muxing bars showing)
Thanks
Hi thanks for help,
1. No Audio.mp4
2. I didn't get any error it's all seems OK.
3. I wait 10 hours after that nothing happened.
morphinapg
13th May 2008, 22:17
Hi thanks for help,
1. No Audio.mp4
2. I didn't get any error it's all seems OK.
3. I wait 10 hours after that nothing happened.
One thing I noticed in the first encode in your log is the lines:
Creating Avisynth File...
File is MPEG2, using MPEG2Source()
seems to appear several times, but with no other avisynth commands listed (even during the encode). This indicates that the encoding process was started several times, which may mess something up.
I also notice it shows the Nero digital logo without showing any avs2wav information, as well as no mp4box information. This usually happens when avs2wav messes up. But I usually get an error message with that. Are you able to open "2 gamadei halaila.ac3" in a media player? If not you may need to download a codec for it. I use ac3filter (http://ac3filter.net/project/1/releases).
If you can play the ac3 file in a media player, try downloading WAVI (http://sourceforge.net/projects/wavi-avi2wav/), extracting it to ASXGui's tools folder, and renaming wavi.exe to avs2wav.exe and seeing if it makes a difference.
I don't think the problem is on ASXGui's end, but more likely a problem with you computer's compatibility with one of the tools included or the file you're trying to convert.
Thetiger
14th May 2008, 04:09
One thing I noticed in the first encode in your log is the lines:
Creating Avisynth File...
File is MPEG2, using MPEG2Source()
seems to appear several times, but with no other avisynth commands listed (even during the encode). This indicates that the encoding process was started several times, which may mess something up.
I also notice it shows the Nero digital logo without showing any avs2wav information, as well as no mp4box information. This usually happens when avs2wav messes up. But I usually get an error message with that. Are you able to open "2 gamadei halaila.ac3" in a media player? If not you may need to download a codec for it. I use ac3filter (http://ac3filter.net/project/1/releases).
If you can play the ac3 file in a media player, try downloading WAVI (http://sourceforge.net/projects/wavi-avi2wav/), extracting it to ASXGui's tools folder, and renaming wavi.exe to avs2wav.exe and seeing if it makes a difference.
I don't think the problem is on ASXGui's end, but more likely a problem with you computer's compatibility with one of the tools included or the file you're trying to convert.
I can play ac3 file in media player
I'll try with wavi .... see what's happened
Thanks
TheTiger
Thetiger
14th May 2008, 19:31
One thing I noticed in the first encode in your log is the lines:
Creating Avisynth File...
File is MPEG2, using MPEG2Source()
seems to appear several times, but with no other avisynth commands listed (even during the encode). This indicates that the encoding process was started several times, which may mess something up.
I also notice it shows the Nero digital logo without showing any avs2wav information, as well as no mp4box information. This usually happens when avs2wav messes up. But I usually get an error message with that. Are you able to open "2 gamadei halaila.ac3" in a media player? If not you may need to download a codec for it. I use ac3filter (http://ac3filter.net/project/1/releases).
If you can play the ac3 file in a media player, try downloading WAVI (http://sourceforge.net/projects/wavi-avi2wav/), extracting it to ASXGui's tools folder, and renaming wavi.exe to avs2wav.exe and seeing if it makes a difference.
I don't think the problem is on ASXGui's end, but more likely a problem with you computer's compatibility with one of the tools included or the file you're trying to convert.
You so right , the problem was with my ac3 filter I download the one from the link you wrote and it work like a charm
Thanks for help and a great application.
TheTiger
Ajax_Undone
15th May 2008, 03:13
Hey bro I broke the installer linq again bro your going to have to update it... I wish I could replace files on www.mediafire.com rather then re upload them under a new reference id...
morphinapg
15th May 2008, 04:47
Hey bro I broke the installer linq again bro your going to have to update it... I wish I could replace files on www.mediafire.com rather then re upload them under a new reference id...
No problem, is there any specific reason it was updated? The old installer should work just fine with new releases.
Ajax_Undone
16th May 2008, 06:58
No problem, is there any specific reason it was updated? The old installer should work just fine with new releases.
I run a VB script to compile them and upload them it makes my life easyer..... :)
morphinapg
16th May 2008, 07:07
I run a VB script to compile them and upload them it makes my life easyer..... :)
I see
morphinapg
20th May 2008, 08:41
I've noticed no one has posted for a while, I hope that means everything is working great with no bugs.
I haven't updated it for a while because right now there isn't really anything I can think of adding to my program. If you think of anything, feel free to post it here.
Hello,
I am testing out your little software right now. While waiting for it to complete. I have a few questions/concerns that pops into my head.
1. Is there place where I can select my audio? I am testing a music video .vob file with 2 audio tracks. I guess I am looking for a place where I can select which audio tracks or keep both audio tracks for the output file. Because sometimes the first audio is not the audio that user wants.
2. Is the audio normalize by default?
Well that's it for now until my first test completes. I have a bunch of music videos in .vob format and looking for a simple encoder that can batch convert it into .mkv with two audio tracks and with the quality that is closest to the original. So, I guess I really like your Auto Resize because I don't even know the quality of each .vob file. I have some .vob file with bad picture quality that is comparable to VCD quality, but the file size is 150MB + for a 5 min. songs.
Thanks!
morphinapg
20th May 2008, 19:59
Hello,
I am testing out your little software right now. While waiting for it to complete. I have a few questions/concerns that pops into my head.
1. Is there place where I can select my audio? I am testing a music video .vob file with 2 audio tracks. I guess I am looking for a place where I can select which audio tracks or keep both audio tracks for the output file. Because sometimes the first audio is not the audio that user wants.
2. Is the audio normalize by default?
Well that's it for now until my first test completes. I have a bunch of music videos in .vob format and looking for a simple encoder that can batch convert it into .mkv with two audio tracks and with the quality that is closest to the original. So, I guess I really like your Auto Resize because I don't even know the quality of each .vob file. I have some .vob file with bad picture quality that is comparable to VCD quality, but the file size is 150MB + for a 5 min. songs.
Thanks!
1. By default, ASXGui loads the first audio track from a VOB. If you want to select a different track, you can do so from the separate audio track option. If you want to select a separate audio track from a VOB, right now the only way to do that is open the VOB, wait for reading MPEG to finish, go to the ASXGui folder and copy the audio track you want to a different folder (or else it will be deleted). Then Load that copied file in the separate audio track box. Of course if you do it this way delays won't be factored in.
I'd like to find a way to simplify this if at all possible, but with the way DGIndex stores its tracks I'm not sure if I'd be able to. DGIndex only reports the name of the first audio track to me. If it were able to report the names of the others, then maybe I'd be able to do something here.
2. Right now ASXGui only normalizes audio if you downmix to stereo because that usually results in a quieter audio stream. If you want this, I can add t so it always normalizes.
Atak_Snajpera
20th May 2008, 20:58
but with the way DGIndex stores its tracks I'm not sure if I'd be able to
Create function which will find all .ac3 .mp2 ... files in directory and then add them to specific component.
morphinapg
20th May 2008, 21:33
Create function which will find all .ac3 .mp2 ... files in directory and then add them to specific component.
Hmm, I guess that's possible, then the user could just select which file they want to use. Hmm, sounds like a good starting point at least. Does DGIndex only output ac3, mp2 and wav files for audio tracks?
Right now I use the
__aud__
function in the template.avs file to return the first audio track demuxed. I PM'd neuron2 asking if he could add
__aud2__
__aud3__
etc and that would be the easiest way, but maybe I could figure something out in the mean time.
Atak_Snajpera
20th May 2008, 21:42
then the user could just select which file they want to use.
This is exactly what I do in my gui.
Does DGIndex only output ac3, mp2 and wav files for audio tracks?
Don't forget about .dts
I PM'd neuron2 asking if he could add
I wouldn't count on it :)
morphinapg
20th May 2008, 21:49
Don't forget about .dts
Ah yes of course lol.
Yes, Please allow users to select which audio to use, prioritize multi audio tracks and support of multi-audio tracks... as .mkv file support mulitple audio.
Yes, Please normalize audio by default or have a check box for it. As I don't see why users don't want higher audio when they have a low audio file...To me, I think mind as well encode the audio if I am encoding the video already....
Suggestion:
Since this is suppose to be a simple fast batch UI. I think it should have a flow when setting up a large queue. I find it weird when setting up my queue. The process doesn't flow easily.
I first open my .vob file and let DGIndex.exe analyzes the mpeg file. Then I move down and select Output format. Next is the Options box, and the box below that. But I find it weird to click on the Job Queue in order to add it to my queue. I think you should have a Add to Queue button right on the front of the UI not embedded in any tab b/c that's another click. Plus I think you should auto generate the new output file name base on the input file and just change the extention from .vob to .mkv. Again I find it weird when I have to give it a name when I just want to convert from .vob to .mkv. Whatever the input filename is..the output filename should be the same thing just .mkv/mp4 right?
So, to sum this all up. Please have the Add Job button under the Job Queue tab outside by itself so right after all the settings are check and set up...I would have to click the Add Job to add to queue. And of course the new file would have the same file name as the import file just a .mkv/mp4 extention.
Thanks
Ajax_Undone
21st May 2008, 01:43
So you figure out your problem??? Morph:rolleyes:
morphinapg
21st May 2008, 02:52
So you figure out your problem??? Morph:rolleyes:
lol, I think so, but I'm still working on it.
morphinapg
21st May 2008, 03:00
Yes, Please allow users to select which audio to use, prioritize multi audio tracks and support of multi-audio tracks... as .mkv file support mulitple audio.
Hm, sounds good, I'm going to have to deal with the problem of opening multiple tracks first though.
Yes, Please normalize audio by default or have a check box for it. As I don't see why users don't want higher audio when they have a low audio file...To me, I think mind as well encode the audio if I am encoding the video already....
I often don't re-encode my audio to keep the original bit-for bit when converting from an HDTV stream or DVD to mkv. But I can see the need for normalize as being default.
Suggestion:
Since this is suppose to be a simple fast batch UI. I think it should have a flow when setting up a large queue. I find it weird when setting up my queue. The process doesn't flow easily.
Yeah, I think I noticed that too while I was working on the queue GUI. I'd have to figure out what the best way of doing this would be.
I think you should auto generate the new output file name base on the input file and just change the extention from .vob to .mkv.
That can be easily done.
These all sound like good ideas, or at least enough to get me started on 1.7.0
Thanks everybody.
I often don't re-encode my audio to keep the original bit-for bit when converting from an HDTV stream or DVD to mkv. But I can see the need for normalize as being default.
Yes, you're right. But sometimes from a DVD the ac3 is very soft. And since we're encoding..mind as well normalize and convert the audio. But you can have a check box for user to check to normalize or not would be fine.
I have a few questions for you hopefully you can briefly explain for my understanding:
1. How is the output filesize is calculated? I choose the default Auto Resize and Auto Bitrate and from a 120MB .vob file, it outputs a 62.6MB .mkv file. I am very impress with the quality of the .mkv file. So I was just wondering how that works.
2. Like I said before, I have a lot of .vob files and would like to convert them into .mkv. It would be a pain for me to sit here and load every .vob files. I was thinking to create a little VB apps to generate the Jobs.ini file and your apps reads it and convert it. But I am not sure how you generate the Jobs.ini file. And I guess because each file is different that why you analyze it first...so hopefully you can show me some tricks so that I can batch create the Jobs.ini and convert my 3000+ .vob files.
I stumbled on 2 error in Vista. Hopefully this can help you.
Error #1: When I input the .vob file and when DGIndex kicks off. I get an error AVS2AVI, if I click Close the Program and it still continues. Screen shot here
http://i81.photobucket.com/albums/j230/evandam/AVS2AVICrash.jpg
Error #2: After the test of the above file that I got the error above. I left everything as is and imported another .vob file and I again DGIndex kicks off and right away I get this error.
http://i81.photobucket.com/albums/j230/evandam/DGIndexCrash.jpg
Next, I click Continue on the error, but nothing happen. The Reading MPGE File Please Wait stays there forever.
Details of Error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'G:\ASXGui\DGIndex.avs'.
File name: 'G:\ASXGui\DGIndex.avs'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at System.IO.File.OpenText(String path)
at ASXGui.MainForm.Timer1Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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
----------------------------------------
ASXGui
Assembly Version: 1.6.4.5115
Win32 Version: 1.6.4.5115
CodeBase: file:///G:/ASXGui/ASXGui.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.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
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.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.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
----------------------------------------
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
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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
21st May 2008, 05:46
Yes, you're right. But sometimes from a DVD the ac3 is very soft. And since we're encoding..mind as well normalize and convert the audio. But you can have a check box for user to check to normalize or not would be fine.
Will do
I have a few questions for you hopefully you can briefly explain for my understanding:
1. How is the output filesize is calculated? I choose the default Auto Resize and Auto Bitrate and from a 120MB .vob file, it outputs a 62.6MB .mkv file. I am very impress with the quality of the .mkv file. So I was just wondering how that works.
If you notice on the first page, I put it in the notes, that before I used ASXGui I often used Nero Recode to do my AVC encodings. In Nero Recode, they have an automatic resize based on bitrate option. I decided to create an algorithm that not only will make an automatic resize for any bitrate, but also take that and do it in reverse, and apply an automatic bitrate based on the resolution. The algorithm isn't exactly the same as Nero's but it's very close, and seems to work pretty good. Plus I'm using the x264 codec instead of Nero Digital, so I have a lot of more options, many of which are defaulted very high in ASXGui.
2. Like I said before, I have a lot of .vob files and would like to convert them into .mkv. It would be a pain for me to sit here and load every .vob files. I was thinking to create a little VB apps to generate the Jobs.ini file and your apps reads it and convert it. But I am not sure how you generate the Jobs.ini file. And I guess because each file is different that why you analyze it first...so hopefully you can show me some tricks so that I can batch create the Jobs.ini and convert my 3000+ .vob files.
Wow that's a lot of VOBs :eek:
Anyways, what I would do, is make one job for a vob, then open jobs.ini. Since the automatic resolution and automatic bitrates are calculated in ASXGui, and not stored in Jobs.ini, you don't need to worry about that. Jobs.ini simply stores your settings. Copy the whole job (starts with Job=, and ends with END) All you would have to do is change the input file name (Input= ) to whatever the input file is, and if you want (I don't think it's required) remove the file listed under MPGAudio.
I stumbled on 2 error in Vista. Hopefully this can help you.
Do You get these errors in XP? (if you have XP)
Error #1: When I input the .vob file and when DGIndex kicks off. I get an error AVS2AVI, if I click Close the Program and it still continues.
While the program is displaying this error answer this:
Do you have all these files?
ASXGui\tools\avs2avi.exe
ASXGui\tools\mediainfo.exe
ASXGui\tools\DGDecode.dll
ASXGui\avs2avi.avs
ASXGui\DGIndex.d2v
Do you have any of the files this makes?
ASXGui\avs2avi.avi
ASXGui\d2v.txt
Error #2: After the test of the above file that I got the error above. I left everything as is and imported another .vob file and I again DGIndex kicks off and right away I get this error.
http://i81.photobucket.com/albums/j230/evandam/DGIndexCrash.jpg
Do you have ASXGui\tools\template.avs?
These seem like strange errors, which I haven't encountered before. Hmm. Do you have UAC on or off? Try turning it off and see if that makes a difference. Also is your .NET framework up to date?
EDIT: I may have found the problem. It seems to happen when you use the same mpeg2 file to make multiple jobs, am I right? If that's where you're having the problem, it will be fixed in the next version.
Yo, morphy!!
Is x264farm fully supported in your prog? I have a few people who are really interested, and your program was rumored to support it in full. Is this true?
morphinapg
21st May 2008, 20:03
Yo, morphy!!
Is x264farm fully supported in your prog? I have a few people who are really interested, and your program was rumored to support it in full. Is this true?
I know nothing about x264farm sorry. If it works somehow then great, but I didn't design ASXGui with that in mind and I don't know how it's used sorry.
Ajax_Undone
21st May 2008, 20:57
http://omion.dyndns.org/x264farm/x264farm.html
I suppose this will answer any question about x264farm
Think that x264farm is not used by asx..
Okay, I guess it was just a rumor. Thanks anyways though.
morphinapg
22nd May 2008, 09:39
1.7.0 Released
-ADDED: ability to choose between different audio tracks on mpeg-2 files.
-ADDED: Audio is now normalized when re-encoded
-ADDED: The output filename is now auto-generated from the input file name.
-CHANGED: Moved "Add Job" button down by "Start Encoding" button for easier access.
-CHANGED: Disabled most of the auto tab switching, so ASXGui stays on the tab you're on (except when you first start encoding, it switches to the progress tab)
-FIXED: You may now delete Jobs during encoding without error. (Current job can't be deleted)
-FIXED: bug where progress bars didn't display properly.
-FIXED: Double clicking a Job now takes less time for a mpeg-2 based Job.
-FIXED: Bug with Autocrop being used twice
-Updated programs
Download ASXGui 1.7.0 (http://www.mediafire.com/?zycmmm0bjmt)
I am still planning to add multi-track writing in a future release.
EDIT: I just noticed that Autocrop isn't working right now. I'm pretty sure I know why, (Mediainfo was updated and I forgot to update autocrop's way of reading mediainfo's information) I should have 1.7.1 out tomorrow
Wow, that's fast!!! I'll give it a try this weekend.
I am still planning to add multi-track writing in a future release.
I can't wait for the multi-track audio support!!!
Keep up the good work morphinapg !!!
Thanks
Ajax_Undone
22nd May 2008, 22:01
Kool thanx for the update cant wait to try it out on some HD material I just got...
morphinapg
22nd May 2008, 22:04
1.7.1 Released
-FIXED: Bug that broke autocrop
I can't save a profiles anymore...
morphinapg
22nd May 2008, 22:52
I can't save a profiles anymore...
Yes you can, I just changed "Save" and "Del" to "+" and "-"
-ADDED: ability to choose between different audio tracks on mpeg-2 files.
Suggestion:
Can you please auto select the Audio Track to 1 instead of leaving it as "default". I assume most people would want to select 1 as default and they can change it if they want.
-ADDED: The output filename is now auto-generated from the input file name.
Suggestion:
Instead of what you have right now when user click the Add Job button and the Save As Window pops up. Why don't you do it like this to make things flow easier? Have a text box right under the Video File input text box with the same path as the input path. Because with that text box there, the output file will always goes to the same path as the input but with a different extention. And also have a button next to it to browse to a different output path just in case the user wants to change the output path that is different from the input path.
Also have a text box in the Output Info tab with the same file name as the input file name. Because with that text box there in the Output Info tab, users can change the output file name if they wish.
So with the two new text boxes I've suggested. Whatever the values in those text boxes would represent the output path and filename.
Questions:
1. When I click the Output Format as MKV. I notice in the Output Info tab at the Audio Format section it saids AC3. So does that means the AC3 file is going to be Normalize or just mux into the mkv file? My test file is .vob with dual ac3 audio.
Thanks
Loading a short (1 minute) DV file PAL with PCM audio. Leaving everything on default (MP4 output) an just checked the "Deinterlace".
Both passes of video encoding finished. The video is OK because I tested it.
Than the "Loading audio" remain forever.
I tested the avs file created by your program with BeSweet and was encoded OK by BeSweet.
Just ASXGui hangs up with "Loading audio".
Another things: I put the program in C > Program Files. But on C I don't have more space for temporary files. Can I change it?
I think correct is FINISHED not FINISH.
enjoy,
Mtz
morphinapg
23rd May 2008, 06:44
Suggestion:
Can you please auto select the Audio Track to 1 instead of leaving it as "default". I assume most people would want to select 1 as default and they can change it if they want.
I'm not sure exactly what you mean, as "Default" just means the first audio track (the list is listed alphabetically, so not necessarily in order) Neuron2 let me know he is adding the ability in DGIndex for my app to tell which order the tracks are in a future update. The reason it doesn't automatically select which track out of the list was because I tried that, and for some reason it resulted in an infinite loop, so I postponed that for now, and used "Default" instead.
Suggestion:
Have a text box right under the Video File input text box with the same path as the input path.
And also have a button next to it to browse to a different output path just in case the user wants to change the output path that is different from the input path.
Also have a text box in the Output Info tab with the same file name as the input file name. Because with that text box there in the Output Info tab, users can change the output file name if they wish.
So with the two new text boxes I've suggested. Whatever the values in those text boxes would represent the output path and filename.
I could understand why you'd want the first one, but why the second? The reason I have a save dialog is I usually save my videos to a different folder than the input, such as "My Videos" or the desktop, but I can add this if you want it (You're talking something like MeGUI has for output path right?)
Questions:
1. When I click the Output Format as MKV. I notice in the Output Info tab at the Audio Format section it saids AC3. So does that means the AC3 file is going to be Normalize or just mux into the mkv file? My test file is .vob with dual ac3 audio.
Thanks
Yes, the audio is getting re-encoded to ac3 and normalized, unless you select "Don't Recompress Audio"
Loading a short (1 minute) DV file PAL with PCM audio. Leaving everything on default (MP4 output) an just checked the "Deinterlace".
Both passes of video encoding finished. The video is OK because I tested it.
Than the "Loading audio" remain forever.
I tested the avs file created by your program with BeSweet and was encoded OK by BeSweet.
Just ASXGui hangs up with "Loading audio".
A few questions:
1. Does audio.mp4 appear in the program folder?
2. Does the final file appear where you saved it if you wait a while?
3. Does the last progress bar ever start doing anythig if you wait a while?
4. Can you post the contents of encode.log after such a problem occurs?
5. Does this happen every time or just once in a while?
6. Also, maybe post the contents of audio.avs (while this is happening, as that file is temporary and deletes after you close ASXGui or click stop encoding)
Another things: I put the program in C > Program Files. But on C I don't have more space for temporary files. Can I change it?
Not yet but hopefully something I want to implement in the future. I'd suggest installing ASXGui to a drive with extra space on it for now.
I think correct is FINISHED not FINISH.
lol, okay...:rolleyes:
1.7.1 Released
-FIXED: Bug that broke autocrop
Not really.
I'm not sure exactly what you mean, as "Default" just means the first audio track (the list is listed alphabetically, so not necessarily in order) Neuron2 let me know he is adding the ability in DGIndex for my app to tell which order the tracks are in a future update. The reason it doesn't automatically select which track out of the list was because I tried that, and for some reason it resulted in an infinite loop, so I postponed that for now, and used "Default" instead.
Oh ok, I thought "Default" was just there and I would have to select the first audio. If Default means the first audio then that's fine.
I could understand why you'd want the first one, but why the second? The reason I have a save dialog is I usually save my videos to a different folder than the input, such as "My Videos" or the desktop, but I can add this if you want it (You're talking something like MeGUI has for output path right?)
Well I was thinking something like AutoMKV where the output path is under the input path. Users can change the output path there once and for all.
Yes, the audio is getting re-encoded to ac3 and normalized, unless you select "Don't Recompress Audio"
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??.
Side Question base on your own experiences:
Which 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 #.
A few questions:
1. Does audio.mp4 appear in the program folder?
2. Does the final file appear where you saved it if you wait a while?
3. Does the last progress bar ever start doing anythig if you wait a while?
4. Can you post the contents of encode.log after such a problem occurs?
5. Does this happen every time or just once in a while?
6. Also, maybe post the contents of audio.avs (while this is happening, as that file is temporary and deletes after you close ASXGui or click stop encoding)
1. No.
2. No.
3. No. Just "Loading Audio..."
4. Last lines are something like:
encoded frames: 1577/1583 (99.6%), 12.53 fps, eta 0:00:00
AC EOB marker is absent pos=64
Pass 2 Finished
AC EOB marker is absent pos=65
AC EOB marker is absent pos=64
...
AC
5. Everytime I want to encode a DV file
6. Directshowsource("D:\MiniDV\My Video-03\Video\My Video-03.avi", fps=25,seekzero=true)
Normalize()
I made antother test. Loaded the DV file into VirtualDub and encoded only the video with XviD. The audio was untouched.
The XviD file was converted to mp4 by ASXGui with no erros.
So the problem is with DV files.
Here is the file. (http://www.filebox.ro/download.php?key=789b6a26786d08c3f6fd3db9f5eb6702&lang=ro)
enjoy,
Mtz
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.
morphinapg
3rd June 2008, 06:36
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.
See if your mkv is actually there first. I'm actually not 100% sure what's been causing this. I keep coming up with new ways to try to detect the problem and it keeps happening with every update I do. If you could post your log it'd be great. I don't know for sure if it'll help, but maybe. I'm sure it's not a problem with the actual programs themselves, but a problem with how asxgui reads the data from the programs.
xaero
3rd June 2008, 07:22
yup, lags on both PC and PSP..
how do i disable updating on startup?
morphinapg
3rd June 2008, 07:56
yup, lags on both PC and PSP..
how do i disable updating on startup?
No such disabling of updates yet, but I guess I could add that if you want. It really isn't that annoying if you have the latest version since it only downloads a small text file to check the current version. Although it might be slow on starting up if you aren't connected to the internet.
Also, I'm not quite sure what to do about your psp encode, maybe try updating your codecs.
Also, you said your sources were m4v podcasts right? Does it work if you rename them to mp4?
africanmarty
3rd June 2008, 11:54
See if your mkv is actually there first. I'm actually not 100% sure what's been causing this. I keep coming up with new ways to try to detect the problem and it keeps happening with every update I do. If you could post your log it'd be great. I don't know for sure if it'll help, but maybe. I'm sure it's not a problem with the actual programs themselves, but a problem with how asxgui reads the data from the programs.
ok no worries. Heres the log :
del dgindex*.* && tools\DGIndex -HIDE -EXIT -AT=[C:\asxgui\tools\template.avs] -AIF=[C:\08-05-31(Sat) M-STARSKY & HUTCH - ads cut.mpeg] -OF=[DGIndex] && dir /b dgindex*.ac3 dgindex*.wav dgindex*.dts dgindex*.pcm dgindex*.mp* dgindex*.aac > tracks.txt
ECHO y | tools\avs2avi avs2avi.avs avs2avi.avi && tools\mediainfo avs2avi.avi > d2v.txt
EDIT: opps maybe thats not it, but thats all i could find.
Iam getting the below error when i try to convert ts files to mp4/mkv file. Please note that iam using the latest version.
Could not find the file 'C:\Program Files\ASXGui\d2v.txt
Thanks in advance.
xaero
3rd June 2008, 16:45
No such disabling of updates yet, but I guess I could add that if you want. It really isn't that annoying if you have the latest version since it only downloads a small text file to check the current version. Although it might be slow on starting up if you aren't connected to the internet.
Also, I'm not quite sure what to do about your psp encode, maybe try updating your codecs.
Also, you said your sources were m4v podcasts right? Does it work if you rename them to mp4?
1. mostly m4vs coz they look the best at that filesize.. but i do have xvid avis and wmvs.. i'll rename it and try again..
2. i'll update all my codec/codec packs..
3. the update at startup slows down program startup, not a big deal..
Ajax_Undone
3rd June 2008, 23:59
I recomend the latest FFDshow (http://downloads.sourceforge.net/ffdshow-tryout/ffdshow_rev2000_20080612_clsid.exe?modtime=1213304020&big_mirror=0) for Codecs...
Codec packs only cause problems...
Slifer
4th June 2008, 01:29
Ok, so i installed this and it worked when i opened it for the first time. But if i close the program, and lets face it-im going to have to at some time, it stops working. It keeps saying something like unhandled error: access to mediainfo.bat is denied.
I am using windows Vista and i just cant figure why it keeps doing this. Anyone able to help me?
Ajax_Undone
4th June 2008, 03:14
Are you using an admin account or a regular account...
kri kri
4th June 2008, 04:55
I get an NeroACC crash whenever the audio tries to decode. I tried using admin rights but that didn't work.
morphinapg
4th June 2008, 05:58
Iam getting the below error when i try to convert ts files to mp4/mkv file. Please note that iam using the latest version.
Could not find the file 'C:\Program Files\ASXGui\d2v.txt
Thanks in advance.
Do you get all of the following files in the Program Files\ASXGui:
dgindex.avs
dgindex.d2v
tracks.txt
avs2avi.avs
avs2avi.avi
and though it says file not found, is d2v.txt actually in the folder anyway? (This would mean I need to fix the timing of looking for that file)
Ok, so i installed this and it worked when i opened it for the first time. But if i close the program, and lets face it-im going to have to at some time, it stops working. It keeps saying something like unhandled error: access to mediainfo.bat is denied.
I am using windows Vista and i just cant figure why it keeps doing this. Anyone able to help me?
Yeah sounds like you need admin rights. Try loading it with administrator right (right click when opening) or disable the UAC prompt. I wouldn't recommend disabling the UAC prompt for most users though, unless you really know what you're doing.
I get an NeroACC crash whenever the audio tries to decode. I tried using admin rights but that didn't work.
Does the encoding video go though just fine? If so, you shouldn't be having a problem with admin rights.
I would say post the contents of encode.log here.
Slifer
4th June 2008, 13:39
Thankies peeps, i have admin rights ( i am the admin lol). I didnt realise i had to run it as admin so thanks again :P
Now iam not getting the error, after reinstalling the ASXGui 1.8.4.
Thanks.
binh25
6th June 2008, 13:25
Everything looks okay from here. If you open Avisynth.avs in a media player do you get any errors?
Media Player can play back the file and PowerDVD 7.3 play back the file ok :confused:
morphinapg
9th June 2008, 22:00
1.8.5 Released
Should fix most problems with audio encoding
diogen
11th June 2008, 23:55
This happened for the first time with 1.8.5 but was happening almost every time with 1.8.3: error message after the encode is done, and done properly...
Diogen.
Ajax_Undone
15th June 2008, 02:58
dgindex might still be in memory while the program tries to access the ac3... looks like another improper delay error morph...
maybe putting in a process checker to hold off running other programs until the one previous has been cleared from the memory...
new version of FFDshow (http://downloads.sourceforge.net/ffdshow-tryout/ffdshow_rev2000_20080612_clsid.exe?modtime=1213304020&big_mirror=0) by the way...
morphinapg
15th June 2008, 07:27
No it wouldn't be DGIndex, but more likely mkvmerge. It's trying to delete the temporary ac3 file after conversion is done and can't because something is still accessing it. I'll include this in my list for 1.9.0 which should be out sometime next week.
Ajax_Undone
15th June 2008, 08:21
Kool keep up the good work...
Atak_Snajpera
15th June 2008, 20:38
No it wouldn't be DGIndex, but more likely mkvmerge. It's trying to delete the temporary ac3 file after conversion is done and can't because something is still accessing it. I'll include this in my list for 1.9.0 which should be out sometime next week.
Do not store temp files in program files directory. Use %system temp% instead.
stax76
15th June 2008, 21:05
In Vista it's not even possible to write to program files in a common setup.
morphinapg
15th June 2008, 21:09
Do not store temp files in program files directory. Use %system temp% instead.
I know, that's something I need to change. When I first created this program I wasn't installing it like a normal program so I just used the folder ASXGui was in to make things easier. Now, it seems it has made things harder, so I need to change this. Maybe for 2.0.0
tacman1123
19th June 2008, 23:45
I'm using 1.85 to create an mp4 file with the profile set to IPhone (also tried with "Newer IPods"). Encoding seems to go fine, and the mp4 plays fine in VLC, but when I try to import the movie into iTunes, it doesn't "take". There are no error messages, so I'm not sure if it's a codec problem, or a file problem, or what.
Any ideas? I suspect this is something really simple.
BTW, I used Super to encode an avs script to an mp4 file, and it worked fine (that is, imported into iTunes on on to my iPhone), but Super mucks with the registry and break Avisynth, so I don't want to use it again.
Thx,
Tac
Atak_Snajpera
19th June 2008, 23:51
probably -pod switch is missing
tacman1123
19th June 2008, 23:55
Where would I put that? What program would require that switch? x264? the muxing program?
Atak_Snajpera
19th June 2008, 23:56
mp4box
tacman1123
20th June 2008, 00:07
I think you're right. The last line of encoding is
tools\mp4box -add video.mp4 -add audio.mp4 -fps 29.97 -tmp tools -new "C:\v\ci\scripts\q20.mp4"
And the mp4box help shows that ipod and psp need special flags:
-ipod rewrites the file for iPod
-psp rewrites the file for PSP devices
Fortunately, the author of ASXGui seems pretty responsive to issues like this, maybe I'll see 1.86 auto-load before long. I'm guessing the best way to do this would be to add PSP and IPod radiobox in the Output Format pane, and tie that setting to the profiles.
Tac
Atak_Snajpera
20th June 2008, 00:09
PSP does not require -psp switch!
morphinapg
20th June 2008, 03:48
Thanks for the info. Most of the videos I've made so far with the iphone setting have worked just fine in my iPhone so I didn't know about that. I'll make sure to add it to my list of things for the next version.
I know some of my older ipod profiles caused the very error you described but eventually I changed it to only use 1 reference frame instead of 3 and that seemed to fix it. Make sure it's set to 1 ref frame for now (in advanced x264 settings) but I'll work on adding the -ipod switch for the ipod profiles.
jordan4584
27th June 2008, 17:38
Hi, I'm getting the problem 'error reading input file' with an m2ts file. Can you help?
Edit: The problem has changed now, it just freezes now when I click encode...
morphinapg
28th June 2008, 22:43
Hi, I'm getting the problem 'error reading input file' with an m2ts file. Can you help?
Edit: The problem has changed now, it just freezes now when I click encode...
After you click encode, are you able to open avisynth.avs from ASXGui's program directory in another program, such as WMP without error?
tacman1123
29th June 2008, 01:53
I know some of my older ipod profiles caused the very error you described but eventually I changed it to only use 1 reference frame instead of 3 and that seemed to fix it. Make sure it's set to 1 ref frame for now (in advanced x264 settings) but I'll work on adding the -ipod switch for the ipod profiles.
Thanks. I tried at 1, no luck, I'll can wait until you've added the -ipod switch.
morphinapg
29th June 2008, 03:52
1.9.0 Released
-ADDED: Format for iPod now an option under MP4 (adds -ipod switch to mp4box)
-CHANGED: automatic updates now check after the form is loaded t speed up load times
-FIXED: ASXGui should now make sure all tools are closed before deleting temporary files
If you have profiles from an earlier version, you will have to check the "Format for iPod" check box and re-save all iPod profiles
Ajax_Undone
29th June 2008, 07:45
Congrats bro keep up the good work...
P.S. Works grate on video encodes for my new Ipod.
jordan4584
29th June 2008, 14:36
After you click encode, are you able to open avisynth.avs from ASXGui's program directory in another program, such as WMP without error?
Nope it just freezes up good.
goby
30th June 2008, 01:47
Hi Morphinapg! Can I download v.1.8.5 ? V1.9.0 doesn't work for me...
morphinapg
30th June 2008, 03:57
Nope it just freezes up good.
Is it a large file you're trying to compress? If so, sometimes it takes a while to load, because it has to index the file first. Wait a while and see if it eventually starts encoding.
Hi Morphinapg! Can I download v.1.8.5 ? V1.9.0 doesn't work for me...
What doesn't work for you? Can you be a little more specific? Anyway here's a link to 1.8.5 for now:
http://www.mediafire.com/?biejn0d55j9
goby
30th June 2008, 05:05
Thx! Something wrong with the frame rate and "auto crop black bars". It should be 960x720. If I change "Frame Rate" from 23.976 to 59.94 or not use option "Frame Rate", resolution automatically going down to 720x480.
morphinapg
30th June 2008, 09:56
Thx! Something wrong with the frame rate and "auto crop black bars". It should be 960x720. If I change "Frame Rate" from 23.976 to 59.94 or not use option "Frame Rate", resolution automatically going down to 720x480.
I'm not having problems myself. What type of input file are you using? Are you enforcing a x264 profile? Some of those have requirements for resolution and frame rate.
jordan4584
30th June 2008, 15:56
Is it a large file you're trying to compress? If so, sometimes it takes a while to load, because it has to index the file first. Wait a while and see if it eventually starts encoding.
With the new version I'm getting the message 'error reading input file'. When I try to quit, it tells me that do I really want to, as its still encoding, even though the gui says finished.
The file is 14GB BTW...
Quick question:
Why would the file size of a .mp4 with the Iphone profile be bigger than then the original xvid .avi file?? I have a xvid .avi file and want to convert it for my Iphone using the Iphone profile. But when I look at the Output Info tab, the file size is bigger than my Input Info. Why??
Input Info:
Video Format: AVI/MPEG 4
Video Bitrate: 1198 Kbps
Resolution: 640x480
Audio Format: MPEG
Audio Bitrate: 128 Kbps
File Size: 216 MB
OutPut Info:
Video Format: MPEG 4/AVC
Video Bitrate: 1.67 mbps
Resolution: 640x480
Audio Format: AAC LC
Audio Bitrate: 96 Kbps
File Size: 284.79 MB
morphinapg
3rd July 2008, 00:13
Quick question:
Why would the file size of a .mp4 with the Iphone profile be bigger than then the original xvid .avi file?? I have a xvid .avi file and want to convert it for my Iphone using the Iphone profile. But when I look at the Output Info tab, the file size is bigger than my Input Info. Why??
Input Info:
Video Format: AVI/MPEG 4
Video Bitrate: 1198 Kbps
Resolution: 640x480
Audio Format: MPEG
Audio Bitrate: 128 Kbps
File Size: 216 MB
OutPut Info:
Video Format: MPEG 4/AVC
Video Bitrate: 1.67 mbps
Resolution: 640x480
Audio Format: AAC LC
Audio Bitrate: 96 Kbps
File Size: 284.79 MB
It's because by default, ASXGui uses my Automatic Bitrate algorithm, which is based on quality and not file size. If you want it to be smaller, you can simply set a custom bitrate (or target file size), but make sure to set the resolution manually at 640x480, or else the automatic resolution algorithm will reduce the resolution to match the bitrate. Though setting the bitrate lower than the xvid may produce decent video quality, it won't be as good as the default. (and recompressing a video always lowers the quality a little unless you're use a lossless codec)
If it were me, I'd just play it safe and keep it at default, as the file size isn't that large, but you could probably go as low as 768kbps and still produce decent (not great) quality.
ron spencer
13th July 2008, 14:38
love the GUI....so easy to use!!!
However, if I click Target File Size I cannot see the boxes that open up under the tick (they appear but are not big enoug to enter anything into)....can you fix the GUI or move those boxes up and to the right?
Also, can you have option to re-direct files to output folder and not to delete them if cancel job? This is useful to test if encode is working as it should (or output is what you like...saves waiting for a few hours)
thanks
FrancoisG
13th July 2008, 17:06
Hi :)
First Congrats on an awesome program... and thank you for sharing this little jewel...
I am having a couple of little issues and I am wondering if you would know the reasons behind them:
a. When encoding a .MOV sized at 600x400 into a .MP4, the size of the video is changed to 608x405.
Any idea why ?
b. When placing the same .MOV with an audio track at standard wav specs (44.1 128 16 stereo),everything is fine until the very last frame of the .MP4 where we suddendy hear a CRACK noise at the end of the audio track... very very frustrating...
Feedback would be greatly appreciated...
Thank you !!!
:)
Francois
ron spencer
13th July 2008, 17:26
what resize do you your? Lanzcos I hope...
morphinapg
13th July 2008, 17:58
love the GUI....so easy to use!!!
However, if I click Target File Size I cannot see the boxes that open up under the tick (they appear but are not big enoug to enter anything into)....can you fix the GUI or move those boxes up and to the right?
Hmm, that sounds strange. Are you using a different DPI or something? This is what it should look like:
http://i33.tinypic.com/14ak4xw.jpg
Can you send me a screenshot of what yours looks like?
Also, can you have option to re-direct files to output folder and not to delete them if cancel job? This is useful to test if encode is working as it should (or output is what you like...saves waiting for a few hours)
thanks
I'll try to add that to the next version. I'm already working on changing the path for temporary files, I'll make sure to include an option not to delete the temporary files.
Hi :)
First Congrats on an awesome program... and thank you for sharing this little jewel...
I am having a couple of little issues and I am wondering if you would know the reasons behind them:
a. When encoding a .MOV sized at 600x400 into a .MP4, the size of the video is changed to 608x405.
Any idea why ?
Well, it's probably actually 608x400, but with a SAR of 80/81 (0.9877) or so having the decompressor virtually resize it to 608x405
The reason it resized it to 608x400 is so that it can have each dimension divisible by 16, which I guess makes it easier for x264 to compress or something.
b. When placing the same .MOV with an audio track at standard wav specs (44.1 128 16 stereo),everything is fine until the very last frame of the .MP4 where we suddendy hear a CRACK noise at the end of the audio track... very very frustrating...
Feedback would be greatly appreciated...
Thank you !!!
:)
Francois
Haven't had the crack problem myself. But, if it's limited to wav tracks inside of quicktime files, maybe try transcoding the audio to another format and using separate audio file instead. I'll see if I can do some testing with that format (I may need a sample, not sure if I have a MOV with wav audio)
what resize do you your? Lanzcos I hope...
Yes
ron spencer
13th July 2008, 18:41
thanks for the replys...what a great program!!!!
My DPI is 125 as I have a widescreen monitor....what is you gui written in....in any case it seems to be working now. I can see the target size box 4 now.
Couple of other suggestions.
1. Your minimal AAC rate is 96...there are some in Hydrogen audio who feel 80 is pretty much the equivalent of 128 mp3. Perhaps you could add this as the lower bound.
2. Could you put in an option for different resizers? I am glad you use Lanzcos, so no need for other options (just a though for others), but perhaps you could state in the GUI it is Lanzcos so you don't get bugged about it again.
3. Maybe you could add shutdown when done? You can get a proper shutdown at:
http://www.aumha.org/win5/a/shutcut.php
and download:
http://www.aumha.org/downloads/shutdown.zip
then use shutdown -u -t 0 to turn off PC. That would be cool
4. Fast first pass? That would be cool.
thanks....great GUI..congrats
ron spencer
13th July 2008, 21:46
oh yah...the mediafire download link is aweful....never works for full installer.
Mike_111
13th July 2008, 22:53
ASXGui looks very promising, but sadly it doesn't work for me:
"avs2wav.exe has stopped working"
After that the application hangs. I have tried lots of different Avi Files (with mp3 audio), and avs2wav.exe always crashes. Video encoding works fine.
Maybe it's because i'm using Vista 64?
ron spencer
13th July 2008, 23:43
that is a vista issue 4 sure....works fine 4 me
Ajax_Undone
13th July 2008, 23:46
Nope running x64bit Vista for months now w/o an issue.
I would target it as being a codec issue. If you have any codec packs installed I would advise getting rid of them and in stalling a FFDshow Distro... Like CLSID (http://downloads.sourceforge.net/ffdshow-tryout/ffdshow_prebeta5_rev2031_20080702_clsid.exe?modtime=1215030024&big_mirror=0)
The MediaFire Servers are really screwed up and they are reparing them but right now you can temporarily get the installer from here (http://www.adrive.com/public/cdea906e0a65425f008c39c0080aa3cb95960b94d9ccb721091fffd74adff2a3.html)...
morphinapg
14th July 2008, 01:28
thanks for the replys...what a great program!!!!
My DPI is 125 as I have a widescreen monitor....what is you gui written in....in any case it seems to be working now. I can see the target size box 4 now.
Well I think the default DPI is 96, so that could possibly be the problem. For now, if you experience the problem again I'd suggest checking the box "Disable Display scaling in High DPI settings" under compatibility mode (not sure if it's available in XP but it is in Vista) I'll see if I can make it more compatible with Higher DPI settings.
Couple of other suggestions.
1. Your minimal AAC rate is 96...there are some in Hydrogen audio who feel 80 is pretty much the equivalent of 128 mp3. Perhaps you could add this as the lower bound.
Yes, my drop down list has a minimum at 96, but you can manually put in any number you want, so you can put in 80 if you want. I personally don't use anything lower than 192 for mp3 and so I like to use 96 for AAC to maintain quality. I can add 80 as another option in the drop down list though.
2. Could you put in an option for different resizers? I am glad you use Lanzcos, so no need for other options (just a though for others), but perhaps you could state in the GUI it is Lanzcos so you don't get bugged about it again.
Yeah, I have sometimes thought of using different resizers (I sometimes prefer the simple bilinear for sizing down because I think Lanczos gives too much edge enhancement) Thanks for mentioning this as I didn't actually have it in my list for the next version yet.
3. Maybe you could add shutdown when done? You can get a proper shutdown at:
http://www.aumha.org/win5/a/shutcut.php
and download:
http://www.aumha.org/downloads/shutdown.zip
then use shutdown -u -t 0 to turn off PC. That would be cool
4. Fast first pass? That would be cool.
thanks....great GUI..congrats
Again thanks for all the suggestions, I'm trying to make the 2.0.0 update a big one and will try to include as much as I can.
ASXGui looks very promising, but sadly it doesn't work for me:
"avs2wav.exe has stopped working"
After that the application hangs. I have tried lots of different Avi Files (with mp3 audio), and avs2wav.exe always crashes. Video encoding works fine.
Maybe it's because i'm using Vista 64?
Yeah I use Vista 64 to code this so it's definitely not that lol. :)
Yeah I would suggest updating your codecs or getting a new pack or something like Ajax_Undone said. I personally use K-Lite Mega Codec pack because some of the codecs that come with that run faster than ffdshow for me (I sometimes encode extremely high bitrate encodes, such as 1080p @ 60fps at like 36mbps) but ffdshow should be fine for most people.
The MediaFire Servers are really screwed up and they are reparing them but right now you can temporarily get the installer from here (http://www.adrive.com/public/cdea906e0a65425f008c39c0080aa3cb95960b94d9ccb721091fffd74adff2a3.html)...
That's weird about the mediafire servers, it's working for my link but not the installer. Did you try re-uploading the installer? Your other links look like they're working just fine.
Ajax_Undone
14th July 2008, 01:50
Not yet... But I did receive a email earlier telling me that there servers went haywire and they were working on the problem...
Suppose I could
Mike_111
14th July 2008, 04:30
Yeah I use Vista 64 to code this so it's definitely not that lol. :)
Yeah I would suggest updating your codecs or getting a new pack or something like Ajax_Undone said. I personally use K-Lite Mega Codec pack because some of the codecs that come with that run faster than ffdshow for me (I sometimes encode extremely high bitrate encodes, such as 1080p @ 60fps at like 36mbps) but ffdshow should be fine for most people.
Well, i tried it again with ffdshow_beta5_rev2033_20080705_clsid and a fresh vista 64 installation. Still the same error. Video encoding works fine, but audio crashes with "avs2wav.exe has stopped working". Any other idea? Thanks!
morphinapg
14th July 2008, 04:38
Well, i tried it again with ffdshow_beta5_rev2033_20080705_clsid and a fresh vista 64 installation. Still the same error. Video encoding works fine, but audio crashes with "avs2wav.exe has stopped working". Any other idea? Thanks!
What happens when you try to open Audio.avs (located in the ASXGui folder while encoding) in a media player?
Mike_111
14th July 2008, 06:29
What happens when you try to open Audio.avs (located in the ASXGui folder while encoding) in a media player?
Avi with Xvid video and mp3 audio (iphone profile):
If i open Audio.avs in the media player classic (while encoding) it shows:
"Script error: the named argument "fps" was passed more than once to Directshowsource (C:\Program Files (x86)\ASXGui\Audio.avs, line1)"
Content of Audio.avs:
"Directshowsource("H:\Temp\123.avi", fps=23,976,seekzero=true)
Normalize()"
morphinapg
14th July 2008, 07:19
Avi with Xvid video and mp3 audio (iphone profile):
If i open Audio.avs in the media player classic (while encoding) it shows:
"Script error: the named argument "fps" was passed more than once to Directshowsource (C:\Program Files (x86)\ASXGui\Audio.avs, line1)"
Content of Audio.avs:
"Directshowsource("H:\Temp\123.avi", fps=23,976,seekzero=true)
Normalize()"
It seems the fps is listed as 23,976 instead of 23.976. That must be the problem. I know some countries use commas instead of periods for decimals.
Though really, I'm not sure why it's putting the fps parameter in there. It shouldn't need it for the audio, so I can fix that, but if you encode anything that uses directshowsource for video, then you might run into this problem.
I'm going to have to look into fixing the decimal issue in case someone has a computer that defaults to commas instead of periods.
Mike_111
14th July 2008, 08:26
It seems the fps is listed as 23,976 instead of 23.976. That must be the problem. I know some countries use commas instead of periods for decimals.
Though really, I'm not sure why it's putting the fps parameter in there. It shouldn't need it for the audio, so I can fix that, but if you encode anything that uses directshowsource for video, then you might run into this problem.
I'm going to have to look into fixing the decimal issue in case someone has a computer that defaults to commas instead of periods.
Ah, thank you! That was it! If i manually change the comma than everything works fine!
But i found another bug (i think). The final mp4 has 6ch aac audio, but it should just be stereo (mp3 stereo in the input avi). Because of that i don't hear any audio on my iPhone (supports only 2ch; but it works fine on the PC).
Profile: iphone
"Downmix Audio to Stereo" is checked per default (grey).
morphinapg
14th July 2008, 08:45
Ah, thank you! That was it! If i manually change the comma than everythings works fine!
But i found another bug (i think). The final mp4 has 6ch aac audio, but it should just be stereo (mp3 stereo in the input avi). Because of that i don't hear audio on my iphone, but it works fine on the PC.
Profile: iphone
"Downmix Audio to Stereo" is checked per default (grey).
The problem is that your audio decoder (probably ffdshow) is upmixing the audio to 6-channels,but since the original track is only 2-channel, ASXGui can't recognize that it's upmixed and will encode as is. (that's why the downmixer is grey/disabled)
I made a quick guide that should help disable the upmixers: (from the first post)
-Make sure you don't have any audio upmixers enabled, or set them to output the audio's original channels. Otherwise all audio sources will be encoded multichannel, and stereo sources will have lower bitrates. DETAILS (http://www.gilleandbros.com/foodeefunk/guide.htm)
Mike_111
14th July 2008, 09:59
The problem is that your audio decoder (probably ffdshow) is upmixing the audio to 6-channels,but since the original track is only 2-channel, ASXGui can't recognize that it's upmixed and will encode as is. (that's why the downmixer is grey/disabled)
I made a quick guide that should help disable the upmixers: (from the first post)
Thanks, i totally forgot about that. Now everything works fine. Well, except that the iPhone will no longer play a lot of videos that worked before. But that seems to be a Firmware 2.0 Problem and has nothing to do with your great application...
ron spencer
14th July 2008, 12:55
Noice a few other things:
1. You refer to 16:9 format as 16/9 in source frame and 16:9 in another part (sorry I forget LOL).
2. When you open a VOB file from a DVD, the GUI does not read into the next ones to give you proper calculations for size, resolution ,etc. If you use DVDShrink and make one large VOB this is ok.
3. Can you add a simple muxer? MP4Box is already there. Reason is because I was stupid last night and forgot to reset AC-3 filter and the GUI crashed after the video encode. I saved the video and converted the audio on my own, but having a simple muxer could fix this up. What are the commands for MP4Box just to mux video and audio? Not sure as the video has B-frames.
tacman1123
14th July 2008, 13:33
Love the program, but would prefer that it not close my DOS windows, often I'm working on something, and running a GUI like this shouldn't affect other windows or programs.
I think there's a way to name the DOS Window that's probably fired up when the script is run, and that instead of closing all DOS windows, you could just close the one that's named.
Related to this topic, could you put a link to the encode.log file in the GUI? I often look at the log to understand better what's happening.
Thanks!
Tac
Mike_111
14th July 2008, 23:05
Thanks, i totally forgot about that. Now everything works fine. Well, except that the iPhone will no longer play a lot of videos that worked before. But that seems to be a Firmware 2.0 Problem and has nothing to do with your great application...
Well, that's strange. ASXGui's iPhone profile doesn't work anymore with the new 2.0 iphone firmware (at least for most of my videos). But RipBot264's iphone profile still produces video that's playable with the 2.0 iphone firmware.
Maybe someone who knows something about advanced x264 options could look into the difference between these two profiles, sadly i'm lost there. Thx!
tacman1123
14th July 2008, 23:16
Working on the iPhone 2.0 software for me (well, at least the one video I converted worked.)
Mike_111
14th July 2008, 23:25
Working on the iPhone 2.0 software for me (well, at least the one video I converted worked.)
Yeah, i haven't found a system yet. For me, just 3 out of 10 videos work with ASXGui and 2.0 firmware, but 10 out of 10 with RipBot264. Strange thing, wasn't like that before.
morphinapg
14th July 2008, 23:38
Noice a few other things:
1. You refer to 16:9 format as 16/9 in source frame and 16:9 in another part (sorry I forget LOL).
I think that's because I already had my aspect ratios set up and everything (as 16:9, 4:3) and then I used mediainfo and it used 16/9 and 4/3. I just didn't worry about it since it means the same thing, but I can change it.
2. When you open a VOB file from a DVD, the GUI does not read into the next ones to give you proper calculations for size, resolution ,etc. If you use DVDShrink and make one large VOB this is ok.
It should, I fixed that in version 1.3.1 I think. It auto loads all sequential VOBs together.
3. Can you add a simple muxer? MP4Box is already there. Reason is because I was stupid last night and forgot to reset AC-3 filter and the GUI crashed after the video encode. I saved the video and converted the audio on my own, but having a simple muxer could fix this up. What are the commands for MP4Box just to mux video and audio? Not sure as the video has B-frames.
It was something I was considering. For now though maybe you can use YAMB for that for now.
Love the program, but would prefer that it not close my DOS windows, often I'm working on something, and running a GUI like this shouldn't affect other windows or programs.
I think there's a way to name the DOS Window that's probably fired up when the script is run, and that instead of closing all DOS windows, you could just close the one that's named.
Actually, now that I think about it I probably don't need to close the DOS window, as it should close on its own as long as all the other programs from the batch file are closed as well. I make sure ASXGui forces ll the open programs to close in case the user hits cancel or closes the program while x264 or other programs would remain running in the background. But technically I don't think I need to close cmd.
Related to this topic, could you put a link to the encode.log file in the GUI? I often look at the log to understand better what's happening.
Thanks!
Tac
Sure can.
Yeah, i haven't found a system yet. For me, just 3 out of 10 videos work with ASXGui and 2.0 firmware, but 10 out of 10 with RipBot264. Strange thing, wasn't like that before.
Yeah 2.0 seems really buggy. I just did a test (short video) and it worked fine. Not sure what's happening. But I'm guessing it's a 2.0 bug or something, my email doesn't even work on 2.0 anymore. (can't view/add/delete accounts at all)
Mike_111
14th July 2008, 23:46
Yeah 2.0 seems really buggy. I just did a test (short video) and it worked fine. Not sure what's happening.But I'm guessing it's a 2.0 bug or something, my email doesn't even work on 2.0 anymore. (can't view/add/delete accounts at all)
Luckily i don't have a problem with that. No "serious" bugs like crashes or something like that, just some annoying things like my video problem.
By the way, I'm not the only one with a new video problem, but it doesn't seem to be that widespread either:
http://discussions.apple.com/thread.jspa?messageID=7575054
morphinapg
15th July 2008, 00:54
Luckily i don't have a problem with that. No "serious" bugs like crashes or something like that, just some annoying things like my video problem.
By the way, I'm not the only one with a new video problem, but it doesn't seem to be that widespread either:
http://discussions.apple.com/thread.jspa?messageID=7575054
Also did u install the leaked firmware or the official firmware?
The leaked was actually only meant for 3g phones.
Mike_111
15th July 2008, 00:59
Also did u install the leaked firmware or the official firmware?
The leaked was actually only meant for 3g phones.
I know. I switched to the new iphone 3g which came with firmware 2.0 preinstalled.
morphinapg
15th July 2008, 01:10
I know. I switched to the new iphone 3g which came with firmware 2.0 preinstalled.
I would try a a firmware restore in iTunes, because 3g comes with version 5A345 of firmware 2.0 and I believe itunes has version 5A347. Not sure if it will fix your problem, but it may be worth a try.
Mike_111
15th July 2008, 01:30
I would try a a firmware restore in iTunes, because 3g comes with version 5A345 of firmware 2.0 and I believe itunes has version 5A347. Not sure if it will fix your problem, but it may be worth a try.
Did that already a few days ago :D
morphinapg
15th July 2008, 03:05
Did that already a few days ago :D
lol ok then never mind :D I'm not sure what settings ripbot uses, but have you tried maybe using the newer/older iPod profiles in ASXGui?
Mike_111
15th July 2008, 19:39
I'm having another audio related problem. Same procedure as before: After the second video pass i get a windows error pop-up:
"avs2wav.exe has stopped working"
If i open the audio.avs file in media player classic i get:
"GetChannel: Attempted to request a channel that didn't exist! (C:\Program Files (x86)\ASXGui\Audio.avs, line3)"
Audio.avs (i manually changed the 23,976 into 23.976):
Directshowsource("I:\123_Ac3.avi", fps=23.976,seekzero=true)
a=Delayaudio(0)
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3, 3)
lrc = MixAudio(flr, fcc, 0.2646, 0.1870)
lfe = GetChannel(a, 4, 4)
lrc = MixAudio(lrc, lfe, 1.0, 0.1870)
bl = GetChannel(a, 5)
br = GetChannel(a, 6)
sl = MixAudio(bl, br, 0.2291, 0.1323)
sr = MixAudio(bl, br, -0.1323, -0.2291)
blr = MergeChannels(sl, sr)
MixAudio(lrc, blr, 1.0, 1.0)
Normalize()
Any ideas?
morphinapg
15th July 2008, 21:58
I'm having another audio related problem. Same procedure as before: After the second video pass i get a windows error pop-up:
"avs2wav.exe has stopped working"
If i open the audio.avs file in media player classic i get:
"GetChannel: Attempted to request a channel that didn't exist! (C:\Program Files (x86)\ASXGui\Audio.avs, line3)"
Audio.avs (i manually changed the 23,976 into 23.976):
Directshowsource("I:\123_Ac3.avi", fps=23.976,seekzero=true)
a=Delayaudio(0)
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3, 3)
lrc = MixAudio(flr, fcc, 0.2646, 0.1870)
lfe = GetChannel(a, 4, 4)
lrc = MixAudio(lrc, lfe, 1.0, 0.1870)
bl = GetChannel(a, 5)
br = GetChannel(a, 6)
sl = MixAudio(bl, br, 0.2291, 0.1323)
sr = MixAudio(bl, br, -0.1323, -0.2291)
blr = MergeChannels(sl, sr)
MixAudio(lrc, blr, 1.0, 1.0)
Normalize()
Any ideas?
It's telling you that either channel 1 or 2 doesn't exist. That sounds wrong. What type of input audio is it? Is there more than 1 audio track? The only thing I could suggest is turning off downmixing and seeing if it works.
BTW, I'm including a fix for the fps decimal in the next release.
Mike_111
15th July 2008, 23:48
It's telling you that either channel 1 or 2 doesn't exist. That sounds wrong. What type of input audio is it? Is there more than 1 audio track?
Ac3, and there is only one track. According to MediaInfo 0.7.7.4:
Audio
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : 2000
Duration : 43mn 33s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 120 MiB (17%)
Alignment : Split accross interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 500 ms
The only thing I could suggest is turning off downmixing and seeing if it works.
I'll try that.
BTW, I'm including a fix for the fps decimal in the next release.
Thx, that's great!
morphinapg
16th July 2008, 04:46
Ac3, and there is only one track. According to MediaInfo 0.7.7.4:
Audio
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : 2000
Duration : 43mn 33s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 120 MiB (17%)
Alignment : Split accross interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 500 ms
Only thing I could think of is if your audio decoder (ac3filter or ffdshow) is downmixing your audio.
Make sure, if you have ac3filter, that it's set to "AS IS" and auto matrix, and make sure ffdshow's mixer is set to "same as output"
If either of those are set to a specific speaker configuration, it can end up messing up ASXGui's audio encoding. I have a couple ideas on how to fix this right now, so I might be able to put it in version 2.0.0
Mike_111
16th July 2008, 06:50
Only thing I could think of is if your audio decoder (ac3filter or ffdshow) is downmixing your audio.
Make sure, if you have ac3filter, that it's set to "AS IS" and auto matrix, and make sure ffdshow's mixer is set to "same as output"
If either of those are set to a specific speaker configuration, it can end up messing up ASXGui's audio encoding. I have a couple ideas on how to fix this right now, so I might be able to put it in version 2.0.0
I'm using ffdshow, but the mixer is unchecked in the ffdshow audio decoder configuration and under codecs it says S/PDIF for Ac3.
morphinapg
16th July 2008, 08:05
I'm using ffdshow, but the mixer is unchecked in the ffdshow audio decoder configuration and under codecs it says S/PDIF for Ac3.
Unchecking mixer probably works just as well, but I'm almost certain SPDIF is your problem, as that means it's sending the AC3 signal out to an external reciever. No wonder audio.avs was having a hard time reading the left and right channels, they weren't there. I'd say change it to liba52, at least while using asxgui.
Mike_111
16th July 2008, 08:30
Unchecking mixer probably works just as well, but I'm almost certain SPDIF is your problem, as that means it's sending the AC3 signal out to an external reciever. No wonder audio.avs was having a hard time reading the left and right channels, they weren't there. I'd say change it to liba52, at least while using asxgui.
Thanks, i'll give it a try. Haven't had a problem before with s/pdif ac3 and other encoders, but it makes sense now that you say it :)
morphinapg
16th July 2008, 08:36
Thanks, i give it a try. Haven't had a problem before with s/pdif ac3 and other encoders, but it makes sense now that you say it :)
Yeah those other encoders are most definitely using better ways to retrieve the audio than I know how to do. Right now I only know how to work from avisynth and directshowsource. Maybe somebody here could give me ideas on how to do it better?
morphinapg
16th July 2008, 08:56
1.9.1 Released
-FIXED: Framerate conversion is more accurate.
-FIXED: FPS now uses a period to separate decimals regardless of what country ASXGui is run in to fix encoding problems.
-FIXED: ASXGui no longer closes other DOS windows.
-Updated all tools
colinhunt
16th July 2008, 11:19
Thank you very much for this excellent app! I've tried most of the other equivalent GUIs and this seems to be the first one that actually works on my system. On v1.9.0 selecting 23.976fps manually used to show up as 23fps in the Output Info - and the file would also be encoded with 23.000fps in that case. This seems to be fixed in 1.9.1. Excellent!
colinhunt
18th July 2008, 09:36
Every encoding I do ends with .NET (v3.5) popping up an "unhandled exception" error. The error appears only after the encoding is completely finished, remuxing included. I guess batch encodes would stop to this error. Oddly enough the encodes seem to be fine. I get this same error with ASXGui v1.9.0 and v1.9.1. Note that my OS is very much a vanilla XP Pro SP2; I've only added .NET 3.5 and ASXGui on it.
Here's a c/p of the error details:
************** Exception Text **************
System.IO.IOException: The process cannot access the file 'C:\Program Files\ASXGui\1 Westworld (1080i OAR.ac3' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at ASXGui.MainForm.TmrLiveOutputTick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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.9.1.42597
Win32 Version: 1.9.1.42597
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
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
colinhunt
18th July 2008, 09:47
Ah, it would appear last night's encode is the first to go wrong. Audio sync is messed up and video freezes every now and then. Maybe I shouldn't have forced 23.976fps. I re-encoded something else earlier with 1.9.0 and after it had checked the file out, it recommended deinterlacing and 23.976fps. v1.9.1 checked the same file and made no recommendations. Is that feature no longer in 1.9.1?
morphinapg
18th July 2008, 18:56
Every encoding I do ends with .NET (v3.5) popping up an "unhandled exception" error. The error appears only after the encoding is completely finished, remuxing included. I guess batch encodes would stop to this error. Oddly enough the encodes seem to be fine. I get this same error with ASXGui v1.9.0 and v1.9.1. Note that my OS is very much a vanilla XP Pro SP2; I've only added .NET 3.5 and ASXGui on it.
Here's a c/p of the error details:
************** Exception Text **************
System.IO.IOException: The process cannot access the file 'C:\Program Files\ASXGui\1 Westworld (1080i OAR.ac3' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
Somebody had this problem before and I thought I fixed it :(
Apparently something is trying to use your ac3 audio ripped from an mpeg2 file. You said this also happened in 1.9.0 so it isn't because I took off the command that closed all the DOS windows. The problem is, I'm certain that every program that would have been opened during encode would be closed before any deletion.
Check your task manager when you get this error for any of the following programs:
DGIndex
neroaacenc
ffmpeg
avs2wav
mkvmerge
I'm pretty sure those would be the only ones working with the ac3 file.
Ah, it would appear last night's encode is the first to go wrong. Audio sync is messed up and video freezes every now and then. Maybe I shouldn't have forced 23.976fps. I re-encoded something else earlier with 1.9.0 and after it had checked the file out, it recommended deinterlacing and 23.976fps. v1.9.1 checked the same file and made no recommendations. Is that feature no longer in 1.9.1?
Obviously I wouldn't purposefully take that out, but i just checked it out and had the same problem. It seems mediainfo is now reporting mpeg2 files with a progressive 2:3 flag differently, so I'm going to have to fix that for the next version.
colinhunt
18th July 2008, 21:28
Check your task manager when you get this error for any of the following programs
Will do, once the current encode is finished. Thanks!
Obviously I wouldn't purposefully take that out, but i just checked it out and had the same problem.
Glad to hear it wasn't caused by me doing something silly :)
colinhunt
19th July 2008, 11:19
Bad luck stalks me, apparently. The encode that had been running all day yesterday and last night ran into trouble. During phase three the avs2wav.exe had crashed and took ffmpeg with it. While ASXGui was still reporting it's "Loading audio", I could see the output file getting larger until it reached the approximated output size of 3.1GB. The file was not playable (no big surprise :) ). The source file was 1280x1080 MPEG-2 with stereo MPEG audio. ASXGui was attempting to create a 1280x720 MKV with stereo AC-3 audio. See question #2 below; such a feature would have probably saved me 18 hours of crunching in this case.
Some questions based on my experiences with ASXGui so far:
1) How come the Target file size is ignored with Auto bitrate enabled?
2) Instead of always encoding the entire file, I'd appreciate an option to encode only a part of it for preview purposes. You know, to verify the settings I've chosen result in a properly playing file, and also to verify that ASXGui is able to process the file without any part of it crashing.
3) Any way of shortening the time it takes for ASXGui to check the input file once it's first opened?
morphinapg
19th July 2008, 21:44
Bad luck stalks me, apparently. The encode that had been running all day yesterday and last night ran into trouble. During phase three the avs2wav.exe had crashed and took ffmpeg with it. While ASXGui was still reporting it's "Loading audio", I could see the output file getting larger until it reached the approximated output size of 3.1GB. The file was not playable (no big surprise :) ). The source file was 1280x1080 MPEG-2 with stereo MPEG audio. ASXGui was attempting to create a 1280x720 MKV with stereo AC-3 audio. See question #2 below; such a feature would have probably saved me 18 hours of crunching in this case.
The problem with avs2wav usually means there's something wrong with the audio.avs. (I think it's a bug with avs2wav, as it should let me know the problem) Could you open audio.avs in a media player and tell me if there's an error, and also post the contents of audio.avs as well.
EDIT: I may have just found the problem, I may be able to fix it in 1.9.2 (has to do with the fps parameter missing from audio.avs)
Some questions based on my experiences with ASXGui so far:
1) How come the Target file size is ignored with Auto bitrate enabled?
It isn't...
You actually need auto bitrate selected for target file size to work.
2) Instead of always encoding the entire file, I'd appreciate an option to encode only a part of it for preview purposes. You know, to verify the settings I've chosen result in a properly playing file, and also to verify that ASXGui is able to process the file without any part of it crashing.
I'll see what I can do for 2.0.0
3) Any way of shortening the time it takes for ASXGui to check the input file once it's first opened?
Unfortunately, no. It's not actually ASXGui that's doing the indexing, but DGIndex. And unless DGIndex suddenly gets faster, it won't be shortened. Also, non-mpeg2 inputs are indexed during the "loading video" part on the progress tab. So if you have an encode stuck on "loading video" then it's probably just indexing, so just wait.
morphinapg
19th July 2008, 21:46
I just found a simple cli program that should be able to test the avisynth scripts before they're used so that it can detect the errors before you start encoding (should save long encodes)
morphinapg
20th July 2008, 01:11
1.9.2 Released
-FIXED: Audio encoding issues
-ADDED: Script checking before encoding
EDIT: I just noticed I forgot to fix the interlace/progressive checker. I guess that will be next time.
colinhunt
20th July 2008, 13:13
Nice (and fast!) work, cheers. I'll test the new version right away.
About the Target file size. ASXGui seems to decide the output file size on its own and completely disregards anything I type in the Target file size box - and I do have Auto bitrate selected. Here's an example: an episode of a TV show was originally 5GB (MPEG-2) and I wanted to squeeze it down to fit on a single-layer DVD. Forced the output resolution to 1280x720 (from 1080i) and output info reported that the file would be 3.11GB. I figured it could just as well use the entire DVD, so I ticked Target file size and entered 4300 MB (allowed some overhead, just in case). Output info still read 3.11GB and once the encoding was done, the file was ~3.2GB.
Guess what? More suggestions/questions! :) Would it be possible to save/keep indexing files created by DGIndex and re-use them? I've got a file I've tried encoding a few times now, and it's a bit frustrating to have to wait for the indexing again and again. Since the file has already been indexed once in the past, it would be nice if the app was 'smart' enough to realize this and use the indexing file from an earlier indexing run.
colinhunt
20th July 2008, 13:35
Testing 1.9.2 now and bumped into problems in the script checking stage:
---
An error has been detected in Audio.avs
DirectShowSource: Could not open as video or audio
Video returned: "DirectShowSource: couldn't open file 1 Videodrom.ac3: Cannot play back the file. The file is not supported."
Audio returned: "DirectShowSource: couldn't open file 1 Videodrom.ac3: Cannot play back the file. The file is not supported."
(atest.avs, line 3)
Encoding will be canceled
---
The file "1 Videodrom.ac3" is in the ASXGui installation directory, so at least it's not missing. My guess is that my vanilla XP is missing some crucial bit of software.
EDIT: Yup, installed AC3ACM, ac3filter and ac3file and this time script check passed. Lucky guess.
colinhunt
20th July 2008, 15:28
Made a donation to thank you for all the hard work. Cheers!
morphinapg
20th July 2008, 20:40
Nice (and fast!) work, cheers. I'll test the new version right away.
About the Target file size. ASXGui seems to decide the output file size on its own and completely disregards anything I type in the Target file size box - and I do have Auto bitrate selected. Here's an example: an episode of a TV show was originally 5GB (MPEG-2) and I wanted to squeeze it down to fit on a single-layer DVD. Forced the output resolution to 1280x720 (from 1080i) and output info reported that the file would be 3.11GB. I figured it could just as well use the entire DVD, so I ticked Target file size and entered 4300 MB (allowed some overhead, just in case). Output info still read 3.11GB and once the encoding was done, the file was ~3.2GB.
When I set 4300 MB as the target output size, it lists 4 GiB in the output info tab, not 3.11 GB. Remember the difference between MB and MiB:
4300 MB = 4,300,000,000 (4300 x 1000²)
4300 MiB = 4,508,876,800 (4300 x 1024²)
Also, the final file won't be exactly what you say but it will be close.
Guess what? More suggestions/questions! :) Would it be possible to save/keep indexing files created by DGIndex and re-use them? I've got a file I've tried encoding a few times now, and it's a bit frustrating to have to wait for the indexing again and again. Since the file has already been indexed once in the past, it would be nice if the app was 'smart' enough to realize this and use the indexing file from an earlier indexing run.
Believe it or not, this is already a feature if you know how to use it right. When your encoding finishes, normally the Job's status is listed as "done", which means that job will be deleted on exit of the program. All you have to do it double click (it will look like it's indexing but will only last a second or two) and it's status will change to "waiting..." now, when you close ASXGui, all the temporary files will stay there because you have a saved job queue that needs to use them later. As long as you have it as an active job, you won't have to re-index the file.
Also, any non-mpeg2 file only will need to be indexed once , even without an active job (index file gets saved in the same folder as the video file)
Testing 1.9.2 now and bumped into problems in the script checking stage:
---
An error has been detected in Audio.avs
DirectShowSource: Could not open as video or audio
Video returned: "DirectShowSource: couldn't open file 1 Videodrom.ac3: Cannot play back the file. The file is not supported."
Audio returned: "DirectShowSource: couldn't open file 1 Videodrom.ac3: Cannot play back the file. The file is not supported."
(atest.avs, line 3)
Encoding will be canceled
---
The file "1 Videodrom.ac3" is in the ASXGui installation directory, so at least it's not missing. My guess is that my vanilla XP is missing some crucial bit of software.
EDIT: Yup, installed AC3ACM, ac3filter and ac3file and this time script check passed. Lucky guess.
That's what I like about the script checker, not only will it help me figure out problems with ASXGui, but it can also help you figure out problems with your setup.
Made a donation to thank you for all the hard work. Cheers!
Thanks you so much, as well as anyone else who has made a donation, I really appreciate it.
colinhunt
21st July 2008, 00:32
When I set 4300 MB as the target output size, it lists 4 GiB in the output info tab, not 3.11 GB.
Ok, I used a bad example. Let me rephrase: once a file has been indexed, asxgui sets an output file size based on some formula. The only way I can change the size is by selecting manual bitrate and entering a figure. If auto bitrate is on, nothing I type in the target file size field affects the size listed in output info. I can enter 1KB or 1000GB but asxgui aims for the size it first decided after indexing. argh my fingers cant take any more typing on a cell phone...
morphinapg
21st July 2008, 00:52
Ok, I used a bad example. Let me rephrase: once a file has been indexed, asxgui sets an output file size based on some formula. The only way I can change the size is by selecting manual bitrate and entering a figure. If auto bitrate is on, nothing I type in the target file size field affects the size listed in output info. I can enter 1KB or 1000GB but asxgui aims for the size it first decided after indexing. argh my fingers cant take any more typing on a cell phone...
I'm not sure why that's happening for you. Here's what I just did:
1. Opened mpeg file, which got indexed
2. Selected Target file size 4.7 GB
3. Output info shows 4.38 GiB, and a different bitrate than the original auto bitrate
4. Clicked encode
5. Opened x264.bat
6. The bitrate is the same as output info shows
colinhunt
21st July 2008, 10:07
Hmm, I have a theory on why Target file size is not working. I'll test it a bit later today once I have a moment.
colinhunt
21st July 2008, 10:21
Apparently something is trying to use your ac3 audio ripped from an mpeg2 file. You said this also happened in 1.9.0 so it isn't because I took off the command that closed all the DOS windows. The problem is, I'm certain that every program that would have been opened during encode would be closed before any deletion.
Check your task manager when you get this error for any of the following programs:
DGIndex
neroaacenc
ffmpeg
avs2wav
mkvmerge
First encoding job on 1.9.2 and this .NET error popped up again at the end of the job. Here's a complete listing of programs in TM:
wuauclt.exe
firefox.exe
asxgui.exe
nvsvc32.exe
taskmgr.exe
svchost.exe (x 6)
MFWAkeys.exe
lsass.exe
services.exe
winlogon.exe
csrss.exe
ctfmon.exe
AlphaTrackApplet.exe
rundll32.exe
smss.exe
explorer.exe
System
System idle process
mfwakeys.exe comes with MOTU soundcard and enables the MOTU pedal control functions to work. Alphatrackapplet comes with Alpha Frontier USB MIDI surface controller. Yeah, I'm running ASXGui on my MIDI studio PC as it's the fastest PC I have :)
colinhunt
21st July 2008, 13:53
I'm not sure why that's happening for you.
If I tick the Maximum Resolution box, Target File size no longer has any effect on file size. Don't ask me why I ticked the box, though :)
colinhunt
21st July 2008, 13:59
Another stop in the script check stage:
Script error: Invalid arguments to function "DelayAudio" (atest.avs, line 5)
Line 5 reads
DelayAudio(-0,384)
Source: 720p60 MPEG-2 with 5.1ch AC3 448kbps audio
Destination: 720p60 MKV with original audio
Target file size set for 2.1GB, enforce profile High@4.1. Custom resize used to enforce 1280x720 as auto resize wanted to drop resolution to something non-standard.
colinhunt
21st July 2008, 14:03
When your encoding finishes, normally the Job's status is listed as "done", which means that job will be deleted on exit of the program. All you have to do it double click (it will look like it's indexing but will only last a second or two) and it's status will change to "waiting..."
OK, I gave this a shot. It worked almost like you describe, but it did a full indexing which took some 10 minutes.
I'm guessing this has something to do with the .NET Unhandled exception error I get at the end of every encode job.
morphinapg
21st July 2008, 21:40
First encoding job on 1.9.2 and this .NET error popped up again at the end of the job. Here's a complete listing of programs in TM:
wuauclt.exe
firefox.exe
asxgui.exe
nvsvc32.exe
taskmgr.exe
svchost.exe (x 6)
MFWAkeys.exe
lsass.exe
services.exe
winlogon.exe
csrss.exe
ctfmon.exe
AlphaTrackApplet.exe
rundll32.exe
smss.exe
explorer.exe
System
System idle process
mfwakeys.exe comes with MOTU soundcard and enables the MOTU pedal control functions to work. Alphatrackapplet comes with Alpha Frontier USB MIDI surface controller. Yeah, I'm running ASXGui on my MIDI studio PC as it's the fastest PC I have :)
*sigh* This is annoying, because it's not happening to me, so it's hard to figure out what's going on. The problem is that it's not being able to delete the ac3 that it extracts from the mpeg file. Unfortunately, it doesn't tell which process is currently using the file. I have already double - and triple checked what programs are closed after encoding. Every process that ASXGui launches that would be working with the file should (and by the looks of your task manager) are closed. So honestly, right now I'm kind of stuck at what to do next.
If I tick the Maximum Resolution box, Target File size no longer has any effect on file size. Don't ask me why I ticked the box, though :)
Looks like we've got a winner! I'll see what I can do.
Another stop in the script check stage:
Script error: Invalid arguments to function "DelayAudio" (atest.avs, line 5)
Line 5 reads
DelayAudio(-0,384)
Source: 720p60 MPEG-2 with 5.1ch AC3 448kbps audio
Destination: 720p60 MKV with original audio
Target file size set for 2.1GB, enforce profile High@4.1. Custom resize used to enforce 1280x720 as auto resize wanted to drop resolution to something non-standard.
Aha, looks like we've got another problem with commas being in place of periods. I'll be sure to fix that in the next version.
Also, auto resize made it smaller because it probably thought the file size was too small for 1280x720.
OK, I gave this a shot. It worked almost like you describe, but it did a full indexing which took some 10 minutes.
I'm guessing this has something to do with the .NET Unhandled exception error I get at the end of every encode job.
Actually now that I think of it they probably are related and ASXGui is deleting your temporary files after encode successfully finishes. Maybe it shouldn't do that until you close ASXGui. Maybe that will even fix your other problem. (hopefully)
morphinapg
22nd July 2008, 10:47
1.9.3 Released
-FIXED: Problems with checking for interlace on 3:2 pull down encoded files.
-FIXED: Audio delays (for mpeg2 files) should now work in any culture.
-FIXED: Target file size now works when Maximum Resolution is selected.
-CHANGED: Temporary files now only delete when job is deleted. (instead of simply at the end of a successful encode)
colinhunt
22nd July 2008, 12:49
*sigh* This is annoying, because it's not happening to me, so it's hard to figure out what's going on.
I used to do some coding back in the day and I know exactly what you mean. One has to be able to replicate the bug first...
The problem is that it's not being able to delete the ac3 that it extracts from the mpeg file. Unfortunately, it doesn't tell which process is currently using the file.
If you can think of an application (preferably freeware) which tells me what process is using the file, I could run it in the background and track down the culprit.
EDIT: Found some Sysinternals apps, they might help. I'll try them out.
colinhunt
22nd July 2008, 14:39
Ran 1.9.3 for the first time with a short 1080i MPEG-2 clip. Sysinternals' FileMonitor was running in the background, but turned out I didn't need it: the .NET unhandled exception error is a thing of the past with 1.9.3. Nice job!
colinhunt
22nd July 2008, 16:07
A tiny little bug I noticed: now that deinterlacing and frame rate recommendations are working again, if asxgui recommends 23.976fps and user selects "Yes", 23.976 appears in the pull-down selection but output file info shows 23fps. I noticed this same bug in an earlier revision and back then asxgui really produced a file with a frame rate of 23.000fps.
Here's a workaround: select 23.976 manually and output fps is changed to 23.976.
Oh yeah, how come the last letter of the original file name is clipped from the output file name?
patelsiraj1
22nd July 2008, 18:30
hi everyone
when i input dvd video's first vob (VTS_01_1.VOB) in asxgui it doesnt picks up the rest of the seqencial vobs. it just picks up the first vob. all vobs are in sequence(VTS_01_1.VOB,VTS_01_2.VOB etc.)
please help
morphinapg
22nd July 2008, 21:03
Ran 1.9.3 for the first time with a short 1080i MPEG-2 clip. Sysinternals' FileMonitor was running in the background, but turned out I didn't need it: the .NET unhandled exception error is a thing of the past with 1.9.3. Nice job!
I was hoping that would be a side effect. Just to make sure, you don't still get that error on exit do you?
A tiny little bug I noticed: now that deinterlacing and frame rate recommendations are working again, if asxgui recommends 23.976fps and user selects "Yes", 23.976 appears in the pull-down selection but output file info shows 23fps. I noticed this same bug in an earlier revision and back then asxgui really produced a file with a frame rate of 23.000fps.
Here's a workaround: select 23.976 manually and output fps is changed to 23.976.
That's weird, as I still get "23.976" in both the drop down list and output info. Unfortunately, I just discovered a bug that may render many framerate conversions useless in this version. It has to do with when I changed the commas to periods from fps back in 1.9.2
Oh yeah, how come the last letter of the original file name is clipped from the output file name?
lol, I'm guess you're opening a TS file, or some other extension with 2 letters. Yeah the code I used to change the extension for output was a little lazy I'll admit lol I can fix that for 1.9.4.
colinhunt
22nd July 2008, 23:11
I was hoping that would be a side effect. Just to make sure, you don't still get that error on exit do you?
Well, I didn't get one after that first trial run. I'm currently running a longer job, 8 hours in, a few still to go. I'll let you know if the error pops up again.
Unfortunately, I just discovered a bug that may render many framerate conversions useless in this version. It has to do with when I changed the commas to periods from fps back in 1.9.2
Oopsie! At least it will be interesting to see in what sort of condition my current encoding comes out... :)
lol, I'm guess you're opening a TS file, or some other extension with 2 letters.
Yup, TS MPEG-2 files the lot of them.
morphinapg
23rd July 2008, 03:07
Oopsie! At least it will be interesting to see in what sort of condition my current encoding comes out... :)
As far as I can tell, the only encodes that will work would be encodes where the source is a higher fps, and output fps is an even ratio such as 25/50(1/2) or 23.976/29.97(4/5). This corresponds to most encodes that would require framerate change, so I wouldn't worry too much.
Now if you're trying to go from 25/50 -> 23.976 or 29.97/59.94 -> 25 or converting anything to a higher framerate then you'll run into problems.
morphinapg
23rd July 2008, 09:46
hi everyone
when i input dvd video's first vob (VTS_01_1.VOB) in asxgui it doesnt picks up the rest of the seqencial vobs. it just picks up the first vob. all vobs are in sequence(VTS_01_1.VOB,VTS_01_2.VOB etc.)
please help
Oh, ok, I just did a test and did notice the problem. As long as you don't use target file size you should be okay, but this should be fixed in the next version.
colinhunt
23rd July 2008, 10:43
Checked out the latest encode (mpeg-2 1080i 29.97fps to mkv 720p 23.976fps). It's fine otherwise (and no .NET error at the end of the run), but audio sync is out of whack. Actually now that I think of it, none of my deinterlace & fps change encodes have come out with proper audio sync. I have no idea whether it's the tools or asxgui that needs work, but there's definitely work to be done in that area.
morphinapg
23rd July 2008, 22:48
Checked out the latest encode (mpeg-2 1080i 29.97fps to mkv 720p 23.976fps). It's fine otherwise (and no .NET error at the end of the run), but audio sync is out of whack. Actually now that I think of it, none of my deinterlace & fps change encodes have come out with proper audio sync. I have no idea whether it's the tools or asxgui that needs work, but there's definitely work to be done in that area.
While I check it out, is it a constant offset audio sync, or does it increase over time?
I've been looking for something like this for ages, makes things so much easier! Thanks for writing it.
Is there a way to convert a whole folder of files? Like a batch convert mode?
Edit: I've got some DVB MPEG2 captures that are resoultion 704x576. But ASXGui is reporting them as 764x576. When I open the same file again the reported resolution is 700x576! I reopen the program and open theh video, then the resolution is finally displayed correctly. Is this a bug?
colinhunt
24th July 2008, 14:54
While I check it out, is it a constant offset audio sync, or does it increase over time?
That's the oddest thing: the sync seems to drift around! And, get this, during one minute-long scene the audio was delayed at first, but corrected itself after some moments. I skipped forward (I'm using Tvix 4100 and 6500) a bit and audio was ahead of the image. Skipped forward some more, and audio was again delayed. Oh, I don't know, maybe it's the hardware I'm using to view the files... but there's no problem with audio sync on various other MKVs I've found floating around the 'net.
morphinapg
24th July 2008, 22:30
I've been looking for something like this for ages, makes things so much easier! Thanks for writing it.
Is there a way to convert a whole folder of files? Like a batch convert mode?
Edit: I've got some DVB MPEG2 captures that are resoultion 704x576. But ASXGui is reporting them as 764x576. When I open the same file again the reported resolution is 700x576! I reopen the program and open theh video, then the resolution is finally displayed correctly. Is this a bug?
Are you looking at the input info or output info. The input info should list the correct resolution. ASXGui tried to correct the resolution making it have as close to a 1:1 PAR as possible. None of those resolutions you listed actually sound right, unless you had other resolution options enabled. I've never had a problem with resolution before. If you could give me a sample file I could test it out.
That's the oddest thing: the sync seems to drift around! And, get this, during one minute-long scene the audio was delayed at first, but corrected itself after some moments. I skipped forward (I'm using Tvix 4100 and 6500) a bit and audio was ahead of the image. Skipped forward some more, and audio was again delayed. Oh, I don't know, maybe it's the hardware I'm using to view the files... but there's no problem with audio sync on various other MKVs I've found floating around the 'net.
Okay, after reading that I'm 99% sure I've seen that before and it's not a bug. The file you're watching is perfectly fine. Unfortunately, your file either has too high of a bitrate or your hard drive is too fragmented and it's causing sync issues. I would suggest lower bitrates or defragmenting your computer (or both) to fix this. I sometimes have a problem with this when I encode some of my full length films at around 16mbps 1920x1080, which with 2 pass can go up to very high bitrates (like 32mbps or more) and at those parts the sound is off sync, while at others the sound is fine. It's usually not that bad, and I keep this copy for whenever I buy a Blu-ray burner.
colinhunt
25th July 2008, 15:53
Okay, after reading that I'm 99% sure I've seen that before and it's not a bug. The file you're watching is perfectly fine. Unfortunately, your file either has too high of a bitrate or your hard drive is too fragmented and it's causing sync issues. I would suggest lower bitrates or defragmenting your computer (or both) to fix this.
By computer, are you referring to the PC I use for encoding? Because I don't watch these files on a PC; I use two hardware media players by Dvico, Tvix 4100 and 6500. While the 4100 struggles with anything above 720p, the 6500 is a fantastic player and has no problems with 1080p MKVs floating around on the internet. The box uses a Sigma chip commonly found in Blu-ray players and should be capable of H.264 bitrates up to 40mbit/s.
I ran some test encodes with AutoMKV a moment ago. Same result, audio sync was messed up, although the delay appeared to be constant. I guess I don't have the "skillz" for this encoding lark :/
morphinapg
25th July 2008, 22:37
By computer, are you referring to the PC I use for encoding? Because I don't watch these files on a PC; I use two hardware media players by Dvico, Tvix 4100 and 6500. While the 4100 struggles with anything above 720p, the 6500 is a fantastic player and has no problems with 1080p MKVs floating around on the internet. The box uses a Sigma chip commonly found in Blu-ray players and should be capable of H.264 bitrates up to 40mbit/s.
I ran some test encodes with AutoMKV a moment ago. Same result, audio sync was messed up, although the delay appeared to be constant. I guess I don't have the "skillz" for this encoding lark :/
No I mean the hardware used to play it. It may be capable of decoding at 40mb/s, but possibly only using Blu-ray discs. If the video you're encoding is long enough, the automatic bitrate ASXGui should be small enough but still retain the quality. When I encode my 1080p MKVs of TV shows, they are generally in the video bitrate of 6-7mbps and still look true to the original source.
Though I would raise the bitrate slightly for shorter clips.
ron spencer
26th July 2008, 03:39
that is interesting....HD 1080p source and 6-7 mbps as looking as good as original...that is quite a feat....
So if SD DVD is 6-8 mbps regular, how low can you go with X264 to achieve results as good as originals....have you tried that?
thanks
Sharktooth
26th July 2008, 03:42
you cant get as good as originals until you encode losslessy... and obtain bigger than the original files.
transcoding means loosing some quality... it depends on you on how much quality you will accept to loose.
morphinapg
26th July 2008, 07:00
you cant get as good as originals until you encode losslessy... and obtain bigger than the original files.
transcoding means loosing some quality... it depends on you on how much quality you will accept to loose.
Obviously I know that I was just saying visually I couldn't tell the difference from the source MPEG2-TS file and the file encoded by ASXGui, and I'm a pretty big videophile.
that is interesting....HD 1080p source and 6-7 mbps as looking as good as original...that is quite a feat....
So if SD DVD is 6-8 mbps regular, how low can you go with X264 to achieve results as good as originals....have you tried that?
thanks
ASXGui recommends 1 to 1.75 mbps depending on the resolution you choose.
Any chance of getting a batch convert option? So you can just have the exact same settings for a bunch of files in a folder and it'll add them all to the queue.
morphinapg
30th July 2008, 09:50
Any chance of getting a batch convert option? So you can just have the exact same settings for a bunch of files in a folder and it'll add them all to the queue.
Right now you can open one file, select the settings you want, and add to the queue. Then, for the rest of the files, you just have to open those files (you can drag and drop to make it easier) and add to queue, the settings should stay the same. I should be able to add this in a future version to do it automatically.
Thanks for the info, was doing that already but didn't realise you could drag and drop. The batch feature will be especially useful for iPod conversions.
drbanner70
1st August 2008, 03:31
I have been trying to back up my two HD DVDs to MKV w/ac3 sound and was having troubles with MEGui. So I went looking for an alternative program.
I downloaded your latest version and installed and updated it. I had no problems loading vc1 video file and 5.1 ac3 file (converted with eac3to). I made all of the setting changes I wanted and hit Start Encode.
Even with my Dual-Core Quad, it took around 18-20 hours to encode, which is no problem for me as I work 10 hours at my job, sleep about 6 hours and found other things to do while waiting for it to finish. Although, I was anxious to see the results!
I was not disappointed! The 5.1 ac3 sound was there as was the great looking video (1280 x 720p). Only one thing I forgot. To switch frame rate back to 23.976! :stupid:
The video looked like the chase scene at the end of The Benny Hill Show! :p
So I'm starting over again. But at least I know what kinds of results I will get! Plus, not once did i receive an error!
I did want to ask if maybe for the 2.0 release, would you add an option to add subtitles along with the video and audio? (or did I miss this option? I tried reading through this thread before using your program and don't remember seeing any mention of this).
And as was brought up before, maybe for a future release, to be able to append separated video files to a final file?
Love your program! Keep up the great work!
morphinapg
1st August 2008, 03:46
I have been trying to back up my two HD DVDs to MKV w/ac3 sound and was having troubles with MEGui. So I went looking for an alternative program.
I downloaded your latest version and installed and updated it. I had no problems loading vc1 video file and 5.1 ac3 file (converted with eac3to). I made all of the setting changes I wanted and hit Start Encode.
Even with my Dual-Core Quad, it took around 18-20 hours to encode, which is no problem for me as I work 10 hours at my job, sleep about 6 hours and found other things to do while waiting for it to finish. Although, I was anxious to see the results!
I was not disappointed! The 5.1 ac3 sound was there as was the great looking video (1280 x 720p). Only one thing I forgot. To switch frame rate back to 23.976! :stupid:
The video looked like the chase scene at the end of The Benny Hill Show! :p
So I'm starting over again. But at least I know what kinds of results I will get! Plus, not once did i receive an error!
I did want to ask if maybe for the 2.0 release, would you add an option to add subtitles along with the video and audio? (or did I miss this option? I tried reading through this thread before using your program and don't remember seeing any mention of this).
Sounds like a good idea, I never really use subtitles so I'm going to need to learn exactly how to implement them first but I should be able to add them.
And as was brought up before, maybe for a future release, to be able to append separated video files to a final file?
Love your program! Keep up the great work!
Yeah, I'd like to do that sometime.
It seems 2.0 is getting quite a list of features so it may take me quite some time to code. I think I'm going to release a version 1.9.4 with a few bug fixes before I start working on 2.0 though. Should be some time soon.
morphinapg
1st August 2008, 06:25
1.9.4 Released
-FIXED: Frame rate conversion problems
-FIXED: Input file name detection now works for files without a 3 letter extension
-FIXED: Problems with importing VOB files
ron spencer
3rd August 2008, 01:23
thanks alot!!!
goby
8th August 2008, 20:56
It's strange. The post about ASXGui on the second page... Is it everything very good or very bad with AXGui?
morphinapg
8th August 2008, 21:04
It's strange. The post about ASXGui on the second page... Is it everything very good or very bad with AXGui?
I'm not quite sure what you're talking about...
diogen
11th August 2008, 05:33
Thanks a lot!
The last two versions just work.
The last two problems I had - wrong output resolution when custom cropping and failed final muxing from time to time - are gone.
I haven't done any 59.94fps recodes for a while.
Yesterday I tried encoding the Olympics openning ceremony (recorded from NBCHD; 75min, 10Mbps ABR MPEG-2).
Unlike all 23.976fps I made, this one run out of the alotted size: 4.39GB as opposed to 4.35GB planned.
Not really a problem, but film-based recodes were always either smaller or requested size.
Thanks again.
Diogen.
morphinapg
13th August 2008, 18:32
I thought I'd let you all know that I'm working on 2.0 now. 2.0 Is going to be a huge update. Not only am I adding a lot of new features, but I'm recoding a LOT of the program (nearly the whole thing) so that things run smoother and faster. I have a lot of work to do, so I'm going to be busy coding that for quite a while. It could be months before I'm done so 1.9.4 is going to be the last release for quite a while. I'll make 1.9.5+ if I absolutely need to, like if there's a critical bug that needs fixing, but I'm going to be spending a majority of my time working on 2.0 for now.
When it's ready I'll probably release some Release Candidates before the official release. When I do finally make the official 2.0 release, should I keep using this thread or should I make another?
I haven't done any 59.94fps recodes for a while.
Yesterday I tried encoding the Olympics openning ceremony (recorded from NBCHD; 75min, 10Mbps ABR MPEG-2).
Unlike all 23.976fps I made, this one run out of the alotted size: 4.39GB as opposed to 4.35GB planned.
Not really a problem, but film-based recodes were always either smaller or requested size.
Thanks again.
Diogen.
I'm not quite sure about that. Does it have the same problem when you use a manual bitrate? It could be my calculations for target filesize being wrong, but I'm not sure.
Ekin
13th August 2008, 21:34
I can't wait for the new 2.0 release..I've been waiting for it to test the dual audio support.
I think we should start a new thread for 2.0
Thanks!
diogen
14th August 2008, 00:09
Does it have the same problem when you use a manual bitrate?I always use only manual bitrate. I got the impression it's framerate related...
Anyway, thanks for your hard work and I'm looking forward for the new version 2.0.
Would it be possible to import MeGUI's presets?
Diogen.
morphinapg
14th August 2008, 03:51
I always use only manual bitrate. I got the impression it's framerate related...
Anyway, thanks for your hard work and I'm looking forward for the new version 2.0.
Would it be possible to import MeGUI's presets?
Diogen.
There is going to be a profile importer but I was only thinking about importing ASXGui Profiles. More than likely it would be really hard for me to convert MeGUI profiles to ASXGui's format.
I'll look into the framerate/wrong file size problem and see what I can find. Chances are I'll be re-writing that whole area of code anyway, so I'll probably find the mistake if there is one.
For now try calculating the filesize using
[(video bitrate+audio bitrate)*#seconds]/8
That will give you the number of kilobytes, so divide by 1024 for megabytes or by 1,048,576 for gigabytes.
raunchy
30th August 2008, 22:17
Hello, I need some help please. I have a problem trying to encode a huffyuv encoded avi using this program. It starts and then 2 seconds later
AppName: test.exe AppVer: 0.0.0.0 ModName: huffyuv.dll
ModVer: 2.2.0.1 Offset: 00008042
test.exe has encountered a problem....
then another window right after that says
An error has been detected in Audio.avs:
Encoding will be canceled.
I've tried using an audio stream and no audio stream, same thing. only with huffyuv encoded file. please help
morphinapg
30th August 2008, 23:54
Hello, I need some help please. I have a problem trying to encode a huffyuv encoded avi using this program. It starts and then 2 seconds later
AppName: test.exe AppVer: 0.0.0.0 ModName: huffyuv.dll
ModVer: 2.2.0.1 Offset: 00008042
test.exe has encountered a problem....
then another window right after that says
An error has been detected in Audio.avs:
Encoding will be canceled.
I've tried using an audio stream and no audio stream, same thing. only with huffyuv encoded file. please help
Have you tried using the decode using directshow check box?
raunchy
31st August 2008, 00:36
yes the same error occurs
morphinapg
31st August 2008, 00:56
yes the same error occurs
maybe try reinstalling huffyuv or try using ffdshow to read huffyuv files.
I'll do some tests with huffyuv Monday when I have time.
PatchWorKs
31st August 2008, 01:59
Just discovered this GUI and seems interesting.
I wanna suggest you to "grab" the FUW (http://www.fairusewizard.com/)'s wizard approach, that seems even simpler to me.
Keep also in consideration to adopt MC (http://mediacoder.sourceforge.net/) as a backend (or you may build a simple Extension (http://mediacoder.sourceforge.net/wiki/index.php/Creating_extensions_for_MediaCoder)).
HaPpY CoDiNg ! :helpful:
morphinapg
31st August 2008, 02:08
Trust me there are many GUI improvements and simplifications coming in version 2.0. I can't really show you anything now but I'm really excited about it.
As for MC, that could be something I look at in the future, but this GUI was designed simply as a x264 GUI. It wold take quite a bit of work (I would have to find a good resolution/bitrate algorithm for every codec it would encode)
TehNrd
31st August 2008, 03:27
I love how your first post says "Another Simple X264 GUI". More like "One of the first simple x264 GUI". I am amazed that with the growth of x264 popularity there are not more GUIs for dummies. Not everyone wants or has the time to read up learn about entering all those parameters (-this -that -rvkd -333, etc).
I have read through some of the pages and I am looking forward to using this tool but I have one question. What type of deinterlacing is used?
Thanks. Keep up the great work.
raunchy
31st August 2008, 05:29
Tell me about it!!! What the hell is adaptive macroblocking and B-Frames!!? etc. I just wanna make a 720p video for vimeo!! :p Jeez i could write comedy on this stuff. :stupid:
morphinapg
31st August 2008, 08:11
yeah, I'm not even so sure myself what all the parameters are, just looked up on a couple websites on what the most optimal settings would be for asxgui and selected those. But I did know there are those peoe who like to tweak every which setting themselves so I made sure to include the advanced x264 settings for those people, but sort of hide it away as to not scare newbies.
As for the deinterlacing, right now it uses I think fielddeinterlace() for normal deinterlacing, telecide() and decimate() for certain frame rate changes, and dgbob() to double the frame rate while deinterlacing. I'll probably figure out something a little better than fielddeinterlace() for 2.0 though.
ron spencer
1st September 2008, 12:31
sounds like 2.0 is cool...how about a screenshot!!!!!
morphinapg
1st September 2008, 20:41
sounds like 2.0 is cool...how about a screenshot!!!!!
Not quite yet... actually I' not sure if I want to show any of it off before I'm actually finished. You'll see it when it's ready. :D
ron spencer
1st September 2008, 21:07
would it be possible to have it output elementary streams?
that is, instead of putting into a mp4 container, just output video (.h264 file) and audio (whatever is in the original video). This would be nice for dv captures (high def or not) of home movies, etc. that will be later put onto blu ray.
The audio could simply be demuxed via wavi.
any chance of this?
morphinapg
1st September 2008, 21:09
would it be possible to have it output elementary streams?
that is, instead of putting into a mp4 container, just output video (.h264 file) and audio (whatever is in the original video). This would be nice for dv captures (high def or not) of home movies, etc. that will be later put onto blu ray.
The audio could simply be demuxed via wavi.
any chance of this?
May be a possibility but right now if you want to keep the original audio simply use the mkv format and check the box to not recompress the audio.
Then, when you're ready to make a blu-ray, you could just use TSMuxer
ron spencer
1st September 2008, 21:12
ok...will try that out for fun...I could just use yamb to demux then as needed.
or perhaps you could just put yamb in your tools folder and at the end of your mkv encode, just run in background a demux and optional deletion of the .mkv.
just a thought...
ron spencer
1st September 2008, 21:17
could you also put a tick-box for no resize?
morphinapg
1st September 2008, 21:20
ok...will try that out for fun...I could just use yamb to demux then as needed.
or perhaps you could just put yamb in your tools folder and at the end of your mkv encode, just run in background a demux and optional deletion of the .mkv.
just a thought...
Yamb would work for MP4s, but I think you'd need to use MKVextract for MKVs
morphinapg
1st September 2008, 21:26
could you also put a tick-box for no resize?
Are you referring to anamorphic sources? I guess I could. Otherwise auto-resize and auto bitrate would act the same. You could also custom resize to the original resolution. I defaulted ASXGui to a 1:1 pixel aspect because some players may not detect a non-square PAR.
ron spencer
1st September 2008, 21:43
the no resize it just easier than entering in the same resoultion. I am just thinking that this program, with a few minor editions, could be a superb creator of elementary streams for blu ray authoring (or even just using txmuxer to movie only). In this case, one would never want to resize their home videos. This tool could become a two-in-one thing quite easily; one for re-doing movies, and another for encoding home movies from DV or HDV. Really cool actually.
I am gonna try to get a blu ray writer before Christmas...then try it out this way.
morphinapg
1st September 2008, 21:46
the no resize it just easier than entering in the same resoultion. I am just thinking that this program, with a few minor editions, could be a superb creator of elementary streams for blu ray authoring (or even just using txmuxer to movie only). In this case, one would never want to resize their home videos. This tool could become a two-in-one thing quite easily; one for re-doing movies, and another for encoding home movies from DV or HDV. Really cool actually.
I am gonna try to get a blu ray writer before Christmas...then try it out this way.
I've already definitely been using this to prepare all my home HD videos for blu-ray discs already. But another thing I need to add is the ability to add black bars where needed, as blu-ray only accepts certain resolutions (like 1920x1080 and 1280x720)
ron spencer
1st September 2008, 22:56
acceptable blu ray is:
1280x720 (720p), 1920x1080 (1080i), or 1920x1080p (1080p)
Despite this, some standalones will play 720x480 muxed into blu ray.
Glad you are using this for home movies!!! Very promising.
One other thing I thought of, perhaps a no audio option?
can't wait for V2, but take your time!!!
did u set it up so abort will not delete files?
morphinapg
1st September 2008, 23:11
acceptable blu ray is:
1280x720 (720p), 1920x1080 (1080i), or 1920x1080p (1080p)
Despite this, some standalones will play 720x480 muxed into blu ray.
Yeah 480i/p is allowed (used with a lot of movies for special features) I also think 1440x1080 and maybe 1280x1080 are allowed as well. But to be safe I've been encoding all my recordings at 1920x1080 @ 23.976 fps anyway
Glad you are using this for home movies!!! Very promising.
One other thing I thought of, perhaps a no audio option?
Ok
can't wait for V2, but take your time!!!
did u set it up so abort will not delete files?
I thought I already did this, but I'll check it out
morphinapg
2nd September 2008, 00:43
Okay, I tested and I didn't have any problems during the script checking phase using huffyuv encoded files. I tried both decoding using huffyuv and ffdshow, and both passed. I'd suggest updating/reinstalling your codecs and see if that fixes the problem.
ron spencer
2nd September 2008, 02:04
to what are you referring?
ron spencer
2nd September 2008, 02:29
also curious...why are the profiles not given in the download and are needed to be downloaded? Not a big deal, but the profiles are a small file why not include them?
morphinapg
2nd September 2008, 03:11
to what are you referring?
I was referring to the problem raunchy was having with huffyuv video input.
also curious...why are the profiles not given in the download and are needed to be downloaded? Not a big deal, but the profiles are a small file why not include them?
Well if I included them in the download, they would overwrite any custom profiles the user has created. Technically, I have a way that would prevent that currently implemented with the file that stores which option panels the user leaves open. I came up with that after I already had the profiles set up online, so I didn't really think about it. I could probably figure it into 2.0.
ron spencer
2nd September 2008, 15:11
any other sources for presets that can be used?
morphinapg
2nd September 2008, 19:00
any other sources for presets that can be used?
No, the profiles are exclusive to ASXGui, it would be too hard to translate others to my format.
Mary H
10th September 2008, 20:09
I tried ASXGui on my copy of Dreamgirls Blu-Ray (an m2ts file created by TSMuxer) and everything seemed to be going smoothly. I set it to use the original AC3 audio and a filesize of 8192 MB, to fit on a dual layer DVD for archiving. The output tab showed that the final size would be 7.63 MiB. However, when the encoding job was finished, the file size was bigger than the original m2ts!
Original: 29.9 GB
MKV file: 36.9 GB
What did I do wrong? Here are shots of the settings, with the Input and Output panes.
Thanks! I really like the software, but if I can't control the file size it won't work out very well for me.
lignicolos
13th September 2008, 22:26
Well, I'm really digging this program. It's working out as a great alternative to Nero Recode (for a dummy like me). The only thing is, it takes a REALLY long time to complete the audio portion of the transcode. The audio is 41 minutes long yet it's taking hours to convert a 6 channel ac3 stream to a 2 channel aac stereo mix. I've noticed it's the avs2wav program taking the longest. My machine has a 2.8ghz Core2 in it so I don't think that's the bottleneck. I am running Vista though, could that be it?
Directshowsource("D:\Video\mobile.source\mobile.mkv", fps=23.976,seekzero=true)
a=Delayaudio(0)
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3, 3)
lrc = MixAudio(flr, fcc, 0.2646, 0.1870)
lfe = GetChannel(a, 4, 4)
lrc = MixAudio(lrc, lfe, 1.0, 0.1870)
bl = GetChannel(a, 5)
br = GetChannel(a, 6)
sl = MixAudio(bl, br, 0.2291, 0.1323)
sr = MixAudio(bl, br, -0.1323, -0.2291)
blr = MergeChannels(sl, sr)
MixAudio(lrc, blr, 1.0, 1.0)
Normalize()
That's what is in my audio .avs file.
TehNrd
13th September 2008, 23:32
So far so good with this tool but here are some suggestions for v2.0.
When you select "Custom Resize" the values should default to the resolution of the input file. Most of the time I want to set a custom bitrate but want the resolution to stay the same.
morphinapg
14th September 2008, 01:59
I tried ASXGui on my copy of Dreamgirls Blu-Ray (an m2ts file created by TSMuxer) and everything seemed to be going smoothly. I set it to use the original AC3 audio and a filesize of 8192 MB, to fit on a dual layer DVD for archiving. The output tab showed that the final size would be 7.63 MiB. However, when the encoding job was finished, the file size was bigger than the original m2ts!
Original: 29.9 GB
MKV file: 36.9 GB
What did I do wrong? Here are shots of the settings, with the Input and Output panes.
Thanks! I really like the software, but if I can't control the file size it won't work out very well for me.
Wow, that's pretty weird. I'm not quite sure what's happening there. There is a small bug with the file size right now that could make files up to 2.4% larger than predicted, but not 484% larger!! I know it's been a while, but do you still by chance have the encode.log file for this encode (in ASXGui folder)? If not, has this happened more than once? It could have been a one time bug. I'm really not sure, that's never happened to me before.
Well, I'm really digging this program. It's working out as a great alternative to Nero Recode (for a dummy like me). The only thing is, it takes a REALLY long time to complete the audio portion of the transcode. The audio is 41 minutes long yet it's taking hours to convert a 6 channel ac3 stream to a 2 channel aac stereo mix. I've noticed it's the avs2wav program taking the longest. My machine has a 2.8ghz Core2 in it so I don't think that's the bottleneck. I am running Vista though, could that be it?
Directshowsource("D:\Video\mobile.source\mobile.mkv", fps=23.976,seekzero=true)
a=Delayaudio(0)
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3, 3)
lrc = MixAudio(flr, fcc, 0.2646, 0.1870)
lfe = GetChannel(a, 4, 4)
lrc = MixAudio(lrc, lfe, 1.0, 0.1870)
bl = GetChannel(a, 5)
br = GetChannel(a, 6)
sl = MixAudio(bl, br, 0.2291, 0.1323)
sr = MixAudio(bl, br, -0.1323, -0.2291)
blr = MergeChannels(sl, sr)
MixAudio(lrc, blr, 1.0, 1.0)
Normalize()
That's what is in my audio .avs file.
Usually the audio part takes a small fraction for the time the video portion does, so something must be wrong there. Does it do the same for different format files? It could possibly be a problem with your codecs maybe? Try updating all your codecs. All I can think of right now. By the way, I code this in Vista, so that's definitely not it.
So far so good with this tool but here are some suggestions for v2.0.
When you select "Custom Resize" the values should default to the resolution of the input file. Most of the time I want to set a custom bitrate but want the resolution to stay the same.
Yeah, I think one of my older versions may have actually done that, I can't remember. I'm not sure why I took it out but now that I'm recoding a lot, it shouldn't be a problem.
Honeyko
14th September 2008, 05:32
1. "Download with Installer" leads to a dead link.
2. The other download is a zipped bunch of stuff named "ASXGui-1[1].9.4"; when put into a folder and ASXGui is launched (in XPpro), I get an "Application failed to initialize properly (0xc000135)" error. -- I have AviSynth 2.5 in my Programs folder.
==//==
My major interest in the application will be whether or not it supports powerful external AviSynth filters such as these (http://www.compression.ru/video/deblocking/smartdeblocking_en.html). Let me know if there are plans to do so. (I have hundreds of "grainy old movie" projects on hold due to lack of adequate GUI tools.)
morphinapg
14th September 2008, 07:11
1. "Download with Installer" leads to a dead link.
2. The other download is a zipped bunch of stuff named "ASXGui-1[1].9.4"; when put into a folder and ASXGui is launched (in XPpro), I get an "Application failed to initialize properly (0xc000135)" error. -- I have AviSynth 2.5 in my Programs folder.
==//==
My major interest in the application will be whether or not it supports powerful external AviSynth filters such as these (http://www.compression.ru/video/deblocking/smartdeblocking_en.html). Let me know if there are plans to do so. (I have hundreds of "grainy old movie" projects on hold due to lack of adequate GUI tools.)
1. The installer links are down for the moment, I took them off the post and off my sig.
2. Try installing the .NET Framework (I think ASXGui uses 2.0), and see if it runs after that.
Unfortunately, I've never even heard of or used any of those filters so if I do ever get to it, it won't be in 2.0. I've thought of possibly adding an avs script editor in ASXGui, but I'm not 100% sure exactly how to implement that yet, so it probably won't make 2.0 either.
lignicolos
15th September 2008, 06:42
Usually the audio part takes a small fraction for the time the video portion does, so something must be wrong there. Does it do the same for different format files? It could possibly be a problem with your codecs maybe? Try updating all your codecs. All I can think of right now. By the way, I code this in Vista, so that's definitely not it.
Well, I uninstalled everything codec related as well as avisynth. then reinstalled the latest ffdshow-tryout build as well as avisynth. Now nothing works. The errors below happen with both the latest 2.58 beta of avisynth as well as the stable release. I also received the same errors when i tried to use the k-lite codec pack.
---------------------------
ASXGui
---------------------------
An error has been detected in Audio.avs:
Script error: there is no function named "Directshowsource"
(atest.avs, line 1)
Encoding will be canceled
---------------------------
OK
---------------------------
if i choose to 'force directshow' i get this:
---------------------------
ASXGui
---------------------------
An error has been detected in Avisynth.avs:
Script error: there is no function named "Directshowsource"
(vtest.avs, line 1)
Encoding will be canceled
---------------------------
OK
---------------------------
I'm now stuck and don't know what to do.
morphinapg
15th September 2008, 06:57
Well, I uninstalled everything codec related as well as avisynth. then reinstalled the latest ffdshow-tryout build as well as avisynth. Now nothing works. The errors below happen with both the latest 2.58 beta of avisynth as well as the stable release. I also received the same errors when i tried to use the k-lite codec pack.
---------------------------
ASXGui
---------------------------
An error has been detected in Audio.avs:
Script error: there is no function named "Directshowsource"
(atest.avs, line 1)
Encoding will be canceled
---------------------------
OK
---------------------------
if i choose to 'force directshow' i get this:
---------------------------
ASXGui
---------------------------
An error has been detected in Avisynth.avs:
Script error: there is no function named "Directshowsource"
(vtest.avs, line 1)
Encoding will be canceled
---------------------------
OK
---------------------------
I'm now stuck and don't know what to do.
Umm.... wow. Never seen that before :confused:
hmm...
Is DirectShowSource.dll in program files\avisynth 2.5\plugins?
have you tried restarting since you installed avisynth?
lignicolos
16th September 2008, 05:14
Umm.... wow. Never seen that before :confused:
hmm...
Is DirectShowSource.dll in program files\avisynth 2.5\plugins?
have you tried restarting since you installed avisynth?
Yea, i'm confused too. Here's what i've done. I uninstalled everything to start fresh. Then, I installed the k-lite pack and rebooted after it finished. I then went in and configured the ac3 filter and ffdshow like it shows in the pdf.
I then installed avisynth and rebooted. When everything came back up, I extracted the asxgui archive and ran the exe. I chose my settings and hit start encoding. The same error above came up. Something with my system has to be hosed but I have no idea what it might be.
*edit* i choose 'run as administrator' from the right-click menu on my shortcut to the exe and its working now...no idea why that'd matter but it's working!
morphinapg
16th September 2008, 10:00
Yea, i'm confused too. Here's what i've done. I uninstalled everything to start fresh. Then, I installed the k-lite pack and rebooted after it finished. I then went in and configured the ac3 filter and ffdshow like it shows in the pdf.
I then installed avisynth and rebooted. When everything came back up, I extracted the asxgui archive and ran the exe. I chose my settings and hit start encoding. The same error above came up. Something with my system has to be hosed but I have no idea what it might be.
*edit* i choose 'run as administrator' from the right-click menu on my shortcut to the exe and its working now...no idea why that'd matter but it's working!
Oh, hmm ok.
Some files may not be accessible unless it's under administrator mode I guess. It doesn't ever affect me because I turned off the UAC on my machine
Well, that should be fixed in version 2.0 anyways, at least hopefully, with some changes I'm doing.
tivu100
17th September 2008, 19:51
Hi. Iam a noob and I looking for a soft encode my anime episode to x264 to save my hard disk. I try ur program but still not get quality I expect. Can u help me?
My setting( as other video on the web) bitrate 256mbps,Audio Bitrate 32kbps, Resolution 640X480, Channel 2, Aspect Ratio 4:3, Length 22 minutes, Frame Rate 23.982 fps, File size: 40-50mb.
My file often ends up abit smaller than on the net but much worse quality. Can u make and Anime profile for the next update as my setting?
morphinapg
17th September 2008, 22:40
Hi. Iam a noob and I looking for a soft encode my anime episode to x264 to save my hard disk. I try ur program but still not get quality I expect. Can u help me?
My setting( as other video on the web) bitrate 256mbps,Audio Bitrate 32kbps, Resolution 640X480, Channel 2, Aspect Ratio 4:3, Length 22 minutes, Frame Rate 23.982 fps, File size: 40-50mb.
My file often ends up abit smaller than on the net but much worse quality. Can u make and Anime profile for the next update as my setting?
Those bitrates seem way too low. It might look okay with 320x240. I don't know, maybe anime works better with those bitrates. Here's the profile if you want to try it anyway:
Profile=Anime
Version= 194
MP4= True
iPod= False
RemuxVideo= False
Recompressed= False
1Pass= False
CQ= False
Quant= 0
AutoSize= False
Aspect= True
Ratio= 4:3
CustomX= 640
CustomY= 480
MaxSize= False
MaxX=
MaxY=
AutoCrop= False
CustomCrop= False
CropL=
CropT=
CropR=
CropB=
Deinterlace= False
Double= False
FieldOrder= TFF
AutoBitrate= False
CustomABitrate=True
ABitrate= 32
VBitrate= 256
Downmix= False
EnforceProfile=False
X264Profile= High
Level=
UseMaxRate= False
MaxRate=
TargetSize= False
ChangeFPS= True
FPS= 23.976
FileSize=
Bytes= MB
Deblocking= True
Strength= 0
Thresh= 0
Buffer= 0
IBuffer= 0.9
Variance= 1
QC= 0.6
Blur= 20
BlurQ= 0.5
Chroma= True
Range= 24
Scene= 40
Algorithm= 2
Subpixel= 5
Stats= video.stats
MinQ= 1
MaxQ= 51
MaxQD= 4
IandP= 1.4
PandB= 1.3
ChromaQP= 0
BFrames= 3
Adaptive= True
Pyramid= True
RDO= True
Weighted= True
Bidirectional= True
BMode= 1
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= 3
Mixed= True
CABAC= True
DCT= False
PSkip= True
Directshow= False
END
Just add it to the profiles.ini file in the ASXGui folder
There might be other tweaks to the x264 settings for anime that I do not know, so maybe someone else could make a better profile.
TehNrd
19th September 2008, 06:02
So today I did my first large encode (still in progress) and here is one weird thing I noticed. I set my hard drives to turn off after 20min and I think this stopped the encode from continuing. I have the ASX program on my C: with the windows install but my video files are on a separate logical drive F: I use for storage. I don't think C: shut down but I think F: did and the encoding basically stopped.
I'm not sure if this is even possible but is there any way to modify this setting to not have the hard drives turn off when encoding? It looks like this is written with .NET/C# or something so maybe it has access to windows settings.
morphinapg
19th September 2008, 15:18
So today I did my first large encode (still in progress) and here is one weird thing I noticed. I set my hard drives to turn off after 20min and I think this stopped the encode from continuing. I have the ASX program on my C: with the windows install but my video files are on a separate logical drive F: I use for storage. I don't think C: shut down but I think F: did and the encoding basically stopped.
I'm not sure if this is even possible but is there any way to modify this setting to not have the hard drives turn off when encoding? It looks like this is written with .NET/C# or something so maybe it has access to windows settings.
That would make sense because your C drive would be in use for temporary files right now (this will be changeable in 2.0) but F drive wouldn't be used until the encode is over. I guess I can look into it and see if I can prevent hard drives from turning off during encode, but for now I would suggest saving your file to your C drive, and then copying it after it's done.
You could also be experiencing problems if your C drive doesn't have enough space for the encode as well. In this case put ASXGui on the F Drive.
tivu100
20th September 2008, 09:51
Hi. I suggest u making comfirm before stop conversion to prevent accident.
morphinapg
20th September 2008, 09:57
Hi. I suggest u making comfirm before stop conversion to prevent accident.
Will do
:thanks:
ron spencer
30th September 2008, 20:32
any update on new version ? Just curious
morphinapg
30th September 2008, 22:36
Can't really say without giving away too much, but I'm almost done re-writing all the code from 1.x to 2.0, and then I have a lot of new features I need to add too.
Ajax_Undone
1st October 2008, 04:10
Can't really say without giving away too much, but I'm almost done re-writing all the code from 1.x to 2.0, and then I have a lot of new features I need to add too.
Nice great to hear..:devil:
tivu100
3rd October 2008, 22:09
When will new update come? I am looking forward to seeing ur new features. It sounds interesting!
morphinapg
4th October 2008, 01:02
Not sure when 2.0 is coming, it's a much larger update than I've ever done before, so it's going to be a while. I'll release it when it's ready. I'm trying to spend as much time as I can working on it.
Ajax_Undone
6th October 2008, 05:24
Nice to hear...
meatwad
9th October 2008, 06:25
I'm doing some 1440X1080 clips that I need to change the sar to 4:3 in order to get the correct aspect ratio output. I usually just change it in the command line, but your gui doesn't seem to have the option. I then tried to add it to the default profile by editing the text file (sar= 4:3) but the videos aspect still turned out the same. I'm sure there's a simple way to do it, but I'm such a moron I'm probably overlooking it.
morphinapg
9th October 2008, 06:32
I'm doing some 1440X1080 clips that I need to change the sar to 4:3 in order to get the correct aspect ratio output. I usually just change it in the command line, but your gui doesn't seem to have the option. I then tried to add it to the default profile by editing the text file (sar= 4:3) but the videos aspect still turned out the same. I'm sure there's a simple way to do it, but I'm such a moron I'm probably overlooking it.
Check the "Override aspect ratio" box and choose 16:9. This is the output aspect. If you don't want ASXGui to resize your video, then make sure to set "custom resize" to 1440x1080. ASXGui will automatically set the SAR for you.
meatwad
9th October 2008, 06:46
I tried that but the output is still the same. Aspect isn't stretched. I believe I need a way to override the sar because I believe it's setting it at 1:1. I can post a link to a sample if you need one along with any logs. The sample I'm working with is under 15 megs.
The only method I can use to get the correct aspect ratio is to change the file from 1440X1080 to 1920X1080. Square vs. rectangular pixels. I was hoping sar could be accessed through the profile where I could add the command line. I've tried the following:
sar= 4:3
--sar 4:3
sar 4:3
None of them seem to work, but of course they won't if the sar has previously been entered. X264 just seems to ignore it.
morphinapg
9th October 2008, 06:54
hmm, that's interesting. it IS supposed to be adjusting the SAR based on the overrided output aspect.
Yeah, send me a sample.
meatwad
9th October 2008, 07:13
http://www.zshare.net/download/20254133fe9832af/
It's no biggie, I was just hoping there was a way to set the sar myself. The avs input even says it's 4/3 but the correct aspect is 16/9. No matter if the output is set as 4/3 or 16/9 the file always comes out with an aspect ratio of 4/3 instead of 16/9. I also want to thank you for responding so quickly. Sorry to be a nuisance.
morphinapg
9th October 2008, 08:20
I'm getting this error when inputting your file. Tried opening it with DGIndex as well and still got that problem.
http://i36.tinypic.com/qxnl7m.jpg
I think the test ts might be messed up. I'm guessing it was just the cut from the original that messed it up. Does this happen on yours?
morphinapg
9th October 2008, 08:30
By the way, I set up a random 1080p file to custom size 1440x1080, and set the aspect override to 16/9 like this:
http://i35.tinypic.com/2zobr81.jpg
and my encode.log file shows this:
Input File: C:\Users\Andy\Desktop\Yes Man 1080p.mov
Creating Avisynth File...
Loadplugin("C:\Program Files (x86)\ASXGui\tools\ffmpegsource.dll")
ffmpegsource("C:\Users\Andy\Desktop\Yes Man 1080p.mov")
Directshowsource("C:\Users\Andy\Desktop\Yes Man 1080p.mov", fps=23.976,seekzero=true)
Output File Name set to:C:\Users\Andy\Desktop\Yes Man 1080p.mp4
Writing x264 Batch File
Setting Pixel Aspect Ratio to --sar 1920:1440
tools\x264 --pass 1 --bitrate 4772 --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:1440 --progress --no-psnr --no-ssim --output NUL Avisynth.avs
tools\x264 --pass 2 --bitrate 4772 --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:1440 --progress --no-psnr --no-ssim --output video.mp4 Avisynth.avs
tools\avs2wav Audio.avs - | tools\neroaacenc -ignorelength -lc -br 96000 -if - -of audio.mp4
tools\mp4box -add video.mp4 -add audio.mp4 -fps 23.976 -tmp tools -new "C:\Users\Andy\Desktop\Yes Man 1080p.mp4"
Closing Batch File...
Starting Encode...
avis [info]: 1440x1080 @ 23.98 fps (2702 frames)
x264 [info]: using SAR=4/3
x264 [info]: using cpu capabilities: MMX2 SSE2Fast
Though the actual command shows --sar 1920:1440, x264 knows how to simplify that to 4/3
meatwad
9th October 2008, 08:44
My problem might be that I'm using an avs file as input because I'm using DGAVCIndexNV and I need the avs file so I can load DGAVCDecode.dll. I'll play around with it a little more. I imagine it will work like your sample if I can load it without using an avs file.
morphinapg
9th October 2008, 08:51
post the contents of encode.log in the ASXGui folder after you set the settings like above and click encode.
it should still work fine with an avs input
meatwad
9th October 2008, 09:01
Unfortunately the only way to load the file is through avisynth. I just tried to load the .dga file and the .ts file. I received the same error you did with the .ts file. The .dga file claimed that it couldn't read the resolution. If you run the sample through DGAVCIndex and create a script that looks like this:
loadplugin("Z:\dgavcdecnv102\DGAVCDecode.dll")
avcsource("...location of test.ts")
or use directshow source:
DirectShowSource("...location of test.ts")
You should be able to load the test sample. Also, you probably know how to make an avisynth script better than I do but I'm running out of steam tonight and they were easy to copy as an example. If you use DGAVCIndex the video will probably output with macroblocks through X264 due to the limitations of libavcodec.dll
meatwad
9th October 2008, 09:02
post the contents of encode.log in the ASXGui folder after you set the settings like above and click encode.
it should still work fine with an avs input
I'll give it a try.
meatwad
9th October 2008, 09:09
I swear I tried that before and it didn't work. It worked now as an mp4. I've been outputting as an mkv. Let me try it as an mkv. instead.
meatwad
9th October 2008, 09:16
Okay. I just wasted a few hours of your time. It's working fine now. I deeply apologize and you can personally burn DA onto my forehead. I'd altered some of the encoding settings before, but they shouldn't have affected the aspect ratio. Anyway, thanks for putting up with me and once again I'm sorry for wasting your time.
morphinapg
9th October 2008, 09:21
lol doesn't matter, glad everything worked out for you then.
meatwad
9th October 2008, 09:30
Me too! Your GUI works fine with DGAVCIndexNV so you should be happy about that. There's currently only a handful of programs that work with it and ASXGui is one of them. Thanks for making it and remember... Meatwad is dumb as hell, boy. Have a good evening/morning.
morphinapg
9th October 2008, 09:56
technically anything that works with avisynth should work with ASXGui
I'm actually interested in incorporating DGAVCIndex in a future version like I already do for DGIndex. You will probably be able to use it with DGAVCIndexNV if you replace the regular DGAVCIndex files in ASXGui's tools folder when I do that.
that way you could bypass avisynth entirely
EDIT: Oh I see what you mean by those macroblocks. Maybe it would be best to hold off then till that could get fixed.
meatwad
9th October 2008, 11:13
Go ahead and incorporate it. It only happens with PAFF encoded streams like my sample.
meatwad
9th October 2008, 16:52
I think I may have found what's causing sar to be ignored. After I got it to run the test sample through with correct sar output last night, I cued up about 10 videos with a few differences in the settings. The main one being "1 pass (faster)" was checked. I also used "custom crop" and I set a "target file size". Those were the same settings I was using when I first posted. When I successfully completed the test sample I purposely used the settings you posted. Well.... All of the videos processed so far have came out with sar ignored. I'm testing now with "1 pass (faster)" unchecked. Is it possible you're using X264 profiles that aren't using the sar command line until the second pass? Anyway, I'll post back later after one of my jobs has completed with "1 pass (faster)" disabled.
Maybe that plastic dog toy brain Frylock gave me might not have been trippin' earlier... Then again I have been eating a lot of that cheese that says "industrial strength caulk" on the side. Ummm! That's some good cheese.
Update: It's not "1 pass (faster)". I'm going about it via process of elimination now.
meatwad
9th October 2008, 17:56
I need to wake my butt up. I looked at the encode log and it clearly says it's using sar 4/3 in both passes. So if it's encoding with the correct sar then that leaves mkvmerge. When I did your test I placed the settings just as you had them which was mp4 and it came out with the correct sar. I then reran it with mkv as an output and it came out fine. However, all encodes as mkv output since then have came out incorrect--including the test sample. I bet it will come out fine as mp4.
Bingo! Comes out fine with mp4. It's mkvmerge.
meatwad
9th October 2008, 18:12
I just loaded the file in mkvmerge GUI and it states the resolution is 1920 X 1080 yet it doesn't display it that way. I've had this problem before where the correct aspect ratio signaling was bypassed using an mkv container. I could extract the files and run the avc file through mp4 box and change the aspect ratio to 16 X 9. The mp4 would display the correct aspect ratio until I put it back into the mkv container. Even with the correct aspect ration set in mkv it still displayed the file with a 4 X 3 aspect. My solution was to run the mkv or extracted files through staxrip with raw output back into an mkv container (staxrip has an option that will let you modify the PAR).
meatwad
9th October 2008, 18:47
http://i36.tinypic.com/112d69u.png" border="0" alt="Image and video hosting by TinyPic"
Here's the resulting file:
http://www.zshare.net/download/20284775c1b40441/
Also, on the test sample that worked with mkv I didn't select any audio so I decided to test again the exact same way. AR is correct as long as I don't have an audio track. Weird...
I'll attach logs with the working sample:
http://www.zshare.net/download/20288931da5b48d3/
morphinapg
9th October 2008, 22:04
Interesting stuff. I probably just need another switch for sar in mkvmerge or something Unfortunately I won't be able to fix that until 2.0, so for now you'll have to use workarounds.
I think I would suggest encoding as mp4 or mkv without audio, then using mkvmerge gui to combine with the audio (which should also automatically fix and audio delay problems you might have)
Can I ask why you resized to 1440x1088 instead of 1440x1080? (it seems ASXGui ignores that anyway and sets it to 1080)
EDIT: I just downloaded your first sample and the aspect worked just fine for me.
meatwad
9th October 2008, 23:14
It was giving me an output of 1440X1072 if I resized to 1440X1080. The only way it would output at 1440x1080 was to set it at 1440X1088.
morphinapg
10th October 2008, 04:58
It was giving me an output of 1440X1072 if I resized to 1440X1080. The only way it would output at 1440x1080 was to set it at 1440X1088.
Oh okay, it seems to be because of the crop then. Hmm, crop should have priority before resize, so I'll have to fix that for 2.0.
But yeah your "non-working" sample worked just fine on my computer, so I'm not sure what the problem is there.
meatwad
10th October 2008, 05:19
Are you using vmr9 or vmr7? I'll change mine to 9 to see if it can pick up the correct aspect.
morphinapg
10th October 2008, 05:54
Are you using vmr9 or vmr7? I'll change mine to 9 to see if it can pick up the correct aspect.
I don't know, whatever the default is with WMP and CoreAVC I guess.
meatwad
10th October 2008, 06:57
In XP Pro I tried vmr7, vmr9, and haali video renderer but the aspect ratio was always 4/3. I'll try it in Vista 64 tomorrow. I've got too many encodes and caps going on right now to reboot. Thanks again for taking the time to help me out. I'll be one of the first to download 2.0 when you have it ready.
Richardw322
15th October 2008, 01:04
I have a question, but first some background. I just used ASXGui to transcode my Beatles Love DVD disk. First, I ripped the disk using DVDDecripter in IFO mode. Then I ran it through ASXGui, and it produced an MKV file. Worked like a champ. A little slower than MEGUI, but MUCH easier! Now the problem The MKV is one long "movie". The only "video" on it is a static background with the song title on it. It changes if I seek the video in MPC. It kind of makes me think the whole disk was one "movie" but it uses chapters to go from song to song. I also see like 8 files marked chapter information. Is there any way to include the chapter info in the MKV file? BTW, very nice program!
morphinapg
15th October 2008, 03:36
I have a question, but first some background. I just used ASXGui to transcode my Beatles Love DVD disk. First, I ripped the disk using DVDDecripter in IFO mode. Then I ran it through ASXGui, and it produced an MKV file. Worked like a champ. A little slower than MEGUI, but MUCH easier! Now the problem The MKV is one long "movie". The only "video" on it is a static background with the song title on it. It changes if I seek the video in MPC. It kind of makes me think the whole disk was one "movie" but it uses chapters to go from song to song. I also see like 8 files marked chapter information. Is there any way to include the chapter info in the MKV file? BTW, very nice program!
Currently no, but if I can figure out how then eventually that's something I'd like to do. If anybody has any tips on how to do this let me know.
Also, the bit about it being slower than megui, just change the x264 Advanced settings to match any of the profiles you use in MeGUI and it should be pretty similar in speed. I changed a few of the default MeGUI settings for ASXGui.
Richardw322
17th October 2008, 01:04
Thanks for the answer, Morphinapg, as I said great program. The chapter thing is no big deal, when I found your program I was playig the disk and thought it would be a good test. The only reason it seemed a little slower is it seemed to take around the same time as MEgui to recode the disk and I thought it should be quicker as all the video is just 26 static images. When I do a real video DVD I'll know better. Oh, the DVD rip in IFO mode, was that right? (you don't mention what mode to rip using DVDDecripter).
Just a thought, if you could get chapters working, it might come in handy for TV episode disk ripping. That seems to be a BIG pain in the a$$ for everyone!! It is for me! Right now it means ripping each pgc file to a separate folder to make each episode a new file.
morphinapg
17th October 2008, 01:38
Thanks for the answer, Morphinapg, as I said great program. The chapter thing is no big deal, when I found your program I was playig the disk and thought it would be a good test. The only reason it seemed a little slower is it seemed to take around the same time as MEgui to recode the disk and I thought it should be quicker as all the video is just 26 static images. When I do a real video DVD I'll know better. Oh, the DVD rip in IFO mode, was that right? (you don't mention what mode to rip using DVDDecripter).
Just a thought, if you could get chapters working, it might come in handy for TV episode disk ripping. That seems to be a BIG pain in the a$$ for everyone!! It is for me! Right now it means ripping each pgc file to a separate folder to make each episode a new file.
I don't use DVDDecrypter so I don't know anything about that, as long as your rip has VTS_X_X.VOB files, then you should be fine.
As for chapters, I may be able to do them eventually, but I doubt I'll be able to fit them in 2.0.
Update on 2.0: I've successfully ported all my 1.x code to 2.x, and I will start adding features very soon, which doesn't take very long. Hopefully I can release 2.0 by the end of the month.
Ajax_Undone
17th October 2008, 02:56
So kool; keep us posted;-)
meatwad
21st October 2008, 06:07
@morphinapg,
Sorry I'm just now getting around to giving you an update, but I found out why mkvs were giving me issues with incorrect DAR. As long as you use Haali as your mkv splitter you're fine and you'll get the correct AR. If you use Gabest you won't.
tacman1123
27th October 2008, 14:24
Can you give the option for saving the log file to something besides the default? I use to log to try to understand what's going on under the hood (and it's very valuable, thanks!). Right now, under Advanced H.264 options the log file prompt is there, but the default is video.stats, which really is the stats file, the log file is located at c:\Program Files\ASXGui\encode.log, and is overwritten for every job. If nothing else, the UI shouldn't call the stats file the log file, but I'd like to be able to set both (actually, I don't care much about the stats file, in large part because I don't understand it!)
A related question: is the creation of the temporary file Avisynth.avs necessary? It seems like all is does is separate out the audio and video, the AudioDub() them together.
I need to create H.264 mp4 files (so that I can run them from jw_media_player, a great flash utility to showing videos), and would like to do it as quickly as possible, so I'm trying to piece together where I can speed things up, probably moving to a 1-pass system would work. Can you point me to a page that goes through the "under the hood" process of getting from an AVS file to an mp4 file?
Thanks again for this utility, it's been enormously helpful.
Tac
tacman1123
27th October 2008, 14:30
I see you're working on Version 2, can I add a feature request: callable from the command line. That probably seems funny, to have a command line version for something that itself is a GUI around a bunch of command line programs, but those programs can be pretty difficult to work with individually. I'm thinking something like an .ini file (like the hcencode program) that loads up all the defaults. Ideally I'd like something like
ASXGui -ini fast_ipod.ini -video myvideo.avs -audio myvideo.avs -output my_movie.mp4
Essentially that's what I'm trying to do by pulling out the commands from the encode.log file (my previous post), but if it's easy for you to add I wanted to let you know that it would be used and appreciated!
Thx,
Tac
morphinapg
27th October 2008, 14:52
Can you give the option for saving the log file to soemthing besides the default? I use to log to try to understand what's going on under the hood (and it's very valuable, thanks!).
ASXGui 2.0 has a feature that saves logs to a "Logs" subdirectory. I suppose I can add an option for the user to select which folder they'd like to use for that.
Right now, under Advanced H.264 options the log file prompt is there, but the default is video.stats, which really is the stats file, the log file is located at c:\Program Files\ASXGui\encode.log, and is overwritten for every job. If nothing else, the UI shouldn't call the stats file the log file, but I'd like to be able to set both (actually, I don't care much about the stats file, in large part because I don't understand it!)
I copied all my advanced x264 settings almost straight from MeGUI, and it was listed as "logfile" on there, so that's just what I used. I suppose I can change it to stats file or whatever.
A related question: is the creation of the temporary file Avisynth.avs necessary? It seems like all is does is separate out the audio and video, the AudioDub() them together.
Avisynth.avs is the temporary file that's created to first, load the video file, and then perform any processing you may have selected in ASXGui. I think you may be referring to Audio.avs, which is used to load the audio. I then use avs2wav between either neroaacenc or ffmpeg to compress to AAC or AC3
I need to create H.264 mp4 files (so that I can run them from jw_media_player, a great flash utility to showing videos), and would like to do it as quickly as possible, so I'm trying to piece together where I can speed things up, probably moving to a 1-pass system would work. Can you point me to a page that goes through the "under the hood" process of getting from an AVS file to an mp4 file?
Not exactly sure what you mean by "under the hood", but there are several pages that tell what each and every x264 setting does and which ones you need to set to increase speed. Note that the faster your encode goes, the lower the quality it probably is going to end up being.
These two pages have some pretty useful information on those settings:
http://mewiki.project357.com/wiki/X264_Settings
http://www.digital-digest.com/articles/x264_options_page1.html
Thanks again for this utility, it's been enormously helpful.
Tac
No problem.
I see you're working on Version 2, can I add a feature request: callable from the command line. That probably seems funny, to have a command line version for something that itself is a GUI around a bunch of command line programs, but those programs can be pretty difficult to work with individually. I'm thinking something like an .ini file (like the hcencode program) that loads up all the defaults. Ideally I'd like something like
ASXGui -ini fast_ipod.ini -video myvideo.avs -audio myvideo.avs -output my_movie.mp4
Essentially that's what I'm trying to do by pulling out the commands from the encode.log file (my previous post), but if it's easy for you to add I wanted to let you know that it would be used and appreciated!
Thx,
Tac
Not really a priority as this app is really written more for those who don't use or understand the command line. That may be something I get to eventually, but right now it's not really a priority.
I suggest you set up your own custom profiles. Right now, you can just add video file, load profile and start encoding. In version 2.0, managing the job queue will be very much simpler. As long as you have a profile set up, or use one of the defaults, ASXGui is very easy to use, and I personally think using the command line would be more time consuming.
tacman1123
27th October 2008, 15:03
In the encode.log file, can you show what's created and to what file, right now, for example, you have
Creating Avisynth File...
Directshowsource("c:\v\viviometro\scripts\desierto.avs", fps=29.97)
video=Directshowsource("c:\v\viviometro\scripts\desierto.avs", fps=29.97)
audio=directshowsource("c:\v\viviometro\scripts\desierto.avs", fps=29.97,seekzero=true)
audiodub(video,audio)
Avisynth input detected
Output File Name set to:c:\v\viviometro\scripts\desierto.mp4
Writing x264 Batch File
Could you instead say
Creating Avisynth File [Audio.avs]
(show contents audio.avs)
Create Avisynth File [Avisynth.avs]
(show contents of avisynth.avs)
When you say "log file", are you referring to video.stats or encode.log?
Thx,
Tac
morphinapg
27th October 2008, 15:10
In the encode.log file, can you show what's created and to what file, right now, for example, you have
Creating Avisynth File...
Directshowsource("c:\v\viviometro\scripts\desierto.avs", fps=29.97)
video=Directshowsource("c:\v\viviometro\scripts\desierto.avs", fps=29.97)
audio=directshowsource("c:\v\viviometro\scripts\desierto.avs", fps=29.97,seekzero=true)
audiodub(video,audio)
Avisynth input detected
Output File Name set to:c:\v\viviometro\scripts\desierto.mp4
Writing x264 Batch File
Could you instead say
Creating Avisynth File [Audio.avs]
(show contents audio.avs)
Create Avisynth File [Avisynth.avs]
(show contents of avisynth.avs)
Don't worry lol, I already coded something like this, I think you'll be pleased :)
When you say "log file", are you referring to video.stats or encode.log?
Thx,
Tac
I was talking about encode.log, in 2.0, I have a subdirectory for past logs. I was saying I guess I could add an option to change that folder.
Also, I was saying the stats file is called "logfile" in the GUI because that's what MeGUI called it. I can change this for 2.0 as well.
Ajax_Undone
30th October 2008, 20:14
Was wondering if by chance you could add an option for direct stream copy and or demux...
morphinapg
30th October 2008, 21:32
Was wondering if by chance you could add an option for direct stream copy and or demux...
That's actually something I'm working on right now. I'm guessing 2.0 should be out by either late tomorrow or sometime this weekend. Just have a few more features to add and I should be done.
Ajax_Undone
31st October 2008, 01:05
Awesome You rock man...
morphinapg
2nd November 2008, 04:49
2.0.0 Released!
Please use this thread from now on:
http://forum.doom9.org/showthread.php?t=142502
DIVX2009
2nd November 2008, 06:34
for me not work
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.