View Full Version : MeGUI: General Questions and Troubleshooting Thread
berrinam
24th September 2007, 09:39
No, you should resize to 544 :) If you can spot any sort of aspect ratio error going from 540 -> 544, which is a change of around 0.7%, you have more discriminating eyes than anyone else I've ever met :)
At one stage, when concerns were raised about AR rounding in MeGUI, I did some ABX testing with a variety of AR errors. I surprised myself that I could reliably tell an AR of down to 1%, and not on circles or squares, but humans. But never-the-less, the default "Acceptable Aspect Error" in MeGUI is 5%, and I've never been concerned by the aspect ratio since, even though I assume that my movies have, on average, an AR error of 2.5%.
In my opinion, an AR error of 5% is just fine. However, you may think differently, and you can drop the "acceptable AR error" to 0% if you wish: it's in the settings.
Sharktooth
24th September 2007, 12:14
d2v created using dgindex latest, source is dvd ripped to hdd using dvdfab hd decrypter...
use the d2v creator in megui... or use the dgindex provided with megui :readguid:
rack04
26th September 2007, 00:55
I'm trying to convert an over-the-air 1080i HD recording using MeGUI. The problem I'm having is in the cropping. Using the AVISynth Script Creator I auto crop it and resize. The problem is when I view the output there is still a horizontal line at the top of the video and vertical line on the left edge of the video. Using the script creator I'm not able to manually adjust the crop because my monitor won't fit the entire 1080 video. Can anyone help me?
MrCommunistGen
26th September 2007, 06:32
Anyone have any ideas? From earlier in this thread: http://forum.doom9.org/showthread.php?p=1047582#post1047582 One thing I thought of was encoding each clip of audio separately and then somehow muxing it with each audio clip lined up with the proper section of video but I have no idea what I could use to do that.
-mcg
Sharktooth
26th September 2007, 12:58
I'm trying to convert an over-the-air 1080i HD recording using MeGUI. The problem I'm having is in the cropping. Using the AVISynth Script Creator I auto crop it and resize. The problem is when I view the output there is still a horizontal line at the top of the video and vertical line on the left edge of the video. Using the script creator I'm not able to manually adjust the crop because my monitor won't fit the entire 1080 video. Can anyone help me?
rise your desktop resolution and if the monitor doesnt support it buy a better one.
the preview window is resizeable but doing that you can still miss borders if your desktop resolution is too low...
rack04
26th September 2007, 14:14
rise your desktop resolution and if the monitor doesnt support it buy a better one.
the preview window is resizeable but doing that you can still miss borders if your desktop resolution is too low...
Could I just modify the avs file to crop the top line and left side line? If so, how would I do that?
Sharktooth
26th September 2007, 16:54
yes, sure. in the avs creator just adjust the crop parameters.
rack04
26th September 2007, 17:17
yes, sure. in the avs creator just adjust the crop parameters.
So I could just adjust the crop( 0, 0, -2, -2) to crop( 2, 2, -2, -2) and see if that corrects the crop?
Sharktooth
26th September 2007, 19:06
yes, exactly.
rack04
26th September 2007, 20:00
yes, exactly.
Thanks.
Tacio
27th September 2007, 07:04
Whet I try to open d2v file with AviSynth script creator following error is occured (in attachment). I use MeGUI 0.2.6.1014, DGIndex 1.5.0 beta 2, avisynth 2.5.7.
Kurtnoise
27th September 2007, 10:30
use imageshack or something else because we need an approval from moderators...
Anyway, what's your OS ? Vista ?
Tacio
27th September 2007, 11:03
Ok, OS WinXP SP2
http://img166.imageshack.us/img166/3064/errortj9.th.png (http://img166.imageshack.us/my.php?image=errortj9.png)
Sharktooth
27th September 2007, 13:07
dgindex 1.5 is NOT supported. use the dgindex/dgdecode that comes with MeGUI auto-update.
Darkness008
27th September 2007, 17:21
I demuxed my ts stream and got mpv and mpa files. The mpa files cannot be converted. The error message is as follows:
Log for job job2
Error:
MeGUI.AviSynthException: m2AudioMPASource: "E:\Crank Directors Cut\Crank - Directors Cut.128.mpa" is not a valid MPEG audio file
bei MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
bei MeGUI.AviSynthAudioEncoder.encode()
Can someone help here?
Tacio
27th September 2007, 19:32
I have not expirience in debugging, but may be it help. It's call stack with break point ( > ) from VC++2005 after abnormal closing megui while opening avisynth script creator:
> ntdll.dll!7c901230()
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
ntdll.dll!7c95d978()
ntdll.dll!7c93bd1f()
ntdll.dll!7c910732()
ntdll.dll!7c9106ab()
ntdll.dll!7c9106eb()
MediaInfo.dll!065771d7()
ole32.dll!774fd01c()
ole32.dll!774fd057()
mscorwks.dll!7a0afcb7()
mscorwks.dll!7a0b320b()
MediaInfo.dll!064becfe()
MediaInfo.dll!065753f0()
MediaInfo.dll!064bf83d()
MediaInfo.dll!064bc760()
ntdll.dll!7c9105c8()
ntdll.dll!7c910551()
ntdll.dll!7c91056d()
ntdll.dll!7c9105c8()
ntdll.dll!7c910551()
ntdll.dll!7c91056d()
ntdll.dll!7c9106eb()
MediaInfo.dll!06578100()
MediaInfo.dll!06576b91()
MediaInfo.dll!064978a4()
MediaInfo.dll!06496f56()
ntdll.dll!7c91056d()
MediaInfo.dll!065771b8()
MediaInfo.dll!065771d7()
ntdll.dll!7c91056d()
MediaInfo.dll!065771b8()
MediaInfo.dll!065771d7()
MediaInfo.dll!065771d7()
MediaInfo.dll!0649287c()
mscorwks.dll!79ef0777()
mscorwks.dll!79ef066b()
mscorwks.dll!79ef061b()
dgindex changed to 149b17 with auto-update
Kurtnoise
27th September 2007, 20:45
@Darkness : which tool did you use to demux the streams from ts file ? Load your file in MediaInfo to check if it's a mpeg audio file or not...
@Tacio: tested with the last 1.5 beta and the 1.49b17 and all seems to work fine here...
Darkness008
27th September 2007, 21:27
@Darkness : which tool did you use to demux the streams from ts file ? Load your file in MediaInfo to check if it's a mpeg audio file or not...
This mpa is a 5.1 channel audio file. It was extracted and got this mpa name tag.
Media info says the following:
Container
AC3: 248MiB 1h 30mn
1 audio streams: AC3
First audio Stream
384kbps, 48khz, 6channel,AC3
How can I convert this file to mp4 with the 5.1 coding?
mroz
28th September 2007, 03:34
Since berrinam hasn't been around for a while, here is a build with the prerender job bug fixed, since a couple of people seem to need it: http://www.mediafire.com/?8ncvvuy1gjn
I've also just encountered this problem & it's over a month later. Any reason the fix hasn't made it into the stable release yet?
Sharktooth
28th September 2007, 03:56
coz it has been included in the dev build...
once the vista issues and few other showstoppers are worked around a new stable will be released. it's just i am actually a bit busy.
Adub
28th September 2007, 05:05
mroz,
If it is a problem that has to be fixed now, go ahead and download the dev build from sourceforge. You may have to build it yourself if it the fix wasn't included in 2.6.1014.
mroz
28th September 2007, 05:40
Thanks. I'm not complaining, just wondering if there was a problem with the fix. I'll probably try the dev build then, cheers.
I did wonder about workflow - whether it's always patches -> dev -> stable, or if some fixes go straight into stable.
Just getting my head around deblocking poor blocky & noisy sources atm (& consequently some slow avs scripts resulting in a need to adopt a pre-rendering phase & look into mt(), but that's on tomorrow's list & OT to boot).
I've been reading lots of interesting stuff which seems to be tied into limitations in colourspace bit depth, but I must save that for an appropriate post most likely under an x264 forum.
Thanks again :)
Tacio
28th September 2007, 08:08
strange... if I drag avs file in megui input window it's working fine... so I have to make avs files in other program... :(
Kurtnoise
28th September 2007, 08:52
This mpa is a 5.1 channel audio file. It was extracted and got this mpa name tag.
Media info says the following:
Container
AC3: 248MiB 1h 30mn
1 audio streams: AC3
First audio Stream
384kbps, 48khz, 6channel,AC3
This is clearly not a mpa file as you can see. So, just rename it to ac3 instead of mpa. That should be ok...
How can I convert this file to mp4 with the 5.1 coding?
load your ac3 file and choose either ND-AAC or Winamp-AAC codecs. Then, in the profiles above, select multichannel ones. [CT-AAC = Winamp-AAC]
rack04
28th September 2007, 12:40
How do you delete a worker?
Tacio
28th September 2007, 16:38
Kurtnoise13, if I upload drwatson log it can help? Anyway, there is...
mroz
28th September 2007, 20:25
I've updated to the dev build & pre-rendering works now. With my slow avs script pre-rendering proceeds at about 3fps. So I've installed MT 0.7 including the modified avisynth.dll. With mode 2 the script plays in Zoomplayer at 11fps; similarly if I use VDub to transcode to huffy (ffdshow) I get 11fps at 100% cpu.
However, the pre-rendering stage in Megui still only gives me 3fps at 25% cpu. Am I missing something obvious?
Is the new worker system somehow restricting the procedure to one core?
Edit: no, that doesn't make sense; if this was happening it would also happen with the sub jobs transcoding to x264, but the 2nd pass still gets 100% as usual. I must have just stuffed something specific to the pre-rendering stage. Any ideas?
Edit2:
Note I'm running a Q6600 @ 3.4GHz & typically encode using HQSlower at just better than realtime (for a simple avisynth input).
Further investigation - If I skip the pre-rendering phase & give Megui the multithreaded avs as direct input to x264, I get just under 11fps for the first pass at 100% cpu, indicating avisynth is bottlenecking but only after running across all four cores as it now should, which suggests the pre-render issue might not be down to Megui.
This is further confirmed if I run the pre-render mencoder stage outside Megui from the commandline. I get the original 3fps peformance at 25% cpu.
So the problem is down to mencoder or its arguments.
This should be working at higher cpu usage, yes? I thought I'd seen older posts implying this does work with avisynth mt input, but maybe they weren't using a pre-render step... Anyone?
Edit3: I found this thread - http://forum.doom9.org/showthread.php?t=124463 however it doesn't really reach any conclusions & goes off at a tangent to my concern. I don't care about mencoder's encoding being multithreaded; all I want it for avisynth mt to be able to do its thing & run across all cores while its output goes into mencoder to use however many cores/threads it wants.
This would seem to be rather important, since the main reason to use a pre-render is when preprocessing is intensive. There's little reason to arrange to have this run only once, rather than twice, if this single run is going to take twice as long as the two other runs put together (assuming a quad core cpu & scaling almost being linear which it seems to be for these nice cpus). It's especially frustrating when vdub/ffdshow can manage this with no problems.
Darkness008
29th September 2007, 09:31
load your ac3 file and choose either ND-AAC or Winamp-AAC codecs. Then, in the profiles above, select multichannel ones. [CT-AAC = Winamp-AAC]
I did that and he encoded the audio, but only in stereo.
I used the ndaac-lc-multichannel-192kbps and the ctaac-lc-multichannel-192kbps.
Tacio
29th September 2007, 18:58
With megui-libs_1001.zip it's working fine for me now.
Kurtnoise
30th September 2007, 08:23
I did that and he encoded the audio, but only in stereo.
I used the ndaac-lc-multichannel-192kbps and the ctaac-lc-multichannel-192kbps.
Check via the Config that "Keep Original Channels" is selected and that "Force Decoding via DirectShow" is disabled.
chickenmonger
30th September 2007, 08:43
How do you delete a worker?
In the Workers Menu in the main MeGUI window, click on the Workers submenu, then on the worker you want to delete. A new window should pop up. From that window, click "Worker" and "Shutdown Worker Now". That should effectively delete the worker. This is assuming that worker has no pending jobs.
Darkness008
30th September 2007, 11:53
Check via the Config that "Keep Original Channels" is selected and that "Force Decoding via DirectShow" is disabled.
It is as you described. But there comes just Stereo.
Selur
30th September 2007, 16:29
I just updated to 0.2.6.1016 and wanted to encode a video-only avi and got the following error message:
---------------------------
Fatal error
---------------------------
MeGUI encountered a fatal error and may not be able to proceed. Reason: Der Index war außerhalb des Arraybereichs. Source of exception: megui stacktrace: bei MeGUI.VideoUtil.GenerateJobSeries(VideoStream video, String muxedOutput, AudioStream[] audioStreams, SubStream[] subtitles, String chapters, Int64 desiredSizeBytes, Int32 splitSize, ContainerType container, Boolean prerender, SubStream[] muxOnlyAudio, IEnumerable`1 tempFiles)
bei MeGUI.AutoEncodeWindow.queueButton_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------
OK
---------------------------
and the log shows:
AUDIO TO MUX:
AUDIO TYPES:
-> is it ment to crash like this with this build when pressing 'AutoEncoding', entering a file size and the pressing "Queue" ?
When choosing the input avi/avs also as audio source, the whole thing works,..
Cu Selur
rack04
30th September 2007, 16:41
In the Workers Menu in the main MeGUI window, click on the Workers submenu, then on the worker you want to delete. A new window should pop up. From that window, click "Worker" and "Shutdown Worker Now". That should effectively delete the worker. This is assuming that worker has no pending jobs.
Thanks.
Sharktooth
1st October 2007, 00:52
I just updated to 0.2.6.1016 and wanted to encode a video-only avi and got the following error message:
and the log shows:
AUDIO TO MUX:
AUDIO TYPES:
-> is it ment to crash like this with this build when pressing 'AutoEncoding', entering a file size and the pressing "Queue" ?
When choosing the input avi/avs also as audio source, the whole thing works,..
Cu Selur
no. please report it in the MeGUI bug tracker on SF
mroz
1st October 2007, 23:07
I can't swear to this, but I updated to 0.2.6.1017 this afternoon & I think autoencode's bit rate calculations is now broken. I was encoding vid to x264 & two ac3 tracks to aac, into mp4. I've just noticed the output is massively oversized & /i think/ it ignored the space the audio tracks would require when deciding on the video bitrate.
Edit: Ah, no, hang on... yup, vids probably the right size but it has four audio tracks instead of two. LOL. I've no idea what's going on. Will only post on this again if I can repeat it. Maybe I clicked on something in error & didn't notice as I'm half witted^wasleep.
Edit2: After specifying two audio tracks I selected 'add extra content' to allow me to add the chapter file; is it possible that dialogue added both the audio tracks a second time?
foxyshadis
2nd October 2007, 06:15
It is as you described. But there comes just Stereo.
In that case I'd guess it's directshow that's causing the problem - check ac3filter, or ffdshow's mixer, or whatever the default decoder is. (You should be able to get to it by playing the track in MPC, and looking in play->filters).
Darkness008
2nd October 2007, 15:34
In that case I'd guess it's directshow that's causing the problem - check ac3filter, or ffdshow's mixer, or whatever the default decoder is. (You should be able to get to it by playing the track in MPC, and looking in play->filters).
Well I did not use these. The only programm to view is VLC. Is it because I didn'T install these two programs, that I cannot make 5.1 files?
foxyshadis
2nd October 2007, 21:00
If you have decode through directshow enabled, then something is installed and decoding it to stereo improperly. (I assume your windows speaker configuration is surround, just in case it checks?) You can find out what is decoding by using MPC, zoomplayer, bsplayer, any other dshow player except WMP, or graphedit, and looking at the properties of the right filter. Hopefully in there it'll have an option to switch from stereo to surround.
VLC has completely self-contained decoding and is unrelated to directshow, so it's not possible to use it to debug the problem.
mroz
3rd October 2007, 20:28
XVid/mp3/avi encodes...
The available profiles seem a little odd. Take the Xvid 30% profile. Aiui this is meant to be for encodes where target bitrate will give an output about 30% of the source size.
I assume a dvd source isn't uncommon, yet for what I've tried, the maximum quantisers are set such that I can only get down to about 40% at a bitrate of around 1600Kb/s which is nowhere near what I was expecting to end up using. And the 30% profile is the most lossy there is in the supplied xvid profiles.
XVid cpu usage: First pass I get 50% on my quad core; 2nd pass around 75%. The profile dialogue shows 1 thread was configured; the log shows the quad core is detected & that the requested 3 threads have been configured. I get the same log report if I set threads to 6 in the dialogue (obviously before queuing the job).
So, why doesn't the dialogue setting seem to influence the number of threads & how do I configure this setting?
Can I get near 100% usage from a single xvid encode job?
For reference I'm running 2.6.1017 & accepted the default resolution of 640x480.
Muxing. This step failed as avimux_gui wasn't present in megui's directory. The updater didn't mention it & I couldn't find a copy in my original megui installer exe. After I downloaded & installed it manually from the update server, the mux worked without problems. Is this all intended behaviour?
Is Megui used much for xvid encodes? It seems to be tailored more for x264/mp4 or mkv use. Are there better alternatives?
I need standalone support. I found a thread where someone asked about this for xvid in Megui, comparing the options available in autogk; the reply said it would be looked into. What's the current status in this respect? Would I be better off using an old AutoGK?
mroz
5th October 2007, 00:10
No one?
I can partially answer the last question re standalone support: Stick with standard matrices (Megui does by default & AutoGK's ESS compat mode ensures similar); also no GMC or QPel. The latter required a change to Megui's XVid profiles.
foxyshadis
5th October 2007, 01:04
You probably need stronger denoising if the presets aren't getting you where you want to go. Then again, they're made for a minimum of medium-high quality, there are no truly mid/low-quality, low-rate presets.
Did you check the automatic threads option in megui's settings?
humax
5th October 2007, 02:36
Hello
First time i want to use MeGui .
I have a VC1 File - its a demuxxed EVO .
I want to create a AVS for MeGui .
ffdshow is installed .
I went to avs script creator and chose the VC1 File . An now nothing happens ....... Or does it take a long time for reading the VC1 file ?? It has 16 Gigabyte
Thx for help .
Sharktooth
5th October 2007, 02:50
create an avs script manually typing:
DirectShowSource("filename.ext")
and save it as filename.avs
open it with MPC or other DS players and check if it works.
if it does, open it with megui and proceed normally.
humax
5th October 2007, 03:04
hm doesnt work.
i can play the VC1 with Power DVD but if i click on the selfmade AVS the file isnt playing
Do i have to start ffdshow ??
this is the content of my file :
DirectShowSource("hd.vc1")
Do i have to Load the dll too ??
Like :
Loadplugin (c:\DirectShowSource.dll) ??
Sharktooth
5th October 2007, 03:54
no DSS is autoloaded. im not practical with VC-1 but maybe remuxing the VC-1 stream to WMV or some other container will make DSS work, depending on the parsers you have installed (WMV for sure...).
foxyshadis
5th October 2007, 07:03
You'll probably have to figure out how to get a working avisynth script before you can use MeGUI, no HD experts here. The decryption and containers forums would have much more information on it.
revi
5th October 2007, 19:09
sorry if i am asking in rong question . I have one question .MeGUI is not encoding aduio in vbr mp3 .so i wanted to how can i put vbr mp3 while riping my dvd .
thanx
mroz
5th October 2007, 20:18
You probably need stronger denoising if the presets aren't getting you where you want to go.
The problem was definitely the max quantiser settings in the xvid profiles. Upping them from 5 to 10 sorted it, though so high a limit might be slight overkill - then again, xvid won't use high values if it doesn't need them.
I was just wondering why the preset values didn't seem to fit with the declared purpose of the profile (compress to xx% of source) & also why there wasn't a lower quailty option allowing bitrates one typically sees in one cd rips.
Then again, they're made for a minimum of medium-high quality, there are no truly mid/low-quality, low-rate presets.
Did you check the automatic threads option in megui's settings?
Automatic?... Ah, I didn't see that. Oops. Thanks. I assume that overides the codec specific config? Shame the auto setting isn't codec specific, though x264 has its own auto setting. Cheers, I'll experiment.
I'd be interested to know why Megui auto threads selects the numbers it does for xvid & a quad core. Any devs able to comment? I'll see if I can get better performance with other values.
Thanks for the reply.
Tacio
6th October 2007, 06:18
Can not find queue button for audio encoding with 1021 version of MeGUI
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.