View Full Version : MeGUI: General Questions and Troubleshooting Thread
check
5th September 2006, 11:40
http://mewiki.project357.com/Glossary#Analysis_Pass
check
5th September 2006, 15:17
Can someone please give me some info on how the d2v creator option Select Audio Streams to demux (Stream Info File required) works?
In particular:
o Is this behavior part of DGIndex.exe or is it a seperate layer operating within megui? In other words, should I be asking neuron2 these questions?
o If a disc has two english tracks and one french, and I choose eng;fre, what happens? What happens if I choose eng;eng?
o What happens if no stream in that language is found?
o If it must choose between multiple audio tracks (say there are three english tracks), how does it decide?
Xin-Hong
5th September 2006, 18:32
Hi,
I have an error with the XviD profiles :
Starting job job1-1 at 19:28:42
encoder commandline:
-i "F:\[Fansub] Triangle Heart OAV3\script.avs" -pass1 "F:\[Fansub] Triangle Heart OAV3\script.stats" -bitrate 748 -kboost 100 -ostrength 0 -chigh 10 -clow 3 -overhead 0 -nopacked -vhqmode 4 -qpel -qmatrix "extra\Didees SixOfNine.cqm" -closed_gop -imin 3 -imax 4 -pmin 3 -pmax 5 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -threads 1
successfully started encoding
Processing ended at 19:28:42
----------------------------------------------------------------------------------------------------------
Log for job job1-1
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
Error opening input file extra\Didees SixOfNine.cqm
I have downloaded them manually and put in the MeGUI directory
Carpo
5th September 2006, 19:51
just a little Q - how come the xvid dll in megui folder is 800k+ but the one installed on the system is only 740K ? does the megui version offer more or it just the way it was compiled ?
foxyshadis
6th September 2006, 03:39
Carpo, the dates of each are the only important parts; MeGUI's was current in June, most other releases are much older.
Xin, you either need to put them in a folder called "extra" or open the profile and load the cqm into it, so it'll grab the full path.
check
6th September 2006, 11:04
Xin, http://mewiki.project357.com/MeGUI_FAQ#Encoding_with_xvid_doesn.27t_work
AjnabiZ
6th September 2006, 12:17
Hi
I uae AutoGK for all of my conversions. Just trying to move from AutoGK to meGUI.
I have found one main difference between the two. Its the time it takes to convert. In AutoGK it took me around 8 to 11 Hours to convert one DVD to a 900 MB AVI file whereas im doing the same in meGUI, and its past 24 Hours and its still hasnt completed it. Its on the Second pass with 50 % complete after 24 hours. I am converting it to x264 using HQ-Slow method and I folllowed the exact method posted here:
http://www.project357.com/MeGUIwiki/index.php?title=Guides:Basic_Guide/Setup
Is it the settings which are causing this much delay. The video rendering rate is 3.27 fps
Sharktooth
6th September 2006, 12:33
it's HQ-SLOW preset... the name should tell you something, doesnt it?
And you're using x264 that can be really slower than xvid/divx but the quality will be outstanding.
Sharktooth
6th September 2006, 12:40
Can someone please give me some info on how the d2v creator option Select Audio Streams to demux (Stream Info File required) works?
In particular:
o Is this behavior part of DGIndex.exe or is it a seperate layer operating within megui? In other words, should I be asking neuron2 these questions?
o If a disc has two english tracks and one french, and I choose eng;fre, what happens? What happens if I choose eng;eng?
o What happens if no stream in that language is found?
o If it must choose between multiple audio tracks (say there are three english tracks), how does it decide?
I didnt code that part but IIRC:
1 - the Stream Info File is required by MeGUI (DGIndex doesnt care about it).
2 - The tracks should be backed up in the order they appear in the Stream Info File. So, in your case, the first eng track would be selected. If your selection was eng;eng then the first 2 english tracks would be backed up.
3 - Uhm, dunno... have to check.
4 - same as 2.
AjnabiZ
6th September 2006, 15:02
it's HQ-SLOW preset... the name should tell you something, doesnt it?
And you're using x264 that can be really slower than xvid/divx but the quality will be outstanding.
So overall its x264 vs Xvid encoding speed, is it ?
If its quality , then i wont mind the wait : ) for the same size.
Sharktooth
6th September 2006, 15:09
Yeah. x264 with fastest settings should be always on par if not better (and faster) than xvid with slowest settings.
However if you want to further enhance the compression x264 could become really slow.
Xin-Hong
6th September 2006, 15:35
Thanks check,
I put quantization matrix in megui\tools\xvidencraw\extra and change the xvid_encraw path "D:\MeGUI\tools/xvid_encraw\xvid_encraw.exe" to "D:\MeGUI\tools\xvid_encraw\xvid_encraw.exe"
Doom9
6th September 2006, 17:27
If a disc has two english tracks and one french, and I choose eng;fre, what happens? Both tracks will be selected.. the english will become track 1, the french one track 1
What happens if I choose eng;eng?both dropdowns would default to the English track.. so you end up getting the same track twice. On the other hand, if you have multiple English tracks (e.g. 2ch, 6ch), then the first English track would be chosen twice (not ideal I know.. I might one day add a routine for multiple tracks with the same language)
o What happens if no stream in that language is found?The same as if there's no info file: demux all will be chosen, and if you checked the option to load the processed content, then the first and second demuxed track will be loaded into the gui.
If it must choose between multiple audio tracks (say there are three english tracks), how does it decide?See my reply above.
Sharktooth
6th September 2006, 17:40
doom9 knows it better than me.
check
7th September 2006, 11:17
thanks :)
pancserzso
8th September 2006, 22:09
I tried everything, but I can't encode xvid via megui. No DVD, just an avs file. x264 works fine. If I copy the command line and past to a command prompt I found 3 errors:
1. extras was missing - downloaded zip from xvid profile thread. - autoupdater should download that too!
2. .stats file was missing, I created one an it's OK now. I thing MeGUI handles that, it was just needed for cmd.
3. The C:\Program Files\.....\xvid-encrawl.exe was not in " ", after hand editing the command it works via command line!
BUT in MeGUI it says errors... Nothing in the log. Maybe the missing " "-s just an idea. How could I get something in the logs?
check
9th September 2006, 03:27
1. yep :)
2. stats file is made in the first pass. Are you skipping the first pass and only doing a second pass?
3. check the path in the megui settings, and check you are using the latest version (2192 at time of writing). 2193 is unstable, don't use it yet.
pancserzso
9th September 2006, 09:12
It's soo simple, I uninstalled everything, installed, updated all (except the nero stuff), downloaded the extra zip and extracted, and I want to encode a simple xvid 2-pass avi. Like with x246, which works perfectly. I didn't mess anything with paths, it is the default folder, C:\program files\megui\...
How can I get some verbose information about the error, not just look at encoding status: error?
BTW, the encoding window appears for a millisecond and disappears again.
pancserzso
9th September 2006, 09:34
I've checked and I have 2193!
That version is simple unusable! Look, after a clean install, I cannot modify anything in the profiles (even temporary). It quits quite often with "cannot load settings file" and "job-1, job-2 error"-s at startup. Where can I download a stable version? And why does an autoupdate offers versions like this?
Doom9
9th September 2006, 11:41
How can I get some verbose information about the error, not just look at encoding status: error?Copy the commandline from the log, go to a command prompt, navigate to the folder where encraw is installed, type xvid_encraw and append the rest of the commandline from the log (by pasting it), then execute.
pancserzso
9th September 2006, 12:35
But I have absolutely nothing in the log...
If I copy the command line from the preset dialog and create a dummy .stats file, xvid_encraw works fine!
And now, it says, "couldn't start processing, please consult the log..." even for x264...
Doom9
9th September 2006, 13:35
seeing that you're using a version not meant for you, there's really no point in continuing this.
Sharktooth
9th September 2006, 14:22
get the version on www.sf.net/projects/megui and let it autoupdate...
pancserzso
9th September 2006, 15:52
Oh, I thought x264.nl is a reliable site. Now, that version works MUCH better.
1. I have log
2. The interface works
Now, it's just the error of looking for extra/matrices with mpeg matrix everything is fine!
I have
<XviDEncrawPath>C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe</XviDEncrawPath>
and a file called:
C:\Program Files\megui\tools\xvid_encraw\extra\Didees SixOfNine.cqm
Error opening input file extra\Didees SixOfNine.cqm
Oh, and command line copy past works fine!
Doom9
9th September 2006, 16:20
as far as the matrices goes.. whomever maintains the profiles ought to have taken care of that a long time ago. Keep in mind that those that develop aren't necessarily those that spread the software.. I for one just upload code to the SVN.
pancserzso
9th September 2006, 18:45
Yes, I understand it's a complex project, but for real success it should be usable by Average Joe... I'm sure there are project leaders who could modify files in other parts too, and consult with site managers not to publish something like that (x264.nl):
31-08-06: megui 0.2.3.2193 added (revision 49)
So just my Average Joe question, I installed megui to the standard dir and expanded extra/matrices to tools/xvid but it still doesn't want to work (error with matrix). What shell I do?
bob0r
9th September 2006, 20:04
What version (revision) should be put on x264.nl?
Also let us know what versions are considered usable in the future.
Sharktooth
9th September 2006, 20:06
IIRC i already told you to keep the 0.2.3.2192.
However it can be found in latest revision into the TAG directory.
bob0r
9th September 2006, 20:25
updates:
09-09-06: megui 0.2.3.2192 added, recommended version
09-09-06: gpac (.mp4 output) updated (changelog (http://gpac.cvs.sourceforge.net/gpac/gpac/Changelog?revision=1.41&view=markup&sortby=date))
09-09-06: installer updated to nsis 2.20
Thanks for the advice (So i will look at the tags dir in the future)
crazybond
13th September 2006, 23:21
after encoding the audio using AAC codec resulting file is 48000khz ... but after muxing it with video AAC gets converted to 24000khz...WHY? (im using megui's mp4 muxer, and i have tried all in the audio...cbr, vbr, abr)... someone kindly help me with the solution ...
foxyshadis
14th September 2006, 06:45
Is it HE-AAC? (aka AAC+)
check
14th September 2006, 06:56
just an error due to a compression tech used by HE-AAC if so. The audio is exactly the same.
crazybond
14th September 2006, 22:26
just an error due to a compression tech used by HE-AAC if so. The audio is exactly the same.
im using ND-ACC codec ...n if we go further into config...im using AAC profile - Automatic...plzz tell me if im using correct one...n if not plzz tell me which one is really good...& also abt that 48000 coming down to 24000Khz....
thanx...
foxyshadis
14th September 2006, 23:08
http://en.wikipedia.org/wiki/Spectral_Band_Replication
In other words: The real frequency is halved, the rest is recreated at runtime, and lots of different tools are broken and only report the "raw" frequency. Ignore it. (But understand that some players, like Itunes and Quicktime, will only play at the raw frequency.)
May I suggest this as well: http://www.dailygrammar.com/
chros
15th September 2006, 22:09
Queue analysis pass queues an 'analysis' pass, which just plays through the video. This is useful for some avisynth scripts. If you don't know why, then it's not useful for you.
:) I don't know what it is, but I would like to know ... :)
When does it come handy? What kind of scripts? (deinterlacing, IVTC-ing, etc.)
Thanks
check
16th September 2006, 05:29
This was answered by berriman in an earlier post in one of the megui threads, but generally where a filter in the first pass writes a stats file and in the second uses the stats file to modify the video.
Carpo
16th September 2006, 09:04
first time i have tried using megui for xvid - all went well (test encode of 7 mins anyway) until the muxing - using the avi muxer in megui - it throws up
ERROR: DIVXMUX_INVALIDFILE File: Audio
i have used megui to make the vbr mp3 - could it be that its not liking vbr, or is this just another issue with the muxer ?
edit: tried with cbr same error :(
chros
16th September 2006, 09:36
This was answered by berriman in an earlier post in one of the megui threads, but generally where a filter in the first pass writes a stats file and in the second uses the stats file to modify the video.
Thanks. (I have been searching the forum for this.)
Doom9
16th September 2006, 12:01
@Carpo: I've heard that many times, and so far nobody has provided any sample files.. unless I get some sample files to reproduce, this will never be taken care off.
Carpo
16th September 2006, 16:12
as per the pm doom9 - nps - this was a ntsc title, i will test it with a pal title of my own and see if i get same issue, if so i will up the less provocative material for you to look at ;)
edit: i am doing a back up of carlitios way (pal) atm so will see what happens with it - norm do xvid/ac3 so wont take me long to convert the audio and see
can you use more than one thread when using xvid_encraw or do you also need the experimental 1.2 smp build of xvid - baring in mind i only have a crappy little HT machine - would it make any difference using 2 threads ?
edit 2: have muxed my test encode using both divx muxer and adaptive muxer
divx muxer - error with both ac3 audio and mp3 audio - see my post above
adaptive muxer - mux ok but picture is all messed up
which profile should you use if you are trying to back up to 2 cds is it the 30% or 50% profile - as i think i mistakenly selected 30 and have a 688meg avi file for a two hour film :o
mog08
18th September 2006, 16:19
when i input an AVI video into AviSynth Script Creator, meGUI shuts down itself automatically.
when i input a one-line avs script (avisource), meGUI tells me my script has no "mod16 dimention".
i copied winamp 5.2's enc_aacplus.dll to meGUI tools enc_aacplus directory but still get this error when i try to encode CT-AAC.
Log for job job1
Channels=2, BitsPerSample=16, SampleRate=48000Hz
C:\Program Files\megui\tools\encaacplus\enc_aacPlus.exe - "C:\xxx\xxx.aac" --rawpcm 48000 2 16 --cbr 24000Error:
System.IO.IOException: The pipe has been ended.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
at MeGUI.AviSynthAudioEncoder.encode()********************************************************************
* AACPlus v2 Encoder (using Winamp 5.2 enc_aacplus.dll)
* Source timestamp Mon May 15 17:24:26 2006
* Build May 15 2006, 17:24:35
********************************************************************
* NOTE! enc_aacplus.dll must be into executable directory
* get it from Winamp 5.2 plugins directory
* tested on Winamp 5.2 Release Feb 23 2006 Full (Not Pro) version)
********************************************************************
Input file: -
Output file: C:\xxx\xxx.aac
SampleRate: 48000
ChannelCount: 2
BitsPerSample: 16
Bitrate: 24000
ChannelMode: Parametric Stereo
Encoder: aacPlus v2 (HE-AAC+PS)
Can't find enc_aacplus.dll!
check
19th September 2006, 11:39
o The crashing on loading an AVI file is strange - I'd guess the video is somehow corrupted.
o mod16 means divisible by 16 with no remainder - highly recommended for all video encoding.
o are you sure ":\Program Files\megui\tools\encaacplus\enc_aacPlus.exe" exists? Try and run it directly from the command line and see if that works.
mog08
19th September 2006, 21:26
the AVI file that i tried is good in VirtualDubMod or TMPGEnc. It wasn't just one avi i tried, it just seems AvsScriptCreator is unusable on my current pc. I have AviSynth 2.5.6 installed no trouble with it.
yes I am sure that "\programe files\megui\tools\encaacplus\enc_aacplus.exe" exist (updated) as well as enc_aacplus.dll (from winamp 5.24) in the same directory.
After the initial installation of meGui, the default programme path of encAACplus was wrong in the settings. I changed it from encaacplus.exe to enc_aacplus.exe.
check
20th September 2006, 11:20
which version of megui are you using?
mog08
20th September 2006, 22:07
version is 0.2.3.2192. Installer from http://x264.nl. Also auto updated. Have .Net framework 2.0 installed.
PC is P4 1.8GHz. Windows XP 2002 home edition.
There are no error messege(s) when MeGUI shuts itself down.
Please help.
Carpo
21st September 2006, 16:45
@Carpo: I've heard that many times, and so far nobody has provided any sample files.. unless I get some sample files to reproduce, this will never be taken care off.
i have now re-done the rip - due to idiot error :( can you pm me what files you want and where i should send them - thanks
agressiv
22nd September 2006, 05:20
Any way of speeding up the "Analyse" bit of the Deinterlacing section on the filters tab? I have several machines (one 2x2.4ghz Xeon, one AMD 3000+) and I've clicked Analyse on several files, and it just chugs away. After 20 minutes I eventually gave up, it was still going. The progress bar reset itself at least 4-5 times before I hit abort, and I tried several times.
I've had it work before though, so I'm not sure what is going on. Any way you can un-grey the "Deinterlace" box even if we don't run the Analyse? That, or determine it with less analysis?
Let me know if there is any other information you need. I've tried this on several dvd rips.
Edit: Hmm, I let the two I was messing with continue and eventually it said they were "hybrid":
One of them had 19 progressive sections, and 4 interlaced sections. I'll choose the default option (TIVTC + TDeint(EDI) --slow) on this one - anyone explain what that will do? Will it just de-interlace those 4 sections?
agressiv
agressiv
check
22nd September 2006, 10:26
The multiple passes thing is due to it needing to scan the video more than once. The two passes it usually does is for interlaced detection and for field order. If the video is funky I think it does more passes to be sure.
As for your question re: sectioning; no, it will apply the selected option to the whole DVD. It can often detect low motion scenes as progressive because there is not enough motion to determine otherwise, so the default choice is usually correct.
btw, you can reduce the amount of video analysed in the settings.
agressiv
22nd September 2006, 13:45
Thanks for the reply Check!
Unrelated question, regarding audio delay:
If I have a track thats demuxed as:
movie T01 3_2ch 384Kbps DELAY -6ms.ac3
Do I set the delay correction in the audio config to be -6 or +6 ? I couldnt find any movies offhand that had a large delay for it to be noticable. (Not sure if we need to compensate for the -6 delay as +6, or if we just need to compensate -6ms...)
agressiv
check
22nd September 2006, 14:01
You want to enter what's written there (ie -6). As a rule of thumb, even if you got it wrong, 12ms is still too low to be noticed, but this is somewhat source dependant (it's easier with anime and other lowfps animations).
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.