Log in

View Full Version : ASXGui 1.9.4 (Any Video to MP4/x264/AAC or MKV/x264/AC3)


Pages : 1 2 3 4 5 6 7 8 [9]

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