View Full Version : MeGUI: General Questions and Troubleshooting Thread
Sharktooth
6th December 2010, 02:18
could you try muxing the video and audio tracks with YAMB?
TopDonn
6th December 2010, 03:09
could you try muxing the video and audio tracks with YAMB?
Already did that it failed as well, the resulting encode had twice the length it should have. I'm not sure if you are able to reproduce the issue but i have been able to consistenly reproduce it.
Sharktooth
6th December 2010, 04:10
it's really weird. can you also post your AVS script?
TopDonn
6th December 2010, 05:13
it's really weird. can you also post your AVS script?
The AVS Script is as simple as it gets
AVISource("C:\Users\TopDonn\Videos\Temp\Edits\Edited AVI's\Faith Evans - All Night Long.avi", audio=true)
ConvertToYV12()
The avi plays correctly in VLC so its not the file that i'm using.
My guess to narrow down the issue is to check if anyone else has seen this issue (I was able to reproduce it using the AVCHD preset).
I have all the files updated as well.
Thanks
lych_necross
6th December 2010, 07:19
The AVS Script is as simple as it gets
AVISource("C:\Users\TopDonn\Videos\Temp\Edits\Edited AVI's\Faith Evans - All Night Long.avi", audio=true)
ConvertToYV12()
The avi plays correctly in VLC so its not the file that i'm using.
My guess to narrow down the issue is to check if anyone else has seen this issue (I was able to reproduce it using the AVCHD preset).
I have all the files updated as well.
Thanks
What happens if you use DShowSource or FFVideoSource instead of AVISource?
TopDonn
6th December 2010, 18:35
What happens if you use DShowSource or FFVideoSource instead of AVISource?
Tried with DirectShowSource same result.
The source material is definately not the problem as it plays fine and encodes fine in another application.
So far the only clue as to the source of the problem is the update to version 0.3.5.28.
I already updated to 0.3.5.29 and the same issue is happening.
I may just do a fresh install at this point and see what happens.
Music Fan
6th December 2010, 20:17
Does it happen when you open your script in Virtual Dub ?
TopDonn
6th December 2010, 21:47
Does it happen when you open your script in Virtual Dub ?
The script works fine in Virtual Dub.
The issue only occrus in MeGUI, isloating it is the problem
Music Fan
6th December 2010, 22:37
Very weird. You could maybe try Hybrid, another x264 encoding program ;
http://forum.doom9.org/showthread.php?t=153035
Zathor
6th December 2010, 23:21
TopDonn: If I understand you correctly the issue occurs only if you mux the x264 encode with MP4Box. It does not occur if you use only the x264 encode. Is this correct? If yes then try once again another muxer e.g. this one: http://megui.org/auto/MP4Box-0.4.6-rev2125.zip
Also please disable the "Force Decoding via DirectShow" in your audio profile and maybe switch to neroenc.
Additionally please upload the source file or at least a part of the file where you can reproduce the error.
TopDonn
6th December 2010, 23:54
TopDonn: If I understand you correctly the issue occurs only if you mux the x264 encode with MP4Box. It does not occur if you use only the x264 encode. Is this correct? If yes then try once again another muxer e.g. this one: http://megui.org/auto/MP4Box-0.4.6-rev2125.zip
Also please disable the "Force Decoding via DirectShow" in your audio profile and maybe switch to neroenc.
Additionally please upload the source file or at least a part of the file where you can reproduce the error.
Hi, the problem occurs regardless of what muxer i use.
Let me however try the workarounds that you have mentioned and will get back with the results
TopDonn
7th December 2010, 01:14
TopDonn: If I understand you correctly the issue occurs only if you mux the x264 encode with MP4Box. It does not occur if you use only the x264 encode. Is this correct? If yes then try once again another muxer e.g. this one: http://megui.org/auto/MP4Box-0.4.6-rev2125.zip
This worked! I replaced the the mp4box in MeGUI with the one from the above URL and voila, back to working perfectly.
What's weird is that i had already tried replacing it with the one from Yamb as suggested by Sharktooth but that did not work. Sharktook mentioned earlier that recent versions of mp4box are a PITA. Yup, i guess they are.
Anyway, issue solved. :thanks:
pequickit
7th December 2010, 10:56
Hi...
I just set up MeGUI for the 1st time the other day to replace AutoGK that I've used to compress TV captures in the past. I have to admit right up front here that I'm not the brightest lamp in the room when it comes to most video work. After a couple of days now, I've managed to get a basic grasp on converting MPEG2 captures to xvid avi files and h.264 MP4 files with MeGUI.
But I ran into a problem converting some VOB files on an old DVD that were encoded a bit oddly, and though I've managed to get a reasonably transcoded MP4, I have to force smplayer to a 4:3 AR in order to have it display properly. Smplayer reports the file's AR as 1.6162, while both GSpot and MPC see it as 1.333. This isn't a huge problem, but I'd really like to understand what's happening here for future reference.
The storage frame for the original DVD video was set to 544x480, the image is anamorphic, and was letterboxed with 18 pixels on the left, 8 pixels on the right, and 2 pixels on the bottom. And the frame rate is 29.970. Here's a frame:
http://oi51.tinypic.com/d49yq.jpg
I originally had problems getting MeGUI's AVS Script Creator to write an avs file that would result in a file that could display the proper display AR. The tool reports the video as having an input DAR of ITU 4:3 PAL (1.367521), yet to the right of the selection box it reports NTSC. DGIndex also reports it as NTSC. But I guess it's neither, having been created by some software that's ancient history to me at this point.
What I did was to run 'auto crop', set 'clever anamorphic encoding' to 'resize to mod 16', ran interlacing analysis and saved the AVS file. But I could tell that the transcoded video was slightly squeezed horizontally. I looked at the AVS file and found anamorphic encoding was resizing the video as follows:
global MeGUI_darx = 21
global MeGUI_dary = 16
I just changed the values to:
global MeGUI_darx = 4
global MeGUI_dary = 3
The result displayed properly in MPC, WMP, Quicktime Player, and Total Video Player. Here's a screen capture:
http://oi51.tinypic.com/2v9u6id.jpg
Only smplayer had to have 4:3 forced, as by default it displays it at the value of 1.6162 that it's reporting the AR to be.
This is really the 1st time I've dealt directly with anamorphic transcoding which I'm just now learning about as I learn MeGUI. So I'm wondering if there is a better solution to this problem than editing that AVS file as I've done. GSpot reports the following for the transcoded file:
Codec: avc1 - Name: H.264/MPEG-4 AVC
Storage frame: 544x480
sar: 1.100 (11:10)
par: (none)
dar: 1.333(4:3)
fps: 23.976
For some reason MeGUI changed the source file's original frame rate of 29.970 to 23:976. I don't know enough about video to know if that may be contributing to smplayer's problems
GSpot reports the following for the source file:
Codec: MPEG2 - Name: MPEG-2
Storage frame: 544x480
sar: 1.133(17:15)
par: 1.176 (20:17)
dar: 1.333(4:3)
fps: 29.970
Hopefully someone here can tell me if there's a better way to achieve my goal.
I also hope this is the proper place to be asking about this.
Thanks
pq
jwscuba
11th December 2010, 00:38
OK, so I am really trying to work with MeGui to see if I can get better encodes than I do with handbrake. Although handbrake seem to make the process alot simpler.
Are there any places to find up to date guides for MeGui. And some tips (best profiles, best codecs to use). I search the forums and there is alot of information but it seems like it is al either old versions of MeGui with old presets and setting that don't exist. Any I am just wondering. If not maybe some help.
I am wanting to basically convert my DVD video_ts folder to mp4. I want to set up an autoencode setting that will pretty much just work (I will accept some loss in quality to not have to set and test things every time).
I want to end up with a file that has:
1.The video stream (x.264_Unrestricted (DXVA) or x.264_Max Compatibility (DXVA); just how uncompatible is the unrestricted)
2. Surround sound audio stream (was thinking NDAAC-HE48Kbps as i heard faac is not as good)
3. AC3 passthrough (my guess is I have to mux this in at the end somehow)
4. Subtitles (forced subtitles and if possible CC so if I mute subtitles come up realizing that the playback software would have to support that but would want it there just in case)
Would also love to know if there is a way to embeed the cover art and metadata at the time the files is encoded/muxed. Watching a buddy try to add coverart to his itunes library for his movies and it takes him about 6min each movie. I don't currently use iTunes (media center uses the folder.jpg) but don't want to have to go through what he is if down the road I get an appleTV or somthing. Would just liek to have it there.
Anyhow, sorry for the tone of questions. Hopefully someone could help.
pequickit
12th December 2010, 02:24
Are there any places to find up to date guides for MeGui.
These don't all address your questions, and they're all not up-to-date, but here's a few URLs that got me up and running:
Convert DVD to XviD with meGUI (http://www.afterdawn.com/guides/archive/me_gui_convert_to_xvid.cfm)
how to DVDRIP to XVID.AVI (http://www.techenclave.com/guides-and-tutorials/how-to-dvdrip-to-xvid-avi-117556.html)
MeGUI/Basic DVD Ripping Guide/Ripping (http://mewiki.project357.com/wiki/MeGUI/Basic_DVD_Ripping_Guide/Ripping)
Windows 7 - Video Encoding x264 (MeGUI) (http://www.sevenforums.com/tutorials/104382-video-encoding-x264-megui.html)
MeGUI H.264 Conversion Guide (http://www.digital-digest.com/articles/MeGUI_H.264_Conversion_Guide_page1.html)
OneClick Encoder and AutoEncode Walk-Through Guides (https://forum.doom9.org/showthread.php?p=1235583#post1235583)
ariefjuga
12th December 2010, 08:41
hi, i found the problem when using the latest stable version of megui. When i choose slow first pass in x264 config, then i try to check my result file with mediainfo, it still have "fast_pskip=1" is it bug or something?
Another question, how to cut and deleting some middle part of our video?
thanks :)
nurbs
12th December 2010, 12:54
When i choose slow first pass in x264 config, then i try to check my result file with mediainfo, it still have "fast_pskip=1" is it bug or something?
Fast pskip has nothing to do with the "slow first pass" option.
Slow first pass only means that the same settings will be used in first pass as in the second. The mediainfo of your output will be the same regardless, since the first pass doesn't write a file.
Fast pskip is an analysis option. You can activate it via the advanced options if you like. The only x264 inbuilt preset that uses fast_pskip=0 is preset placebo.
LigH
12th December 2010, 14:52
The only x264 inbuilt preset that uses fast pskip is preset placebo.
To be correct: "--preset placebo" is the only preset which includes "--no-fast-pskip", means: "fast pskip" is per default enabled in all presets except "placebo"
Lighto
12th December 2010, 14:59
hi, i found the problem when using the latest stable version of megui. When i choose slow first pass in x264 config, then i try to check my result file with mediainfo, it still have "fast_pskip=1" is it bug or something?
Another question, how to cut and deleting some middle part of our video?
thanks :)
AVS Cutter in MeGUI.
Music Fan
12th December 2010, 18:33
AVS Cutter in MeGUI.
I believe it cuts only avisynth scripts, so it's not very useful because we can do it with avisynth's trim option.
To cut AVC videos, there is Cut Assistant, AviDemux, Yamb, MPEG Streamclip, VideoReDo, Boilsoft Video Splitter, ...
LigH
12th December 2010, 19:21
Or you may have to edit the AviSynth script manually:
before = Trim()
after = Trim()
AlignedSplice(before, after)
Lyle_JP
12th December 2010, 19:56
AVS Cutter in MeGUI.
Great, but how do you cut the sound file in exactly the same place so it will sync up?
nurbs
12th December 2010, 20:06
Great, but how do you cut the sound file in exactly the same place so it will sync up?
AVS cutter in MeGUI, if you reencode the audio.
Lyle_JP
12th December 2010, 20:18
AVS cutter in MeGUI, if you reencode the audio.
I wasn't aware that audio used frame numbers. Or do I need an AssumeFPS statement?
L4a-Thompson
12th December 2010, 20:21
if i convert hd material to mkv full hd with me-gui i get a perfect mkv file.
but if i mux the file to a bluray with ts muxer and make an image with imgburn i get a realy bad video because it is full with arthefacts and powerdvd can`t play the bluray
has anybody this problem to?
my way to convert:
hd stream extractor -> get the streams
DgavC index -> get the dga file
my avs script has 4 lines
LoadPlugin("D:\DGAVCDecode.dll")
AVCSource("C:\project.dga")
asharp(2,3,1.3,hqbf=true)
tweak(sat=1.09)
this i load in megui
the settings for the x264 i use only the preset verry slow and by tuning: Film
after the converting i use tsmuxer to get the bluray strukture and made an image with imgburn
what i doing wrong
nurbs
12th December 2010, 20:25
I wasn't aware that audio used frame numbers. Or do I need an AssumeFPS statement?
You can load the files the AVS Cutter produces in the audio encoding tab. Cut your video, load the cuts file with the audio and I suspect things will work out.
ariefjuga
13th December 2010, 12:03
Fast pskip has nothing to do with the "slow first pass" option.
Slow first pass only means that the same settings will be used in first pass as in the second. The mediainfo of your output will be the same regardless, since the first pass doesn't write a file.
Fast pskip is an analysis option. You can activate it via the advanced options if you like. The only x264 inbuilt preset that uses fast_pskip=0 is preset placebo.
how to disable/enable it in the setting?
AVS Cutter in MeGUI.
i already try with avs cutter. but the command in this setting is just to cut begining part and end part of video but not middle part of it. or maybe there is another command in avs cutter i dont understand?
Or you may have to edit the AviSynth script manually:
before = Trim()
after = Trim()
AlignedSplice(before, after)
oh, is it another command which i looking for? but my friend, can you explain to me what value i suppose to fill in this "()" symbol?
Great, but how do you cut the sound file in exactly the same place so it will sync up?
You can load the files the AVS Cutter produces in the audio encoding tab. Cut your video, load the cuts file with the audio and I suspect things will work out.
do you mean to load avs script after we edit with avs cutter? :confused:
Lighto
13th December 2010, 12:09
i already try with avs cutter. but the command in this setting is just to cut begining part and end part of video but not middle part of it. or maybe there is another command in avs cutter i dont understand?
You can cut the middle part of a video.
Use the zone start and zone end button preview window to select exactly which part of the video do you want to be encoded out.
For the audio you can use the audio cutter or just select the cut file in the audio tab.
Music Fan
13th December 2010, 12:22
It's really easier with avisynth. Trim cut audio and video and they stay synchronized.
LigH
13th December 2010, 13:35
oh, is it another command which i looking for? but my friend, can you explain to me what value i suppose to fill in this "()" symbol?
Sorry ... I will not read the AviSynth documentation for you. "RTFM" = Read The F..amous Manual. Do it - it is good. It was installed on your harddrive already (by MeGUI probably).
a) C:\Program files\Avisynth 2.5\Docs\English\index.htm (or at a similar location)
b) http://avisynth.org/mediawiki/Trim if you prefer it online.
You should have understood the implicit use of the special clip variable "last" (which can be omitted in many cases) and the difference between parameter declaration and usage of functions. So all you need are the numbers of the first and the last frame to be copied by each Trim function call.
Sharktooth
14th December 2010, 02:34
@LigH: megui does not install avisynth. it just tells you to donwload it if you havent it installed.
LigH
14th December 2010, 09:26
Nevertheless - one who wants to use MeGUI must have installed AviSynth. No matter if MeGUI provides the installer or not, it is a prerequisite.
Knowing AviSynth may not be a requirement to use MeGUI ... but it is very recommendable to be able to circumvent limitations of a GUI.
Sharktooth
14th December 2010, 15:23
avisynth IS required for megui. it's just it isnt distributed with it. so, i dont have idea of what version of avisynth the user istalled...
Tuik
23rd December 2010, 12:48
I'm using MeGUI 0.3.3.0 with CCCP, Nero Audio and AviSynth 2.5.8 on Windows 7. This is the first time I tried encoding a video (an mkv) after reinstalling Windows 7. Unlike earlier (before the reinstall of windows 7 and with MeGUI 0.3.1.1056) the audio preprocessing takes a very long time. When the audio encoding begins it shows Preprocessing... ***PLEASE WAIT*** for well over 10 minutes before the encoding actually begins. I also have MeGUI 0.3.1.1056 on my desktop running Windows XP SP3 but the audio preprocessing doesn't take more than a few seconds (the desktop has lower specs too).
Why does it take so long with Windows 7? Could I be doing wrong or is this a known issue? :stupid:
I have the same problem. How do i fix this?
Zathor
23rd December 2010, 13:11
As the status is saying - it is the preprocessing. That is no problem, but if you want it faster then disable e.g. "normalize" in the audio settings.
amgeex
23rd December 2010, 17:30
I'm constantly getting errors when using CQMs with xvid_encraw:
-[Error] [23/12/2010 09:08:52 a.m.] Process exits with error code: -1073741819
That error always happens at the end of the second pass when using Sharktooth's EQM V3HR. Didee's 6of9 doesn't work either. Sharktooth's EQM V3UHR (rev2) works without problems. Why could this be happening?
Sharktooth
24th December 2010, 03:05
try disabling the adaptive quantization option
amgeex
24th December 2010, 18:14
try disabling the adaptive quantization option Thanks, that made the CQMs work without problems. I thought EQM V3HR worked well with AQ, but that's another matter... Thanks Sharktooth!
blah123
27th December 2010, 12:54
This is problem with DSS2 with some H264 file muxed intro M2TS. When I try to use DSS2, MeGUI gives this:
http://ifotos.pl/img/blad_qsqsrr.png
Sharktooth
27th December 2010, 15:07
that's a runtime error but it's not strictly bound to megui. it's probably caused by directshow filters configuration on your system.
LigH
28th December 2010, 00:19
Try to index the M2TS file first with a native AviSynth decoder (DG*Dec*, FFMS2), and open the index file as video source, instead of the M2TS file.
luke83
28th December 2010, 13:04
Is there IVTC filter in megui?
I couldn't find it :/
Lighto
28th December 2010, 13:26
Is there IVTC filter in megui?
I couldn't find it :/
AVS Script Creator > Script > Load DLL > TIVTC.dll
Not 100% sure if this is what you're looking for though.
luke83
28th December 2010, 14:45
AVS Script Creator > Script > Load DLL > TIVTC.dll
Not 100% sure if this is what you're looking for though.
Thanks ;)
Why it doesn't appear among the filters?
EDIT:
Can megui give uncompressed videos as output?
Lyle_JP
28th December 2010, 22:20
Is there IVTC filter in megui?
I couldn't find it :/
Under Deinterlacing on the filters tab, indicate your source type as "Film". TIVTC will come up as the default filter. Decomb is another option.
Sharktooth
29th December 2010, 03:30
@luke83: why megui should output uncompressed video? there is no need for an ENCODER GUI to actually NOT encode the video...
LigH
29th December 2010, 09:41
Well ... you may use MeGUI to build the AviSynth script you would use for an encode - and stop here. The AviSynth script itself will output uncompressed video ... to the following encoder.
But as "AviSynth script builder" specifically, there might be better GUIs. And after all, a text editor is still the "best" (meaning the most flexible). All GUIs with a distance to the source code have their own limitations, based on their workflow. So instead, use the documentation, learn AviSynth. A recommendable "lower level GUI" (still source based, but with some widget support) would be AvsP(mod).
cryphog
1st January 2011, 02:32
Are the Stable Servers still online or should I switch to the Development Servers?
Zathor
1st January 2011, 10:28
They are online but you can of course switch to the development ones.
cryphog
1st January 2011, 14:10
Ok Thanks. Was just wandering because their has not been any updates for a while. Will stick with the stable server! ;)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.