View Full Version : MeGUI: bug reports and feature requests
Vurbal
13th August 2012, 16:44
The Chapter Creator appears to be assuming a framerate of 25fps when creating x264 QP files regardless of the actual framerate.
MeGUI version 2153.
For example, I selected frame 7540 for a chapter point in a file with a framerate of 23.976fps. The Chapter Creator correctly listed a timecode of 00:05:14:481 (the same as the Preview window). The resulting QP file had frame 7862 selected instead.
7541 / 23.976 = 314.48 seconds
7863 / 25 = 314.52 seconds
The next I-frame should have been at 16576 but was actually set to 17284.
16577 / 23.976 = 691.40
17285 / 25 = 691.40
Zathor
23rd August 2012, 15:39
Please test again with MeGUI 2154
rapscallion
24th August 2012, 18:43
After update to mediainfo 0.7.59 a few days ago (no other update), I got this error on the 2nd pass of a 2 pass Blu-ray encode :
[Information] [8/23/2012 2:08:46 PM] Encoding started
--[Error] [8/23/2012 6:26:26 PM] An error occurred: x264 [error]: Incomplete MB-tree stats file.
--[Error] [8/23/2012 6:26:28 PM] An error occurred: x264 [error]: x264_encoder_encode failed
--[Error] [8/23/2012 6:26:28 PM] Process exits with error: 0xFFFFFFFF (-1)
This happenned about 7 min into the encode. I tried it again from scratch and this time it happenned after 3 hrs of a 8 hr encode.
Is Mediainfo tied into the encode in any way and could cause this type of error (never happenned before btw)?
XMEN3
24th August 2012, 22:18
Is possible add support to handle lagarith fourcc on x64 build of megui...the following script works only using megui x86 after installing lagarith on the sistem:
AVISource("losless.avi", audio=false).AssumeFPS(24000,1001)
With megui x64 the follwing pops up.
http://img217.imageshack.us/img217/5528/lags.png (http://img217.imageshack.us/i/lags.png/)
Using vdub x64 and avisynth x64 the script loads fine.
:thanks:
LigH
27th August 2012, 15:48
@ rapscallion:
MediaInfo is not involved in the x264 encoding algorithm.
Are you sure you created the MB-tree statistic file in a 1st-pass with the same parameters (where necessary) as the 2nd-pass, especially with the same movie? This error message rather looks like the MB-tree stats file does not belong to the video source used for a 2nd-pass.
__
@ XMEN3:
The problem is not the MeGUI, because the MeGUI is only a user interface for AviSynth.
If you don't install a VfW codec for Lagarith, you won't be able to decode Lagarith encoded AVIs via AviSource() in AviSynth. But it may have to be registered for both 32-bit and 64-bit applications. I am not sure how to ensure this...
XMEN3
27th August 2012, 18:04
@ XMEN3:
The problem is not the MeGUI, because the MeGUI is only a user interface for AviSynth.
If you don't install a VfW codec for Lagarith, you won't be able to decode Lagarith encoded AVIs via AviSource() in AviSynth. But it may have to be registered for both 32-bit and 64-bit applications. I am not sure how to ensure this...
Using vdub x64 and avisynth x64 the script loads fine.
wfw interface is configured to decode lags using libav and as i said before in both 32 and 64:
Using vdub x64 and avisynth x64 the script loads fine.
Anyway you are the expert, I'm not.
LigH
28th August 2012, 07:11
I am not really the MeGUI expert either, but I believe it uses only the 64 bit version of x264 because it gives a good speed gain, but avoids the 64-bit version of AviSynth because it is neither complete nor reliable. Most AviSynth plugins only exist as 32-bit DLLs. Therefore it uses a "bridge tool" to pipe the video from 32-bit AviSynth to 64-bit x264. And therefore the support of the Lagarith VfW codec has to be checked with a 32-bit VirtualDub.
tebasuna51
30th August 2012, 23:08
New NicAudio.dll v2.0.6 to solve issues when no-linear decode (http://forum.doom9.org/showthread.php?p=1565770#post1565770)
Full download at CodePlex (http://www.codeplex.com/NicAudio), only dll in this post (http://forum.doom9.org/showthread.php?p=1587337#post1587337).
Zathor
31st August 2012, 18:54
Thanks!
Wam7
6th September 2012, 10:20
When I start MeGUI after previously using several workers, the status window does not show for all of them.
How to recreate bug:
1. Use 2 workers for different tasks.
2. Close MeGUI and restart it
3. Start another task using 2 workers.
A video of what I mean is here:
http://youtu.be/6LLjd4mUZkk
hello_hello
6th September 2012, 13:50
Have you tried "Workers/Workers/Show All" from the top menu?
Wam7
6th September 2012, 17:16
Have you tried "Workers/Workers/Show All" from the top menu?That will just show you the Worker window, which is different to the Status window.
Zathor
6th September 2012, 21:56
2157 [OneClick] added an improved OneClick encoder with these changes:
- added subtitle control (including delay, language, name, forced/default flag). Feature request #2752988
- enhanced audio control (added delay, language, name)
- AVS files as video input supported. Feature request #3412229
- folder as input supported. Feature request #3429875/#2773587
- embedded VOB subtitle support (IFO must be available)
- every OneClick job will be stored in a unique working directory. Feature request #2798486
- added option to select default audio/subtitle languages
- added option to select default working directory
- added option to specify the indexer priority
- added option to define the project name settings
- the x264 target playback device settings will be used for resizing
- input DAR detection moved from postprocessing to initial opening step
- added DVD folder + file processing (including PGC support). Feature request #2817190
- convert TrueHD and DTS-HD tracks with eac3to when the track should be encoded
- added Blu-ray processing (Folder + Playlist)
2156 [File Indexer] added warning if the input VOB file has multiple PGCs
2155 [OneClick] added job status message during cleanup step
AMED
7th September 2012, 06:15
Hi Zathor,
I have just updated to the latest 2157 build and have noticed that the one click encoder folder mode doesn't use more than 1 worker.
1. Make sure 2 or more workers are created (i have 3 workers setup).
2. Open click encoder, load in a folder of .mkv (i'm testing with 19 mkv files) and click ok.
3. On the queue tab click start.
Only 1 worker will be used.
Also is it possible for the one click encoder to add a ignore subtitles check box.
Thank you for all your hard work with MeGUI :)
TECK
7th September 2012, 07:01
I upgraded to 2157 and I cannot extract anymore the tracks from a file:
-[Information] Versions
--[Information] [9/7/2012 1:57:40 AM] MeGUI: 2157
--[Information] [9/7/2012 1:57:40 AM] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [9/7/2012 1:57:40 AM] .Net Framework: 4.0 (4.0.30319)
--[Information] [9/7/2012 1:57:40 AM] AviSynth: 2.5.8.5 (12/21/2008 9:46:54 PM)
--[Information] [9/7/2012 1:57:40 AM] AvisynthWrapper: 1/2/2009 8:34:04 PM
--[Information] [9/7/2012 1:57:40 AM] ICSharpCode.SharpZipLib: 0.85.5.452 (8/8/2008 2:31:12 AM)
--[Information] [9/7/2012 1:57:40 AM] LinqBridge: 1.0.0.0 (5/28/2009 7:24:34 AM)
--[Information] [9/7/2012 1:57:40 AM] MediaInfo: 0.7.60.0 (9/2/2012 11:59:20 AM)
--[Information] [9/7/2012 1:57:40 AM] MediaInfoWrapper: 0.7.53.0 (8/23/2012 2:33:43 PM)
--[Information] [9/7/2012 1:57:40 AM] MessageBoxExLib: 1.0.2218.28317 (12/20/2008 2:53:04 AM)
--[Information] [9/7/2012 1:57:40 AM] SevenZipSharp: 0.64.3890.29348 (1/2/2011 4:59:32 PM)
--[Information] [9/7/2012 1:57:41 AM] 7z: 9.20 (11/18/2010 10:27:34 PM)
-[Information] Update detection
--[Information] [9/7/2012 1:57:41 AM] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [9/7/2012 1:57:43 AM] All files are up to date
-[Error] Unhandled error
--[Information] [9/7/2012 1:57:51 AM] Exception message: Object reference not set to an instance of an object.
-[NoImage] at MeGUI.packages.tools.hdbdextractor.Eac3toInfo.backgroundWorker_OutputDataReceived(Object sender, DataReceivedEventArgs e)
-[NoImage] at System.Diagnostics.Process.OutputReadNotifyUser(String data)
-[NoImage] at System.Diagnostics.AsyncStreamReader.FlushMessageQueue()
-[NoImage] at System.Diagnostics.AsyncStreamReader.GetLinesFromStringBuilder()
-[NoImage] at System.Diagnostics.AsyncStreamReader.ReadBuffer(IAsyncResult ar)
-[NoImage] at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
-[NoImage] at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
-[NoImage] at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
-[NoImage] at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
-[NoImage] at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
-[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
-[NoImage] at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
-[NoImage] at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
--[Information] [9/7/2012 1:57:51 AM] Stacktrace
--[Information] [9/7/2012 1:57:51 AM] Inner exception: null
JoeH
7th September 2012, 08:50
Been busy, huh, Zathor? :) Thanks!
Zathor
7th September 2012, 09:44
I have just updated to the latest 2157 build and have noticed that the one click encoder folder mode doesn't use more than 1 worker.
That is the desired behaviour - at least at the moment.
Two possible changes:
- Create all jobs at the start. Drawback: You will need a lot of disk space as every file will be extracted first.
- Split the initial files which will be processed in as many parts as there are workers present. The same result can be achieved if two folders will be processed in the current mode. Drawback: An OneClick chain may need a lot more time than the other. Also if you add/remove workers lateron it will have no effect.
I upgraded to 2157 and I cannot extract anymore the tracks from a file
What kind of input file have you used? Which kind of track do you want to extract?
TECK
7th September 2012, 09:57
What kind of input file have you used? Which kind of track do you want to extract?
A .mkv file. As soon I select the file, I get the error I posted earlier.
HD Stream Extractor > Select File as Input > video.mkv > Error
I tested this with 2 different movies I already encoded with MeGUI. I discovered this by accident, when I wanted to modify a SRT file that was not properly formatted.
Wam7
7th September 2012, 15:02
I have just updated to the latest 2157 build and have noticed that the one click encoder folder mode doesn't use more than 1 worker.It works fine for me, using it now with 3 workers. Maybe try adding the workers after you've started the queue.
Zathor
7th September 2012, 18:56
A .mkv file. As soon I select the file, I get the error I posted earlier.
HD Stream Extractor > Select File as Input > video.mkv > Error
I tested this with 2 different movies I already encoded with MeGUI. I discovered this by accident, when I wanted to modify a SRT file that was not properly formatted.
Please post the media info of your files. I have tested it with several MKVs and I do not have this problem.
EDIT: If possible please upload a short sample.
AMED
7th September 2012, 23:41
That is the desired behaviour - at least at the moment.
Two possible changes:
- Create all jobs at the start. Drawback: You will need a lot of disk space as every file will be extracted first.
- Split the initial files which will be processed in as many parts as there are workers present. The same result can be achieved if two folders will be processed in the current mode. Drawback: An OneClick chain may need a lot more time than the other. Also if you add/remove workers lateron it will have no effect.
Thanks Zathor, I can live with using the file mode instead of the folder mode so i can use multiple workers.
Is it possible to add an ignore subtitles option to the oneclick profile? or a right click on the subtitles tabs "remove all subtitles"?
TECK
8th September 2012, 07:23
Please post the media info of your files. I have tested it with several MKVs and I do not have this problem.
EDIT: If possible please upload a short sample.
Here it is a sample (http://www.mediafire.com/?auaw7fc2uz3hdzc) that fails to extract and produces the error I mentioned earlier.
Reverting back to 2153 works beautiful. This is what I did: with all files upgraded to 2157 release, I replaced the MeGUI.exe file with the one versioned as 2153 that I had as backup. Everything works as expected, I can extract properly the MKV contents.
Kurtnoise
8th September 2012, 08:38
@Zathor : here is the fix :
Index: megui/trunk/packages/tools/hdbdextractor/Eac3ToInfo.cs
===================================================================
--- megui/trunk/packages/tools/hdbdextractor/Eac3ToInfo.cs (revision 2157)
+++ megui/trunk/packages/tools/hdbdextractor/Eac3ToInfo.cs (working copy)
@@ -510,7 +510,7 @@
// Unknown line
else
{
- _log.Warn(string.Format("Unknown line: \"{0}\"", data));
+ LogItem log = new LogItem("Unknown line: " + data.ToString(), ImageType.Warning);
}
}
}
@TECK : replace the binary by this one (http://www.mediafire.com/?upg4e34985p23oq).
TECK
8th September 2012, 09:31
@TECK : replace the binary by this one (http://www.mediafire.com/?upg4e34985p23oq).
The fix you proposed solves my extraction issues, nice job. :)
Zathor
8th September 2012, 12:29
@Zathor : here is the fix
Thanks!
Zathor
8th September 2012, 12:43
Is it possible to add an ignore subtitles option to the oneclick profile? or a right click on the subtitles tabs "remove all subtitles"?
Yes, it should be possible to block subtitles in the OneClick profile settings. As a workaround you can select only one subtitle language in the profile settings. And only subtitles from this language will be shown if there are those subtitles - if not everything is shown (maybe I should change that...)
TECK
8th September 2012, 18:02
Zathor, another tiny bug on 2158:
-[Information] Log for job15 (cleanup, Video.mkv -> )
--[Information] [9/8/2012 11:37:13 AM] Started handling job
--[Information] [9/8/2012 11:37:13 AM] Preprocessing
--[Information] [9/8/2012 11:37:13 AM] Encoding started
--[Information] [9/8/2012 11:37:15 AM] Delete Intermediate Files option set: True
-[Information] [9/8/2012 11:37:15 AM] Successfully deleted C:\Users\Floren\Videos\ponh5hgt.uyu\Video.avs
-[Error] [9/8/2012 11:37:15 AM] Exception message: The process cannot access the file 'C:\Users\Floren\Videos\ponh5hgt.uyu\Video.dgi' because it is being used by another process.
-[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
-[NoImage] at System.IO.File.Delete(String path)
-[NoImage] at MeGUI.core.util.FileUtil.DeleteIntermediateFiles(List`1 files, Boolean bAlwaysAddLog)
-[Error] [9/8/2012 11:37:17 AM] Stacktrace
-[Error] [9/8/2012 11:37:17 AM] Inner exception: null
-[Error] [9/8/2012 11:37:15 AM] Error deleting C:\Users\Floren\Videos\ponh5hgt.uyu\Video.dgi
-[Information] [9/8/2012 11:37:17 AM] Did not delete C:\Users\Floren\Videos\ponh5hgt.uyu as the directory is not empty.
--[Error] Deleting intermediate files
--[Information] [9/8/2012 11:37:17 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [9/8/2012 11:37:17 AM] Job completed
For some reason, the temp dir cannot be deleted. I have to manually close MeGUI and delete all files.
Zathor
9th September 2012, 19:13
2160 [OneClick] added option to disable audio/video tracks completely by default
2159 [OneClick] use the correct input file if using Blu-ray input with the option "don't encode video"
TECK
10th September 2012, 04:34
2160 solved also the bug I reported earlier related to file deletion, thank you for your great work Zathor.
bxyhxyh
11th September 2012, 06:04
Please add qaac and drop faac that already have stopped development.
2011-10-29 test
http://cdn-ak.f.st-hatena.com/images/fotolife/k/kamedo2/20111128/20111128234434.png
source: http://d.hatena.ne.jp/kamedo2/20111029/1319840519
--------------------------------------------------
Sorry my english is not good.
LigH
11th September 2012, 07:11
But qaac requires the installation of the Apple Application Support for the CoreAudioToolbox. See the qaac site at Google (https://sites.google.com/site/qaacpage/).
tebasuna51
11th September 2012, 11:07
Please add qaac and drop faac that already have stopped development.
I agree about faac encoder. Lame is always equal or better and more compatible.
About qaac there are the problem related by LigH, and we have always NeroAacEnc. With movie audio tracks is recommended use VBR encode, and seleccting quality 0.4-0.5 we have the same quality/size than using qaac.
LigH
11th September 2012, 11:36
Even if MeGUI won't support qaac internally in near future, it will support multiplexing an externally made audio stream.
Kurtnoise
11th September 2012, 12:13
it should be easy to make several check to test all files required to support qaac...I'll give a try this weekend.
LigH
11th September 2012, 12:30
Both qaac and qtaacenc are CLI tools using the Apple AAC/ALAC codec. Just qaac is slightly more advanced, supporting more features; the development of qtaacenc appears suspended.
Kurtnoise
11th September 2012, 15:26
Sorry, I meant qaac...
manolito
11th September 2012, 16:09
But qaac requires the installation of the Apple Application Support for the CoreAudioToolbox. See the qaac site at Google (https://sites.google.com/site/qaacpage/).
There is no need to install Apple Application support. You can extract the necessary files from the .msi with 7-Zip.
The easiest way to obtain the required files is to download Mkv2Mp4 by oreons and copy the whole subfolder "qtfiles" (it is under "tools\qaac\1.xx").
Cheers
manolito
LigH
12th September 2012, 07:17
This may be a possible solution, but not the one covered by Apple's license, I guess. Remember "QuickTime Alternative"?
Shevek
12th September 2012, 07:50
...but not the one covered by Apple's license...
Wouldn't that then break MeGUI's OS licence?
(I am no expert, this is an assumption on my part and I may be entirely wrong!)
the_weirdo
12th September 2012, 13:12
Actually, qaac only depends on these files of Apple Application Support: ASL.dll, CoreAudioToolbox.dll, CoreFoundation.dll, icudt46.dll, libdispatch.dll, libicuin.dll, libicuuc.dll, objc.dll, pthreadVC2.dll. Just put those files in sub-folder "QTfiles" of qaac folder and qaac will regconize them automatically. However, I don't know if someone distribute them in this way can lead to involve in some legal issues or not.
EDIT#1: I forgot to say those dlls require MSVC++ 2005 Redistributable (http://www.microsoft.com/en-us/download/details.aspx?id=3387) (they're also in AppleApplicationSupport.msi as well).
EDIT#2: nu774 have even made a batch file to extract necessary files for qaac from iTunesSetup.exe/iTunes64Setup.exe/QuickTimeInstaller.exe to QTfiles sub-folder, which can find at here (https://sites.google.com/site/qaacpage/cabinet) (makeportable.zip, need 7z.exe in PATH or you can just extract this compact version (http://www.mediafire.com/?091um11j38vk0dc) to folder which contains madeportable.cmd and iTunesSetup.exe/iTunes64Setup.exe/QuickTimeInstaller.exe)
Zathor
13th September 2012, 19:49
it should be easy to make several check to test all files required to support qaac...I'll give a try this weekend.
That would be great! I think the best will be to implement it like NeroAACEnc/DGIndexNV. So disabled by default and if enabled only the legal files will be downloaded. The user must take care of the rest.
cpasmoi
18th September 2012, 21:47
hello there, is possible to add in the future 2 pass encoding for nero aac ?
thanks you very much.
LigH
19th September 2012, 07:42
-2pass : Enables two-pass encoding mode.
Note that two-pass more requires a physical file as input,
rather than stdin.
Because MeGUI uses piped input via stdin (the AviSynth script is no "physical file as input"), I doubt this will be implemented. After all, quality-based encoding is optimal and does not even need 2 passes. Or do you have circumstances which require an as-constant-as-possible audio bitrate?
cpasmoi
19th September 2012, 13:40
thanks for infos
Or do you have circumstances which require an as-constant-as-possible audio bitrate?
i don't know, i use default built-in preset (aac LC 96 adaptive bitrate - for 2 channels tracks), i give a try to quality based encoding next time i encode something.
Kurtnoise
23rd September 2012, 14:50
Please add qaac and drop faac that already have stopped development.
Here is the 1st test version (http://www.mediafire.com/?t11rmoirga0hzsl).
How to use :
1/ Create a new folder into MeGUI\tools\ as qaac. Put all required files into there. In my tree, I just copy libsoxrate.dll, msvcp100.dll, msvcr100.dll, qaac.exe, refalac.exe. Check the official wiki (https://github.com/nu774/qaac/wiki/Installation) in order to have all required files.
2/ Copy all files from the test version package and enjoy...
N.B : Currently, qaac is not available through the updater. I'lll add it after several testing from you.
bxyhxyh
23rd September 2012, 16:02
N.B : Currently, qaac is not available through the updater. I'lll add it after several testing from you.
hehe, i'm just a newbie. I just copied that pic.
So test information from me is not good idea.
If it is work, then it is enough for me.
Anyway thank you very much
Edit:
Actually, qaac only depends on these files of Apple Application Support: ASL.dll, CoreAudioToolbox.dll, CoreFoundation.dll, icudt46.dll, libdispatch.dll, libicuin.dll, libicuuc.dll, objc.dll, pthreadVC2.dll. Just put those files in sub-folder "QTfiles" of qaac folder and qaac will regconize them automatically.
I needed those files.
Yeah, it is working
Problem is:
Can't select higher than 127 kb/s.
Here is my tests and logs http://www.mediafire.com/?v0ruubu1l9mea
I tested on my old computer
Core 2 Duo processor
1 GB RAM
Working good since it is an Audio Encoder.
Zathor
23rd September 2012, 16:15
Thanks, Kurtnoise!
aMvEL
23rd September 2012, 16:50
If I feed a .ts-file which contains a teletext-stream to the oneclick-encoder it gives of an error
--[Error] [23.09.2012 17:44:55] An error occurred: Error: (mkvextract) Error: No EBML head found.
It shouldn't try to extract teletext with mkvextract, it can't be done ... it should just ignore the teletext stream alltogether.
Zathor
23rd September 2012, 17:23
Mhm, mkvextract should not be used at all on a TS file... I will have a look into it.
Zathor
23rd September 2012, 17:46
If I feed a .ts-file which contains a teletext-stream to the oneclick-encoder it gives of an error
Thanks for the report. It is fixed in 2174.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.