View Full Version : MeGUI - x264/XviD/lavc/Snow encoder with MP4/MKV/AVI output & audio
If you are not yet very experienced, only use {1-pass:CRF or 2-pass:bitrate}, speed preset, content tuning, and possibly playback device. If you like, make your own profile with these options.
3-pass encoding is not recommendable in general. It was an attempt to optimize very low bitrate encodings, but the results might look even more artifical than a 2-pass or CRF encoding, due to a more narrow quantization range. Nothing substitutes "enough bitrate".
daemon_k
22nd May 2013, 18:21
Thank you for your reply.
There are three problems are not very clear. What I mean is:
1, "{1-pass: CRF or 2-pass: bitrate}" What does this mean?
Is not to be understood as: "1-pass: CRF" <=> "Targeting quality (Default: Quality = 23.0)" And "2-pass: bitrate" <=> "Targeting file size (Default: Bitrate = 1000)" ?
2, if this understanding is correct, then when using the 2-pass approach, based on your experience, to achieve different quality, you can set the bitrate roughly how much?
For example the following three scenarios:
A: canopus chqx Lossless (1440 * 1080i) -> Blu-ray
B: Blu-ray Re -> 1080
C: Other -> ipad
3, if you need to import "MeGUI-x264_generic_profiles_v85.zip"? These profiles and Megui 2341 compatible? Or is one of those that can be used in Megui2341?
Thank you again!
Betsy25
23rd May 2013, 04:39
Zathor,
FYI x264 r2334 is now stable.
Zathor
23rd May 2013, 07:10
1, "{1-pass: CRF or 2-pass: bitrate}" What does this mean?
Is not to be understood as: "1-pass: CRF" <=> "Targeting quality (Default: Quality = 23.0)" And "2-pass: bitrate" <=> "Targeting file size (Default: Bitrate = 1000)" ?
2, if this understanding is correct, then when using the 2-pass approach, based on your experience, to achieve different quality, you can set the bitrate roughly how much?
3, if you need to import "MeGUI-x264_generic_profiles_v85.zip"? These profiles and Megui 2341 compatible? Or is one of those that can be used in Megui2341?
My opinion: Use bitrate only when you need to hit a specific file size. The bitrate will then be set automatically. Otherwise use the "quality" mode and choose different values there until you find your value.
Do not use the old profiles anymore. They are no supported.
FYI x264 r2334 is now stable.
Thanks - updated.
@ daemon_k:
1) OK, a little more like pseudo-code: I meant that you should use only
{EITHER target quality OR target size} AND preset AND tuning [AND MAYBE playback device]
but you should not change any more advanced options unless you studied their meaning thoroughly. The mentioned basic options were well balanced (in relation to each other) by the developers with probably more experience than the average user.
superhil
24th May 2013, 18:51
just curious, how to reencode vfr video?
I always get audio out of sync when reencode using MeGUI
(video length is exactly same with original, but different fps)
Simple tools made by LoRd_muldeR works very fine (link (http://forum.doom9.org/showthread.php?t=144140))
What's basic difference between both of them?
---
edit:
---
I think I found the basic difference between those two,
LoRd_muldeR's tool using avs2yuv, while MeGUI using avs4x264mod for piping
I'm a newbie in encoding, could somebody please explain it?
Thank you very much
DoctorM
8th June 2013, 06:32
I noticed in some recent update DXVA's settings were changed to "--level 4.1 --vbv-bufsize 78125 --vbv-maxrate 62500".
Isn't that Level 4.2? Searching I can find no explanation for the change.
detmek
8th June 2013, 10:12
No, VBV values are correct for Level 4.1 High Profile.
Look here (http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels).
Also read the first line of text below the table.
DoctorM
8th June 2013, 19:06
So was the previous line of "--level 4.1" wrong or is the addition of the bufsize and maxrate a tweak to compensate for changes made in the x264 code?
jq963152
8th June 2013, 22:53
So was the previous line of "--level 4.1" wrong or is the addition of the bufsize and maxrate a tweak to compensate for changes made in the x264 code?
You might want to read through the following thread:
http://forum.doom9.org/showthread.php?t=165627
;)
detmek
8th June 2013, 23:14
--level parametar only limits refferent frames if those are not manualy specified. If you want fully compliant video stream you need to manualy add --vbv-maxrate and -vbv-bufsize.
DoctorM
9th June 2013, 00:07
So then you all are saying the old preset was wrong and anything previously encoded using that setting is not compliant.
I'd been using DXVA as a general setting since Level 4.1 is frequently considered compatible with more devices.
How is that effected by the new maxrate and bufsize? Are we talking more compatible?
detmek
9th June 2013, 11:17
I don't know what settings are used by old DXVA preset. But even without VBV settings those files should be DXVA compliant as VBV restrictions are very high. Consider that Blu-Ray uses --vbv-maxrate 40000 and --vbv-bufsize 30000 with average bitrate 20000-30000kbs. And people usually use lower average bitrate which, in most cases prevents spikes over 62500kbs.
Basically yes, new preset should be more compatible if old preset did not contain VBV restrictions.
DoctorM
9th June 2013, 20:43
Thanks. That does indeed clarify things.
Is it reasonable to believe that the DXVA setting (as that stand now) is a better 'General' setting than the Default preset (which does not have any restrictions or Level 4.1?
I've been doing encodings (mostly 720p) that I'm currently watching on a PC but would like to have future compatibility with standalone devices or 'smart' TVs. I'm aware that many of these devices do have a Level 4.1 restriction.
SHaKOL
10th June 2013, 12:49
Hi
does MeGUI encode 10-bit video? and would you add all the things in x264gui like encodeing 10-bit videos and such.
thanks in advance.
LigH
11th June 2013, 07:14
The simple way: You can exchange the tools\x264\x264.exe against a 10 bit version. But it will still receive YV12.
Handling higher bitdepths and finer chroma subsampling requires both manually editing the script and adding custom command line parameters. MeGUI will not (yet?) add these by checking a box.
Zathor
11th June 2013, 20:55
Please tell me what need to be changed and I may add it (without ETA)
LigH
12th June 2013, 07:44
A first step would be, similar to supporting both 32 and 64 bit architecture compiles of x264, also supporting both 8 and 10 bit channel depth compiles alternatively. There are many reports that the 10 bit channel bitdepth support already enhances compression efficiency, even with provided default YV12 video (YUV 4:2:0). Unfortunately, most consumer decoder chips may not support the AVC profile high10.
AviSynth 2.6x also supports finer chroma subsampling (e.g. YV16 or YV24 (http://avisynth.nl/index.php/Convert)). To feed x264 with such video, it will require the use of the parameters --input-csp and --output-csp, and will lead to even less compatible AVC profiles (high422, high444). And many plugins may not support these color spaces.
Possibly beyond capabilities of a script generating GUI may be the support of Deepcolor filters (http://avisynth.nl/index.php/External_filters#Deepcolor_Filters), they may require manual script editing...
detmek
12th June 2013, 10:22
A first step would be, similar to supporting both 32 and 64 bit architecture compiles of x264, also supporting both 8 and 10 bit channel depth compiles alternatively. There are many reports that the 10 bit channel bitdepth support already enhances compression efficiency, even with provided default YV12 video (YUV 4:2:0). Unfortunately, most consumer decoder chips may not support the AVC profile high10.
AviSynth 2.6x also supports finer chroma subsampling (e.g. YV16 or YV24 (http://avisynth.nl/index.php/Convert)). To feed x264 with such video, it will require the use of the parameters --input-csp and --output-csp, and will lead to even less compatible AVC profiles (high422, high444). And many plugins may not support these color spaces.
Possibly beyond capabilities of a script generating GUI may be the support of Deepcolor filters (http://avisynth.nl/index.php/External_filters#Deepcolor_Filters), they may require manual script editing...
+1
Although most hardware decoders do not support 10-bit video or other color spaces there are a lot of people (like me) who use PC for watching videos on monitor or TV connected via HDMI.
10-bit support should be easy to add, just like x64 binaries and checkbox.
For other color spaces Avisynth should be updated to 2.6 and AVS Script Creator would require a checkbox (or checkbox + dropdown box) for ConvetToYVxx. Plus, input/ouput csp dropdown box in x264 configuration dialog.
jq963152
12th June 2013, 10:53
And also add the appropriate profiles to the AVC Profile dropdown list in the MeGUI x264 configuration dialog, namely: High 10 Profile (--profile high10) and High 4:2:2 Profile (--profile high422) and High 4:4:4 Predictive Profile (--profile high444).
And make sure to apply the correct VBV restrictions for those profiles.
As you already know, for --profile high the VBV restrictions are 1.25 times higher than those of --profile baseline / --profile main.
So:
For --profile high10 the VBV restrictions are 3 times higher than those of --profile baseline / --profile main.
And for --profile high422 and --profile high444 the VBV restrictions are 4 times higher than those of --profile baseline / --profile main.
luke83
10th January 2014, 23:58
Error with ASS subtitles
Repack/encoder video to MP4 for Apple iPhone, iPad, ATV2. MkvToMp4 version 0.224 (x32)
Build from: Sep 24 2013 14:57:33
Use log file: ../Temp/Logs\10_01_2014_23_48_46.txt
CoreAudioToolbox version: 7.9.7.3
Added on list: D:/Video/Naruto/HD/Shippuden 4/082 - Squadra Dieci.mkv
Started processing file: D:/Video/Naruto/HD/Shippuden 4/082 - Squadra Dieci.mkv
Starting MkvExtract with the parameters:
../Tools/mkvextract\mkvextract tracks "D:/Video/Naruto/HD/Shippuden 4/082 - Squadra Dieci.mkv" 0:"../Temp/video.264" 1:"../Temp/082 - Squadra Dieci_internal_audio_2.AAC" 4:"../Temp/082 - Squadra Dieci_internal_sub_5.ASS"
Estrazione traccia 0 con ID codec 'V_MPEG4/ISO/AVC' nel file '../Temp/video.264'. Formato contenitore: AVC/h.264 elementary stream
Estrazione traccia 1 con ID codec 'A_AAC' nel file '../Temp/082 - Squadra Dieci_internal_audio_2.AAC'. Formato contenitore: raw AAC file with ADTS headers
Estrazione traccia 4 con ID codec 'S_TEXT/ASS' nel file '../Temp/082 - Squadra Dieci_internal_sub_5.ASS'. Formato contenitore: SSA/ASS text subtitles
Starting Eac3To with the parameters:
..\Tools\eac3to\eac3to "K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MkvToMp4_0.224\Temp\082 - Squadra Dieci_internal_audio_2.AAC" "..\Temp\082 - Squadra Dieci_internal_audio_2_new.AAC" +9ms -progressnumbers
AAC, 2.0 channels, 48kHz
A remaining delay of +9ms could not be fixed.
Creating file "..\Temp\082 - Squadra Dieci_internal_audio_2_new.AAC"...
Done.
Starting GSConv with the parameters:
../Tools/GSConv\GSConv SRT "K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.224/Temp/082 - Squadra Dieci_internal_sub_5.ASS"
GSConv terminated with error: 3221225477
Skipping subtitle K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.224/Temp/082 - Squadra Dieci_internal_sub_5.ASS
Starting Mp4Box with the parameters:
../Tools/mp4box/x32/MP4Box.exe -new -set-meta "[:tk=2]" -add "../Temp/video.264":fps=29.970:lang=jpn:name="Naruto Shippuden 082 _ Squadra dieci by danny11 _ LeBlanco" -add "K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.224/Temp/082 - Squadra Dieci_internal_audio_2_new.AAC"#1:fps=29.970:lang=ita:name="[AAC]" -itags tool="MkvToMp4 [www.mkvtomp4.ru] version 0.224 (x32)" "K:/Documents and Settings/Luca/Documenti/Video/Shippuden/HD 4\082 - Squadra Dieci.mp4" -tmp "../Temp/Mp4Box"
AVC-H264 import - frame size 1280 x 720 at 29.970 FPS
AVC Import results: 40859 samples - Slices: 345 I 9015 P 31499 B - 6 SEI - 345 IDR
AAC ADTS import - sample rate 48000 - MPEG-4 audio - 2 channels
Saving K:/Documents and Settings/Luca/Documenti/Video/Shippuden/HD 4\082 - Squadra Dieci.mp4: 0.500 secs Interleaving
Correction mp4 file.
TKHD atom correction for video. TRAK 1
TKHD atom correction for audio. TRAK 2
Writing tags in file: K:/Documents and Settings/Luca/Documenti/Video/Shippuden/HD 4\082 - Squadra Dieci.mp4
Optimizing the file K:/Documents and Settings/Luca/Documenti/Video/Shippuden/HD 4\082 - Squadra Dieci.mp4
Open result file K:/Documents and Settings/Luca/Documenti/Video/Shippuden/HD 4\082 - Squadra Dieci.mp4 for test.
Audio 1 error. Does not match time source (00:23:09.890) and result (00:23:04.980) files.
The file D:/Video/Naruto/HD/Shippuden 4/082 - Squadra Dieci.mkv is processed successfully
File processing time: 2 min. 21 sec.
Total time: 2 min. 21 sec.
1 files processed.
Kurtnoise
11th January 2014, 08:30
wrong thread...
Ruriko
18th January 2014, 01:55
Is there a way to make megui auto split file by duration while it's encoding?
luke83
21st January 2014, 02:26
hi,
is there an avisynth filter order?
usually i use this
source
deinterlacing(yadif)
derainbower(bifrost)
color corrections (chromashift, tweak)
cropping
Sharpener (MSharpen,awarpsharp)
Linesarkeners (ToonLite)
Resizer (Lanczos)
Dehalo (abcxyz)
Anti-aliasing (FAA,AAA)
Is it good?
Thanks :)
LigH
21st January 2014, 08:21
There are indeed sequence parts with a recommended order, based on the common sense regarding the effect of the filters.
Just a few examples: Using a deinterlacer early is certainly a good decision because it wouldn't work anymore after a vertical resize. Denoisers should be applied quite early too because their behaviour would be different on already filtered material (but consider if they might interfer with interlacing). Cropping-before-resizing (or even more efficient: resizing only the remaining area) is sensible too. The use of debanding filters is recommended at the very end to avoid that other filters destroy the dithering pattern.
In general, the location of filters changing the luminance or chrominance of the whole image equally is not too important, if you don't risk exceeding valid ranges or feel like debating the precision down to the least significant bits.
Using half a dozen filters to sharpen and then limit the side effects of the sharpening appears to be a bad idea, though; at least in general. Depending on the material, there might be more efficient and harmless filters.
luke83
21st January 2014, 14:01
Using half a dozen filters to sharpen and then limit the side effects of the sharpening appears to be a bad idea, though; at least in general. Depending on the material, there might be more efficient and harmless filters.
LOL :D
I know but
MSharpen makes an over-sharpen to balance dehalo filter. I found that if i use dehalo after sharpen and i make an over-sharpening, my video has not halo eff and it's not too smoothed.
Instead, if i use only sharpen filter and normal settings, i've halo artifacts :/
aWarpsharp makes lines thinner.
ToonLite makes those lines darkener as the previous filter made them very thin
Dehalo is dehalo and then anti-aliasing :p
Any advice? :)
LigH
21st January 2014, 19:08
I am no expert in denoising, and I hardly need the copy sharper than the original; but I read about a filter which was developed using the brains of quite experienced and understanding people; it was called LimitedSharpenFaster. Might be worth a try.
hkenneth
24th January 2014, 06:02
Hi, I have some DVDs that contain several episodes of documentaries in a single disk, divided by chapters. Is that possible to let MeGUI split encoded MKVs based on each chapter? I know that mkvtoolnix allows to split before each chapter but that is not very accurate since it can only split the file at keyframes...
hello_hello
24th January 2014, 21:04
Hopefully you can re-author the DVD files. Open them with DVDShrink (set the target output size to something large in DVDShrink's options so it won't try to re-encode) and select the re-author button. If there's a single large title (which hopefully there is) drag it from the right pane to the left. There's an edit button above the left pane which lets you specify the start and end points for each title. They can be selected by chapter too. When you've edited the title down to the first episode, drag it from the right pane to the left a second time and edit it again for episode two.... and so on.
When you're done, the backup function should give you a newly re-authored version with a vob file (or a set of vob files) per episode.
Zathor
24th January 2014, 21:45
Or you can encode into a new MKV with the OneClick tool. By default the chapters of the MKV file will be encoded as key frames (in x264). Lateron it should be possible to split this new MKV files at the chapter points.
Tiny Mud
6th February 2014, 16:52
Will MeGUI get into X265 encoding?
detmek
6th February 2014, 18:40
MeGUI Dev build already have basic x265 support. Just enable x265 in MeGUI's global settings and run update.
Motenai Yoda
12th March 2014, 17:29
Hi! I found a mistype into audio speedup avs script (both 23.976->25 and 24->25)
the TimeStretch pitch args are the slowdown ones..
megui:
23.976->25
AssumeSampleRate((AudioRate()*1001+480)/960).SSRC(AudioRate()).TimeStretch(pitch=Float((AudioRate()*1001+480)/960)*100.0/Float(AudioRate()))
24->25
AssumeSampleRate((AudioRate()*25)/24).SSRC(AudioRate()).TimeStretch(pitch=Float((AudioRate()*25)/24)*100.0/Float(AudioRate()))
corrected:
23.976->25
AssumeSampleRate((AudioRate()*1001+480)/960).SSRC(AudioRate()).TimeStretch(pitch=100.0*AudioRate()/((AudioRate()*1001+480)/960))
24->25
AssumeSampleRate((AudioRate()*25)/24).SSRC(AudioRate()).TimeStretch(pitch=100.0*AudioRate()/(AudioRate()*25/24))
I removed float casting cause 100.0 is already float.
Zathor
12th March 2014, 22:17
Thanks, please have also a look here:
http://forum.doom9.org/showthread.php?p=1672774#post1672774
Does this fix also the problem?
What's with development server outdated x264 rev? You already skipped 22 revisions since April. Latest x264 revision is 2431 (http://komisar.gin.by/old/2431/x264_changelog.txt), and dev server's is 2409. Update please.
Zathor
17th May 2014, 17:35
I "skipped" only one x264 release and that's simply as I am not every day checking all web sites for updates. Feel free to update it on your own - but thanks to your post I am now aware of it and will update it in the next days.
Carpo
17th May 2014, 18:19
What's with development server outdated x264 rev? You already skipped 22 revisions since April. Latest x264 revision is 2431 (http://komisar.gin.by/old/2431/x264_changelog.txt), and dev server's is 2409. Update please.
The latest releases aren't always the best, sometimes bugs creep in, so older versions are better, as they will have had more time to be tested and make sure all is good with them
rhaz
20th June 2014, 22:10
Hi, it's me again. I had to end megui via Task manager because it got stuck on File Indexer with eating up to 1gb of ram for some reason and I just found out that for some reason it wiped out all custom profiles from allprofiles/ dir. Now why would it do that? I had like 20 profiles and now all gone. Just awesome, plain awesome.
Zathor
22nd June 2014, 16:25
This happens sadly sometimes :(
I had no time to rewrite the profile handling. Not sure if I will have the time in the future.
scottws
9th July 2014, 01:12
I recently upgraded from MeGUI 3.1.1056 to 2507 (don't ask) and I'm noticing that muxed (not embedded) subtitles extracted using VobSubber are no longer showing up in my MP4 files when played via VLC. I know the IDX and SUB files that VobSubber is creating are good, because I'm able to add the subtitle via VLC while the MP4 is playing and it works, but of course that isn't a permanent solution.
I'm using MP4Box r4929 (gpac) and VobSub 2.23. I do not remember what the working versions of those two products were under MeGUI 3.1.1056.
Any ideas?
scottws
9th July 2014, 03:40
I ended up manually replacing MeGUI's MP4box with the version from GPAC framework 5.1 rev 5294 (available on this page (http://gpac.wp.mines-telecom.fr/downloads/gpac-nightly-builds/#Windows%2032%20bits)) and subtitle muxing seems to be working again to a certain degree.
It didn't add the second language bundled in the IDX, but at least it got one of them.
trumpet205
18th July 2014, 18:59
I have a problem with one-click encoding when using custom avisynth templates.
I have many 4:3 Blu-ray videos that need cropping (1920x1080 --> 1440x1080). In the past I used Handbrake to do the cropping (encode at CRF 0) before putting them in a folder for one-click encoding.
I'm trying out on Avisynth templates but encoded file always have different PAR other than 1:1. My Avisynth templates is,
<input>
crop(240,0,-240,0)
<denoise>
If I open each source file using AVS Script creator to generate .avs individually, then encode them individually, PAR will stay as 1:1. So what went wrong?
Zathor
19th July 2014, 11:39
Please post a sample file and the log.
trumpet205
21st July 2014, 07:27
Please post a sample file and the log.
Log file and sample file,
https://www.dropbox.com/s/591yvz0q3dju1k6/logfile-14-07-20_23-06-25.log
https://www.dropbox.com/s/fq378o2equ5xjuy/clip10.mkv
Here is the encoded file using sample file under one-click:
https://www.dropbox.com/s/i9mmhl3y0szqgla/clip_result.mkv
Tylerr
4th August 2014, 22:41
Can anyone tell me how to change the fps of my videos inside the one-click profile?
LigH
5th August 2014, 10:27
If you wanted to norm-convert, it would not be "one-click" anymore... ;) ;)
Sharc
5th August 2014, 13:38
I have a problem with one-click encoding when using custom avisynth templates.
I have many 4:3 Blu-ray videos that need cropping (1920x1080 --> 1440x1080). In the past I used Handbrake to do the cropping (encode at CRF 0) before putting them in a folder for one-click encoding.
I'm trying out on Avisynth templates but encoded file always have different PAR other than 1:1. My Avisynth templates is,
<input>
crop(240,0,-240,0)
<denoise>
If I open each source file using AVS Script creator to generate .avs individually, then encode them individually, PAR will stay as 1:1. So what went wrong?
Log file and sample file,
https://www.dropbox.com/s/591yvz0q3dju1k6/logfile-14-07-20_23-06-25.log
https://www.dropbox.com/s/fq378o2equ5xjuy/clip10.mkv
Here is the encoded file using sample file under one-click:
https://www.dropbox.com/s/i9mmhl3y0szqgla/clip_result.mkv
Source:
SAR is 1:1 => correct
DAR is 16:9 => correct
Result:
SAR is 4:3 => WRONG
DAR is 16:9 => WRONG
So the SAR should have been kept 1:1 (cropping does not change the SAR), but the DAR should have been changed from 16:9 to 4:3 after cropping the borders.
(Maybe you can change the settings in MeGUI; I am not very familiar with it).
Added:
From your log: The problem manifests in the x264.exe cmd: ...... --sar 4:3 ..... and in the mkvmerge.exe cmd:
..... --aspect-ratio 0:16/9 .....
hello_hello
5th August 2014, 14:47
I'm trying out on Avisynth templates but encoded file always have different PAR other than 1:1. My Avisynth templates is,
<input>
crop(240,0,-240,0)
<denoise>
If I open each source file using AVS Script creator to generate .avs individually, then encode them individually, PAR will stay as 1:1. So what went wrong?
I can duplicate your problem by checking the anamorphic encoding option in the OneClick encoder configuration. I'd assume it shouldn't be setting the aspect ratio to 16:9, so there appears to be something wrong there. If that's the cause, make sure the anamorphic option is unchecked. You'd generally only use it when encoding anamorphic video anyway.
I also noticed there's no way to change the aspect ratio using the Display Aspect Ratio dropdown box. I don't use the OneClick encoder but I'd assume you should be able to. It's defaulting to 16:9 after opening the sample video. Maybe that's related to the problem.
Xor
15th February 2015, 22:41
Hi
use megui 2513, if use "avi muxer" to assemble avi+ac3 and set "splitting: NO splitting" if file is >2gb create two files.
I try to set 8GB but @ 1.9gb create onother files. How to force really NO splitting for mux avi?
Thanks
hello_hello
16th February 2015, 00:28
In the "Device Type" drop-down box, try selecting "PC".
LigH
16th February 2015, 09:06
To be able to create files >2 GiB, an AVI multiplexer must be allowed to write OpenDML (AVI 2.0) files. "Legacy" AVI files used chunks with 32 bit size fields, often interpreted as signed (-2Gi .. +2Gi). Some consumer players may not support OpenDML AVIs, their support is only certain for PCs.
To clarify the meaning of "Standard" and "PC", I would suggest to extend the second option to "PC (OpenDML)".
hello_hello
16th February 2015, 09:54
MeGUI probably should switch to "PC (OpenDML)" automatically if no splitting is specified and the file size exceeds 2GB.
I don't know if it's intended or not but when I had a play I realised the AVI muxer behaves differently to the rest of the muxers. If you add an AVI as video input to the AVI muxer and the AVI includes audio, the audio will be included when muxing. The rest of the muxers only use the video from the input file and require the audio stream is added separately. Possibly no big deal, but I expected they'd all work the same way.
brunosso
16th February 2015, 16:51
--[Information] [16/02/2015 16:39:56] Postprocessing
-[Information] [16/02/2015 16:39:56] Successfully deleted D:\MKV\juze0lb2.sjw\12 Monkeys.S01E01.264
---[Information] [16/02/2015 16:39:56] Deleting intermediate files
--[Information] [16/02/2015 16:39:56] Job completed
-[Information] Log for job5 (cleanup, OK_12 Monkeys.S01E01.Splinter.mkv -> )
--[Information] [16/02/2015 16:39:56] Started handling job
--[Information] [16/02/2015 16:39:56] Preprocessing
--[Information] [16/02/2015 16:39:58] Delete Intermediate Files option set: True
-[Information] [16/02/2015 16:39:58] Successfully deleted D:\MKV\juze0lb2.sjw\12 Monkeys.S01E01.Splinter.mkv.avs
-[Information] [16/02/2015 16:39:58] Successfully deleted D:\MKV\juze0lb2.sjw\12 Monkeys.S01E01.Splinter.mkv.ffindex
-[Information] [16/02/2015 16:39:58] Successfully deleted D:\MKV\juze0lb2.sjw\12 Monkeys.S01E01.Splinter - [0] English.aac
-[Error] Unhandled error
--[Information] [16/02/2015 16:39:58] Exception message: Access to the path 'D:\MKV\juze0lb2.sjw\12 Monkeys.S01E01.Splinter.mkv' is denied.
-[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, Boolean askAboutDelete)
-[NoImage] at MeGUI.core.details.CleanupJobRunner.run()
-[NoImage] at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
-[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
-[NoImage] at System.Threading.ThreadHelper.ThreadStart()
--[Information] [16/02/2015 16:39:58] Stacktrace
--[Information] [16/02/2015 16:39:58] Inner exception: null
I don't understand why i have always this error! I use Oneclick encoder, and set the paths without read-only attributes, and run program in C:\megui with admin rights...
Now i try without admin rights.
UPDATE: If i uncheck the option "delete intermediate files" all working good! So the problem is in deleting the file after the muxing of MKV..
Xor
24th February 2015, 21:39
In the "Device Type" drop-down box, try selecting "PC".
To be able to create files >2 GiB, an AVI multiplexer must be allowed to write OpenDML (AVI 2.0) files. "Legacy" AVI files used chunks with 32 bit size fields, often interpreted as signed (-2Gi .. +2Gi). Some consumer players may not support OpenDML AVIs, their support is only certain for PCs.
To clarify the meaning of "Standard" and "PC", I would suggest to extend the second option to "PC (OpenDML)".
Thanks work fine :sly:
kuchikirukia
27th February 2015, 01:58
MeGUI probably should switch to "PC (OpenDML)" automatically if no splitting is specified and the file size exceeds 2GB.
No, a program shouldn't silently convert from a highly compatible output to a minimally compatible one. Run into the incompatibility and you'd be pulling your hair out trying to figure out why it wasn't working. Giving an unexpected result (multiple files) lets you know right off that there's an issue and even gives you a hint what it might be.
It's much easier to field, "Why does my AVI split at 1.9GB," than, "Why doesn't this movie play?"
Whoever did it did it right.
hello_hello
28th February 2015, 19:43
No, a program shouldn't silently convert from a highly compatible output to a minimally compatible one. Run into the incompatibility and you'd be pulling your hair out trying to figure out why it wasn't working. Giving an unexpected result (multiple files) lets you know right off that there's an issue and even gives you a hint what it might be.
That's why people post here pulling their hair out trying to work out why MeGUI is splitting the output files when no splitting has been specified, despite the warning in the log file stating files will be split every 2GB.
It's much easier to field, "Why does my AVI split at 1.9GB," than, "Why doesn't this movie play?"
Whoever did it did it right.
Really? I wonder why that'd be? Is it hard to ask if the AVI in question is over 2GB?
Neither VirtualDubMod or VirtualDub split AVIs into 2GB segments by default, and I'm not aware either have a reputation for creating AVIs that won't play. They both switch to OpenDML automatically at 2GB although both have an option to use OpenDML automatically for AVIs over 1GB.
AVIMux_GUI does split at 2GB by default, but when you tell it not to, it automatically switches to OpenDML as required.
Which players don't support the "minimally compatible" OpenDML these days?
How to create a UHD 4K from normal bdfull 1080p with Megui? Best setting?
If try to resize 3840 megui do not generate preview and put resolution 1920, how to force upscaling?
Thanks
Taurus
2nd April 2015, 18:53
Did you notice the "Config" button in the "Avisynth script creator"?
Just click it and and on extra setup tab make a mark at "upsizing allowed".
But what's the use for upscaling HD to UHD?
It wont get better, let you player make the upscaling...
Sorry, could not resist
Man4life
10th April 2015, 13:06
why the "wiki - user guide" page in megui doesn't open?
hello_hello
10th April 2015, 14:23
Did you notice the "Config" button in the "Avisynth script creator"?
Just click it and and on extra setup tab make a mark at "upsizing allowed".
I post a bit in the VideoHelp forum and I've found myself explaining to people where to find the upsizing option quite a few times.
I still think having it hidden away and disabled by default is a bad idea (you can't even resize an anamorphic DVD to square pixels by resizing it "up" without it enabled). People can decide for themselves how to resize. And I still think it should be less restrictive. If upscaling is disabled and you crop just a couple of pixels you should at least be allowed to resize back to the original resolution. But that's just me.....
bilditup1
17th April 2015, 00:28
I've found a bug, at least in the 2525 version. I'm converting a video using QTGMC and then using SelectEven() to halve the framerate. The resulting file, however, was still at the doubled framerate output of QTGMC. However, according to the log, the problem isn't with the encode itself - it's that, when selecting mp4 format output, for some reason the doubled framerate is passed as a parameter to mp4box. I'm not sure how exactly this happens, but it definitely does. Even if fps is set explicitly as a parameter for x264, MeGUI doesn't make use of that information to supply the correct fps to mp4box. I've confirmed that this only happens with mp4 output, not rawavc or mkv. So either the settings for mp4box need to be given a place in the UI directly, or this behavior just needs to be fixed.
bilditup1
22nd April 2015, 23:08
I've submitted a patch that fixes a long-standing problem with file lengths being misinterpreted when using Apple-style chapters. Detailed explanation with diff at Sourceforge. (https://sourceforge.net/p/megui/patches/67/)
bilditup1
22nd April 2015, 23:17
why the "wiki - user guide" page in megui doesn't open?
Yeah, the wiki at mewiki.project357.com appears to be dead. If there's no backup, I guess we could get it by hand from the wayback machine or google's cache and put it up again somewheres...
xabregas
10th May 2015, 19:00
Hi. I want to make some encodes and i want to know if i need anything more than Megui.
hello_hello
10th May 2015, 20:12
Hi. I want to make some encodes and i want to know if i need anything more than Megui.
It depends how long you want that piece of string to be. ;)
As a general rule, no, you don't require anything more, but MeGUI does have a bit of a learning curve and you can only encode using the Xvid or x264 video encoders (the title of this thread could use an update).
xabregas
10th May 2015, 20:37
It depends how long you want that piece of string to be. ;)
As a general rule, no, you don't require anything more, but MeGUI does have a bit of a learning curve and you can only encode using the Xvid or x264 video encoders (the title of this thread could use an update).
I want to make the most simple encodes, for example encoding a bluray to avc with x264 but sometimes the video source suffers from interlaced problems. My question is do i need to install avisynth after megui??
hello_hello
11th May 2015, 04:30
No, MeGUI uses a portable version of Avisynth+, which is fairly similar to Avisynth 2.6. It has an option in it's settings to switch between using the portable version and any version of Avisynth you happen to have installed.
If you're going to install Avisynth though, it'd pay to install the latest, which is version 2.6 RC3 (or install Avisynth+). The reason for that is if you start using any additional Avisynth plugins, you can switch between the installed version and the portable version without too much issue as the plugins for Avisynth 2.6 also work for Avisynth+.
Other than that, no you don't need to install Avisynth, but it can be handy, as any plugins you put in the installed Avisynth plugins folder will automatically load when Avisynth runs (they'll also auto-load when MeGUI is using the portable version of Avisynth+) so you don't need to manually load them in scripts yourself. If you're not going to be doing anything beyond letting MeGUI create scripts and use the plugins that come with it, then it doesn't matter. MeGUI will load the plugins it needs to use.
Zathor
11th May 2015, 19:07
I've submitted a patch that fixes a long-standing problem with file lengths being misinterpreted when using Apple-style chapters. Detailed explanation with diff at Sourceforge. (https://sourceforge.net/p/megui/patches/67/)
Thx, merged.
Yeah, the wiki at mewiki.project357.com appears to be dead. If there's no backup, I guess we could get it by hand from the wayback machine or google's cache and put it up again somewheres...
Sadly I do not have the time for that :( Only "solution" is that I remove all links in the next release of nobody else steps in.
hello_hello
11th May 2015, 21:12
Sadly I do not have the time for that :( Only "solution" is that I remove all links in the next release of nobody else steps in.
I can't really contribute to the software side of things (no clue) but I could probably contribute by helping with something like that. I have a bit of free time and if there's no hurry.....
What was hosted on the mewiki.project357.com site? I think I recall I guide to x264's settings but aside from that I'm not sure.
Please help me,
i try to assemble (use AVI MUXER) 1 .avi + 1 ac3 + 1 srt, but receive this error:
http://i.imgur.com/vl7ZNFB.jpghttp://i.imgur.com/zTefDpt.jpg
i try to re-encode avi but error remain, how to fix ??
hello_hello
20th May 2015, 23:56
Please help me,
i try to assemble (use AVI MUXER) 1 .avi + 1 ac3 + 1 srt, but receive this error:
Post the whole log file.
Neroldy
21st May 2015, 04:40
Hi, all~
Can anyone help me to solve this problem?
https://sourceforge.net/p/megui/bugs/794/attachment/QAAC.JPG
I also update to r2544 but didn't help. My laptop is win 8.1, I also change to another win7 computer but it is still the same.
What should I do to solve this problem? Do I miss some packages in my laptop?
This is my sourceforge bug report: https://sourceforge.net/p/megui/bugs/794/
Thanks~
Post the whole log file.
"D:\MeGUI_2513\tools\avimux_gui\avimux_gui.exe" "D:\AVIREFIX-muxed.mux"
--[Information] [20/05/2015 14:27:28] Process started
--[Information] [20/05/2015 14:27:28] Standard output stream
--[Information] [20/05/2015 14:27:28] Standard error stream
--[Information] [20/05/2015 14:30:16] Postprocessing
---[Information] [20/05/2015 14:30:16] Deleting intermediate files
----[Information] [20/05/2015 14:30:16] Successfully deleted D:\AVIREFIX-muxed.mux
--[Information] [20/05/2015 14:30:16] Job completed
-[Information] Log for job21 (mux, AVIREFIX-01.avi -> AVIREFIX-01-muxed.avi)
--[Information] [20/05/2015 14:42:04] Started handling job
--[Information] [20/05/2015 14:42:04] Preprocessing
--[Information] [20/05/2015 14:42:04] mux script
---[NoImage] CLEAR
---[NoImage] LOAD D:\sub.srt
---[NoImage] SET OUTPUT OPTIONS
---[NoImage] SET OPTION SUBTITLE NAME
---[NoImage] LOAD D:\AVIREFIX-01.avi
---[NoImage] SELECT FILE 2
---[NoImage] ADD VIDEOSOURCE
---[NoImage] DESELECT FILE 2
---[NoImage] SET OUTPUT OPTIONS
---[NoImage] SET OPTION NUMBERING OFF
---[NoImage] SET OPTION MAXFILESIZE OFF
---[NoImage] SET INPUT OPTIONS
---[NoImage] SET OPTION MP3 VERIFY CBR ALWAYS
---[NoImage] SET OPTION MP3 VERIFY RESDLG OFF
---[NoImage] SET OPTION AVI FIXDX50 1
---[NoImage] SET OPTION CHAPTERS IMPORT 1
---[NoImage] SET OUTPUT OPTIONS
---[NoImage] SET OPTION ALL SUBTITLES 1
---[NoImage] SET OPTION ALL AUDIO 1
---[NoImage] SET OPTION CLOSEAPP 1
---[NoImage] SET OPTION DONEDLG 0
---[NoImage] SET OPTION OVERWRITEDLG 0
---[NoImage] SET OPTION PRELOAD 200
---[NoImage] SET OPTION OPENDML 1
---[NoImage] SET OPTION RECLISTS 1
---[NoImage] SET OPTION AUDIO INTERLEAVE 100 KB
---[NoImage] SET OPTION AVI RIFFAVISIZE 1
---[NoImage] SET OPTION AVI ADDJUNKBEFOREHEADERS 1
---[NoImage] SET OPTION AVI HAALIMODE 0
---[NoImage] SET OPTION STDIDX 10000 FRAMES
---[NoImage] SET OPTION LEGACY 1
---[NoImage] START D:\AVIREFIX-01-muxed.avi
--[Information] [20/05/2015 14:42:04] Job commandline: "D:\MeGUI_2513\tools\avimux_gui\avimux_gui.exe" "D:\AVIREFIX-01-muxed.mux"
--[Information] [20/05/2015 14:42:04] Process started
--[Information] [20/05/2015 14:42:04] Standard output stream
---[Information] [21/05/2015 06:51:40] Unicode flag: 1
--[Information] [20/05/2015 14:42:04] Standard error stream
--[Information] [21/05/2015 06:51:40] Postprocessing
---[Information] [21/05/2015 06:51:40] Deleting intermediate files
----[Information] [21/05/2015 06:51:40] Successfully deleted D:\AVIREFIX-01-muxed.mux
--[Information] [21/05/2015 06:51:40] Job completed
tebasuna51
22nd May 2015, 11:27
Please help me,
i try to assemble (use AVI MUXER) 1 .avi + 1 ac3 + 1 srt, but receive this error:
In your log don't exist a LOAD ac3, maybe you try load a invalid ac3 file.
Is related with your ac3 question in Audio encoding thread http://forum.doom9.org/showthread.php?p=1723074#post1723074 ?
Zathor
24th May 2015, 14:55
Hi, all~
Can anyone help me to solve this problem?
https://sourceforge.net/p/megui/bugs/794/attachment/QAAC.JPG
I also update to r2544 but didn't help. My laptop is win 8.1, I also change to another win7 computer but it is still the same.
What should I do to solve this problem? Do I miss some packages in my laptop?
This is my sourceforge bug report: https://sourceforge.net/p/megui/bugs/794/
Thanks~
As written I cannot reproduce it. Which DPI settings in Windows do you use?
Neroldy
25th May 2015, 11:37
As written I cannot reproduce it. Which DPI settings in Windows do you use?
My laptop system is windows 8.1 x64 and 1366x768 dpi size. I think maybe it's not a bug, it's just my laptop is lack of some package...
The dpi value is usually around 100 (typically, e.g. 72 or 96 dpi), it means "dots per inch". It is possible to change the resolution to e.g. upscale fonts if text appears tiny and hard to read.
XeoneR
26th May 2015, 12:11
Hi there, fellow transcoders.
Adding #degrain routine in the avs script creator with smdegrain.avsi & awesome mvtools2.dll would be great improvement.
Since if the source is heavily grained and no degrain is aplied usually approx half of the precious bitrate is consumed by the grain.
I consider it being a bit diff from denoising since most film transfers more grainy than noisy. Although it takes care of the noise too.
Temporal degrainer such as smdegrain or similar based on the famous motion vectors toolkit mvtools2 is very hq, has fine tuning
and does its job with great respect to edges, details and everything. I've used the thing for years with great success. So consider this..
The MP4 Muxer does not seem to set Language anymore. It use to set it as what MeGUI default to in the options.
Zathor
5th July 2015, 17:08
Thanks for the report. As I am not able to test this myself right now can you please post a log? Or does it look correct in there?
Thanks for the report. As I am not able to test this myself right now can you please post a log? Or does it look correct in there?
It seems that the audio is receiving the lang=en command but its not working. Video is not receiving it at all. I would assume it would use whatever is the default in the options. In my case English. Either way it was working before so I am not sure what happened.
[Information] [7/7/2015 12:07:07 AM] Job command line: "D:\Software\Programs\MeGUI\tools\mp4box\mp4box.exe" -add "D:\Download\source.h264#trackID=1:fps=23.976:name=file://D:\Download\source.h264_TRACKNAME0.txt" -add "D:\Download\audio.aac#trackID=1:lang=en:name=file://D:\Download\audio.aac_TRACKNAME0.txt" -tmp "D:\\Download" -new "D:\Download\source-muxed.mp4"
MediaInfo shows it missing too.
General
Complete name : source-muxed.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 273 MiB
Duration : 9mn 56s
Overall bit rate mode : Variable
Overall bit rate : 3 831 Kbps
Encoded date : UTC 2015-07-07 07:07:07
Tagged date : UTC 2015-07-07 07:07:07
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 9mn 56s
Bit rate : 3 701 Kbps
Maximum bit rate : 7 159 Kbps
Width : 1 152 pixels
Height : 720 pixels
Display aspect ratio : 16:10
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.186
Stream size : 263 MiB (97%)
Title : x264
Encoded date : UTC 2015-07-07 07:07:07
Tagged date : UTC 2015-07-07 07:07:09
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 9mn 56s
Bit rate mode : Variable
Bit rate : 128 Kbps
Maximum bit rate : 150 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 9.09 MiB (3%)
Title : AAC
Encoded date : UTC 2015-07-07 07:07:09
Tagged date : UTC 2015-07-07 07:07:09
I believe that a video stream would only need a language flag if it has language-dependent content (like the multi-angle trick on the "Shrek" DVD to show the cast rendered with translated texts).
CRFOnly
8th July 2015, 02:01
How ironic i came here to report the audio language problem from the mp4 muxer. Of course im using the last MeGUI dev server with all updated packages.
I found out that the command line must have changed in last mp4box. The language tag has to be 3 digits now, so instead of lang=en, it must be lang=eng
Works well when i try to do it from CLI manually with the MeGUI's MP4Box.exe Should be an easy fix for the dev.
Thanks by the way for this awesome tool.
There are different ISO-639 language codes (https://en.wikipedia.org/wiki/ISO_639), at least 2CC (639-1) and 3CC (639-2 and 639-3). If MP4Box "upgraded", then possibly for clarity and diversity.
Carpo
8th July 2015, 17:10
Zathor are you still considering doing an x64 version of megui? I remember you saying way back that you might if and when support for x64 caught up (avisynth, dll's and such)
Zathor
8th July 2015, 20:59
Stax did a recent try with Avisynth+ x64 here:
http://forum.doom9.org/showthread.php?t=172068
I still consider it myself, but it will be a lot of work to find working plugins and so on. And I do not want to abandon MeGUI x86 like Stax did with his tool. But then it will be too much work... so no clue when it will happen. Maybe tomorrow, maybe not in the next years. Depends an the dvelopment in the AviSynth x64 area (currently seems to be on hold again).
Carpo
8th July 2015, 22:30
I did try that out, but prefer megui more, as for plugins
http://avisynth.nl/index.php/AviSynth%2B#AviSynth.2B_x64_plugins
not sure how up to date that is but a good starting point.
When MeGUI x64 does appear I will test it :)
How ironic i came here to report the audio language problem from the mp4 muxer. Of course im using the last MeGUI dev server with all updated packages.
I found out that the command line must have changed in last mp4box. The language tag has to be 3 digits now, so instead of lang=en, it must be lang=eng
Works well when i try to do it from CLI manually with the MeGUI's MP4Box.exe Should be an easy fix for the dev.
Thanks by the way for this awesome tool.
Ah nice find. Well anyways I hope this can be fixed. For the video track and audio track.
edit: Just noticed there was a megui update. And it seemed to fix the audio. But the video is still left blank. Shouldn't this use what language is set in the options? Or maybe add a pulldown menu for the video as well for languages.
Does a language tag for the video stream make sense at all, except for the case when you have multiple video streams with different content for each language? ... MeGUI does not support multiple parallel video streams.
Does a language tag for the video stream make sense at all, except for the case when you have multiple video streams with different content for each language? ... MeGUI does not support multiple parallel video streams.
That's not really the point. It was working at some point. Now its not. Also MKVMerge supports it. I see no reason why mp4 can't. I use it so yes there is a use for it for some.
stax76
10th July 2015, 14:02
I did try that out, but prefer megui more, as for plugins
http://avisynth.nl/index.php/AviSynth%2B#AviSynth.2B_x64_plugins
not sure how up to date that is but a good starting point.
When MeGUI x64 does appear I will test it :)
The biggest problem with AviSynth+ x64 at this moment is you cannot use complex scripts like QTGMC. It's however possible to use QTGMC using VapourSynth x64 where it works greatly.
Another problem is DGDecode x64 isn't working correctly, it's not a big deal though since ffms2 x64 can handle NTSC fine and there is also DGDecNV x64.
Depending on situation I use both AviSynth+ x64 and VapourSynth x64.
Zathor
10th July 2015, 17:43
That's not really the point. It was working at some point. Now its not. Also MKVMerge supports it. I see no reason why mp4 can't. I use it so yes there is a use for it for some.
To my knowledge it was never supported in MeGUI to set a language for the video track. There is no option for that in the muxer GUIs.
Dion
11th July 2015, 02:09
To my knowledge it was never supported in MeGUI to set a language for the video track. There is no option for that in the muxer GUIs.
Hmm interesting. Well I have muxed stuff in the past with MeGUI mp4 muxer and it set the English language. Maybe it was already set on the file before muxing.
Either way can you add this option?
laz1989
10th August 2015, 17:40
Hey guys.
Noob question.
Is there anyway to go back to vfw4x264 in the new MeGui version ? MeGui replaced with avs4x264mod.
Or should i go back to older MeGui version ?
Thanks!
Boulder
10th August 2015, 18:18
I'm getting a weird error when opening MeGUI: it complains about a running MeGUI instance being detected. I certainly do not have another MeGUI running and the dialog also appears after a fresh reboot.
I also get the same error when trying to open "IV Play" (a MAME GUI).
I tried to watch what happens with Process Explorer but couldn't find any direct reason or hint where to start looking at. I've also uninstalled EMET and tried disabling the antivirus resident shield (AVG).
Does anyone have any tips?
Zathor
11th August 2015, 18:50
Is there anyway to go back to vfw4x264 in the new MeGui version ? MeGui replaced with avs4x264mod.
Or should i go back to older MeGui version ?
Not sure why you want to do that, but it may be possible to simply switch the executables (vfw4x264 renamed to avs4x264mod of course). If this does not work because of changed command lines then you need to use an older MeGUI version.
Zathor
11th August 2015, 19:19
I'm getting a weird error when opening MeGUI: it complains about a running MeGUI instance being detected. I certainly do not have another MeGUI running and the dialog also appears after a fresh reboot.
I also get the same error when trying to open "IV Play" (a MAME GUI).
I tried to watch what happens with Process Explorer but couldn't find any direct reason or hint where to start looking at. I've also uninstalled EMET and tried disabling the antivirus resident shield (AVG).
Does anyone have any tips?
MeGUI (same as IV-Play) are using Mutex to check if another instance of their programs are already running. It seems that your system has problems to detect those Mutex objects and therefore you get these messages.
Boulder
11th August 2015, 20:16
MeGUI (same as IV-Play) are using Mutex to check if another instance of their programs are already running. It seems that your system has problems to detect those Mutex objects and therefore you get these messages.Thanks, I'll try to dig up some information to fix the issue for good :)
Xor
13th August 2015, 14:25
i have a problem to extract audio track from an iso, i get a files 1mb ac3 not good.
I try to extract Ac3 and Raw, but extract fails, this is a log:
M2TS, 1 video track, 4 audio tracks, 1 subtitle track, 1:27:11, 0.423p
1: Chapters, 10 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: RAW/PCM, Italian, 2.0 channels, 16 bits, 48kHz
4: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
5: RAW/PCM, French, 2.0 channels, 16 bits, 48kHz
6: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
7: Subtitle (PGS), English
[a04] Extracting audio track number 4...
[a04] Reading RAW/PCM...
[a04] Swapping endian...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a04] Creating file "D:\F1_T4_Audio - English.raw"...
[a03] Creating file "D:\F1_T3_Audio - Italian.raw"...
[a04] The ts pcm reader received a PCM block in an unexpected format. <WARNING>
[a03] The ts pcm reader received a PCM block in an unexpected format. <WARNING>
[a03] The original audio track has a constant bit depth of 16 bits.
[a04] The original audio track has a constant bit depth of 16 bits.
Video track 2 contains 125429 frames.
eac3to processing took 7 minutes, 20 seconds.
Done.
How to solve and extract correctly this track ?
Thanks
LigH
13th August 2015, 14:44
The used call with all command line parameters is missing in your log.
Furthermore, there is apparently no AC3 audio stream, only raw PCM.
Xor
14th August 2015, 01:44
The used call with all command line parameters is missing in your log.
Furthermore, there is apparently no AC3 audio stream, only raw PCM.
i use tools>hd streams extractor
how to grab FULL command line?
tebasuna51
14th August 2015, 02:29
...how to grab FULL command line?
Is not necesary.
Seems there are some corrupt data in your ISO file or maybe the playlist have more than one m2ts with different tracks.
If the mpls have more than one m2ts try open each one (Select file as input) to see if there are different track 3 and 4.
BTW to extract PCM tracks use always wav or w64 output, never use raw or pcm.
LigH
14th August 2015, 07:27
Alright, tebasuna51 will know MeGUI better. :) — But if you are still interested, I would guess it may be stored in the log file.
tebasuna51
14th August 2015, 10:57
Alright, tebasuna51 will know MeGUI better. :) — But if you are still interested, I would guess it may be stored in the log file.
Not the full MeGUI, but yes the HD Streams Extractor like a eac3to GUI.:p
It generate a command line like this (replace the upper case with the selected/generated value):
eac3to BD_FOLDER_INPUT PLAYLIST_NUMBER) TRACK_NUMBER: OUTPUT.EXT PARAMETERS
With:
EXT can be selected in 'Extract As'
PARAMETERS can be added manually in '+Options'
When eac3to analyze a playlist show the tracks of first m2ts, if there are only one the message:
[a04] The ts pcm reader received a PCM block in an unexpected format. <WARNING>
only can be corrupt data.
But if there are a second m2ts with a track 4 PCM 5.1 the ts pcm reader can detect the change (pcm blocks in ts container have a little header).
Is a know problem when there are different tracks in m2ts's in the same playlist. The only solution is extract the audio track from each m2ts and convert them to the common desired format.
Glarioo
27th August 2015, 18:42
Hey guys. I'm new here.
Is it normal that the Reframes are displayed differently by media info than set by MeGui (one-click mode)? Or did i something wrong. I've tried "Restore Defaults" with no result.
LigH
27th August 2015, 19:19
Which video format?
And how old is your MediaInfo?
I know there was a mistake interpreting the references of AVC video in case of B-frame pyramid enabled (one reference array space had to be reserved for the pyramid details), but MediaInfo should have corrected that a while ago, I believe?!
Zathor
27th August 2015, 19:31
Hey guys. I'm new here.
Is it normal that the Reframes are displayed differently by media info than set by MeGuide (one-click mode)? Or did i something wrong. I've tried "Restore Defaults" with no result.
Please post your log file of the encoding.
Glarioo
27th August 2015, 20:49
Thanks for the quick response!
I've encoded the same movie today again, same "problem".
Here's the log file.
Video format was AVC, i think. (MKV container).
I use the latest version of MediaInfo (0.7.76).
sneaker_ger
28th August 2015, 04:15
I know there was a mistake interpreting the references of AVC video in case of B-frame pyramid enabled (one reference array space had to be reserved for the pyramid details), but MediaInfo should have corrected that a while ago, I believe?!
I assume you refer to this:
http://forum.doom9.org/showthread.php?p=1470506#post1470506
I don't think MediaInfo has changed anything so this is normal. (His log isn't approved yet but I guess that's indeed where the difference comes from.)
Glarioo
30th August 2015, 15:07
When i disable B-Pyramid in the x264 configuration dialog (Frame-Type), the problem is solved (post #3105).
However, i do not know if this is allowed.
LigH
30th August 2015, 16:09
Better trust in x264 doing a great job in the given limits, and do not panic over MediaInfo not explaining this header analysis verbosely. Most probably x264 won't exhaust the reference frame limit in every GOP, anyway, will often be satisfied with less references per frame than allowed.
Glarioo
31st August 2015, 17:39
Did some test with B-Pyramid enabled (normal) and disabled. I see no difference. The quality of the movie, in both encodes, is very good.
Glarioo
10th September 2015, 19:40
My installed version of Avisynth is 2.5.8. In options - settings - main configuration is "Always use the included version of Avisynth" unchecked. Should i checked it or just leave it? I always use one click mode of MeGui.
LigH
10th September 2015, 19:53
This is not at all related to the B-frame pyramid.
And in general, you may want to update to AviSynth v2.60 final, eventually ...
Whether you always want to use the AviSynth+ version included in MeGUI, I don't know; if you are going to use very complex script functions like QTGMC, you may not want to. Not until AviSynth+ got fixed. It may leak memory and drop speed. But there seems to be serious effort now.
Glarioo
11th September 2015, 13:53
Thanks LigH. I just wanted to know if the included, newer version of AviSynth is "better" than my installed version. I gonna use my installed version until AviSynth+ got fixed, like you said. I don't use complex script functions, i have no experience with those things. I just use One-Click, sometimes automated 2-pass, but most of the time Const. Quality (CRF-18). Preset medium or slow it depends...
BTW, this question had nothing to do with B-Pyramid. My apologize 'cause i confused you a little.
Xor
14th September 2015, 07:42
Hi,
i want try to create a HEVC 4k (4096 PX) with Megui and source a normal untouched bluray x264.
On Megui select X265 but connot permit to upscaling over 1920.
how to proceed using Megui to upscaling?
Or what do you recommend different encoder? which ?
Thank's
AMED
14th September 2015, 08:22
Hi,
i want try to create a HEVC 4k (4096 PX) with Megui and source a normal untouched bluray x264.
On Megui select X265 but connot permit to upscaling over 1920.
how to proceed using Megui to upscaling?
Or what do you recommend different encoder? which ?
Thank'sEdit the Avisynth profile you are using, Extra setup tab and tick Upsizing allowed.
hello_hello
14th September 2015, 08:32
Hi,
i want try to create a HEVC 4k (4096 PX) with Megui and source a normal untouched bluray x264.
On Megui select X265 but connot permit to upscaling over 1920.
how to proceed using Megui to upscaling?
Or what do you recommend different encoder? which ?
Thank's
I assume you've not enabled "upsizing" in the script creator's Avisynth profile configuration? If that's the problem, once it's enabled you should be able to use the script creator's resizing to upscale to 4k. I still think it'd be better if "upsizing" was enabled by default. I rarely use the OneClick encoder so I don't know how upscaling applies there.
Isn't 4K for the masses 3840x2160 rather than 4096 wide? I just thought I'd mention it.....
https://en.wikipedia.org/wiki/Blu-ray#Ultra_HD_Blu-ray
https://en.wikipedia.org/wiki/Ultra-high-definition_television#Resolution
stax76
14th September 2015, 15:27
This is not at all related to the B-frame pyramid.
And in general, you may want to update to AviSynth v2.60 final, eventually ...
Whether you always want to use the AviSynth+ version included in MeGUI, I don't know; if you are going to use very complex script functions like QTGMC, you may not want to. Not until AviSynth+ got fixed. It may leak memory and drop speed. But there seems to be serious effort now.
Yes, it looks QTGMC works with ref 1773, I'll downgrade AviSynth+ in my next release, the discussion is here:
http://forum.doom9.org/showthread.php?p=1736551#post1736551
hello_hello
14th September 2015, 22:41
My installed version of Avisynth is 2.5.8. In options - settings - main configuration is "Always use the included version of Avisynth" unchecked. Should i checked it or just leave it? I always use one click mode of MeGuI.
Zathor switched the "included" Avisynth to Avisynth 2.6 very recently. At least on the development update server. The "included" Avisynth is no longer Avisynth+ (due to a few recent problems with that version).
It might be an idea to uninstall your old Avisynth 2.5.8 and install Avisynth 2.6, given it's the current version.
It shouldn't matter whether MeGUI uses the "included" Avisynth or the "installed" Avisynth.
Glarioo
27th September 2015, 17:47
Uninstalled Avisynth 2.5.8 and installed Avisynth 2.6.0.6 (downloaded from Videohelp). Encoded some Harry Potter movies (1, 2, 3 and 4). A quick look at the MKV's tells me that everything looks fine.
Zebbik
18th November 2015, 13:26
Hi,
I've got this warning when I run MeGUI application. I am not an expert on that and I don't exactly know what may be wrong and cause it. I have copied a part of a log.
[Warning] Versions
-[Information] [18/11/2015 11:30:52] MeGUI: 2525
-[Information] [18/11/2015 11:30:52] Operating System: Windows 7 Enterprise Edition x64 SP1 (6.1.65536.7601)
-[Information] [18/11/2015 11:30:52] .Net Framework: 2.0.50727.5420
-[Information] [18/11/2015 11:30:52] .Net Framework: 4.0.0.0
-[Information] [18/11/2015 11:30:54] AviSynth+ portable: 2.6.0.5 (02-01-2014)
-[Information] [18/11/2015 11:30:57] AvisynthWrapper: (02-01-2009)
-[Warning] [18/11/2015 11:30:57] Haali Matroska Splitter not installed properly.
-[Warning] [18/11/2015 11:30:57] Therefore DSS2() and certain functions of FFVideoSource() and the HD Streams Extractor may also not work.
-[Warning] [18/11/2015 11:30:58] Please download and install it from http://haali.su/mkv/
-[Information] [18/11/2015 11:30:58] Haali DSS2: not installed
-[Information] [18/11/2015 11:30:58] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
-[Information] [18/11/2015 11:30:58] LinqBridge: 1.0.0.0 (28-05-2009)
-[Information] [18/11/2015 11:30:58] MediaInfo: 0.7.72.0 (07-01-2015)
-[Information] [18/11/2015 11:30:58] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
-[Information] [18/11/2015 11:30:58] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
-[Information] [18/11/2015 11:30:58] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
-[Information] [18/11/2015 11:30:58] 7z: 9.20 (18-11-2010)
MeGUI is on a USB HDD. I hope that's not why the problem appears!
LigH
18th November 2015, 15:21
You have MeGUI version 2525. The most current development version is 2620. The use of Haali Media Splitter is quite deprecated now for many features. Please update after switching to the development update server, then check if this warning still appears. Anyway, you may possibly not need it except for a few specific uses.
Zebbik
19th November 2015, 09:51
You have MeGUI version 2525. The most current development version is 2620. The use of Haali Media Splitter is quite deprecated now for many features. Please update after switching to the development update server, then check if this warning still appears. Anyway, you may possibly not need it except for a few specific uses.
Hi and thanks for the answer. I use either x264 or XviD (unfortunately I still need to deal with XviD) in MKV or AVI container. If that's possible, could explain when I would need to worry about the Haali Splitter? What is it for?
As to the version, the MeGUI2525 seems to be the most up-to-date at SourceForge (the link (http://sourceforge.net/projects/megui/files/megui-stable/)).
thanks
LigH
19th November 2015, 10:11
Haali Media Splitter used to be helpful for reading different video formats, supporting FFMS2 while it depended on its help, and demultiplexing streams from HD formats to be processed separately. Also it was a common DirectShow splitter filter for the Matroska container (*.mkv).
Today it is rather obsolete since FFMS2 uses no special Matroska splitter anymore, but libavformats instead, just like L-SMASH Source always did (and was much more reliable this way). Regarding DirectShow filters, "LAV Filters" substituted both ffdshow and Haali Media Splitter in most cases.
_
You may have downloaded the latest "stable" MeGUI release; but the "stable" versions last long and miss a lot of recent updates from the "development" branch. Development versions of MeGUI are usually well tested, and new bugs won't last long, so it is usually recommendable to switch to the development update server in the MeGUI options.
nekrovski
19th November 2015, 14:59
Can anyone tell me why MeGUI keeps crashing?
It's been a while since I've done some encodings. I'm on windows 10 now. Opening MeGUI, going to tools -> avs script creator -> video input
I select the video, the preview comes up totally blank and after closing the preview it crashes. Sometimes after selecting the video, MeGUI starts loading, 15 seconds pass by and I get some DirectShowSource timeout error.
Event viewer says this
Faulting application name: MeGUI.exe, version: 1.0.2525.0, time stamp: 0x54fc5b03
Faulting module name: DirectShowSource.dll_unloaded, version: 2.6.0.3, time stamp: 0x55332925
Exception code: 0xc00001a5
Fault offset: 0x00010600
Faulting process id: 0x13d0
Faulting application start time: 0x01d122d0f24746d6
Faulting application path: C:\Users\X\Desktop\MeGUI_2525_x86\MeGUI.exe
Faulting module path: DirectShowSource.dll
Report Id: c1372567-e047-4ce1-a20c-45663d17eec5
Faulting package full name:
Faulting package-relative application ID:
I have avisynth installed.
LigH
19th November 2015, 15:07
Why do you prefer DirectShowSource, despite all recommendations to use it only when native AviSynth plugins (like DGDec*, L-SMASH Source or FFMS2) fail?
Such a crash is probably caused by issues with an installed DirectShow filter or DirectShow as a whole (Windows 10 is going to deprecate it). Native AviSynth decoders don't depend on installed DirectShow filters. Furthermore, DirectShow filters are not always tuned for optimal quality, sometimes instead for performance with possible quality loss, down to skipped frames (which will ruin your conversion).
Native plugins will just have a little disadvantage that they usually need an index file being generated. But in general, their reliability is better today than ever before.
nekrovski
19th November 2015, 15:15
Why do you prefer DirectShowSource, despite all recommendations to use it only when native AviSynth plugins (like DGDec*, L-SMASH Source or FFMS2) fail?
Such a crash is probably caused by issues with an installed DirectShow filter or DirectShow as a whole (Windows 10 is going to deprecate it). Native AviSynth decoders don't depend on installed DirectShow filters. Furthermore, DirectShow filters are not always tuned for optimal quality, sometimes instead for performance with possible quality loss, down to skipped frames (which will ruin your conversion).
Native plugins will just have a little disadvantage that they usually need an index file being generated. But in general, their reliability is better today than ever before.
Thanks for your reply.
I use DirectShow because that's how I was taught several years back after following a tutorial.
Now, you recommend I should click File indexer?
LigH
19th November 2015, 15:34
Yes, that would be the recommended procedure in these days.
In case of doubt, show us a MediaInfo analysis of your source, and a description of the desired target (especially when a playback device may require some compatibility), then we can give more specific recommendations. Sometimes it may be useful to use the HD streams extractor if a source contains audio formats which need a special processing because the target format would not support them.
nekrovski
19th November 2015, 16:27
In case of doubt
There's no doubt since I don't really understand these things, but since file indexer seems to do the job DirectShow was supposed to, I think it's fine.
Thanks for your support!
Glarioo
6th December 2015, 08:29
I'm using MeGui 2624. Since the last update (saturday 5/12/2015) i get this error: LoadPlugin: unable to load "C:\Users\Gebruiker\Documents\Blu Ray\MeGUI_2525_x86\tools\lsmash\LSMASHSource.dll", Module not found. Install missing library?
These tools have been updated: FFmpeg, L-SMASH Works and mkvmerge. The movie that fails since the last update was working well a day earlier.
LigH
6th December 2015, 10:03
Thank you - already reported in the MeGUI bug reports (http://forum.doom9.org/showthread.php?p=1748780#post1748780) thread. I believe we have 3 current big threads related to MeGUI now.
Zathor
6th December 2015, 21:44
Yes, maybe it would be a good idea to close this thread here as the information in the thread start is outdated.
Glarioo
7th December 2015, 10:26
Yesterday evening i've installed the new update (LSMASHWorks r804) and MeGUI is working perfectly again.
LigH
7th December 2015, 10:35
Rather looks like the L-SMASH Source version was downgraded a bit (r82x => r804), until there is a reliable updated version again.
tebasuna51
7th December 2015, 12:50
Yes, maybe it would be a good idea to close this thread here as the information in the thread start is outdated.
Yes, I also think so.
Please use only:
MeGUI: General Questions and Troubleshooting Thread (http://forum.doom9.org/showthread.php?t=105920)
MeGUI: bug reports and feature requests (http://forum.doom9.org/showthread.php?t=151159)
Thread closed.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.