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

alexcel
8th March 2009, 01:35
Hi:

With revision 1017, it seems that One Click is selecting the correct tracks ( I have to check more, but thanks kurtnoise for fixing this issue).

I usually keep 2 langs, english and spanish

usually english is the first track (80) and spanish is the second or third.

Tracks are demuxed right and muxed into the final mkv.

But the Spanish track is tagged as English and the English track is tagged as Spanish

:thanks:

(Same log file as my previous post)

alexcel
8th March 2009, 02:06
Hi:

I've found a strange error in vobsubber, first time in several runs.

I have selected 3 tracks out of 11. The problem is that vobsubber window shows:

7 English
8 Spanish

whereas it should show

7 English
8 English
9 Spanish

If I run vobsub directly (out of megui) on the ifo file, then the Spanish track shows as number 9. Mediainfo shows same track as number 9. Vobsubber in megui shows number 8. I slected track 8 in vobsubber window and I found an english track

Thanks again

Kurtnoise
8th March 2009, 08:19
I have tried 2 times, both same result. I live in PAL world, so input res is 720x576, and I want Output res to be the same
check "Keep Input Resolution" then...:)


But the Spanish track is tagged as English and the English track is tagged as Spanish
what did you select in the MeGUI Settings from DGindex Languages ?

If I run vobsub directly (out of megui) on the ifo file, then the Spanish track shows as number 9. Mediainfo shows same track as number 9. Vobsubber in megui shows number 8. I slected track 8 in vobsubber window and I found an english track
# starts at zero for megui...anyway, I'll check it out.

ACrowley
8th March 2009, 11:45
mhh strange.

Ive Problems with the calculated Filesize

I calculated a movie which is 1h 36min 07sec /25fps/448kbps AC3 5.1

Target is DVD5 4479MB

The calculated Bitarte for it is 6036Kbps.

I used the Standalone AVCHD Profile with 2pass VBR 5800Kbps.
Final Output from x264 is 5871Kbps

So it should easily fit on the DVD5.
But the muxed File is to big and doesnt fit on a DVD5 ,even with ~200kbps lower Bitrate as calculated for 4479MB ?

Can it be caused by TSmuxer ? I muxed it into M2TS .

EDIT:
Damn....its the M2TS output from TSmuxer what causes the bigger Size!
Muxed MKV : 4,19 GB (4.509.060.275 Bytes)
Muxed M2TS : 4,42 GB (4.751.726.592 Bytes

Wow, thats huge difference!

Maybe meguis Calculator should have a Container Option for M2TS/TS ?!

To bad...i cant remux the MKV to M2TS/AVCHD because the Filesize will be always to big for DVD5

~bT~
8th March 2009, 11:59
^ m2ts has a much higher overhead.

ACrowley
8th March 2009, 12:10
^ m2ts has a much higher overhead.

yes.. i see

It would be a good Idea when Meguis Calculator would calcualte the M2TS Overhead ?

~bT~
8th March 2009, 12:18
^ for m2ts i would recommend ripbot264.

ACrowley
8th March 2009, 12:35
^ for m2ts i would recommend ripbot264.

No, i use megui or my own x264 cmdline. Ripbot is a bit has not enough Options imho (x264 options etc) Ist not a Option for me.

But e i can calculate the Bitrate with Ripbot. Does Ripbot calculate/include the M2TS Overhead when i specify a output Size ?
i will try it

~bT~
8th March 2009, 13:00
u can always edit the command line to how u want..

ACrowley
8th March 2009, 13:20
u can always edit the command line to how u want..


ofcourse i can. However.....
The calculated Filesize for 2pass VBR with locked Filesize looks OK:)
Ripbot with Bluray Output calculates 5728kbps instead of 6057Kbps for Mkv Container Output (identical to megui)
So a overhead for M2TS/AVCHD/Bluray is calculated by Ripbot

Would be nice if megui can calulate it for M2TS :)

Kurtnoise
8th March 2009, 13:30
It's planned...

alexcel
8th March 2009, 19:20
check "Keep Input Resolution" then...:)

That is exactly what I checked (I have been asking you that feature), and it Did not work.

Sorry, but it does not work as expected

Kurtnoise
8th March 2009, 19:33
Retry with the build from here (http://forum.doom9.org/showthread.php?p=1258209#post1258209). Something was missing...

jamos
8th March 2009, 22:45
issue with THD and DTS-HD bitrate calculate. I can choose those new options but no containers are selectable hence no bitrate is calculated. Is there a plan for M2TS to be add to the container dropdown in the bitrate calculator?:thanks:

73ChargerFan
8th March 2009, 23:49
look up 4 posts

jamos
9th March 2009, 00:16
look up 4 posts

ok so they are starting to work on it..cool, thanks.

PERFECT
9th March 2009, 08:36
I hope posting in this thread is right.
I would like to insert this "ref=6:mixed-refs=1:bframes=6:weightb=1:direct=auto:b-pyramid=1:me=umh:subq=9:analyse=all:8x8dct=1:trellis=2:no-fast-pskip=1:psy-rd=1,1:merange=32:deblock=-2,-1" in megui after i have created a d2v file.

I request members to let me know how can i do this and please comment on the settings.

Thank U.

Sharktooth
9th March 2009, 13:34
those are x264 options.
create a new preset and set the encoder options accordingly to your mencoder commandline.

fifteen
9th March 2009, 14:48
--no-clusters-in-meta-seek:

This is part of the command line default settings for the MKV muxer.

Why is option used? When muxing to MKV is there a situation where you would not want this option used?

Sharktooth
9th March 2009, 15:59
have no idea. i didnt even know such an option existed.

MrVideo
10th March 2009, 06:19
I know that going from H.264 to MPEG-2 is going backwards, but please bear with me on this.

The situation is that I do not have an H.264 editor (I use VideoReDo for MPEG-2 TS editing). I now have an H.264 TS file with four audio streams. Three of the MP2 stereo audio streams make up the 6 audio channels for DD5.1. Once I get the audio streams extracted into WAV files, I can create the AC3 DD5.1 audio file.

The problem is editing the H.264 17Mbps video, and audio, so that I can then re-encode down to a lower bitrate H.264 video file and mux that with the audio into a MKV file.

I don't even know if MeGUI can work with H.264 TS source files, or if it can only work with MPEG-2 source files.

I'm still in need of an editor.

If anyone know of the right tools for the job, including what MeGUI can do, please point me in the right direction.

Thanks.

Kurtnoise
10th March 2009, 08:12
Describe more explicitly what you want to with a such editor...

MrVideo
10th March 2009, 15:41
Describe more explicitly what you want to with a such editor...

I have to assume that you are talking about my posting, even though you quote nothing from it, or mention my name.

Typical editors are used for removing commercials, or other areas of non-interest. Which is what I want to do.

The editor that I normally use is VideoReDo, but they are way behind in releasing H.264 support. They say they are working on it, but no timeframe has been given to when the beta will be released. Unfortunately the VRD editor will not keep all audio streams, it will only keep the selected stream in the output, so I would have to make three editing passes to output the three streams.

In any event, I need an H.264 transport stream editor that will let me output an edited MP4 file and three audio WAV files. I'll then take the audio files and rebuild the AC3 DD5.1 file

I also need the ability to take the MP4 video and run it through MeGUI to re-encode to a lower bitrate.

If an H.264 editor is not available, the other thing is to use MeGUI to take the H.264 stream and re-encode the video to MPEG-2 at a high bitrate and keep the streams, or extract the audio streams. I can then edit the video with VideoReDo. That is if MeGUI can take H.264 as input and output MPEG-2. I do not know all of the capabilities of MeGUI.

Sharktooth
10th March 2009, 16:07
megui cant encode mpeg-2 video.
but, since it uses avisynth, you can make an avs script to import your video, crop out the commercials, join the audio channels and re-encode the whole thing in h.264+ac3 in mp4 or mkv.

MrVideo
10th March 2009, 16:37
megui cant encode mpeg-2 video.

That must I pretty much figured it couldn't do.

but, since it uses avisynth, you can make an avs script to import your video, crop out the commercials, join the audio channels and re-encode the whole thing in h.264+ac3 in mp4 or mkv.

Unfortunately I think you are assuming that I have a clue as to how to create an avisynth script to do such a thing. Even if I did know, I have no clue as to where the sections of video that I need to remove are.

MrVideo
10th March 2009, 16:58
While looking at the avisynth.org website (doesn't anyone make PDF manuals anymore?), I followed the link to the avs4you.com website and their avs editor. It doesn't appear to be able to read H.264 transport stream files. At least I didn't see it in their list.

Can I use it to create an edited file that I can then feed to MeGUI to re-encode? I don't know how it handles multistream audio.

I'm still a nub as to what MeGUI can do and no clue as to all of the abilities of avisynth either. It is going to take me forever to figure out what avisynth can do and I do not have forever. :(

The lack of real printable manuals makes it really difficult to figure out how these programs work. You can't flip through web pages like you can flip through printed pages, especially when the printed document is on your lap while playing with the software on the screen.

I've got nothing against on-line help, but to totally ignore printed help is wrong (IMHO).

Sharktooth
10th March 2009, 17:15
that's why we have a dedicated forum for avisynth (http://forum.doom9.org/forumdisplay.php?f=33).

MrVideo
10th March 2009, 17:17
that's why we have a dedicatede forum for avisynth.

Hint duly noted

mikebzh44
10th March 2009, 17:27
Hello,

I want to backup MKV movies on BD5 or BD9. I use tsMuxer to create the BD structure from the MKV. Everything is OK but when I burn the DVD and play it on my PS3, I have a green bar under the image.

The problem is that my MKV resolution is 1280x528 and not 1280x720 so the PS3 put the green bar to fill the blank between 528 and 720 pixels.

I found this function under AviSynth : AddBorders and I wrote this script :

DirectShowSource("G:\BLURAYDISC\l age de glace 2.mkv")
AddBorders(0, 16, 0, 16, $000000)

When I use this script in MeGUI in input and output a MKV, the target is very small (less than 500 Mb) and, with MediaInfo, the video is only 700 Kbps but resolution is fine.

How can I modify my script to resize my video and keep the bitrate (video : 7276 kbps / audio : 448 Kbps) ?

Thanks

Sharktooth
10th March 2009, 17:29
script and bitrate have nothing in common.
you probably encoded at the wrong bitrate.
as an additional check, play the .avs script in your favourite directshow media player and see if it all right before encoding.

rack04
10th March 2009, 17:46
AddBorders(0, 16, 0, 16) won't get you to 1280x720. Since you'll have to encode the video to change the resolution you may find it best just to encode the original blu-ray disc to 1280x720.

Betsy25
10th March 2009, 19:59
Feature Request.

What I really miss from the StaxRip days is some kind of "Compressibility Check", where we had some kind of idea what resolutions we should encode to for getting a specific quality percentage.

73ChargerFan
10th March 2009, 20:12
Another feature request ?? Same as above??

A setting to encode a portion (start, end) of video, so I can do everything as normal but only encode 10 seconds to check if I like the encoder settings.

I currently make a 10 second clip of MPG2 files using another program for this purpose, but I don't know where to start with other files, and this would be a trouble shooting option in MeGUI.

Thanks.

poisondeathray
10th March 2009, 20:18
Another feature request ?? Same as above??

A setting to encode a portion (start, end) of video, so I can do everything as normal but only encode 10 seconds to check if I like the encoder settings.

I currently make a 10 second clip of MPG2 files using another program for this purpose, but I don't know where to start with other files, and this would be a trouble shooting option in MeGUI.

Thanks.

You can edit the avs script e.g.

Trim(0,300)

This will return the 1st 301 frames

MeGUI also has an avs cutter in the tools menu, so you can preview

rack04
10th March 2009, 20:18
Another feature request ?? Same as above??

A setting to encode a portion (start, end) of video, so I can do everything as normal but only encode 10 seconds to check if I like the encoder settings.

I currently make a 10 second clip of MPG2 files using another program for this purpose, but I don't know where to start with other files, and this would be a trouble shooting option in MeGUI.

Thanks.

Try the AVS cutter.

MrVideo
10th March 2009, 20:57
The problem is that my MKV resolution is 1280x528 and not 1280x720 so the PS3 put the green bar to fill the blank between 528 and 720 pixels.

This begs the question, why is it 1280x528 in the first place? That is not an HD resolution, anywhere in the world (that I know of).

Oh wait, let me guess, it was a 2.40:1 movie cropped so that the letterboxing bars were removed.

Can you go back to the original source and start over, i.e., not cropping the 16:9 video?

Sharktooth
11th March 2009, 01:05
feature requests must go in the feature requests tracker in the megui project page on sourceforge.

Fireice
11th March 2009, 02:04
When loading M2V streams without any audio DV2 Creator hangs while it reads though the entire file (a couple of minutes for 6-7GB file) looking for audio tracks. Is there any way of disabling this 'feature'?

MrVideo
11th March 2009, 02:31
When loading M2V streams without any audio DV2 Creator hangs while it reads though the entire file (a couple of minutes for 6-7GB file) looking for audio tracks. Is there any way of disabling this 'feature'?

Do you really mean D2V?

I use the DGIndex program.

clumba
11th March 2009, 12:30
I'm trying to rip my dvd, but:

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1020
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3082)
-[Information] Hardware
--[NoImage] CPU : AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
-[Error] Log for job2 (video, VTS_01_1.avs -> )
--[Information] [11.03.2009 16:25:34] Started handling job
--[Information] [11.03.2009 16:25:34] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 1406 --stats "D:\VTS_01_1.stats" --bframes 3 --b-adapt 2 --b-pyramid --weightb --direct auto --deblock -1:-1 --subme 2 --partitions none --me dia --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "D:\VTS_01_1.avs"
--[Information] [11.03.2009 16:25:34] Encoding started
--[Error] An error occurred: avis [error]: unsupported input format (DIB )
--[Error] An error occurred: x264 [error]: could not open input file 'D:\VTS_01_1.avs'
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [11.03.2009 16:25:35] Job completed


What's wrong?

Kurtnoise
11th March 2009, 13:21
what your avs script looks like ?

Sharktooth
11th March 2009, 13:32
@clumba: play your .avs script in your favourite directshow media player and check the error.

clumba
11th March 2009, 19:07
what your avs script looks like ?

DGDecode_mpeg2source("D:\VTS_01_1.d2v")
#deinterlace
crop( 6, 12, 0, -8)

#resize
#denoise


@clumba: play your .avs script in your favourite directshow media player and check the error.

http://i038.radikal.ru/0903/44/c59103ae519c.png

Kurtnoise
11th March 2009, 20:18
Looks like you don't have DGdecode.dll in the right place...otherwise, something is wrong in the d2v file.

ludeboy12
12th March 2009, 02:17
hmm....loaded up win7 and now i cant get megui to start. Immediately crashes on me. What am I missing?

Kurtnoise
12th March 2009, 13:31
dotNet Framework ? Avisynth ?? :sly:

clumba
12th March 2009, 13:49
Looks like you don't have DGdecode.dll in the right place...otherwise, something is wrong in the d2v file.

Hmmm... i've changed my script:

DGDecode_mpeg2source("D:\VTS_01_1.d2v")
#deinterlace
crop( 6, 12, -6, -12)

#resize
#denoise


Works fine. Strange. :confused:

squid_80
12th March 2009, 14:39
The avisynth error you were getting was probably "Avisynth error: YV12 images for output must have a width divisible by 4 (use crop)!"
You were cropping horizontally by 6 pixels which resulted in a width that wasn't cleanly divisible by 4. Cropping by 12 pixels (6+6) doesn't have that problem.

ludeboy12
12th March 2009, 19:51
already have avisynth and dotNet 2.0 is install on win7 out of the box.....

camper
14th March 2009, 03:33
I've been using AviSynth's trim() function to cut clips while keeping the audio synced, and I've been loading these .avs files into the audio part of MeGUI. It worked fine until a little while ago when loading an .avs script started giving me an error saying I'm not passing the correct arguments to the function Audiochannels. It works if I load an audio stream directly as opposed to through an .avs, and I didn't mess around with any of the program's files. I tried being lazy and just reinstalling both MeGUI and AviSynth but that didn't work, so I'm stumped now. The only things I had updated recently were the things in MeGUI's auto update.

Any help would be appreciated.

directshowsource("C:\video.mp4")
trim(0, 1583)+trim(1966, 13553)

-[Error] Log for job23 (audio, audio.avs -> audio.mp3)
--[Information] [3/13/2009 9:02:21 PM] Started handling job
--[Information] [3/13/2009 9:02:21 PM] Preprocessing
--[NoImage] Avisynth script
---[NoImage] 6<=Audiochannels(last)?x_stereo7205445b668041608535dc60eb9b11f3(ConvertAudioToFloat(last)):last
---[NoImage] SSRC(44100)
---[NoImage] Normalize()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
---[NoImage] function x_stereo7205445b668041608535dc60eb9b11f3(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] lfe = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
---[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
---[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[NoImage] Commandline used: -b 320 --cbr -h --silent - "{0}"
--[Information] [3/13/2009 9:02:22 PM] Encoding started
--[Information] [3/13/2009 9:02:22 PM] Encode thread started
--[Information] [3/13/2009 9:02:22 PM] Avisynth script environment opened
--[Error] An error occurred
---[NoImage] Exception message: Script error: Invalid arguments to function "Audiochannels"
---[NoImage] Stacktrace
----[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[Information] [3/13/2009 9:02:25 PM] Job completed