View Full Version : MeGUI: General Questions and Troubleshooting Thread
MrVideo
18th June 2011, 18:03
Fields = frames for the camera when it's interlaced. But it keeps one line on two.
59.94 fields = 59.94 different frames wich can be reconstructed with a good de-interlacer to get 59.94p on a recent screen.
When your interlaced file contains actually 29.97 different frames, you don't have to keep it interlaced, it's not useful and you loose bitrate for nothing.
Sorry, but not true. A video source (camera, computer generated, etc) that is putting out interlaced video still has frames that are 1/2 the field rate. You can never, and I repeat never, have a field rate = to a frame rate. It is technically not possible. It always takes two fields to make a complete frame. Always has, always will.
BTW, did you know that with PAL analog video, it actually takes four fields to comprise a color frame? The color phasing for PAL is spread over four fields.
blend = join when the source is progressive, it's a simple 2:2 pulldown.
But, you must know if the source is one or the other, in order to set up the correct encoding.
Anyway, like I said, unless absolutely necessary, I do not screw with interlaced video unless I IVTC the video into 23.976 frames/sec. Everything else I do not touch.
Music Fan
18th June 2011, 18:17
And it's an error, because 23.976 is one between three cases (on dvd) where you can find really progressive sources (with 25p and 29.97p, encoded in 50i and 59.94i).
I don't understand why you absolutely need to believe that interlaced encoding equals interlaced content.
I believe we can stop this discussion here, people have enough elements to understand what we mean and make their own opinion.
MrVideo
18th June 2011, 19:20
And it's an error, because 23.976 is one between three cases (on dvd) where you can find really progressive sources (with 25p and 29.97p, encoded in 50i and 59.94i).
I just listed 23.976 as it is pure progressive video on a DVD, where the DVD player does the 2:3 pulldown. That's all.
I don't understand why you absolutely need to believe that interlaced encoding equals interlaced content.
Even if the video source is from 29.97 frame/sec progressive video and converted to interlace for DVD/NTSC analog output, the content on the DVD is still interlaced, no matter the source. So what if the video you look at appears to be progressive, the video content is still interlaced as it contains two separate video fields, which will be different.
LigH
20th June 2011, 12:06
This is a thread about MeGUI specifically, not the very basics of interlacing...
pancserzso
22nd June 2011, 11:43
How can I download the newest x264 presets?
- Build 2028 doesn't have them included
- Update does it want to download them
- Stable server doesn't have any
Why are x264 profiles missing, for me this was pretty much the only reason why I used MeGUI, because it had the best x264 profiles!
Zathor
22nd June 2011, 12:34
They are still available, but in a different location:
http://forum.doom9.org/showthread.php?t=161587
billa
2nd July 2011, 09:57
ola
is it possible to have in megui ( avs script creator) a mod16 and mod 8 and a windows with the % error AR ?
nhope
2nd July 2011, 12:30
Trying to send a downscaled, compressed screener/sample video to people in Apple-land.
I rendered a 1280x720 H.264/.mp4 file with x264 in MeGUI with default settings and crf21 (i.e. not deliberately dumbed down for Quicktime). I told them to rename it to .mov if they had trouble and they've said: "While changing the extension to .mov may assist in viewing, we need to convert the files to a quicktime format for delivery to the client". The can't do that on their Macs.
I opened the file in Quicktime Pro and rendered to H.264 .mov. It took about 20 seconds to render a solid green file.
Has anyone found a way to smart-render or remux MeGUI/x264 output to .mov, and did the file play OK on the recipient's Apple computer?
If it is possible, should I be choosing a dumbed-down preset rather than defaults?
Or am I basically stuck with exporting an uncompressed or lossless intermediate and using Quicktime Pro's H.264 encoder?
Music Fan
2nd July 2011, 12:44
I opened the file in Quicktime Pro and rendered to H.264 .mov. It took about 20 seconds to render a solid green file.
It could be a simple filter problem in your player, but this mov file is maybe good.
Is it recognized as a Quicktime container in MediaInfo ?
Does MediaInfo show the same characteristics than your mp4 file ?
nhope
2nd July 2011, 14:03
It could be a simple filter problem in your player, but this mov file is maybe good.
Is it recognized as a Quicktime container in MediaInfo ?
Does MediaInfo show the same characteristics than your mp4 file ?
MediaInfo recognizes it as a Quicktime container but the framerate and bitrate and filesize are all tiny. Looks like Quicktime Pro won't smart render, so if I'm going to use that then I may as well output a lossless intermediate for it from my NLE, rather than feed it a MeGUI x264 file.
I tried a render with Xvid4PSP 6.0 beta 3, which I heard might do it. Much better but took too long to be doing a simple smart render/remux. Also it seems to have included the dreaded Quicktime gamma but, so the video is now too bright, with blown out highlights.
Any other suggestions?
Music Fan
2nd July 2011, 14:30
Maybe answers in this thread ;
http://forum.doom9.org/showthread.php?t=117772
Especially this post concerning QT7 ;
http://forum.doom9.org/showthread.php?p=897301#post897301
El Mariachi
2nd July 2011, 14:34
Today I switched computer and put everything on the same place as it was my old computer.
For some reason MeGui crashes when I open an MKV file or AVS file.
Both want to use the Haalli splitter and crash
If I open a D2V file made from VOBs MeGui works just fine.
Problem signature:
Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 1.0.2028.0
Application Timestamp: 4dd94812
Fault Module Name: StackHash_7651
Fault Module Version: 6.1.7600.16695
Fault Module Timestamp: 4cc7ab86
Exception Code: c0000374
Exception Offset: 000cea27
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1043
Additional Information 1: 7651
Additional Information 2: 7651fc95437d500b11e6985276c6405f
Additional Information 3: 27d1
Additional Information 4: 27d18a557ef30558f6eb0d971c1588b5
I even redownloaded the latest version, but no luck
specs are Windows 7, I7-2600, 4GB of ram
EDIT: Maybe I was working old fashioned
this line works
FFVideoSource("D:\rip\Test.mkv").AssumeFPS(24000,1001)
this one doesn't, I wonder why though
DirectShowSource("D:\rip\Test.mkv", fps=23.976, audio=false, convertfps=true)
Music Fan
2nd July 2011, 14:50
@ nhope : VLC can also mux into quicktime container without re-encoding, but it didn't work well with my version (0.9.2, yeah, it's old). I tried it with 2 mp4 files, same result in both cases ; the resolution, framerate and duration are wrong but the size of the file is good.
It could maybe work better with a newer version.
rtjnyoface
2nd July 2011, 22:04
Having some trouble with the avisynth creator. Keeps saying I may not have a yv12 decoder installed. Only recently has this been saying this. Can't open scripts in vdub either. Maybe something related to one of ati's driver update packages (it includes a decoder of some kind)?
Tried correcting it with the win7dsfitler but that doesn't seem to be able to access a decoder for yv12. Also tried using ffdshow to set it to decode yv12 but couldn't find that format in the ffdshow decoder window.
Win7
v.2028
Posted both of my problems in the wrong thread...funny.
Music Fan
3rd July 2011, 09:22
In ffdshow VFW, in the codecs list, go on the last line (uncompressed video) and choose YV12.
You may also need to add this line in your script ;
ConvertToYV12()
rtjnyoface
3rd July 2011, 11:52
Thank you sir. That's helped tremendously since it has fixed that problem.
Does anyone know about the explorer hang when using megui to open explorer (like opening a window to locate a d2v file or opening a window to find audio for the bit rate calculator)? That would help too seeing as megui hangs after about every third or fourth time I use it to access/open explorer. Like right now I can't use the bit rate calculator because it freezes on me. Win7 will just as if I just want to close it or I'll have to delete the process. Any help there would be appreciated as well.
nhope
3rd July 2011, 16:12
@ nhope : VLC can also mux into quicktime container without re-encoding, but it didn't work well with my version (0.9.2, yeah, it's old). I tried it with 2 mp4 files, same result in both cases ; the resolution, framerate and duration are wrong but the size of the file is good.
It could maybe work better with a newer version.
Thanks for your help. I decided to use Quicktime Pro in the end. I worked out that "Export" always recompresses (and looks horrible), but "Save As" will remux, as long as the streams are acceptable. If it won't remux it says it is going to save a really tiny file, like 10kb, and then it just doesn't do it. The closest to x264 defaults I could get it to remux was as follows. No B frames and no Weighted P frames, and I8x8 turned off by selecting the main profile:
program --profile main --crf 21.0 --bframes 0 --weightp 0 --output "output" "input"
I used Nero AAC-LC cbr 128k for the audio.
rtjnyoface
4th July 2011, 09:53
Alright. Been having this problem with the avisynth creator. It won't open d2v files. I have uninstalled the following programs: avisynth, ffdshow,helix yv12 decoder, megui, .net framework 2 and 4. These are the solutions that I've been able to find from all the old threads I could find related to this error. I feel just about done with megui. Is it possible that anyone knows what the heck is going on and willing to help me???
Win7
megui rev. 2028
edit: strangely I am able to open some files but not others. The files I'm using are similar in format but yet I can't open certain ones. It's very strange.
Music Fan
4th July 2011, 11:03
I never used avisynth creator, but to open d2v files with avisynth, one needs DGIndex and the "DGDecode.dll" file in the plugins directory of avisynth.
rtjnyoface
4th July 2011, 11:47
Never had to manually place it in there before... Even if I did put it in there why would I be able to open d2v files with the avisynth creator when I've been able to already? It seems odd that I can't open certain ones when they are very similar dvd's (sesame street). I've attached a picture of the error. Maybe it'll help.
edit: and just to let you know, I did put it in the folder just to give it a shot. It still didn't work.
The d2v project files must be generated by the DGIndex.exe of the same version (or "generation") as the DGDecode.dll the script uses for MPEG2Source.
Do you possibly have several different DGMPGDec packages on your PC (including the one in megui\tools)?
Furthermore, the indexed media files must not be moved after creating the project file, as it contains the full path from the drive letter.
rtjnyoface
4th July 2011, 19:36
Megui used whatever the latest updated versions there are (which is 1.58b). I do have different versions but the only other one was unzipped onto the desktop. I don't see how that could be an issue.
I know it shouldn't be moved. When I did move them I made sure to change the paths. Either way, I just went back and redid everything according to the way you had indicated. Used megui to create the indexed file (to make sure the same versions were used) and I didn't change the file location. Still the same error.
edelnar
5th July 2011, 08:31
Hello, for several monthes I can't create index for avi files (manual mode). When indexing is almost finished, I get these errors:
http://xmages.net/storage/10/1/0/a/f/upload/c2aec77e.jpg
http://xmages.net/storage/10/1/0/a/f/upload/2b8bcf1a.jpghttp://xmages.net/storage/10/1/0/a/f/upload/8de32731.jpg
Then, when MeGUI trying to open such index this error pops up:
http://xmages.net/storage/10/1/0/a/f/upload/297e303f.jpg
Where should I search for solution? Maybe someone encountered similar problems or knows exactly what to do?
Any help will be appreciated.
FFmpegSource is not always preferable for AVIs. Sometimes only AviSource works reliably. Probably related to the demultiplexer used by FFmpegSource.
rtjnyoface
6th July 2011, 10:47
Still having problems with the error that I mentioned in the posts above. Any other suggestions?
edelnar
6th July 2011, 15:04
FFmpegSource is not always preferable for AVIs. Sometimes only AviSource works reliably. Probably related to the demultiplexer used by FFmpegSource.How do I use AviSource with MeGUI then?
If there is no better way provided by the GUI ... then by loading a manually edited AviSynth script.
edelnar
7th July 2011, 09:53
Ok, thanks. So far the best way for me is to avoid indexing AVIs. Using just DSSource for creating AviSynth script works just fine. If there's no corrupted ffindex files nearby in working directory from previous unsuccessful tries, which MeGUI tends to load automatically.
Using DirectShowSource always has a risk of unexpectedly filtered video or not frame-exact decoding (1st pass differing from 2nd). That's quite a "desperate last chance" technology, if all native AviSynth sources did not work.
mrbonesSTL
18th July 2011, 21:57
So I'm trying to do the audio portion and I choose 'Create AVS Script Creator' and then I choose my .m2ts file and I get the option to use DirectShow, 1click, or File Indexer. I choose 'File indexer' but instead of it allowing me to create a d2v file or anything, I can only use the FFMSIdex option so I don't have a clue on how to do the editing or anything as when I try to load it, I don't see any video preview. How can I correct this?
http://lookpic.com/c1/i2/2775/aYPzvFi.jpeg
hello_hello
19th July 2011, 00:52
How do I use AviSource with MeGUI then?
Try creating a simple AVISynth script manually. Something like:
AVISource("D:\video.avi")
Then open MeGUI's AVS Script creator and use your manually created script as the source video.
Mind you I've encoded hundreds of videos using DirectShowSource (different GUI, different reasons) without any problem.
pancserzso
1st August 2011, 16:48
A very quick question:
What is the recommended settings for creating Quicktime MOV files? I would like to use x264 but I don't know anything else about the Quicktime format. Or if I cannot create MOV, can I create MP4 and mux it into MOV with some freeware utility?
der_andi
1st August 2011, 18:08
Hello,
I noticed some strange behaviour of MeGUI. Not until recently, opening a MKV inside the AviSynth Script Creator results in popping up this question: "please choose your prefered way to open this file". Screenshot:
http://img594.imageshack.us/img594/3774/screen0008.png
What is this?
I don't want to use the One-click encoder. Running FileIndexer fails, because there is "nothing to do" - according to log.
So I click DirectShowSource, because I always use DSS with MKV. Script creation works as usual. But the encoding of the video does not. Either x264 or vfw4x264.exe always crash a few minutes after the encoding process started.
What's going on? I use MeGUI 2028 (svn). Am I doing something wrong? My MKV contains a single stream, which is either h264/AVC or VC-1 - always was.
Advice will be highly appreciated.
Andi
Music Fan
1st August 2011, 19:47
A very quick question:
What is the recommended settings for creating Quicktime MOV files? I would like to use x264 but I don't know anything else about the Quicktime format. Or if I cannot create MOV, can I create MP4 and mux it into MOV with some freeware utility?
Look at this ;
http://forum.doom9.org/showthread.php?p=897301#post897301
and this ;
http://forum.doom9.org/showthread.php?p=1511208#post1511208
der_andi
2nd August 2011, 03:30
Me again. :)
I did some testing and without any specific reason I considered the source material (MKV with AVC stream; source is Blu ray "Avatar") as corrupted. Somehow. I re-ripped all the stuff, which took only half the time. Could be a coincidence.
Now, running the FileIndexer (with FFMSIndex as the only available option) works and took around 5 minutes. It produced a file namend avatar.mkv.ffindex. Loading this file into AviSynth Script Creator creates an AVS script, which uses the FFVideoSource plugin. Encoding seems to be working now. This conclusion is based on 15 minute encoding, because my reported crashs of x264 happened within 5 minutes. And it even seems to be working without a crash with the DirectShowSource plugin, I've been using so far. Maybe it was a bad rip, actually.
Anyway, can someone explain me the difference between FFVideoSource and DirectShowSource.
Is there any reason, why I should start indexing MKV files? I read some stuff here and there, but I didn't really get what's this all about.
Thanks,
Andi
hello_hello
2nd August 2011, 08:58
Anyway, can someone explain me the difference between FFVideoSource and DirectShowSource.
Is there any reason, why I should start indexing MKV files? I read some stuff here and there, but I didn't really get what's this all about.
My understanding of it is FFVideoSource should be frame accurate, whereas DirectShowSource... not so much.
Having said that, I've encoded around a billion AVIs using DirectShowSource with no problems at all (well at least not DirectShowSource related ones).
JoeH
3rd August 2011, 09:35
If you're just converting a video, DirectShowSource should be okay. If you need to make cuts you are safer off with FFVideoSource or some other equivalent frame accurate reader.
hello_hello
3rd August 2011, 12:09
So I'm trying to do the audio portion and I choose 'Create AVS Script Creator' and then I choose my .m2ts file and I get the option to use DirectShow, 1click, or File Indexer. I choose 'File indexer' but instead of it allowing me to create a d2v file or anything, I can only use the FFMSIdex option so I don't have a clue on how to do the editing or anything as when I try to load it, I don't see any video preview. How can I correct this?
I don't think you can open ffmsindex files directly, but after it's created the preview window should open normally. Maybe it's an m2ts problem as I don't think you should work with m2ts files directly. It's better to extract the video to an MKV file and the audio separately using MeGUI's HD Streams extractor.
I generally use it to extract the contents of the m2ts files directly from the disc. There doesn't seem much point to ripping the m2ts files to your PC and then having to extract the video/audio streams anyway.
LeXXuz
4th August 2011, 09:50
Can I use the One Click Encoder with a different indexer than DGIndexNV? I found no settings to change that and it always tries to generate a .dgi file wich fails since my Laptop has no nVidia based chipset.
My source is a Matroska container with MPEG2 video.
nikusor665
5th August 2011, 14:45
I think something's wrong with the latest build of megui core ... I couldnt encode a single file . I havent used the program for a long time so I updated everything, and I kept getting this "ffms cant create index " after what it looked like a job already done by the ffms indexer ... I changed the ffms version, ffmpeg, codecs, x264 , nothing worked, and eventually I just downgraded to the earlier version of megui core, and now it works.
Pulp Catalyst
7th August 2011, 00:04
i'm trying to run this avs script,
LoadPlugin("D:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
SetMemoryMax(512)
SetMTMode(5,3)
DGDecode_mpeg2source("E:\BDRebuilderTemp\VTS_01_1.d2v", info=3)
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
Load_Stdcall_Plugin("D:\Program Files\MeGUI\tools\yadifmod.dll")
Load_Stdcall_Plugin("D:\Program Files\MeGUI\tools\nnedi3.dll")
SetMTMode(2)
YadifMod(edeint=nnedi3())
crop( 10, 0, -10, 0)
#resize
#denoise
but i get avi script error "not an AviSynth 2 C plugin yadifmod.dll"
i'm trying to utilize yadifmod with nnedi3 for deinterlacing.
any help would be great as i'm not sure what to do,
Staxrip runs the following script fine-
LoadPlugin("D:\Program Files\StaxRip\Applications\DGMPGDec\DGDecode.dll")
SetMemoryMax(512)
SetMTMode(5,3)
MPEG2Source("F:\VIDEOTEMP\Staxrip\6\VTS_01_1 temp files\VTS_01_1.d2v")
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
SetMTMode(2)
YadifMod(edeint=nnedi3())
Crop(18,0,-14,-0)
so how come stax can run yadifmod but MEGUI can't, they both use AviSynth right?
EDIT
i replaced yadifmod with yadif and used
Yadif(tdeint=nnedi3())
and now it error's out with nnedi3.dll is not a c plugin....what gives?
djackerick
7th August 2011, 04:13
Today I switched computer and put everything on the same place as it was my old computer.
For some reason MeGui crashes when I open an MKV file or AVS file.
Both want to use the Haalli splitter and crash
If I open a D2V file made from VOBs MeGui works just fine.
Problem signature:
Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 1.0.2028.0
Application Timestamp: 4dd94812
Fault Module Name: StackHash_7651
Fault Module Version: 6.1.7600.16695
Fault Module Timestamp: 4cc7ab86
Exception Code: c0000374
Exception Offset: 000cea27
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1043
Additional Information 1: 7651
Additional Information 2: 7651fc95437d500b11e6985276c6405f
Additional Information 3: 27d1
Additional Information 4: 27d18a557ef30558f6eb0d971c1588b5
I has the same problem, but I've resolved downgrading from k-lite codec pack 7.5 to 7.1, now vdubmod and megui works fine
Eric B
7th August 2011, 23:45
It has been a long time I have not used MeGui anymore, so I need some refresh now that I upgraded my computer:
1) why do MeGui need administrator privilege? It is possible to move the settings out of C:\program files so that I can start it with a normal user under win7 x64?
2) I just tried the x64 vs x86 benchmark found here http://forum.doom9.org/showthread.php?t=144140&page=25 and got almost double perf in x64 compared to x86 with my new 2500k
I understood the stable meGui is still in x86 because of some missing avisyth filters. Still the case? Is there a meGui package with the avs2yuv tool using x264 x64 with avisynth x86?
3) what is the recommended avs generator resp settings for megui with .MOV file as input (HD material from my Canon 7D)?
Zathor
8th August 2011, 19:27
I think something's wrong with the latest build of megui core ... I couldnt encode a single file . I havent used the program for a long time so I updated everything, and I kept getting this "ffms cant create index "
Please post the full log.
1) why do MeGui need administrator privilege? It is possible to move the settings out of C:\program files so that I can start it with a normal user under win7 x64?
Move the MeGUI folder to a folder which is not protected by Windows Vista/7 (e.g. c:\MeGUI)
I understood the stable meGui is still in x86 because of some missing avisyth filters. Still the case?
Yes
Is there a meGui package with the avs2yuv tool using x264 x64 with avisynth x86?
64bit x64 will be used automatically.
mario87
9th August 2011, 09:51
Hello everyone :)
My English is not good so I hope you don't smile when I make some grammar mistakes :D
I have a question about mode Constant Quality of Megui. There's a parameter called 'CRF' which makes me confusing.
Can you explain it for me?
And how can I set the value of CRF to encode a video with these resolutions : 480p, 720p and 1080p to achieve excellent quality ?
because I see the recommended value is 23 and I wonder that's the optimal choice and for every resolutions or for only the specified resolution
Thank you very much :thanks:
hello_hello
9th August 2011, 23:09
The CRF value you'd use depends on the quality/file size ratio you're happy with. The lower the value, the better the quality and the greater the file size.
Personally, I use CRF19 for all 480p encodes and CRF20 for all 720p encodes because that gives me a quality and file size I'm happy with.
I don't generally encode at 1080p because to keep the file size down I'd end up using a CRF of 22 or 23 and I think a 720p CRF20 encode looks better.
It's all personal preference.
mario87
10th August 2011, 03:41
The CRF value you'd use depends on the quality/file size ratio you're happy with. The lower the value, the better the quality and the greater the file size.
Personally, I use CRF19 for all 480p encodes and CRF20 for all 720p encodes because that gives me a quality and file size I'm happy with.
I don't generally encode at 1080p because to keep the file size down I'd end up using a CRF of 22 or 23 and I think a 720p CRF20 encode looks better.
It's all personal preference.
Thank you very much :)
I'll try it
Iron Yuppie
10th August 2011, 06:35
I'm trying to analyse a 1080i avc file in MeGUI and keep getting this weird memory error, here:
http://i.imgur.com/ekwOg.png (http://imgur.com/ekwOg)
My 4Gb's of ram is fine, I've checked multiple times. I've never had this error before on dvd's ever, only with this file. I've even analysed 1080p avc's with hardcoded interlacing fine before. I suspect it might have something to do with the filesize, or maybe even the file itself.
Here is a mediainfo readout on the files stats if that is necessary.
http://i.imgur.com/PazN2.jpg (http://imgur.com/PazN2)
I can't figure it out, it happens every time after 5 or so seconds.
Should I post a segment for someone else to check out? What's the proper length someone would need for an interlaced file?
This problem occurs on both the latest stable release of MeGUI and the latest dev build, and I'm running the latest Shark007 x86 codecs on Win7.
Cheers.
Edit:
Here is a 70mb piece of the avc file in question. I'm not sure I split it properly, but could someone try this out on their PC to see if it works?
http://www.multiupload.com/ZHYV6FJO3R
mario87
11th August 2011, 18:19
So I have a small question
When I rip my video in CQ mode, I often realize that its bitrate decreases so the capacity of video also dereases too.
But with some MPEG-2 video, especially type 1080i => its bitrate increases :eek: and so that the capacity of them rises :eek: (I often choose value 18 of CRF to rip 1080i video)
Why is it???
And so with these types of video, how I should do to rip them?
Because my hard disk capacity is becoming low :rolleyes:
LigH
14th August 2011, 14:41
Do you encode interlaced video in interlaced encoder mode?
No question without complete command line or full MediaInfo report (depending on the topic). :rolleyes:
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.