View Full Version : MeGUI: General Questions and Troubleshooting Thread
rack04
28th November 2007, 15:44
have a look at this thread: https://forum.doom9.org/showthread.php?t=122598
Great thanks. Are there any plans to integrate this into MeGUI?
Sharktooth
28th November 2007, 15:54
yes, of course.
rack04
28th November 2007, 15:59
yes, of course.
Perfect. Thanks.
rack04
30th November 2007, 03:10
If I run "AutoEncode" with just the avs loaded will the AC3 audio be factored into the bitrate calculator when it is added as additional content?
Sharktooth
30th November 2007, 14:19
you have to specify both the video and the audio sources.
the audio will be re-encoded. if you want to keep the original ac3 track you should consider using the bitrate calculator.
rack04
30th November 2007, 15:31
you have to specify both the video and the audio sources.
the audio will be re-encoded. if you want to keep the original ac3 track you should consider using the bitrate calculator.
That's what I thought. Thanks.
berrinam
1st December 2007, 05:37
you have to specify both the video and the audio sources.
the audio will be re-encoded. if you want to keep the original ac3 track you should consider using the bitrate calculator.
Sorry, but that's not right. Any audio tracks added with "add additional content" will be considered in the AutoEncode bitrate calculation. If they are not, this is a bug and should be reported on the sourceforge tracker.
rack04
1st December 2007, 06:20
Sorry, but that's not right. Any audio tracks added with "add additional content" will be considered in the AutoEncode bitrate calculation. If they are not, this is a bug and should be reported on the sourceforge tracker.
It would seem that after adding additional content it would go back to the AutoEncode screen and not directly to the queue.
berrinam
1st December 2007, 08:02
I don't understand what you said. Can you rephrase it please?
Never-the-less, I believe my statement is correct, and if it isn't, this should be reported as a bug.
Sharktooth
1st December 2007, 15:07
oops, i did not realize it was about auto-encode.
Razorholt
2nd December 2007, 03:39
I just upgraded to the version 3.0.0 and the AutoEncoder doesn't work anymore - I get a huge error message. :(
SpicyViper
2nd December 2007, 08:08
I'm having some difficulty with the dts audio I demuxed from my VOB file using D2V creator. I have converted many DVDs to mp4 suitable for my iPod touch but they have all had AC3 audio. I selected the .dts file as the audio input and queued the job with the NDAAC-LC-96Kbps audio profile, MP4-AAC extension.
After starting the job, the following error is logged.
[Error] An error occurred
-[NoImage] Exception message
--[NoImage] Script error: syntax error
--[NoImage] (, line 1, column 71)
-[NoImage] Stacktrace
--[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
--[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
-[NoImage] Inner exception: null
Can anyone shed some light upon this noob's struggles?
Sharktooth
2nd December 2007, 13:46
I just upgraded to the version 3.0.0 and the AutoEncoder doesn't work anymore - I get a huge error message. :(
3.0.0.x is an UNSTABLE under development branch...
Sharktooth
2nd December 2007, 13:48
I'm having some difficulty with the dts audio I demuxed from my VOB file using D2V creator. I have converted many DVDs to mp4 suitable for my iPod touch but they have all had AC3 audio. I selected the .dts file as the audio input and queued the job with the NDAAC-LC-96Kbps audio profile, MP4-AAC extension.
After starting the job, the following error is logged.
[Error] An error occurred
-[NoImage] Exception message
--[NoImage] Script error: syntax error
--[NoImage] (, line 1, column 71)
-[NoImage] Stacktrace
--[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
--[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
-[NoImage] Inner exception: null
Can anyone shed some light upon this noob's struggles?
There is an error in the avisynth script...
Guest
2nd December 2007, 18:41
DGAVCDec uses libavcodec. libavcodec often outputs harmless or recoverable errors in its log and this causes MeGUI to abort after a first pass. Can we have an option to tell MeGUI to ignore errors?
I can trick MeGUI into running the second pass by re-queuing the job and deleting the first pass only, but it is inconvenient and normal users may not think of it.
SpicyViper
3rd December 2007, 04:25
There is an error in the avisynth script...
Thanks for your response Sharktooth, however I ended up converting the dts file to ac3 in BeSweet. After using the ac3 file as the input, meGUI had no problems transcoding it into mp4-aac and muxing it with the video.
I may have confused the situation by posting the incorrect error log! I didn't even create an avisynth script for this job. I do wonder though what would have kept meGUI from transcoding the dts audio. Do you know of anything obvious given that the ac3 audio worked fine?
Guest
3rd December 2007, 05:08
DGAVCDec uses libavcodec. libavcodec often outputs harmless or recoverable errors in its log and this causes MeGUI to abort after a first pass. Can we have an option to tell MeGUI to ignore errors?
I can trick MeGUI into running the second pass by re-queuing the job and deleting the first pass only, but it is inconvenient and normal users may not think of it. Never mind. I found a way to capture the av_log() function and prevent MeGUI from ever seeing the errors/warnings.
Sharktooth
3rd December 2007, 14:18
@neuron2: we were already planning to add complete support for dgavcdec (at least it's on the todo list).
@SpicyViper: besweet has its own decoder for DTS. while MeGUI uses DirectShow. Probably you havent any DTS DirectShow filter installed so MeGUI cant decode the DTS stream. Install AC3Filter, FFDShow or any other DTS DirectShow decoder (and ensure they're properly decoding the DTS audio).
fleon
3rd December 2007, 15:39
So I noticed that there is an option on megui to do an analysis pass, yesterday I used on this video that i have of a live concert, but megui didnt show me any results or anything about the analysis that it did, how can I see the results, for choosing a good bitrate or chosing whatever options that the analysis pass did
Sharktooth
3rd December 2007, 15:55
the analysis pass is for determining the interlacing/TC not for compression tests. however you just made me have an idea...
mroz
3rd December 2007, 19:27
So I noticed that there is an option on megui to do an analysis pass, yesterday I used on this video that i have of a live concert, but megui didnt show me any results or anything about the analysis that it did, how can I see the results, for choosing a good bitrate or chosing whatever options that the analysis pass did
All an analysis pass does is fetch each frame in turn as fast as possible for the script you supply as input, throwing away the frames themselves. It's up to the specific script to analyse the material & write it's results to some log. You can make use of this yourself, if you have a suitable script. What it isn't is an out of the box solution to provide you with any particular info on your arbitrary source.
Nic-
6th December 2007, 18:09
i've just update Megui to 0.2.6.1042 and go to http://www.microsoft.com/downloads/details.aspx?familyid=79BC3B77-E02C-4AD3-AACF-A7633F706BA5&displaylang=en to update framework but this Microsoft .NET Framework 2.0 Service Pack 1 (x86) do not support window vista.
how to solve this problem ?
Kurtnoise
6th December 2007, 18:19
shit...install the last one (http://www.microsoft.com/downloads/details.aspx?familyid=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en) then.
erff, I need to update the link now.
Sharktooth
6th December 2007, 18:20
damn M$! have you tried using windows update?
carlo_0000
6th December 2007, 22:52
hi
i update megui 0.2.5.X to last version 0.2.6.X
1st i got a crash when open it, i deleted the old jobs, now it work
but sins i can't drag and drop my videos (mpg & vob)
whats wrong ?
when i drag and drop, nothing hapens
ash925
7th December 2007, 08:37
Please help! I just did a fresh reinstall of win xp pro and updated it with autopatcher(may) and afterwards tried installing megui .The thing is it never completes the update download ,each time it fails in between ,with 16 or 13 updates remaining and if it is resumed later ,it say the remaining file have a problem. I have uninstalled and reinstalled it a couple of times since ,but the problem persists.
berrinam
7th December 2007, 13:32
Have you installed AviSynth? If not, get it from here (http://sourceforge.net/project/showfiles.php?group_id=57023&package_id=72557), and report back after installing it and running megui again.
ash925
7th December 2007, 17:06
thanx berrinam it is working now.
vtn54
7th December 2007, 17:30
i've just update Megui to 0.2.6.1042 and go to http://www.microsoft.com/downloads/details.aspx?familyid=79BC3B77-E02C-4AD3-AACF-A7633F706BA5&displaylang=en to update framework but this Microsoft .NET Framework 2.0 Service Pack 1 (x86) do not support window vista.
how to solve this problem ?
I think you must search for vista version,My OS is vista 32bit with Microsoft .NET Framework 2.0 Service Pack 1 (x86) :
http://i13.tinypic.com/6z87tlh.jpg
ArdenDag
8th December 2007, 09:59
Hello,
I am trying to use lame to encode AC3 tracks from a recent DVD rip. The AC3 files are not corrupt, as far as I know (they play fine), however when I try and encode them, I get an error, but no message in the MeGUI log to tell me what the error is. Any idea what I might be missing?
Thanks,
Arden
Kurtnoise
8th December 2007, 12:10
I think you don't have an AC3 source filter which is required...to check this try to play your AC3 in graphedit. It it returns some errors, you have to install a source filter.
ArdenDag
8th December 2007, 12:13
I installed AC3Filter, but I just remembered I hadn't rebooted since the install. I will try again and update this post.
UPDATE: Still an error, no encode in MeGUI. Will check GraphEdit.
Arden
Kurtnoise
8th December 2007, 12:15
AC3Filter is just a decoder...you need also a source filter (AC3File (http://ac3filter.net/projects/ac3file)).
ArdenDag
8th December 2007, 12:27
Uh... You're confusing me. I open a file, it runs through a decoder filter (in this case, AC3Filter). That then runs to a decoder to convert the raw audio into something I can hear, in my case FFDshow, which then goes to my speakers.
I assume the same happens when a file is converted?
BTW, GraphEdit shows all pins connected, and like I said earlier, the file plays fine. So what, again, am I missing? (Your link is dead, btw)
UPDATE: Link works now... must have been a hiccup in the net. I downloaded an AC3 source filter from guliverkli and installed it. No dice. I installed AC3file, still no dice. No error is listed in MeGUI still. Any ideas?
UPDATE 2: I just attempted to do the conversion manually with BeSweet, and it works. Even more confused...
Arden
check
8th December 2007, 13:45
try and load it via an avisynth script:
directshowsource("file.ac3")
ArdenDag
8th December 2007, 21:42
The conversion works via BeSweet, but I wanted a quicker solution than having to manually load the AC3s into BeSweet every time (especially when I am working with TV shows...). Loading it via an avisynth directshowsource takes longer, no?
This worked on my system before my upgrade. I must be missing something that'll make this work easier.
Arden
mroz
8th December 2007, 22:51
Um, I thought Megui used Nic's Audio plugin to decode ac3 directly? If so, why all this talk about directshow filters?
What is reported in the log? What is the error?
berrinam
9th December 2007, 02:00
@ArdenDag: Try using this build of megui (http://megui.org/berrinam_patches/more-audio-loginfo.zip) and see if that gives you any more information in the log. Just simply copy the megui.exe in the zip file on top of your current megui.exe.
@mroz: MeGUI has the option of "Force decoding with directshow" for audio. And the audio encoder doesn't report much in the log (although it does report the error, I believe).
daWsOn_s
9th December 2007, 02:34
Hello, I've always encoded with megui in x264 with no problems. Now I want to use Xvid but the settings for that don't work. If set the bitrate from a profile (tried all of xvid's) or/and from the bitrate calculator it will compress ALWAYS at 700kbit! I'm getting crazy, why??
daWsOn_s
9th December 2007, 02:36
I tried to raise the bitrate to 4000kbit creating my own profile but it still does not respect the settings :angry:
Log for job job6
Job commandline: "C:\Programmi\megui\tools\xvid_encraw\xvid_encraw.exe" -i "G:\55.avs" -single -bitrate 4000 -smoother 0 -nopacked -qtype 1 -closed_gop -lumimasking -imin 3 -imax 5 -pmin 3 -pmax 5 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -par 1:1 -threads 0 -avi "G:\55.avi"
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
Trying to retrieve width and height from input header
xvid [info]: Avisynth detected
xvid [info]: Input colorspace is YV12
xvid [info]: Input is 1280 x 720, 25.000fps (25/1), starting from frame 0
xvid [info]: Number of frames to encode: 4577, Bitrate = 4000kbps
xvid [info]: xvidcore build version: xvid-1.2.0-dev
xvid [info]: Bitstream version: 1.2.-127
xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
xvid [info]: Detected cpus = 2, threads requested = 1, threads in use = 1
xvid [info]: Threaded input reading active
Tot: enctime(ms) =238531.00, length(bytes) = 48122365
Avg: enctime(ms) = 52.09, fps = 19.20, length(bytes) = 10509
I frames: 38 frames, size = 45365/ 1723886, quants = 3 / 3.03 / 4
P frames: 1800 frames, size = 21740/ 39133154, quants = 3 / 3.09 / 5
B frames: 2731 frames, size = 2660/ 7265261, quants = 4 / 4.17 / 8
N frames: 8 frames, size = 8/ 64
desired video bitrate of this job: 4000 kbit/s - obtained video bitrate (approximate): 2108 kbit/s
------------------------------------------------------
berrinam
9th December 2007, 02:57
From your log, MeGUI appears to be signalling the bitrate correctly, and XviD has correctly understood the desired bitrate to be 4000kbps. This means that the bitrate is going wrong for some reason.
You are only doing a single pass encode, which is not guaranteed to hit the desired size since it works by estimation only. Try doing a two-pass encode and see if that gets the bitrate more exactly.
Also, your clip is quite short (3 minutes only), which may limit the ability to reach the desired bitrate in a single pass. You could try encoding a longer clip (say, >30 minutes) and see if that fixes it.
squid_80
9th December 2007, 04:58
I frames: 38 frames, size = 45365/ 1723886, quants = 3 / 3.03 / 4
P frames: 1800 frames, size = 21740/ 39133154, quants = 3 / 3.09 / 5
B frames: 2731 frames, size = 2660/ 7265261, quants = 4 / 4.17 / 8
The minimum quantizer values are preventing the codec from compressing any less.
berrinam
9th December 2007, 06:44
Out of interest, why doesn't XviD go all the way down to the minimum quantizer, instead of staying just a bit above? Is it something like trellis seeing it as a good idea to use a higher quantizer from time to time?
squid_80
9th December 2007, 06:48
My guess is because it's a single pass, there's probably a few frames at the start before rate-control kicks in that don't use the optimal quantizer.
daWsOn_s
9th December 2007, 14:33
I don't understand even If I do two-pass the bitrate is completely wrong!
Why should I use different videos? I mean with VDM works perfectly and the bitrate is always respected even with one pass. So what's the problem here? Why the codec does that? :(
mroz
9th December 2007, 15:36
Squid_80 answered you ten hours ago. The problem isn't Megui's code or the codec, but rather the xvid command line - iow the xvid profile you're using.
The codec alters bitrate by changing how much it squashes the data, which is what the quantisers are describing. The profile you're using places considerable limits on minimum & maximum quantiser values, so when obeying that, xvid simply can't get up to your bitrate. Reduce the minimum quantiser if you feel it will benefit you.
I'm not a codec expert, but I've never understood why the xvid profiles in Megui are so restrictive of quantisers.
daWsOn_s
9th December 2007, 16:47
OK, the problem is that I don't know what the quantizer values are and/or do eheh :D
mroz
9th December 2007, 18:45
By the time they become relevant, your video is represented by blocks of integers describing the frequency components making up each small spatial block - more or less.
The main lossy step in the compression occurs when these values are divided through by some small integer constants -the quantisers. As the division is integer based, much precision is lost. That's also the reason for doing it, since it gives a smaller range of possible values, each of which is now more common. Consequently the data stream is more easily compressible by a lossless codec, which is what is then done.
So, the bigger your quantisers, the more the data ends up squashed. Hence as you want less squashing to give a higher bitrate, you need to use smaller quantisers.
The profile you're encoding with currently won't allow quantisers below about three. Try dropping this to two, though do check the resulting video to make sure you actually need the extra bandwidth to yield visible quality gains.
Rumbah
10th December 2007, 16:04
I didn't use Megui for some time and now I did an update and found something irritating.
The last time I used MeGui it used an avisynth plugin to decode AC3 sound. But now it uses Directshowsource. The problem is that I use some settings in ffdshow to adjust the audio to my PC speaker settings (3.1 output and pretty heavy dynamic compression). Now I have to switch the ffdshow audio settings every time I use MeGui to encode some audio.
Is there a way to switch Megui to use a plugin instead (i think it's Nicaudio).
EDIT: I use MeGUI 0.3.0.1004
Sharktooth
10th December 2007, 18:14
there are 2 possible solutions:
1 - make presets in ffdshow and keep the dshow decoding
2 - click the config button to edit the audio profile and disable the "Force Decoding via DirectShow" option.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.