Log in

View Full Version : MeGUI: General Questions and Troubleshooting Thread


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 [124] 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186

LigH
2nd May 2011, 07:48
Don't blame MeGUI, it is not the reason.

Blame your DirectShow system. Maybe blame yourself for installing a "Codec Pack" which ruined it.

DirectShowSource is the most unreliable way to open any media file, if there is an alternative native AviSynth source plugin available.

jmac698
3rd May 2011, 13:47
I'm wondering how to automate conversions with megui. I have to use a custom script because of cropping and anamorphic sizing. Then I have to add the audio step, and wait for them to finish, then add the muxing step, because I don't know what filenames it's going to end up with.
I wish there was someway to automate an anamorphic encode.
I have to use mpeg matrix, I find h263 looks awful. Doesn't anyone think so??

LigH
4th May 2011, 08:43
The H.263 quantization doesn't look worse "per se". I believe people encoding cartoons often prefer it because it may look less blocky in very low detail parts.

To encode anamorphically with the MeGUI, you need to have specific aspect ratio related variables included, as they appear when you generate a script with the "Clever Anamorphic" feature enabled in the AVS Script Creator.

Lighto
4th May 2011, 12:48
MeGUI crashes when I close the video player used to preview a .avs that includes QTGMC().


Problem signature:
Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 1.0.2009.0
Application Timestamp: 4db14c2d
Fault Module Name: mvtools2.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4d8653b7
Exception Code: c0000005
Exception Offset: 1015803b
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 18441
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt


Is this due to a broken avisynth filter or does the problem lies with the video player?
:thanks:

thegame
5th May 2011, 17:54
Does anyone know roughly how long it will be before MeGUI finally updates to the latest x264 build? program has been stuck at build 1924, and latest is build 1947.

Thanks

Zathor
5th May 2011, 17:59
Does anyone know roughly how long it will be before MeGUI finally updates to the latest x264 build? program has been stuck at build 1924, and latest is build 1947.

Thanks

Rule #11: you shall not cross post: :)
http://forum.doom9.org/showpost.php?p=1498477&postcount=2041

thegame
5th May 2011, 18:15
OK, sorry about that, I forgot to go back and delete it when I realized I posted in the wrong thread.

Zathor
5th May 2011, 22:39
That's no problem at all. I have answered your other posting.

bazz
7th May 2011, 11:02
i commented a while ago about MeGUI trouble with mp3 CBR above 128kbps only given 128kbps.
it stopped for a little while now its happening again , VBR -no problems
CBR under 128kbps -no problems but if i try to encode 144 kbps or above i only end up with 128kbps
how can i debug this for you sharktooth mate
the logs dont show the problem?

forum king
7th May 2011, 18:38
Don't blame MeGUI, it is not the reason.

Blame your DirectShow system. Maybe blame yourself for installing a "Codec Pack" which ruined it.

DirectShowSource is the most unreliable way to open any media file, if there is an alternative native AviSynth source plugin available.
i am sorry mate ,
could you please elaborate what i should actually do , if you dont mind.
all i have done is install avisynth
klite
megui
and things have been working great , this issue of random stoppage and error in starting jobs has started from past 10 days only.

rergards

Zathor
8th May 2011, 01:37
You can try it without DirectShowSource if possible with the file indexer tool.

tebasuna51
8th May 2011, 09:40
i commented a while ago about MeGUI trouble with mp3 CBR above 128kbps only given 128kbps.
CBR under 128kbps -no problems but if i try to encode 144 kbps or above i only end up with 128kbps...?
144 kbps is not allowed.
You can use only this discrete bitrates (kbps):
32 40 48 56 64 80 96 112 128 160 192 224 256 320

Zathor
8th May 2011, 17:03
Thanks, changed it.

forum king
8th May 2011, 20:22
You can try it without DirectShowSource if possible with the file indexer tool.
could u pl explain mate ,
all i do atm , is just make a simple script with megui
which has avisource , in line 1 for avi sources
and directshowsource in line one for mkv sources

how can i avoid using directshow.
regards

Zathor
8th May 2011, 21:36
MeGUI crashes when I close the video player used to preview a .avs that includes QTGMC().

Problem signature:
Fault Module Name: mvtools2.dll_unloaded


Is this due to a broken avisynth filter or does the problem lies with the video player?
I assume it is the filter.

how can i avoid using directshow
Open "Tools\File Indexer", select your input file and click on "Queue". Process the job and the Avisynth Script Creator will open without DirectShowSource - save the script. Give it a try :)

Poutnik
20th May 2011, 06:39
Is it normal, that MeGUI ( 2008 SVN ) has 160 threads and working set/private bytes 528/638 MB, being idle ?

With above memory characteristics
I had 1 SD AVS ( with FFT3DGPU ) encoding to mp4/h264/aac in progress, and the 2nd in waiting.
vfw4x264 had 299/479 MB, x264_64 had 106/120 MB.

I used 2 workers, the 2nd one for audio only.
For both WAV to M4A encoding was already done.

Edit:After the first encoding finished and the 2nd started, there was 168 threads and 541/650 MBs.
Is possible threads are not going to get closed while MeGUI is used for serie of encodings,
causing memory leaks ?

I mention it as MeGUI crashed for me recently 1-2 time at next encoding preparation for some memory reasons,
while other encoding was in progress ( not remember exact error )
Note that once I noticed at crashing either working set or private bytes near 1.5-1.6 GB.

Note that I use stable updates only settings.

I have Vista64 HPremium SP2, 6 GB RAM, used both MeGUI and Avisynth 32bit.

LoRd_MuldeR
20th May 2011, 17:16
Keep in mind that MeGUI is a .NET application. So the process has to load the .NET runtime/libraries and stuff, which will certainly occupy more memory than a plain C/C++ application. Also .NET, just like Java, uses Garbage Collection, which means that the program doesn't explicitly free any memory. The runtime cleans unreferenced objects from the memory when it thinks that it is time to free some memory...

Poutnik
21st May 2011, 08:20
I see, being aware MeGUI is .NET application.
Not being expert in the topic, I would say closing threads is not part of garbage collection, but I can be wrong.

I cannot help myself, 169 threads seems suspicious to me even for .NET, especially if seems to be increasing in time, together with memory.

After start, my MeGUI has 6 threads. and 25/37 MB memory footprint.
I have started another encoding with the same parameters as previous ones.
MeGUI has now about 60 threads and 200 memory footprint.
they does not seem to get released when finished, rather increase slightly.

Looks like, over the time,
either MeGUI forgets to close threads from done jobs/activities and .NET garbage collection waits to MeGUI to close them.
either all stuff is matter of GC itself and GC "forgets to work", having good opportunity with MeGUI idle for long time.

Groucho2004
21st May 2011, 11:39
You might want to check out Process Explorer (http://technet.microsoft.com/en-gb/sysinternals/bb896653).

Poutnik
21st May 2011, 18:39
thank you for the tip, but I use PE all the time.
It was PE what provided me thread numbers, Working set and Private bytes.

MeGUI after 4 encoding, being idle with jobs finished and cleared from list
ended with near 230 threads, 600 MB Working set and 750 MB Private bytes.

I may have a look at MeGUI developer versions, if they have the same issue.

goldensun87
21st May 2011, 19:10
I've been encoding movies to H.264 for a while now, but I was wondering, what is the minimum bits/pixel ratio at which H.264 retains most of the original quality of the DVD video?

nurbs
21st May 2011, 20:04
There is no answer to that. The number of bit/pixel you need depends on your settings and the video.

LoRd_MuldeR
22nd May 2011, 00:20
I've been encoding movies to H.264 for a while now, but I was wondering, what is the minimum bits/pixel ratio at which H.264 retains most of the original quality of the DVD video?

The "bits per pixel" ratio is not useful as a quality predictor, because it completely leaves out the "complexity" (or "compressibility") of the individual source video.

Instead of relying on dubious bits/pixel ratios you might read somewhere, you should better use x264's excellent CRF mode. Something like CRF=18 will certainly retain good quality.

You can then successively increase the CRF value in order to find the maximum CRF value that still retains "acceptable" quality for your eyes...

AiDz0r
22nd May 2011, 05:15
Where exactly can i get the Latest MeGUI with the latest x264 CLI, that supports Windows 7 x64 bit. When i search, I see too many links here and there, I'm afraid i'm going to get an outdated version.

edit: I found x264 in videolan.org, x264.nl (with 3 options of different type), Mencoder and on MeGUI ftp. Which version is the most stable/updated for MeGUI and that is completable with 64 bit. Thanks.

LoRd_MuldeR
22nd May 2011, 11:31
Where exactly can i get the Latest MeGUI with the latest x264 CLI, that supports Windows 7 x64 bit. When i search, I see too many links here and there, I'm afraid i'm going to get an outdated version.

You can download MeGUI on the official web-site:
http://sourceforge.net/projects/megui/files/megui-stable/

It will run on any Windows version, as long as a suitable version of the .NET Framework is installed. And you shouldn't need to update any of the CLI tools manually, as MeGUI has an auto-update wizard. You can switch between "stable" and "development" updates in the MeGUI settings - whatever you prefer. Last but not least you can enable "64-Bit mode" for x264 in the MeGUI settings too...

Rat Killer
27th May 2011, 22:43
Can anyone tell me what real difference I am supposed to see between using these two methods for indexing and frameserving? I see about a 3% faster encode for dgindexnv but really cannot tell any difference in the end result.

Is it really all about that 3%?

Lately my dgindexnv install is having licence issues which I really do not understand, some days it works, some it reports invalid licence with no change in the machine other than the laptop's physical location and network address. If I only give up 3% to forget about it....well it was not that expensive.

Lyle_JP
27th May 2011, 23:54
Can anyone tell me what real difference I am supposed to see between using these two methods for indexing and frameserving? I see about a 3% faster encode for dgindexnv but really cannot tell any difference in the end result.

Is it really all about that 3%?

Lately my dgindexnv install is having licence issues which I really do not understand, some days it works, some it reports invalid licence with no change in the machine other than the laptop's physical location and network address. If I only give up 3% to forget about it....well it was not that expensive.

DGIndexNV can handle interlaced VC-1. I don't know if FFMSindex can. So DGIndexNV is useful to keep. Drop a line to Neuron2 if you're having technical issues.

LigH
29th May 2011, 07:05
All released decoders should be working exact enough to reproduce content bit-exact as the reference decoder does, no matter which speed enhancement tricks they use (SIMD or hardware chipsets).

I remember the times of FlasK / Xmpeg when some of the many iDCT functions for the MPEG2 decoder they contained tried to favour speed over accuracy, and they contained test units to compare an iDCT plugin with the reference and report possible differences, even though they may have been as little as at most one bit in many cases – but some failed even visibly for one or another macroblock.

Well, the iDCT was not even the smallest bottleneck in the whole MPEG2 decoding algorithm, and decoding MPEG4-AVC or VC-1 is even a whole different magnitude.

pancserzso
1st June 2011, 16:20
What is the recommended h264 setting or profile for Youtube?

I am trying to upload a video to Youtube in 1080p and I was using the DXVA profile, but it produces stuttering playback in Youtube! So maybe DXVA not the good profile for it. But then what is the recommended one?

Floatingshed
2nd June 2011, 13:59
MeGUI reports an error if any items in the avs script are located on network drives if that drive has not recently been accessed by another application! What's going on there?

Alex_080
3rd June 2011, 08:21
hi Friends
I new to megui. I want to know is it possible to encode a particular portion of a video..mean i want to encode first 15min from 20min video.
Please help.

Lighto
3rd June 2011, 13:21
hi Friends
I new to megui. I want to know is it possible to encode a particular portion of a video..mean i want to encode first 15min from 20min video.
Please help.

Use AVS Cutter.
http://www.digital-digest.com/articles/MeGUI_H.264_Conversion_Guide_page7.html

Alex_080
3rd June 2011, 16:36
Use AVS Cutter.
http://www.digital-digest.com/articles/MeGUI_H.264_Conversion_Guide_page7.html
thanks bro. :)

bazz
6th June 2011, 00:05
ive just updated my MeGUI to 2028, when opening a 720p mkv file
with AVS script creator it now ask which way i want to open the file?
oneclick encoder(i dont like) fileindexer or directshowsource
which one is the better to use on an mkv?

thanks

AMED
6th June 2011, 00:06
Use the file indexer.

rapscallion
6th June 2011, 22:58
Just curious. If I demux the VC-1 /MP2 video stream, from an early BD, and then re encode the resulting *.m2ts stream w/Megui (using same or higher br as original) will the resulting x264 AVC/MP4 be of higher quality that the original VC-1 ? Logically I would think so, however.....

AMED
6th June 2011, 23:06
the quality will be worse since your using lossy encoding. but i suppose it all depends if your eyes can pick up on it.

rapscallion
6th June 2011, 23:28
Thanks Amed...wishful thinking on my part :)

LigH
7th June 2011, 08:27
There is usually a difference between "objective quality" (what can be measured or calculated by a computer) and "subjective quality" (what is recognised by a human).

Regarding objective quality, any kind of difference to the original video is defined as quality loss.

Regarding subjective quality, this different result may look more or less annoying to one viewer or another.

"A matter of taste" can't be calculated a priori. "ABX tests" may collect statistics about a number of viewers, but their relevance depends on the selection of test persons. Technical metrics may be similar, but hardly close to a subjective "feeling of quality".

pereant
8th June 2011, 11:19
Hi everyone,

I'm running the latest megui on windows xp, Intel Core 2 Duo Mobile T7200 and very impressed so far.

Since i am trying to rip a mostly very grainy and partially interlaced source, and the mind boggles at how to get good results on this, i was wondering if i could use different (better) filters than the ones the avisynth plugin already offers.
On my search i stumbled upon QTGMC (http://forum.doom9.org/showthread.php?t=156028) and i was also wondering if i could use this inside the avisynth plugin of megui. Is that possible and how to without messing it all up?
Secondly, it says it works better with the MT version of Avisynth. Is it possible to manually upgrade the avisynth plugin for Multithreading support?

Thanks in advance - i'm having much time on my hands ;)

LigH
8th June 2011, 11:57
Your opinion makes me confused ... AviSynth plugin? MeGUI is just a user interface to create an AviSynth script. The AviSynth frameserver is the engine the conversion is based on, MeGUI is just a tool to hande it easier.

Of course you can use TGMC or QTGMC in the AviSynth script MeGUI creates and uses to deliver the decoded video filtered to the encoder. At least if you edit its import and call manually into the script source. I am not sure if that can be simplified via the GUI, don't know MeGUI at such a level of detail...

pereant
8th June 2011, 12:07
Thanks for the explanation! The fog has lifted. i will give it a try.

:)

Groucho2004
8th June 2011, 12:14
Secondly, it says it works better with the MT version of Avisynth.

I highly doubt that this wording is used. Using a MT version of Avisynth will run it faster on a multi core CPU.

However, the MT hack of Avisynth (no offense to the guys who developed it) is rather buggy.

Also, MT or not, you will probably be very unhappy with QTGMC's speed on your T7200.

pereant
8th June 2011, 12:49
Also, MT or not, you will probably be very unhappy with QTGMC's speed on your T7200.

Can you recommend a different deinterlacer than QTGMC that would suit my cpu?

My issue is that the film source is, firstly, horrible grainy and i cannot compress it to a reasonable size without getting a completely blurred video.
Secondly, it is partially interlaced and the yadif method did not work on some parts of the film. Apart from that yadif worked best.

Cheers Groucho

Groucho2004
8th June 2011, 13:02
Can you recommend a different deinterlacer than QTGMC that would suit my cpu?

My issue is that the film source is, firstly, horrible grainy and i cannot compress it to a reasonable size without getting a completely blurred video.
Secondly, it is partially interlaced and the yadif method did not work on some parts of the film. Apart from that yadif worked best.

Cheers Groucho

I don't have much experience with de-interlacers because I usually deal with progressive material.

Your best bet to get some good advice for your source is to post a sample clip in the Avisynth Usage forum and describe the issues you have.

MrVideo
8th June 2011, 13:13
Secondly, it is partially interlaced and the yadif method did not work on some parts of the film. Apart from that yadif worked best.

What is the source of the video and what are the dimensions of the video? What is the frame rate?

I ask because professionally produced videos for DVD cannot be partially interlaced and partially progressive. It is one or the other.

There can be situations, more so with 25 fps sources, where there is true video source, which is interlaced, so motion results in different video content in each field, along with film that was transferred to 25 fps video. When film is transferred to 25 fps video, it looks as if it were progressive when you do a still frame, because the same film frame is scanned for both interlaced fields.

It doesn't work out that well with 29.97 sourced video. When film is transferred, to video, the 2:3 pulldown makes it look like there are three progressive frames, followed by two interlaced frames, when in fact all of the frames are interlaced.

So, to have someone on this thread to be able to help, it would nice to know exactly what you have.

IMHO, it is never good to deinterlace, unless the device that you are recoding the video for requires progressive video. Otherwise, if it is for video playback on a computer, best to leave the interlacing alone. Why? Because deinterlacing reduces spatial, i.e., time, information.

If someone is running across the screen and it takes five seconds to do that, at 59.94 fields/sec, there would be 300 images of the runner moving across the screen. Deinterlace and you reduce the spatial time to 150 images of the runner.

Sure, there are supposed to be methods to try and reduce spatial loss, but unless there is an absolute reason for doing so, I'm a firm believer in leaving interlaced video as interlaced video.

The exception, sortof, is when 29.97 video is reverse telecined to 23.976. In that case, the result is progressive video, but deinterlacing is not used to achieve the result.

Sorry about the long winded posting.

pereant
8th June 2011, 15:01
Sorry about the long winded posting.
How could you worry?! Your opinion is very much appreciated!

The source is a "semi" professional DVD ;)

Format : MPEG Video
Format version : Version 2
Duration : 1h 8mn
Bit rate mode : Variable
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC

in terms of your statement about to not de-interlace the film, i have to admit, i never thought about that. I would prefer progressive if the result is comparable to the source otherwise ...
so, If i would leave it like it is, i humbly dare to ask: wouldn't the film be more detailed and the compressibility might suffer from it?

On a second thought, the latter is a moot question.

LigH
8th June 2011, 15:58
Yadif is a quite fast but not very smart deinterlacer, it may fail and introduce fake textures.

TDeint is one of the smarter deinterlacers with a good speed, not perfect, but a bit safer than Yadif.

If you have NTSC, always check first if it is 3:2 Pulldown = Telecine instead of interlacing; in that case, IVTC can make it progressive (more or less) losslessly. PAL does not use 3:2 Pulldown.

pereant
8th June 2011, 16:03
Your best bet to get some good advice for your source is to post a sample clip in the Avisynth Usage forum and describe the issues you have.

Overlooked your reply. Good advice.

Thanks

pancserzso
8th June 2011, 19:13
Can someone help me with this ImageSource issue? Whenever I use ImageSource in an AVS file, no MeGUI version opens it after 1911! Can someone help me? I have Avisynth 2.58 installed and I use Windows 7 64-bit.