View Full Version : MeGUI: General Questions and Troubleshooting Thread
shae
3rd August 2017, 15:20
Thanks.
Is there a reason to force 24-bit?
Would it be better to remove --ignorelength and pass the full WAV headers (if possible)?
HOB
3rd August 2017, 16:26
Is there a place where I can download the latest version of MeGUI in a zip format, version 2768, NOT the stable version? If I have problems in the future being able to download the complete UPDATED program might prove useful.
StainlessS
3rd August 2017, 17:02
I doubt that there is a zip of development version, why not just zip up what you've got now ?
HOB
3rd August 2017, 17:09
StainlessS
I mentioned above that the problem I had updating from 2767 to 2768 seemed to be related to the WORKING folder of MeGUI that I was using as I WAS able to update to 2768 from a BU folder I had. It occured to me that having access to a COMPLETE undamaged ZIP file of the "beta" versions might prove useful if I were to have a similar problem in the future. Of course you can download the STABLE version from many sources but it would be nice to be able to download the "beta" versions as well....just a thought. Thanks for your reply.
StainlessS
3rd August 2017, 17:33
OK, but here something I've already written and so post anyway.
I have a "C:\NON-INSTALL" folder on C: drive (WXP32, perhaps better elsewhere on W7+).
In this folder I have ~200 directories containing non install software (eg DebugView,
Avisynth Docs in compressed searchable *.CHM format, AviSynthesizer_Mod, MeGUI, MeGUI_AutoEncode_Batcher, etc).
I also have folder, "C:\Documents and Settings\All Users\Start Menu\Programs\NON-INSTALL",
which I set up to contain shortcuts (some with assigned HOT-KEYS, eg CTRL/ALT/G for
MeGUI Development, and CTRL/ALT/SHIFT/G for MeGUI stable).
When propely set up and happy, I then copy the shortcut folder to
"C:\NON-INSTALL\__NON-INSTALL SHORTCUTS\NON-INSTALL".
After having done so, I then 7Zip the whole lot, and archive it somewhere, just checked,
currently 684MB, ~2GB when decompressed.
If I do a new machine setup, just a matter of copying the 7z to install location (C:\), and de-zip,
then copy folder "NON-INSTALL\__NON-INSTALL SHORTCUTS\NON-INSTALL" to original location, do a reboot
to get all of the shortcuts working, and Bobs your aunt Fanny, 200+ utilities all set up at once.
You do have to remember to update your archive every now and then, but after that it easy.
After MEGUI update is good time to update, or after adding utils or shortcuts, just needs 5 mins to 7zip it,
then copy to archive location.
I also have two additional worker machines (P4's), which I can easily set up the same 200+ utils
in a couple of minutes each, complete with updates of eg MeGUI devs + standard (both are offline
machines).
I know W7 is a little more restrictive than XP, but I'm sure that you could figure out a way to
get similar to above working.
Dont know what I would do without it.
EDIT: The double underscore "__" of "__NON-INSTALL SHORTCUTS" sorts that directory at top of the dir list,
easier to find amongst 200 directories.
EDIT: Here a site with a whole bundle of good utilities to start you off, NirSoft:- http://www.nirsoft.net/
WARNING, you are likely to get AntiVirus warnings about Pups (Potentially Unwanted Programs), or some other
warnings, for a number of utils on this site, If you download programs to show your various Passwords etc, then dont be
surprised about the warnings, you should only be surprised if they got onto your machine via some other means.
This site is the source of the brilliant USBDeView util, used and recommended by many including M$.
System Internals (M$):- https://docs.microsoft.com/en-us/sysinternals/
Source for DeBugview + many other M$ utils. [EDIT: I think M$ bought out SysInternals so they could make
some of the NTFS read/write utilities disappear].
Some good stuff on this site too, (but cant offhand remember what I use from it, MiTec):- http://www.mitec.cz/
EDIT: Amongst others, I use the DirList and System Info programs.
TestDisk (Probably the most accomplished drive recovery software, but needs patience and care, also you DO NEED to read
docs [DOS box style interface with menu, no GUI]):- http://www.cgsecurity.org/wiki/TestDisk
https://en.wikipedia.org/wiki/TestDisk
EDIT: Cant remember offhand how, but TestDisk allows you to make an image of a drive/partition onto another bigger drive, and you
can do as forensic type software does to fix the IMAGE partition/recover data without chance of causing further damage. Then, if you do screw up,
you will always get another chance to screw up again, after reading the docs :)
PhotoRec, same people as TestDisk, but easier to use (GUI, no longer limited to recovery of just photos).
http://www.cgsecurity.org/wiki/PhotoRec
https://en.wikipedia.org/wiki/PhotoRec
With many programs, you can make non-install version by making a copy of folder and uninstalling.
Then delete uninstall type stuff from copy, test it out. Best to do original install to store config settings in current directory
if given the option.
Those described as Portable Apps, are likely to run well from NON-INSTALL setup.
tebasuna51
3rd August 2017, 22:53
Is there a reason to force 24-bit?
I say "for instance" because I don't know the input.avs.
Inside AviSynth you can have 8,16,24,32 bit int and 32 bit float.
Select the proper one (if admited by the encoder).
If your source is lossless the decoders suply 16 or 24 bit int normally.
(use 16-bit if you know the source is 16)
If your source is lossy decoders suply 32 bits float samples, you can use float or convert to 24 bit int with the same precission and less size.
Would it be better to remove --ignorelength and pass the full WAV headers (if possible)?
The WAV header can be wrong if data to send is greater than 4 GB (2 fields in header with only 32 bits can't put the correct size if > 4GB), only if you know than data is < 4 GB you can remove the --ignorelength parameter.
BTW if size is < 4GB and exist --ignorelength parameter all work fine also, then use --ignorelength always when you use pipe.
Here, AviSynth, know the full size of data to transfer and can put the correct value (if < 4GB) in wav header.
But other soft, for instance a decoder, don't know the full size until finish, and can't put the correct value in header in the beginning, then always need the --ignorelength even with data < 4 GB using pipe.
HOB
4th August 2017, 16:47
Hello StainlessS
Incredible post!...thank you so much for the feedback, I've got a lot of reading to do.
Take Care
shae
5th August 2017, 16:50
tebasuna51: Thanks.
Sci-Fi-Fan
20th August 2017, 13:10
Hello All
I have A question regarding MegUI.
Basicly My normal encoding prodess is...
index m2ts file
Re encode audio
open dgi with avisynth creator, apply filters, save
open bitrate calculator, input audio, select filesize, bitrate ect, save and queue.
start ancoding...
MegUI will then encode the video to hevc / .x256 and then mux the video into an mkv file.
Once completed I the remux the mkv file with the audio file to complete the encode.
Is it possible for MegUi to mux the audio at the same time as the hevc file after encoding and save me having to manually mux the audio / video at the end of the encoding?
This would save a lot of time when i run batches of 20+ encodes.
Thanks
Zathor
20th August 2017, 15:34
Have you already tried OneClick if it fits your use case?
Sci-Fi-Fan
20th August 2017, 21:48
Many years ago, tho i do prefer the more manual control side of MegUi, Rather than a fully automated process.
hello_hello
21st August 2017, 04:09
Sci-Fi-Fan,
Try AutoEncode. It can be used for specifying a file size/bitrate and MeGUI will calculate the required video bitrate (the video bitrate will be the specified file size/bitrate minus the audio bitrate minus a little over-head) and if you have the encoder configured for CRF encoding it'll automatically switch to two pass encoding if you specify a file size, or AutoEncode can be used for muxing after encoding with your existing encoder settings.
If you're adding existing audio rather than re-encoding it, click the "X" button in the audio section to clear it if need be before using AutoEncode.
I assume the above works the same way for x265 encoding as it does for x264. I don't use x265 myself.
You could create your scripts for video encoding with the script creator and they can be used as the video input for the OneClick encoder, so it can do the muxing too. Under it's advanced settings you can specify a file size. I assume it calculates the bitrate and switches to 2 pass encoding as required much like AutoEncode, but I don't use OneClick much myself.
LouieChuckyMerry
26th August 2017, 20:05
Hello and Happy Saturday! I've two Lenovo T430 ThinkPads running Windows 7 Home Premium 64 bit; their only differences are the older one has an i5 processor with 8GB of RAM while the newer one has an i7 processor with 16GB of RAM. They both have portable MeGUI, up-to-date from the developmental server, and installed AviSynth 2.6.0.5. For several years I've happily (Thanks Zathor :thanks: ) used MeGUI to encode audio and video on both machines with zero issues (other than ones I've created myself, ha ha). Recently, however, the older laptop has taken to beginning any job queue with multiple tasks in parallel when I click "Start"; that is, regardless of them being audio or video jobs, SD or HD, any queue with more than a single job automatically processes the queue two jobs at a time when the "Owner" column is blank. Oddly, if I send the queue to "Worker 1" or "Worker 2" it processes the jobs one at a time and in order. Does anybody have any idea(s) why this is happening? This behavior began about a month ago, but I didn't really take notice until now because I typically click "Start" last thing before I crawl into bed and usually the jobs are finished by the time I wake up; it just so happens that this morning I woke up to multiple jobs running simultaneously, which reminded me of a multiple audio job I began about a month ago that ran in parallel (I didn't really pay attention at the time). The newer laptop isn't acting this way and I've compared the MeGUI settings on both laptops and there's no difference that I see. Thanks in advance for any help.
sneaker_ger
26th August 2017, 20:24
So you want only one worker? Go Worker>Worker 2>Worker>Delete worker now
Zathor
26th August 2017, 21:25
LouieChuckyMerry: You mentioned it already - portable MeGUI. Please copy your folder to the other machine and try it out there. The one from sneaker_ger will also help if you need not more than one worker.
LouieChuckyMerry
26th August 2017, 23:35
So you want only one worker? Go Worker>Worker 2>Worker>Delete worker now
LouieChuckyMerry: You mentioned it already - portable MeGUI. Please copy your folder to the other machine and try it out there. The one from sneaker_ger will also help if you need not more than one worker.
Thank you both for your replies :) . At some time recently I must've unknowingly added a worker to the old laptop, because the new laptop only has "Worker 1" while the old laptop has "Worker 1" and "Worker 2". Unfortunately, I'm not finding a way to delete "Worker 2" from the list. I've tried with no jobs running and with two jobs running but the "Delete" button does nothing.
hello_hello
27th August 2017, 12:20
Workers/Worker Summary, and when the window opens, right click somewhere over the second worker and select "delete worker now".
Or...
Workers/Workers, and select the worker you want to delete. When it opens, the Worker menu at the top has a delete option.
tebasuna51
27th August 2017, 12:35
I have a report from a spanish user related with a MeGUI crash using VSfilter.
The same problem tested with a fresh install of last development version.
The attached log (cleaned of some test of other sources) was after a fresh install of stable version.
The script is simple:
LoadPlugin("D:\Downloads\MGUI32-SFT\MGUI32-SFT\tools\lsmash\LSMASHSource.dll")
LWLibavVideoSource("D:\Test.mkv")
LoadPlugin("D:\Downloads\MGUI32-SFT\MGUI32-SFT\tools\avisynth_plugin\VSFilter.dll")
TextSub("D:\Test.srt", 1)
And the OS error message:
Nombre del evento de problema: BEX (Buffer Overflow Exception)
Nombre de la aplicación: avs4x26x.exe
Nombre del módulo con errores: VSFilter.dll
Código de excepción: c0000417
...
But sometimes work fine, even with same input files.
Like you can see in the log the job4 (x264 pass 1) work at second attempt, and the job5 (x264 pass 2) work at fourth attempt.
To do the attempts the user only change the job status to 'waiting' and then retry.
Is a know problem?
I can't reproduce it.
LouieChuckyMerry
27th August 2017, 18:09
Workers/Worker Summary, and when the window opens, right click somewhere over the second worker and select "delete worker now".
Seems I was right-clicking in all the wrong places...
Workers/Workers, and select the worker you want to delete. When it opens, the Worker menu at the top has a delete option.
And not hovering my cursor in all the right places (although "Worker" and "Progress Window" don't really look like menu options).
Thanks, hello_hello, for teaching me more tricks :) .
Zathor
27th August 2017, 18:44
Do not worry, those settings will be gone "soon" together with the worker rework.
HOB
16th September 2017, 16:37
Would anyone know if the "Mplayer eq2" plugin is a available for avisynth/MeGUI?
Danette
26th September 2017, 21:08
In the settings, I have the "Default Priority" set to "Normal." However, when I run batches of files using One-Click and adding folders, the priority changes to "Above Normal" automatically at some point after several files have been processed. How do I get my setting of "Normal" to stick through all processing?
Zathor
30th September 2017, 18:24
Sorry, I cannot reproduce that. It only changes priority if you change it in a job - then it will apply also for all other jobs which are processed - or based on the settings.
LigH
1st October 2017, 14:20
New release: MKVToolnix 16.0.0 "Protest"
Zathor
3rd October 2017, 10:44
Thx, updated
LouieChuckyMerry
14th October 2017, 19:56
Happy Saturday :) ! MKVToolNix 17.0.0, "Be Ur Friend", released.
Edit: Next time I'll update MeGUI first...
Zathor
15th October 2017, 19:20
Happy Sunday :thanks: nevertheless!
tppytel
23rd October 2017, 00:17
Is there any way to get MeGUI's Chapter Creator or any other tool to read in a chapter file and output a qpf file via a command line interface?
tebasuna51
23rd October 2017, 22:29
Is there any way to get MeGUI's Chapter Creator or any other tool to read in a chapter file and output a qpf file via a command line interface?
Try the attached ogm2qpf.exe
But need put the fps of video (unknow inside the chapter ogm file).
Usage: ogm2cpf <int_fps> <OGM_file>
fps 23 means 24000/1001, 29 30000/1001, ...
For instance:
ogm2cpf 23 ogm.txt
tppytel
23rd October 2017, 22:42
Try the attached ogm2qpf.exe
Thanks for that!
I notice that compared to MeGUI's Chapter Creator, it writes the frame numbers followed by "I" instead of "K". But if I understand the docs correctly, this will be equivalent unless you're using Open-GOP in x264, which isn't enabled by default anyway. Is that correct? It also doesn't write a line for the zero frame, but that will necessarily be an I-frame anyway, so that doesn't matter.
Assuming the I/K thing works either way as I suspect, this is perfect. Saves me the trouble of writing a perl script to parse the chapter file and do the frame arithmetic. Thanks!
tppytel
23rd October 2017, 23:33
Also, the actual file is named "ogm2cpf", not "ogm2qpf". Just a typo?
tebasuna51
24th October 2017, 09:53
Damm! Yes, is a typo in the name than you can change, the file created is .qpf
About the I or K, I followed the format generated by BD3D2MK3D but is easy to change if you want K.
loninappleton
12th November 2017, 22:37
This is a long thread but seems like the place to go for MEGUI questions.
I have been trying to learn it for a long time with various guides.
How can I understand the Queue screen? I made what I thought was a good AVI Synth script. Then ran Auto Encode.
On the Queue screen it says it's "waiting" for something. What is it waiting for?
I should say that elsewhere I have made an AVI Synth script, loaded that and the video file into Virtual Dub. That involves an AVI conversion step which blows up into a huge file.
For now, just say what the 'waiting' message is waiting for.
Other note is I recently did the MeGui Update.
LigH
12th November 2017, 22:44
It's waiting for you to start the queue.
I guess you did not check a box to immediately start when you queued the task.
iNViSiBiLiTY
16th November 2017, 19:31
Was the option to extract dts audio as ac3 removed from the HD Streams Extractor? Because if I switch back to the previous version of MeGUI (2715) it's there.
2715:
16129
2774:
16130
I'm guessing those options were moved somewhere? Because the changelog says something about options being added, not removed.
EDiT: Nevermind, lol, it took me to compare the two screenshots before I could spot the 'Settings' menu at the top. What an idiot. xD
Zathor
16th November 2017, 20:00
:)
The point is DTS to AC3 is not an extraction it it is an encoding.
raymondjpg
18th November 2017, 23:59
Lately I have been getting a number of errors encoding HEVC. The error is repeatable on certain files and reads "avs4x26x.exe has stopped working".
The Problem Signature is as follows:
Problem signature:
Problem Event Name: APPCRASH
Application Name: avs4x26x.exe
Application Version: 0.0.0.0
Application Timestamp: 02bbc7b0
Fault Module Name: LSMASHSource.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 58af9c85
Exception Code: c0000005
Exception Offset: 000f1abd
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 3081
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Can anyone point me to a solution for this? TIA.
LigH
19th November 2017, 00:07
Repeatable in the same files, at the same positions each time? ... Data errors in the source files? A different video decoder might work. Or not.
Ma
19th November 2017, 00:58
Can anyone point me to a solution for this? TIA.
You can try to use FFMSIndex on this file instead of L-SMASH Works.
raymondjpg
19th November 2017, 01:07
Repeatable in the same files, at the same positions each time? ... Data errors in the source files? A different video decoder might work. Or not.
Repeatable in the same files with what looks like the same positions each time. Handbrake can encode the files, but not as well as MeGUI IMO.
I think that there are errors in the source files and that the source of the errors may be VideoReDo TVSuite V5 which I use to edit advertisements out of TV captures. Encoding an unedited file with MeGUI gives no errors. After editing, I see the avs4x26x.exe errors in some (not all) of the edited files.
I have found a workaround. After muxing the edited TS files into MKVs with MKVToolNix GUI, then running the outputted MKVs through VideoReDo's QuickStream Fix appears to fix the problem. SRTs have to be remuxed into the Fixed files. I haven't tested this on all problem files yet.
raymondjpg
19th November 2017, 02:12
You can try to use FFMSIndex on this file instead of L-SMASH Works.
Thanks. Using FFMSIndex allows encoding of the problem videos with x265 without errors. Is there a way to automate this in One-Click?
Ma
19th November 2017, 03:44
You can try 'One Click Encoder' -> Config -> tab 'Other' -> in 'Indexer / Opener Priority' select FFMS and click '+' to move it up before LSMASH.
raymondjpg
19th November 2017, 05:05
You can try 'One Click Encoder' -> Config -> tab 'Other' -> in 'Indexer / Opener Priority' select FFMS and click '+' to move it up before LSMASH.
Thank you! Changing the priority of indexer using the 'Other' tab has done the trick.
It couldn't have been more obvious if I'd tried looking a little harder.
raymondjpg
26th November 2017, 09:40
One other question. When I open the AVS Script Creator from the Tools menu the only option available to me is Video Input. I cannot select any filters as the options are all greyed out. When I input a Video, the only options presented to me are One Click Encoder or File Indexer. If I choose the latter then I can see that the Scan Type is MBAFF, but there are still no options that I can see to select a deinterlacing option.
As far as I can tell the deinterlacing options are present in the avisynth_plugin directory of MeGUI. How can I access them, and select a preferred option for the AVS Scripts?
TIA
N.B. Running MeGUI in Windows 7 Professional 64 bit.
LigH
26th November 2017, 10:11
After you select the "File Indexer", select the preferred plugin and let it create an indexing job.
Run this indexing job in your queue; when it completed, it re-opens the AVS Script Creator. Now you can select additional filters.
raymondjpg
26th November 2017, 12:11
After you select the "File Indexer", select the preferred plugin and let it create an indexing job.
Run this indexing job in your queue; when it completed, it re-opens the AVS Script Creator. Now you can select additional filters.
Thanks for the advice. I was able to select a deinterlacing option on the re-opening of the AVS Script Creator, and save a script.
There were some errors when I tried to analyse the file (I knew already it was interlaced TFF) - "Unexpected value in file ....make sure you have TIVTC.dll in your avisynth plugins directory". TIVTC.dll was definitely in the avisynth plugins directory, and using the backup version also gave the same error. I also encountered crash of MeGUI when trying to preview the avisynth script. However the main thing was I am now able to use a deinterlacing script if I need to.
Can you please also tell me if checking the box "Automatic Deinterlacing" under the Avisynth setup in the One Click config will implement some type of interlacing, even if there are no interlacing options in the Avisynth profile?
TIA.
LigH
26th November 2017, 12:49
I can't help you on abbreviated messages (at least it sounds like the pure existence of the plugin is not the problem). And I never used the One Click Encoder.
Zathor
26th November 2017, 18:36
Can you please also tell me if checking the box "Automatic Deinterlacing" under the Avisynth setup in the One Click config will implement some type of interlacing, even if there are no interlacing options in the Avisynth profile?
If you have removed the <deinterlace> from the AVS profile no deinterlacing will be applied (but the source will be tested / identified).
raymondjpg
27th November 2017, 04:47
I can't help you on abbreviated messages (at least it sounds like the pure existence of the plugin is not the problem). And I never used the One Click Encoder.
Thanks Again. For reference checking the box "Automatic Deinterlacing" under the Avisynth setup in the One Click config definitely has a beneficial effect on my HEVC encoding of interlaced source material. YMMV.
raymondjpg
27th November 2017, 04:53
If you have removed the <deinterlace> from the AVS profile no deinterlacing will be applied (but the source will be tested / identified).
<deinterlace> is still listed in the AVS profile for One-Click encoding. When I check the box "Automatic Deinterlacing" under the Avisynth setup in the One Click config there is an Automatic Deinterlacing step in processing the file, but no indication of whether that is just an analysis or if deinterlacing has been applied to the source material. As I indicated in my previous post it looks like there some deinterlacing has been applied to the source resulting in a beneficial visual effect to the output.
Thanks for your advice.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.