Log in

View Full Version : MeGUI: General Questions and Troubleshooting Thread


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

invy
15th August 2013, 14:34
--[Warning] [8/15/2013 6:03:13 AM] --vbv-bufsize is not restricted. Maximum value for level 4.1 is 78125. Playback may be affected. Reselect AVC level/profile or target playback device in the x264 preset to set the proper value.
--[Warning] [8/15/2013 6:03:13 AM] --vbv-maxrate is not restricted. Maximum value for level 4.1 is 62500. Playback may be affected. Reselect AVC level/profile or target playback device in the x264 preset to set the proper value.


da fuq? where did this come from all of a sudden? i didn't mess with anything.

Dahitman
15th August 2013, 14:35
The option --fgo was an experiment in 2008 (http://forum.doom9.org/showthread.php?t=139685). It is not supported in current official x264 builds.

There are no miracle presets. Either try to understand the advanced options, or trust in the defaults used with basic presets and tunings.

Oh, alright thanks.
By the way, is there any topic here or anywhere else, that teaches how to use filters in Megui? Specially debanding ones.
I'm trying to learn how to use filters in megui, or just in general but I have no idea how to do it.

invy
16th August 2013, 20:20
--[Warning] [8/15/2013 6:03:13 AM] --vbv-bufsize is not restricted. Maximum value for level 4.1 is 78125. Playback may be affected. Reselect AVC level/profile or target playback device in the x264 preset to set the proper value.
--[Warning] [8/15/2013 6:03:13 AM] --vbv-maxrate is not restricted. Maximum value for level 4.1 is 62500. Playback may be affected. Reselect AVC level/profile or target playback device in the x264 preset to set the proper value.


da fuq? where did this come from all of a sudden? i didn't mess with anything.

Anyone? I need to hurry up and encode this file already... I encoded it once not knowing the error was existing. Playback seeking was very slow.

detmek
16th August 2013, 21:34
Post entire log file, not just part about error.

SacredCultivator
17th August 2013, 16:00
Sorry if this was mentioned within the change of not being able to output .mp4 for encodes.

But seems (only tested) with VLC after I produce the rawavc file and then mux it using meGUI's MP4 muxer, I can't seek videos and it just freezes with VLC. But using CCCP/Media Player Classic it's fine. But if for example I mux it using the .mkv muxer it works fine and VLC has no issues. So it only applies when using the MP4 muxer.

NO settings were changed within meGUI except for updating the internal files through meGUI. So not sure if it's something that was intentional or not from the change.

I apologize if that's vague and can provide more info if needed.

LigH
17th August 2013, 16:36
So either this specific MP4Box may create incorrect MP4 files (less probable, IMHO), or this specific VLC can't read MP4 files reliably (more probable, IMHO)...

SacredCultivator
17th August 2013, 16:42
For the MP4Box, I'm using the one provided within meGUI so version is, r4283 (gpac).

Another player that has issues that I cam across was Windows Media Player.

So I'm curious if it's perhaps just the Players not being updated to play the .mp4 files (able to seek). Though I find it weird because the only change recently was meGUI not outputting .mp4 but .264 files.

Since when I tried downloading/updating to only Stable version of meGUI/files and try outputting .mp4 and muxing it, there's no issues (with VLC/WMP). So to fault the Player, not sure if that's really the case since the change happened within meGUI during update to not output mp4. *shrugs* Not too sure.

- - -
After further testing, I probably shoulda posted this in the other thread, but tested out kurtnoise's (http://kurtnoise.free.fr/megui/MeGUI-r2385_20130816-2.7z) version for 10-bit. And his still features using mp4 output and after doing a short test encode with it, it works fine in VLC/WMP. ANd it's using the latest version of meGUI/x264 so not sure if within Zathor's change something happened. But kurtnoise's has no issues if it includes .mp4 output, so I guess for now I'll stick to kurtnoise's until Zathor's has a probable fix for when outputting .264/muxing without issues.

SacredCultivator
17th August 2013, 23:18
So for that link you gave, when I install it, it installs MP4box? Sorry not too sure how that works. BUt if it works to where i can just manually use it to mux and it works, that'd be pretty awesome.

detmek
18th August 2013, 10:12
As long as there is not any API change you can update any tool manually. For example, I updated Avisynth to 2.6 with MT support. Naturally, you update tool and test it. If it works, good. If it doesn't, you restore original file.

invy
19th August 2013, 12:39
Post entire log file, not just part about error.

http://pastebin.com/q7TSpdK4

detmek
19th August 2013, 15:22
-[Warning] [8/15/2013 6:03:13 AM] --vbv-bufsize is not restricted. Maximum value for level 4.1 is 78125. Playback may be affected. Reselect AVC level/profile or target playback device in the x264 preset to set the proper value.
--[Warning] [8/15/2013 6:03:13 AM] --vbv-maxrate is not restricted. Maximum value for level 4.1 is 62500. Playback may be affected. Reselect AVC level/profile or target playback device in the x264 preset to set the proper value.


da fuq? where did this come from all of a sudden? i didn't mess with anything.

I don't see this warnings it your log.

invy
20th August 2013, 00:17
Sorry about that. I BELIEVE it's because I re-encoded the MPEG with VideoReDo (VRD) during the weekend. But I see there is still some sort of warning if you take a look at the end of the log. Let me explain what happened.

I had 3 parts of MPEG files. Part 1 and 3 were Program Streams (MPEG) from the same source, Part 2 was actually Transport Stream from a different source with higher bitrates, same resolution but I used MPEGStreamclip to turn it to PS like the other two.

Therefore it was now all ready for VRD. I used VRD to merge them in one file, and saved as MPEG. But before that I took each file seperately and ran them through the intelligent re-encode, using the same settings on each. If I remember correctly, the settings were Header bitrate of 15000 kbps, and Max bitrate of 20000 kbps. I'm thinking that may have caused MeGUI to freak out with that error.

At this point is when I tried to encode (6 hours of encoding time for nothing) and made my initial post asking about the error.

Skip to yesterday morning is when I took the whole MPEG again and encoded it, this time to 9800 kbps, with no max limit. So this is where I stand today with that different error, that I did not realize it was different until you pointed it out.

So will I get the same slow seeking problem as before even if it didn't suggest the error this time in the log? I don't want to encode again for nothing. Thanks.

detmek
20th August 2013, 10:40
If you are talking about this warning:
---[Warning] [8/19/2013 6:53:20 AM] x264 [warning]: VBV bitrate (62500) > level limit (50000)
---[Warning] [8/19/2013 6:53:20 AM] x264 [warning]: VBV buffer (78125) > level limit (62500)
than you don't have to worry. This is normal warning as you choose to encode using (default) High profile and applied correct VBV settings by choosing level but x264 for first pass always uses Main profile which has lower VBV values. So, you see a warning.
This warning does not affect seeking or quality.

hello_hello
23rd August 2013, 06:13
Maybe I'm missing the obvious as I don't work with subtitles much.

Many conversion programs will extract the subtitles from DVDs and hard-code them, and some give you the option of hard-coding just the subtitles flagged as "forced", assuming the forced subtitles aren't in a separate subtitle "stream". AutoGK comes to mind.....

I know how to extract subtitles with Vobsubber and I generally convert the forced subtitles to a SRT file with SubtitleEdit, then add them to a script that way (which often looks better than the original subtitles anyway), but is there a way to add DVD subtitles to a script and only hardcode the ones flagged as "forced" using MeGUI?

Or does anyone recall how AutoGK does it? Can Vobsubber extract just the forced subtitles? I'm not sure I remember an option like that.

Thanks.

Shevek
23rd August 2013, 07:31
Although primarily designed for BluRay SUP files, BDSup2Sub can also handle DVD SUB/IDX as well.

You load your IDX file (or drag/drop) and it will tell you in the messages (at the end) if there are any forced subs.

You can then Export and check the box for "Only Forced"

https://github.com/mjuhasz/BDSup2Sub/wiki

Also, watch out as sometimes you will see a smaller sub track which ONLY has the forced subtitles in it but they aren't marked as forced - e.g. the short Cantonese section Waynes World has a single subs track for it which only has about a dozen entries.

hello_hello
23rd August 2013, 08:21
Thanks, I'll give BDSup2Sub a spin.
It did occur to me that DVDShrink's re-author mode gives you the ability to select only forced subtitles (I think) so it'd probably be possible to re-author the DVD files while only keeping the forced subtitles and then extract them, but being able to extract them with a program such as BDSup2Sub without having to re-author the DVD in order to do it would no doubt be easier.

I guess I was hoping for a "magic" parameter to use with VSFilter that'd get it to only use forced subtitles, but I suppose that was wishful thinking.

Cheers.

Shevek
24th August 2013, 09:12
"The Holy Grail" of subs :D:D

As I said, there's no standard to how 'they' author forced subs so it's a manual job to extract them and examine each stream.

invy
25th August 2013, 07:27
Can someone tell me how to configure OneClick to only use the first audio track automatically, and ignore the second? I had this problem a few months ago and supposedly it was fixed..for a while. My OTA caps are being picked up by MeGUI as having two tracks, but when it encodes them, they are exactly the same size and all. It really is a waste of time encoding the same thing time every single file I encode.

Kurtnoise
25th August 2013, 09:35
Select the OneClick Profile, then go to the Audio tab and check "use only the 1st track"...

Zathor
26th August 2013, 07:34
Can someone tell me how to configure OneClick to only use the first audio track automatically, and ignore the second? I had this problem a few months ago and supposedly it was fixed..for a while. My OTA caps are being picked up by MeGUI as having two tracks, but when it encodes them, they are exactly the same size and all. It really is a waste of time encoding the same thing time every single file I encode.
Please upload the log and if possible a small sample file. I would like to have a look if the identical track can be skipped automatically.

invy
29th August 2013, 04:17
Select the OneClick Profile, then go to the Audio tab and check "use only the 1st track"...

That's part of the problem because it was already checkmarked.

Please upload the log and if possible a small sample file. I would like to have a look if the identical track can be skipped automatically.

http://www.mediafire.com/?0e325l2rd6azz7t
http://www.mediafire.com/?l85be02950b7x82

log of first sample: http://pastebin.com/1hHeDX5D

First sample is straight after capturing, second sample is after I open it in VRD and do a simple 'save as'. You can see the difference if you open them in MediaInfo.

I'm not sure if I mentioned this in previous posts already but.. processing the video in VRD gets rid of the "phantom" 2nd audio track. Also, I would like to mention that while I was capturing samples, sometimes it wouldn't produce a clip that had two tracks even if it was the same channel/show, but, 90% of the time it would.

Sorry for the delay by the way.

Flux
7th September 2013, 20:40
Is it possible to disable chroma subsampling when encoding with 10-bit x264 from avisynth script? I have couple hundred RAW images converted to TIF and using imagesource, but MeGUI always converts them to YV12 (4:2:0).

LigH
7th September 2013, 20:46
MeGUI does not yet support YV16 and YV24, AFAIK, because this requires additional x264 parameters, and furthermore, many popular AviSynth filters don't support these color spaces.

Pulp Catalyst
26th September 2013, 13:48
Noticed that Avisynth 2.6.0 Alpha 5 is now being pushed by MeGUI, i use QTGMC quite havily, would this still continue to work, is there anything i should be aware off now that MeGUI is switching over to the new version of Avisynth?

Zathor
26th September 2013, 18:44
The included AVS build will only be used if no AVS is installed on the client (or if you copy these files in the root dir of MeGUI on your own). So you will have no problem at all.

AMED
27th September 2013, 06:19
i seem to be getting prompted to download the avs package everytime i open megui, but this one fails to download.

AVS
local version = 2.6.0 a5
server version = 2.6.0 a5
local date = 25/09/2013
server date = 26/09/2013

Connecting to server: http://megui.xvidvideo.ru/auto/
There is 1 file which can be updated.
Updating avs. File 1/1.
Error: Failed to download file avs with error: CouldNotDownloadFile.
Update completed
Error: Files which have been not sucessfully updated: 1

When I look in the update_cache, avisynth-2.6.0.a5-1.7z has a zero filesize.

AMiR9!WV
27th September 2013, 06:19
I've never hardcoded subtitles using the OneClick encoder, but if I had to guess..... (you're wanting to hardcode the same subtitles into each encode, yes?)

Open a file for encoding with the file indexer, add the desired subtitles and copy the subtitle lines MeGUI adds to the script to the Windows clipboard. It'll be something like this:

LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\VSFilter.dll")
TextSub("D:\subtitle.srt", 1)

The copied subtitle lines will be used when creating an AVISynth template. You can close the script creator and then create an AVISynth template while setting up the OneClick encoder like this:

Open the OneClick encoder.
Click on the Config button next to the OneClick profile drop down box.
When the configuration window opens, click on the Config button next to the AviSynth profile drop down box.
When the AVISynth configuration window opens, paste the copied subtitles into the template window below what's already there. You'll end up with an AVIsynth template which looks something like this:

<input>
<deinterlace>
<crop>
<resize>
<denoise>
LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\VSFilter.dll")
TextSub("D:\subtitle.srt", 1)

Naturally the "LoadPlugin" line might be different to match the location where MeGUI is installed, and the last line will point to the location of the actual subtitle file.

Use the "New" button down the bottom to save a new AVIsynth template. Give it an appropriate name. Click on OK to close the AVIsynth configuration.
Back in the OneClick configuration window select your newly saved AVIsynth profile from the drop down box (if it's not already selected).
Change any other OneClick settings for cropping, resizing and/or encoder configuration etc.
Click on the "New" button to save the OneClick setup as a new preset and give it an appropriate name etc.
Click okay to close the OneClick configuration and go back to the OneClick encoder.
Select your newly saved OneClick profile from the drop down box (if it's not already selected).
Open the folder full of files for re-encoding.

I'll be honest and admit I've rarely use the OneClick encoder and not tested the above, but logically that's the way you hardcode the same subtitles to each file while batch encoding. You're basically creating an AVISynth template which includes the subtitles, then using that template in the OneClick encoder setup. I assume you can add anything else to the AVISAynth template you want to, such as denoising, resizing or a specific amount of cropping etc (rather then use OneClick's autocropping and resizing) but the above should add the subtitles and let OneClick do the rest.
Please let me know if it works okay. :)

hi
awesome
it's working
thank you guys

i just have one more problem
with Audio
i'm using NeroAAC for encoding Audio
but sometime
Audio is cut off some where , in Middle of video
for example i have video it's recorded from HBO channel
if i encode that
when HBO logo shows up
Sound is cut off and you never hear the sound of HBO logo and you can't hear the sounds after that
i know you now want to talk about copyright and this staff
but HBO just was for example
it just happen to some special sounds
sounds like Airplane or Jet

Zathor
27th September 2013, 06:20
i seem to be getting prompted to download the avs package again, but this one fails.


Yes, this server is out of sync.

hello_hello
27th September 2013, 20:35
it just happen to some special sounds
sounds like Airplane or Jet

It could be the audio switches from 2 channel to 5.1 channel (or the other way around) and that's causing a problem, but I'm guessing. Maybe post a copy of the log file. Does it show any errors?

Dayvon
28th September 2013, 01:43
Wow. Not to derail the current conversation or anything, but I started this thread like a million years ago, and it's still going? Unbelievable.

Hats off to all the contributors and to the x264 and MeGUI teams for the years of hard work. You guys are the pioneers and you have the utmost respect and gratitude from the users.

invy
30th September 2013, 12:48
Please upload the log and if possible a small sample file. I would like to have a look if the identical track can be skipped automatically.

No resolution to this problem yet?

Zathor
30th September 2013, 21:10
Sorry, I did not saw your post with the sample file.

It is either a problem of MediaInfo or the application which creates these files in the first hand. I am just downloading your sample files - but I cannot promise that it can be fixed within MeGUI.

EDIT: Fixed. Will be in the next update

Kurtnoise
1st October 2013, 10:18
@Zathor: in your last commit, you have duplicated the String.IsNullOrEmpty(atrack.SamplingRate) :

--- a/megui/trunk/packages/reader/mediainfo/MediaInfoFile.cs
+++ b/megui/trunk/packages/reader/mediainfo/MediaInfoFile.cs
@@ -349,8 +349,8 @@
{
MediaInfoWrapper.AudioTrack atrack = info.Audio[counter];

- if (atrack.Format.Equals("MPEG Audio") && String.IsNullOrEmpty(atrack.Delay)
- && String.IsNullOrEmpty(atrack.SamplingRate) && String.IsNullOrEmpty(atrack.FormatProfile))
+ if (String.IsNullOrEmpty(atrack.Delay) && String.IsNullOrEmpty(atrack.SamplingRate)
+ && String.IsNullOrEmpty(atrack.FormatProfile) && String.IsNullOrEmpty(atrack.SamplingRate))
continue;

_AudioInfo.Codecs[counter] = getAudioCodec(atrack.Format);

Zathor
1st October 2013, 19:16
Yes, silly mistake :confused:

luke83
3rd October 2013, 14:30
How can i set the credits zone with a lower encode? I've used AVS cutter to select 2 zones: the first is the main movie, the second contains the end credits. The problem is that there isn't a button where i can select "main movie" and/or "credits". In several old topic on the web, i read about a button in the preview window; but in my preview window i don't have it :( (2356 version).

How the software can understand what is the movie and what the credits?

LigH
3rd October 2013, 19:00
Yes, this server is out of sync.

So should I use Custom update servers instead of Development, and add only http://megui.org/auto/ there? — It probably worked...

Taurus
3rd October 2013, 19:58
So should I use Custom update servers instead of Development, and add only http://megui.org/auto/ there? — It probably worked...
Same here..
http://megui.org/auto/ is working fine under custom update servers.
@ the Stable and Development Server Tabs the buttons "Add" and "Remove selected" are greyed out.
And therefore no chance to kick http://megui.xvidvideo.ru/auto/ :confused::(

Zathor
3rd October 2013, 20:35
No need to do that. I will publish a new build soon without the out-of-sync mirror.

bxyhxyh
4th October 2013, 15:04
Why is it asking to update Avisynth 2.6 a5 again.

Zathor
4th October 2013, 17:29
DSS 2.6 is once again included

Octo-puss
25th October 2013, 20:34
I am a bit confused with AviSynth. Is the internal one always used, even if I download and install it? Are there any settings related to this?

Also, I noticed a few posts here and there mention 64bit version of MeGui. Where do I find that? I am experimenting with MT version of Avisynth, and figured it woud be helpful if I could use more memory.

Zathor
26th October 2013, 09:10
I am a bit confused with AviSynth. Is the internal one always used, even if I download and install it? Are there any settings related to this?
The internal one is used if:
- you copy the files (avisynth.dll, devil.dll) to the MeGUI root folder yourself
- no AviSynth is installed (it will then copy the files itself)

Also, I noticed a few posts here and there mention 64bit version of MeGui. Where do I find that? I am experimenting with MT version of Avisynth, and figured it woud be helpful if I could use more memory.

http://forum.doom9.org/showthread.php?t=153904
But I have not compiled new x64 builds for a long time. The reason can be found at the last pages of the thread.

Octo-puss
26th October 2013, 11:15
Oh ok. What about the avisynth_plugin folder then? It seems to be required (and is always checked at startup), but based on what you said before, it should not be needed if I install Avisynth?

regarding 64bits
Oh I see. That makes sense. I just somehow thought memory related crashes when using MT version of Avisynth would go away (it's always some process called avs4x264mod.exe which I have no idea what it does), but on second thought, maybe it wouldn't make any difference because - correct me if I am wrong - MeGui basically only launches other processes, which could very well be 64bit.

Zathor
26th October 2013, 11:54
Oh ok. What about the avisynth_plugin folder then? It seems to be required (and is always checked at startup), but based on what you said before, it should not be needed if I install Avisynth?
The plugins in this folder will be used in any case. Of course you can replace them or modify the script.

Octo-puss
26th October 2013, 19:12
One more thing: should I use colour correction or not? Various sources say I either must have it enabled or that I can safely forget it.

If yes, do I use it the same way if I use QTGMC?

hello_hello
28th October 2013, 23:37
One more thing: should I use colour correction or not? Various sources say I either must have it enabled or that I can safely forget it.

If yes, do I use it the same way if I use QTGMC?

You can safely forget MeGUI's color correction option in the script creator, if that's what you're referring to.

There's different standards for converting YUV video to RGB on playback. The two main ones are:
BT.709 which pretty much all HD video uses, and BT.601 which pretty much all SD video uses. If the wrong one is used, the colours can look a little "off".
For reasons I don't understand (before my time) the general consensus years ago was DVD video could be BT.709 despite the fact it's standard definition. The idea of the colour correction option was to convert it to BT.601 when encoding. As DVD video is always BT.601 anyway, MeGUI's colour correction option has no effect.

Well actually.... the colour correction option can be used for any type of mpeg video, not just DVD video. Therefore, if you re-encode HD mpeg video (which is BT.709) the colour correction option (if it's enabled) may incorrectly convert the colorimetry to BT.601. So while it's safe to enable it when re-encoding SD mpeg video (as it'll do nothing) it's a good idea not to enable it when re-encoding HD video.

Personally, I think the colour correction option should be removed as it's obsolete, and even has the potential to convert the colours incorrectly, or it should at least be changed to make it actually useful.

If you're re-encoding HD video while resizing it to SD then you should convert the colours (regardless of whether the source video is mpeg or not). I don't use MeGUI's colour correction option, but if I'm re-encoding HD video while resizing to SD then I convert the colours by manually loading the ColorMatrix.dll plugin (it's the same plugin MeGUI uses when colour correction is enabled) and manually adding the following to the script:

ColorMatrix(mode="Rec.709->Rec.601", clamp=0)

The above is applicable regardless of any other filtering you may be using (such as QTGMC).
If you want to see the effect of converting the colours then add the above line to the script and use the Preview button. The difference isn't huge, and sometimes it's hardly noticeable, but if you display a section of video containing lots of red you should see it.

LigH
29th October 2013, 08:37
How do I make MeGUI rely on my system-wide installed and working AviSynth (MT), instead of preferring its own (non-MT) copy?

hello_hello
29th October 2013, 11:17
How do I make MeGUI rely on my system-wide installed and working AviSynth (MT), instead of preferring its own (non-MT) copy?

It should be. Are you sure it's not?

Try sticking an avisynth plugin in the "installed" avisynth plugins folder and using it in a script without loading it. If you don't get an error (ie avisynth auto-loads the plugin), then I assume MeGUI must be using the "installed" version.

That's how it works for me anyway. I have about a zillion plugins in the "installed" avisynth plugins folder which work without needing to manually load them in a script.

LigH
29th October 2013, 11:41
I am quite certain that the system-wide installed AviSynth MT 2.6a5 is not used, because when I open a prepared AviSynth script into MeGUI which contains a SetMTMode call, an error message appears that there is no function SetMTMode defined:

---------------------------
Error parsing avs file
---------------------------
Script error: there is no function named "SetMTMode"
(****.avs, line ##)
---------------------------
OK
---------------------------

But when I feed this script directly into x264 in a command interpreter window, it encodes without errors. Therefore I assume that MeGUI prefers the avisynth.dll in its own directory in this case.

I am pretty certain that it was copied there during one of the updates which introduced a fallback AviSynth for being installed on systems which don't have AviSynth installed before.

Apparently I can just delete or rename MeGUI\avisynth.dll; the updater manages MeGUI\tools\avs as storage for the fallback version.
__

Or maybe I was wrong, MeGUI now keeps crashing when opening certain scripts. And it copies its fallback DLL back to its own directory.

Groucho2004
29th October 2013, 11:49
Therefore I assume that MeGUI prefers the avisynth.dll in its own directory in this case.
If megui.exe and avisynth.dll are in the same directory then your assumption is correct. The Win32 "LoadLibrary" call will look in the directory of the calling app first (unless a fully qualified path is specified).