Log in

View Full Version : MeGUI - x264/XviD/lavc/Snow encoder with MP4/MKV/AVI output & audio


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 [27] 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

check
18th September 2007, 00:16
nope, only the x264 CLI is ever used.

hristoff2
3rd October 2007, 20:57
As Megui's using CEF's build anyway, I'd appreciate a solution to work with the --aq option. I really like MeGui for batch encoding (I mean like..encoding a series without having to do things manually with x264.exe) but I'd like to use --aq, too. :)

check
4th October 2007, 00:36
It's been gone over before -- aq won't be added to the GUI as it is not in SVN.

Atak_Snajpera
4th October 2007, 00:51
hristoff2 if you want AQ you can try my tool. It's a lot simpler than MeGUI.

Sharktooth
4th October 2007, 03:04
you can still set aq in the Custom commandline options in the zones tab (yeah, i know it's not an intuitive place...)

dade49
4th October 2007, 05:09
Quick question.

I'm not a n00b, but I'm new to the x264 encoder. I've been using XviD for a long time on 480p streams, and am now working with HD 1080p streams.

I know there is no exact answer to my question, but I'd like some opinions. I am encoding MP2 & VC1 streams to h264/AVC with MeGUI in an mkv container. I am using the HQ-Slow profile, but am upping the bitrate. The video is 1920X818 after cropping. I ran a sample at 12Mb avg bitrate. It seems to look pretty good, but I'm wondering if I can get more compression out of it, while retaining enough quality. Can anyone give me their opinion of what bitrate I should be running on a 1080p stream? Thanks.

Atak_Snajpera
4th October 2007, 11:45
I would never go below 12Mbps for 1080p and 6Mbps for 720p. Less bits means less details. However you use 818p (BTW It should be 816p) so you can lower bitrate to about 8-9 Mbps. If I were you I would use Constant Quality 22 instead of 2-pass.

Nic-
4th October 2007, 12:13
i have a small question.
MeGUI work fine for me.
But today, i queue 3 jobs : 1 encode audio, 2-1 & 2-2 encode video x264 2 pass automated. and go out for work.
but when i go back, the job 2-2 didn't start, when i move my mouse , it begin start encode pass 2.
How can i make it auto start encode to finish all job like before ?
it just happen today and i try again, it didn't auto start the job 2-2.
Vista and MeGui 0.2.5.1007 with all component up to date.
Thank You

check
4th October 2007, 12:54
dade, it highly depends on the source. For low detail anime, you could probably use 6mbits and still have a decent image. For a high motion action movie, you will find 12mbit is the minimum. What sort of content do you have?

@nic, can you reproduce this error? It sounds really weird...

dade49
5th October 2007, 03:42
Atak_Snajpera: I know it should be 816 because of the 2.35:1 aspect, but 816 isn't mod16, and as such, MeGUI throws an error. Your width/height has to be divisible by 16. If I'm wrong, please correct me.

check: It's an HD_DVD movie. Was in a VC-1 format. Not anime. I may go up to 14 or 15 Mbit. Trying to balance quality and filesize.

foxyshadis
5th October 2007, 07:08
You might want to check your math on that, 816 is actually mod16. If it threw an error then there's something weird going on. (Random spaz?)

Atak_Snajpera
5th October 2007, 21:28
dade49
Next time use calculator :)

Sharktooth
7th October 2007, 02:59
report it in the MeGUI bug tracker on sourceforge.

dade49
7th October 2007, 07:07
I know it should be 816 because of the 2.35:1 aspect, but 816 isn't mod16, and as such, MeGUI throws an error. Your width/height has to be divisible by 16.

Ok, I totally screwed up the explanation on this one.

Movie aspect is 2.35:1.
Width is 1920.
This means height should be 817. You shouldn't have a height that is an odd number. I had originally used height 818, but 818 is not mod16 (not evenly divisible by 16). So I used 1920X816, which works fine. 1920X818 threw an error in MeGUI.

12Mbps seems to do the trick in this case. Thanks all.

RandomEngy
7th November 2007, 05:40
I'm trying to encode a 1280x720 30FPS video encoded with PCM sound and the Lagarith lossless codec. I have a very simple script:

AviSource("d:\docs\heavy_test.avi")

When I try to open it, it gives the following error:

MeGUI encountered a fatal error and may not be able to proceed. Reason: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source of exception: megui stacktrace: at MeGUI.AviSynthClip.dimzon_avs_getvframe(IntPtr avs, IntPtr buf, Int32 stride, Int32 frm)
at MeGUI.AvsFile.AvsVideoReader.ReadFrameBitmap(Int32 position)
at MeGUI.VideoPlayer.positionSlider_Scroll(Object sender, EventArgs e)
at MeGUI.VideoPlayer.loadVideo(MainForm mainForm, String path, PREVIEWTYPE type, Boolean hasAR, Boolean inlineAvs)
at MeGUI.VideoPlayer.loadVideo(MainForm mainForm, String path, PREVIEWTYPE type, Boolean hasAR)
at MeGUI.VideoEncodingComponent.openAvisynthScript(String fileName)
at MeGUI.VideoEncodingComponent.openVideoFile(String fileName)
at MeGUI.VideoEncodingComponent.videoInput_FileSelected(FileBar sender, FileBarEventArgs args)
at MeGUI.FileBar.triggerEvent()
at MeGUI.FileBar.setFilename(String filename)
at MeGUI.FileBar.openButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I was originally trying to encode it to x264 with the VFW codec, but that failed and I was instructed to try it with MeGui. I'm running it under Vista with administrator privileges.

Is there anything special I need to be doing? Are these codecs/resolutions supported?

(edit) I guess Vista support is lacking. Disabling the preview seems to work for now.

Sharktooth
7th November 2007, 15:01
yes, we have some problems with some vista installations...
however ensure you have the very latest development build (0.2.6.1035).

BlueCup
11th November 2007, 00:42
I'm having the same problem with 0.2.6.1035 & 0.2.6.1036 on XP.


EDIT: I missed the dev thread and the fix is to delete any jobs in the JOBS folder. Worked for me.

Knuffi
11th November 2007, 10:15
As there are heavy changes going on, I want to repeat a wish of mine:
In earlier versions there was a little checkbox on the queue-page managing the behaviour of MEGUI after encoding. This was removed and the "settings" got one feature more.
Is it possible to bring back that little checkbox or perhaps radio-boxes on the queue-page?
How about giving a default value for the behavior in the settings dialog and a "only once"-behavior in a radio box on the queue page?

Example: I put the default behavior on the settings page to "do nothing" and work with it. If I want to convert a movie at night, I can set the "only once"-radio box on the queue page to "shutdown". After the encoding, the computer shuts down and the next time I start MeGUI, it is set back to "do nothing".

What are you thinking about that? Is it worth a try?

If this is the wrong thread for that kind of thing, please tell me.

Sephiroth0000
11th November 2007, 13:32
I do not know if anyone here can help me but to cut a long story short I normally transcode my EVO to WMV with 5.1 surround sound. I am attempting now to make the EVO files compatiable for the PS3 and I am using MEGUI after I get the audio.avi file (5.1) but when I try to change it to AAC with MEGUI it comes up with error. It does not say anything else just ERROR whilst everything else is queued up. I have only installed MEGUI and would just like to know if there is something else I should be installing? Thanks for your help

The more we share our information the faster we move along as a whole.

Kurtnoise
11th November 2007, 13:41
As there are heavy changes going on, I want to repeat a wish of mine:

In earlier versions there was a little checkbox on the queue-page managing the behaviour of MEGUI after encoding. This was removed and the "settings" got one feature more.
Is it possible to bring back that little checkbox or perhaps radio-boxes on the queue-page?

How about giving a default value for the behavior in the settings dialog and a "only once"-behavior in a radio box on the queue page?

Example: I put the default behavior on the settings page to "do nothing" and work with it. If I want to convert a movie at night, I can set the "only once"-radio box on the queue page to "shutdown". After the encoding, the computer shuts down and the next time I start MeGUI, it is set back to "do nothing".

What are you thinking about that? Is it worth a try?

If this is the wrong thread for that kind of thing, please tell me.
I'm ok with the first idea (i.e can be done easily)...could you put a feature request here (http://sourceforge.net/tracker/?group_id=156112&atid=798479).

Kurtnoise
11th November 2007, 13:42
I do not know if anyone here can help me but to cut a long story short I normally transcode my EVO to WMV with 5.1 surround sound. I am attempting now to make the EVO files compatiable for the PS3 and I am using MEGUI after I get the audio.avi file (5.1) but when I try to change it to AAC with MEGUI it comes up with error. It does not say anything else just ERROR whilst everything else is queued up. I have only installed MEGUI and would just like to know if there is something else I should be installing? Thanks for your help

The more we share our information the faster we move along as a whole.
which encoder did you use ?

try also to put an avs script instead of the AVI file as input directly...I mean

AVISource("...my path\audio.avi")

Knuffi
11th November 2007, 14:19
could you put a feature request here (http://sourceforge.net/tracker/?group_id=156112&atid=798479).

Done.

Sephiroth0000
11th November 2007, 16:38
which encoder did you use ?

try also to put an avs script instead of the AVI file as input directly...I mean

AVISource("...my path\audio.avi")


How do you mean? I attempted to change it to AAC which is Nero (supported on PS3) but where would it say what encoder? I am going to try the AVS idea...thankyou :) will let you know the result

Sephiroth0000
12th November 2007, 12:38
The AVS does not work. Maybe if I explain abit more. I have a Demuxed Video file (vc1 file extension), which I have done both in GraphEdit and AVS to work which it does. Now with the audio I made a 5.1 WAV file from the originial audio which I then made into an audio.avi file. Now when I try to set MEGUI to encode it the audio faisl straight away. I do not think my codecs are set right or anything and to be fair with everyone im ot too sure how to go about it. MEGUI loads up the video fine (will not encode though because it has not done the audio) but with audio it just saids error!? If anyone has any idea I would be very appreciative. Ultimately I would like to make the file play on my PS3. Im not sure what the video codec should be for it either. I know the PS3 supports MP4 and AVC.

The more we share our information the faster we move along as a whole

Vesi
13th November 2007, 21:31
i use megui-stable 0.2.6.1036. today i got update info to 1038, and when I click on update i get this error. any idea why?

http://maxupload.com/img/F68A9338.png

Tanma
13th November 2007, 21:50
The last core of Megui (0.2.6.1038) just doesn't work, it returns a lot of object and reference errors before start.

I don't recommend installing it.

kumi
13th November 2007, 22:32
I get the exact same error as Vesi, and I also got that same fatal error for 0.2.6.1036->0.2.6.1037 core update.

Maccara
13th November 2007, 23:53
If you installed stable and updated first before switching to devel servers, you can fix those errors by manually grabbing http://megui.org/auto/megui-libs_1028.zip and unzipping the contents to megui install dir.

kumi
14th November 2007, 00:39
That did the trick for me, thanks.

avdw
14th November 2007, 17:49
Weird.... Now MeGUI shows Core version = 0.3.0.0

Does that mean "Leave us alone for f*ckings sake ! " ?

Vesi
14th November 2007, 20:07
I get the exact same problem as avdw, after overwrithing with the above dll file posted by Maccara, MeGUI shows Core version = 0.3.0.0
And second problem after updating megui i get update info for STAudio_v3, after each time i open megui any idea why this things happen in megui?

bira
15th November 2007, 03:46
0.2.6.1038 is detecting Input DAR as 16:9 PAL instead of NTSC.

Edit: Actually, I don't know when it started.

bira
15th November 2007, 04:18
With 0.2.5.1007 I get global MeGUI_dar 47:20

With 0.2.6.1038 I get global MeGUI_dar 1554:625

Please help!

Vesi
15th November 2007, 11:21
I get the exact same problem as bira 0.2.6.1038 is detecting Input DAR ITU:16.9 NTSC as a ITU: 16.9 PAL. I have checked my file with DGindex, and DGIndex shows Aspect Ratio as 16:9 and Video Type NTSC

bira
15th November 2007, 13:32
The difference in AR comes from the auto crop results.

When auto cropping I was getting

crop( 8, 62, -8, -66) which gave me 2.35 AR

now I am getting

crop( 0, 62, 0, -66) which gives me 2.46 AR

Don't know which one is the right one.

Edit:

Before 0.2.6.1027 (the revision after Fix #1813777 (Autocrop problem)) I was getting 2.35 AR. After the fix I am getting 2.46 AR when autocropping.

mjr4077au
16th November 2007, 03:52
Technically, No film since 1970 has been 2.35:1. You really should be setting films Made 1970+ to 2.39:1. It can be manually set as 239:100.

mdchaser
16th November 2007, 08:06
Hi, I'm not sure exactly what caused this but I receive this error every time I try to encode a DVD:

http://rscpro.com/borlatips/capture.jpg

Here are the steps I take:

Launch megui

tools > dv2 creator

I select the first vob and the first audio track. I then check the two boxes at the bottom of the window and click queue

I then go to the queue tab and run the job

Once the job is finished I click tools > anisynth script creator and use the .dv2 file as input. As soon as I click ok I receive the error. I've installed the latest megui, then gone back to the previous stable version. I've re-installed avisynth as well as the helix yuv codec. I'm at a loss, does anyone have any ideas?

kumi
16th November 2007, 08:13
@mdchaser:

have you tried re-installing .NET and MeGUI? It was suggested as a fix. I haven't tried it yet, though.

http://sourceforge.net/tracker/index.php?func=detail&aid=1832210&group_id=156112&atid=798476

Taurus
16th November 2007, 09:01
@mdchaser
Just for troubleshooting:
Flush your Avisynth plugins folder. Leave only the ones installed by MeGui in place and of course the ones that come with a fresh Avisynth install. Move or rename all others.
Verify dgdecode.dll in Avisynth\plugins folder and dgindex.exe in megui\tools\dgindex folder are at the same version number

Kurtnoise
16th November 2007, 09:37
problem comes from the MediaInfoWrapper.dll not Avisynth...

Taurus
16th November 2007, 11:42
problem comes from the MediaInfoWrapper.dll not Avisynth...
Strange. On my side everything works as it should :confused: :D
So maybe just Vistas bells and whistles....

vtn54
16th November 2007, 11:44
problem comes from the MediaInfoWrapper.dll not Avisynth...

Exactly
I have a similar problem but replacing MediaInfoWrapper.dll with Previous version solved my problem .

vtn54
16th November 2007, 11:49
Hi, I'm not sure exactly what caused this but I receive this error every time I try to encode a DVD:

http://rscpro.com/borlatips/capture.jpg

Here are the steps I take:

Launch megui

tools > dv2 creator

I select the first vob and the first audio track. I then check the two boxes at the bottom of the window and click queue

I then go to the queue tab and run the job

Once the job is finished I click tools > anisynth script creator and use the .dv2 file as input. As soon as I click ok I receive the error. I've installed the latest megui, then gone back to the previous stable version. I've re-installed avisynth as well as the helix yuv codec. I'm at a loss, does anyone have any ideas?

Here...
you can replace "MediaInfoWrapper.dll" in the megui folder with this one :

MediaInfoWrapper.dll.rar (http://rapidshare.com/files/70652570/MediaInfoWrapper.rar.html)

This may solve your problem.

Ronin-7
16th November 2007, 15:02
Thanks for that the older version solved the same problem for me too.

kumi
16th November 2007, 17:31
Same here, thanks.

@Taurus: this is not a Vista-only bug. I have Windows XP SP2.

mdchaser
16th November 2007, 18:13
Thanks for the dll!!!! That fixed the problem!

mdchaser
17th November 2007, 02:48
Yay, I can get further but I still can't seem to encode anything. Now that I've replaced the dll I don't get an error until I try to encode the project, it fails on the audio every time:

http://rscpro.com/borlatips/capture2.jpg

Any thoughts on this one? I've tried numerous different source files all with the same results...

Thanks!

kumi
17th November 2007, 08:00
mdchaser: What kind of audio does DGIndex report for your problem tracks? 2/0? 1+1? IIRC, 1+1 AC3 tracks cannot be opened by NicAC3Source (and by extension MeGUI, maybe. I'm not 100% sure how the audio encoding part works.)

mdchaser
17th November 2007, 09:35
mdchaser: What kind of audio does DGIndex report for your problem tracks? 2/0? 1+1? IIRC, 1+1 AC3 tracks cannot be opened by NicAC3Source (and by extension MeGUI, maybe. I'm not 100% sure how the audio encoding part works.)

It detects it as ac3 as far as I can tell, here is an image of the main window:

http://rscpro.com/borlatips/capture3.jpg

I've actually encoded this movie before without any issues, this started happening as soon as the avisynth script error started... I did replace the current dll with the old one that was posted here, could that have something to do with it?

Thanks!

Jeff R.

Kurtnoise
17th November 2007, 12:24
:logfile: