View Full Version : MeGUI: General Questions and Troubleshooting Thread
ztomic
22nd February 2009, 19:58
Same thing here:
Exception message: starting encoder failed with error 'This version of %1 is not compatible with the version of Windows you're running.
Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact
the software publisher'
I'm using Vista64
Kurtnoise
22nd February 2009, 20:31
http://forum.doom9.org/showpost.php?p=1253245&postcount=2001
sumawo13
22nd February 2009, 20:47
Does MeGUI's MKV muxer have an option for aspect ratio I'm missing? I've encoded the first episode of an Anime DVD at 720x480 with the intention of setting the aspect ratio to 16/9 in the container and I can't find the option.
nurbs
22nd February 2009, 22:59
MeGUI doesn't support that in the mkv muxer, because normally you would set the aspect ratio before you are encoding via the "clever anamorphic encode" option in the avs creator and the muxer just reads the ratio from the encoded file.
SeeChestlickRun
23rd February 2009, 00:02
@sumawo13
Actually, you can set aspect ratio, just right when you pick the .avs script as video input, a new window will pop up, then you will see a number at bottom, you just click the down arrow and pick or create your own aspect ratio, then click 'Show DAR' and click 'X' to close the window. That will be stored in mkv as aspect ratio. I don't know about "clever anamorphic encode" tho. Never tried that before.
By the way, check this thread out, http://forum.doom9.org/showthread.php?t=112475 , should clear stuff up about anamorphic encode. So, as suggested, I would rather to use the method that I typed up above there.
http://forum.doom9.org/showpost.php?p=1253245&postcount=2001
So, should I get the x264 build from you website/link on your sig? I'll give it a go.
Edited:: Thanks! I was freaking out when first pass wouldn't work. :)
rkalwaitis
23rd February 2009, 10:52
Some advise from the pros is required.
I do I determine what number of threads to set in the x264 configuration. THe default is 0 which =1.5 according to that little pop help option.
My computer is:
AMD Athlon(tm)64x2 Dual COre Processor 4200+ 2.2Ghz
894MB Ram
32-bit operating system.
I notice if I encode in VirtualDub with the same x264 settings I get a significant boost in fps.
So my question is based on my system what is a reasonable number of threads?
Dark Shikari
23rd February 2009, 10:55
Some advise from the pros is required.
I do I determine what number of threads to set in the x264 configuration. THe default is 0 which =1.5 according to that little pop help option.
My computer is:
AMD Athlon(tm)64x2 Dual COre Processor 4200+ 2.2Ghz
894MB Ram
32-bit operating system.
I notice if I encode in VirtualDub with the same x264 settings I get a significant boost in fps."Encode in virtualdub"? You can't use x264 in virtualdub. If you're talking about a horribly outdated version of x264VFW, odds are that your x264VFW is so old that the same set of commandline options don't map to the same stuff internally, so you're not actually using the same settings.
rkalwaitis
23rd February 2009, 16:30
Dark I didnt know that. It says they are updated. So Ill drop VirtualDUb and use Megui. Now based on my system the number of threads?
Thanks for the tip on the x264vfw. That is what I am using. But if its horrible then enough of it.
k
Rodger
23rd February 2009, 18:11
In case of build 1114 switch back to build 1113 !!!
At least on vista64bit the newer build crashed right in the beginning!
rkalwaitis
23rd February 2009, 21:10
I did as Rodger did and all is well.
Sharktooth
24th February 2009, 03:09
https://forum.doom9.org/showthread.php?p=1253876#post1253876
Rodger
24th February 2009, 19:22
Sharktooth!
Your Link is dead! At least it is for me?!
XhmikosR
24th February 2009, 19:44
Use this (http://forum.doom9.org/showthread.php?p=1253876#post1253876).
Snowknight26
24th February 2009, 22:02
Wouldn't it be appropriate for the bitrate calculator to specify sizes as MiB? Reason I ask is because after a good 10 minutes of figuring out why google gave me different results with an equation like (size in MB)/(frames/fps) (http://www.google.com/search?hl=en&q=%284479%2F%28150864%2F23.976%29%29+*+1024+*+8) compared to what to what MeGUI was showing, I realized that MeGUI is really using MiB for sizes and not MB, making me add *1.024 to the 'size in MB' field.
nakTT
27th February 2009, 08:13
Hi everyone,
I have a movie on 2 CDs. I want to encode this movie to mp4 using MeGUI (X264). Any idea how can I get MeGUI to merge the two files (CD1 and CD2) into 1 file?
Thanks.
LigH
27th February 2009, 09:21
Hmm.
Well.
A movie.
You won't believe how many file formats for movies exist, and how different kinds of handling they require, depending on the format.
No chance to help - without a "MediaInfo" analysis of both files.
nakTT
27th February 2009, 09:28
For this particular task, the movie is normal VCD for both (The whole movie divided in 2 VCD). I want to encode it using X264 (mp4) on MeGUI and at the same time merge it.
Maybe for other task the file type will be different but still all parts will be of the same setting and the same format. I just need to know how to configure MeGUI to perform the task. Many thanks in advance.
ddjmagic
27th February 2009, 15:32
MeGui Weird Colors
Hey
I am having a problem with megui,
There is a green bar at the bottom of the video and there are weird colored shadows around all the objects in the video.
The video is straight from a Bluray source VC1 at 1920 x 1080 (inside a mkv container using eac3to)
I have tried other files and same thing is happening, all files plaback fine in mpc, vlc, arcsoft, powerdvd etc.
I have been using megui with no problems for a couple of months, but today it has started to do this.
Here is the screenshot-
http://i44.tinypic.com/nzf7yh.jpg
Larger image here - http://i43.tinypic.com/29by343.jpg
Any help is appreciated.
Thanks!
~bT~
27th February 2009, 15:35
that looks a decoder issue. what decoder u using? wmp11 or other?
farshidhss
1st March 2009, 09:55
i'm trying to encode an aac audio file "naruto.aac" and i want to encode it to lower bitrate with neroAAC, in megui i get this error the moment i start encoding:
-[Error] Log for job12 (audio, naruto.aac -> naruto.mp4)
--[Information] [3/1/2009 9:43:30 AM] Started handling job
--[Information] [3/1/2009 9:43:30 AM] Preprocessing
--[NoImage] Avisynth script
---[NoImage] DirectShowSource("D:\anime\naruto\93\naruto.aac")
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] 6<=Audiochannels(last)?x_stereod46190ecf4574356b73f03f3510664e2(ConvertAudioToFloat(last)):last
---[NoImage] Normalize()
---[NoImage] return last
---[NoImage] function x_stereod46190ecf4574356b73f03f3510664e2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] lfe = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
---[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
---[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[NoImage] Commandline used: -ignorelength -he -br 48000 -if - -of "{0}"
--[Information] [3/1/2009 9:43:30 AM] Encoding started
--[Information] [3/1/2009 9:43:30 AM] Encode thread started
--[Information] [3/1/2009 9:43:30 AM] Avisynth script environment opened
--[Error] An error occurred
---[NoImage] Exception message
----[NoImage] DirectShowSource: Could not open as video or audio.
----[NoImage] Video returned: "DirectShowSource: couldn't open file D:\anime\naruto\93\naruto.aac:
----[NoImage] Unspecified error "
----[NoImage] Audio returned: "DirectShowSource: couldn't open file D:\anime\naruto\93\naruto.aac:
----[NoImage] Unspecified error "
---[NoImage] Stacktrace
----[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[Information] [3/1/2009 9:43:30 AM] Job completed
i can play the file in mpc and i also have aac decoding enabled in ffdshow audio filter, no idea what's wrong T_T
can someone please shed some light for me ^_^
Kurtnoise
1st March 2009, 16:00
don't use aac stream but your input directly...
farshidhss
1st March 2009, 17:39
don't use aac stream but your input directly...
well first i used the input directly, it is a mkv file with h264 video, and it could complete the encode with no error but the audio and video are not sync at all so i thought maybe i can encode each stream separately. can you give me any idea why the audio and video are not sync i encoded many files before but that's the first time i see this T__T
Inspector.Gadget
1st March 2009, 18:18
@farshidhss - If your source is a Matroska file, then the desync may be caused by an audio delay set in that original container in order to sync the audio and video. One way to check the delay (and maybe someone knows an easier way by now) is to use mkvinfo from the mkvmerge package and do 'mkvinfo -v "inputfile.mkv" > log.txt' at the command line where "inputfile.mkv' is the file you want to find the delay for, including the path to the file. When this finishes, look at "log.txt" in the mkvmerge directory and find the start time for the first block of the audio stream. The difference between that block and the start of the first video block is your audio delay.
b66pak
1st March 2009, 19:11
@ farshidhss i think you .mkv is VFR...check it with mediainfo and if it is something like this:
"Frame rate: 29.970 fps"
"Original frame rate: 24.189 fps"
you have a VFR...
_
farshidhss
1st March 2009, 20:19
@farshidhss - If your source is a Matroska file, then the desync may be caused by an audio delay set in that original container in order to sync the audio and video. One way to check the delay (and maybe someone knows an easier way by now) is to use mkvinfo from the mkvmerge package and do 'mkvinfo -v "inputfile.mkv" > log.txt' at the command line where "inputfile.mkv' is the file you want to find the delay for, including the path to the file. When this finishes, look at "log.txt" in the mkvmerge directory and find the start time for the first block of the audio stream. The difference between that block and the start of the first video block is your audio delay.
doesn't seem to have delay there.
@ farshidhss i think you .mkv is VFR...check it with mediainfo and if it is something like this:
"Frame rate: 29.970 fps"
"Original frame rate: 24.189 fps"
you have a VFR...
_
yup :) you are right, i have this:
Frame rate : 29.970 fps
Original frame rate : 26.050 fps
now i wonder what can i do about it.
b66pak
1st March 2009, 20:25
read this:
http://forum.doom9.org/showthread.php?t=112199
and this:
http://forum.doom9.org/showthread.php?p=1251097#post1251097
_
farshidhss
1st March 2009, 21:54
read this:
http://forum.doom9.org/showthread.php?t=112199
and this:
http://forum.doom9.org/showthread.php?p=1251097#post1251097
_
thank you so much, great thread i never knew about IVTC and vfr videos. i'll give it a try, so in megui if we encode a video it will be cfr and vfr encoding is not supported yet
nakTT
2nd March 2009, 00:46
Hi everyone,
I have a movie on 2 CDs. I want to encode this movie to mp4 using MeGUI (X264). Any idea how can I get MeGUI to merge the two files (CD1 and CD2) into 1 file?
For this particular task, the movie is normal VCD for both (The whole movie divided in 2 VCD). I want to encode it using X264 (mp4) on MeGUI and at the same time merge it.
Maybe for other task the file type will be different but still all parts will be of the same setting and the same format. I just need to know how to configure MeGUI to perform the task. Many thanks in advance.
Anyone who in the know please help me with this one. Thank you in advance.
Inspector.Gadget
2nd March 2009, 04:57
@ nakTT - Merge the two with Avidemux before opening them in MeGUI's Avisynth script creator so you don't need to monkey around with UnAlignedSplice() in Avisynth. Make sure to allow Avidemux to build a VBR time map if the original audio codec is MP3 and make sure both Audio and Video are set to "copy" and container is set to "AVI", then simply use File->Save->Video... to create your output file without re-encoding. Open that in the AVS script creator and you're set. I think MeGUI can pipe audio to the encoders from an AVI file anyway so no need to manually do that - just open the AVI (NOT AVS) file in the audio section. In the audio section, check "Force Decoding Via DirectShow" under "Config" so your installed audio and video decoders get used for anything not present in your Avisynth plugins folder.
nakTT
2nd March 2009, 19:03
@ nakTT - Merge the two with Avidemux before opening them in MeGUI's Avisynth script creator so you don't need to monkey around with UnAlignedSplice() in Avisynth. Make sure to allow Avidemux to build a VBR time map if the original audio codec is MP3 and make sure both Audio and Video are set to "copy" and container is set to "AVI", then simply use File->Save->Video... to create your output file without re-encoding. Open that in the AVS script creator and you're set. I think MeGUI can pipe audio to the encoders from an AVI file anyway so no need to manually do that - just open the AVI (NOT AVS) file in the audio section. In the audio section, check "Force Decoding Via DirectShow" under "Config" so your installed audio and video decoders get used for anything not present in your Avisynth plugins folder.
Many thanks for a very helpful guide.
I have managed to merge my test movie. The only problem I face so far is that I can't seem to find a way to allow Avidemux to build a VBR time map.
Many thanks in advance.
poisondeathray
2nd March 2009, 19:09
The only problem I face so far is that I can't seem to find a way to allow Avidemux to build a VBR time map.
audio=>build vbr time map
nakTT
2nd March 2009, 19:32
audio=>build vbr time map
Many, many thanks.
zanuda
2nd March 2009, 22:50
Hi
How about this?
https://forum.doom9.org/showthread.php?t=145236
AkumaX
3rd March 2009, 00:51
is there any tutorial on how to take advantage of the new Nvidia Deinterlacer option?
~bT~
3rd March 2009, 02:10
is there any tutorial on how to take advantage of the new Nvidia Deinterlacer option?
u need to have purchased the nv tools by neuron2.
example: http://forum.doom9.org/showthread.php?t=142961
Kurtnoise
3rd March 2009, 16:01
Hi Kurtnoise.
Thank for the help and quick response.
The 1005 build now reads perfectly the audio language, and now I can choose the spanish stream.
But build 1005 seems to have broken what was right.
My first audio is mapped in my vobs as 129 (0x81) according to mediainfo. But now One Click Encoder maps it as 128 (0x80), and so no demuxing occurs and now no audio stream .ac3 is created. As the audio is not created, no final remuxing occurs.
If I run a single index d2v job, I have to select demux all streams, otherwise the index job has the same bug and no audio stream are created.
thanks again
this is not a bug. It's because the IFO parser starts the counter always to zero regarding audio streams #. I can revert to the previous state but you'll have no more language detection. So, you can remap (i.e 0x81 to 0x80, etc...) your audio streams with vob tools (even DVDDecrypter is able to do that). So, what do you prefer ? It's up to you.
And a vob sample for testing could be great for me...:)
yeah...not fixed yet.
well...after a lot of brainstorming, I finally find a way to retrieve the "correct" trackID within Language Info. :)
Should be included in the next release...
Kurtnoise
3rd March 2009, 16:04
How about this?
https://forum.doom9.org/showthread.php?t=145236
fixed in rev 1054 I think...
zanuda
3rd March 2009, 17:34
fixed in rev 1054 I think...
No
It's megui's bug...i think
Kurtnoise
3rd March 2009, 17:54
you should read carefully...I think.
zanuda
3rd March 2009, 18:45
sorry
many thanks
AntiJ
4th March 2009, 11:06
Why doesn't MeGUI update to the latest MKVToolnix (2.5.2) aka "mkvmerge"?
link (https://forum.doom9.org/showthread.php?t=120648)
EDIT: @Kurtnoise, thanks, yeah I suspected that :) but it's still a bit slowly updated (for something that easy to update). And I think it would be redundant if I installed it separately :P
EDIT2: thanks Sharktooth, for updating to the latest MKVToolnix now.
Kurtnoise
4th March 2009, 13:14
this is not automatic...:) You have to wait that Sharktooth puts the last packages on the server.
thegame
4th March 2009, 14:55
Hi guys,
I need some megui help on my video,my video sample is an HDTV .ts mpeg2 stream,when I have megui do its analyse it comes up with deinterlace TIVTC,but I need to use the Decomb IVTC,so I set it,but when I click on enqueue,it spits out this error:
http://img104.imageshack.us/img104/8310/errorg.jpg
and this is the script it created:
DGDecode_mpeg2source("D:\Sheena Sample\Sheena Sample\Sheena.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
AssumeBFF().Telecide(guide=1).Decimate()
#crop
#resize
#denoise
So I am not sure what the problem is,it states right there in the script that it is bottom field first (assumebff())
does anyone have any ideas for me?
thanks for your time
Kurtnoise
4th March 2009, 16:14
do what the message says...so, remove AssumeBFF().
@AntiJ: there is nothing new in this package that megui needs...So, you won't see any difference.
thegame
4th March 2009, 17:17
do what the message says...so, remove AssumeBFF().
@AntiJ: there is nothing new in this package that megui needs...So, you won't see any difference.
I removed the line from the avs script,and it stills gives the same error.
OK I got it now,had to add the lines into telecide,now I have this and it works fine:
DGDecode_mpeg2source("D:\Sheena Sample\Sheena Sample\Sheena.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
Telecide(order=0,guide=1).Decimate()
Undot()
#crop
#resize
#denoise
Thanks again,damn I love this place,everyone is so helpful,and usually get VERY fast responses.
nakTT
6th March 2009, 02:41
Hi
How about this?
https://forum.doom9.org/showthread.php?t=145236
I can't access the link. Hope you can provide a new one. Thanks.
Sharktooth
6th March 2009, 03:02
https -> http
~bT~
7th March 2009, 14:57
has the bitrate calc messed up?
i just done an encode and was undersized by 63MB on a 700MB file..
here is the log: http://pastebin.com/m4525ae72
Kurtnoise
7th March 2009, 16:47
I doubt that... but to be sure retry with the previous release.
alexcel
8th March 2009, 01:23
HI:
First, I want to thank kurtnoise and devs for the great job, once again!!
I am glad to see that you've just added a "disable autocrop" check in One click encoder.
However, aspect ratio is incorrectly signalled to encoder and mkv container, as if it were cropped.
I have tried 2 times, both same result. I live in PAL world, so input res is 720x576, and I want Output res to be the same
First try, the log says:
----[NoImage] Aspect ratio: 1,823361
----[NoImage] Output resolution: 720x544
----[NoImage] AVC level: Level 3.1
----[NoImage] Resolution adjusted for AVC Level: 720x544
----[NoImage] Automatic deinterlacing: True
----[NoImage] Deinterlacing used: #Not doing anything because the source is progressive
----[NoImage] Generated Avisynth script
-----[NoImage] global MeGUI_darx = 137
-----[NoImage] global MeGUI_dary = 72
Second try:
----[NoImage] Aspect ratio: 1,823361
----[NoImage] Output resolution: 720x432
----[NoImage] AVC level: Level 3.1
----[NoImage] Resolution adjusted for AVC Level: 720x432
----[NoImage] Automatic deinterlacing: True
----[NoImage] Deinterlacing used: #Not doing anything because the source is progressive
----[NoImage] Generated Avisynth script
-----[NoImage] global MeGUI_darx = 224
-----[NoImage] global MeGUI_dary = 93
I attach logfiles.
:thanks:
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.