Log in

View Full Version : MeGUI x64


Pages : 1 2 3 4 5 [6] 7 8 9 10

al-z3ol
19th October 2010, 11:13
Post your avs script and delete the vsfilter files in your mentioned directory. The megui used vsfilter.dll works fine for me.

AviSource("C:\Users\Moh\Downloads\Zero_Raws_Fullmetal_Alchemist_24_RAW_1280x720_DivX611_120fps.avi")
TextSub("C:\Users\Moh\Desktop\Sub\FMA_-_24.ass")

Zathor
19th October 2010, 11:36
Thanks, but this is not a MeGUI generated avs file. There is a a line like
LoadPlugin("C:\MeGUI\tools\avisynth_plugin\VSFilter.dll")
missing at the beginning of the script. Of course you have to change the path to your MeGUI directory.

fschiefer
19th October 2010, 12:48
In this case the mediainfo.dll is not working for you.
Try different mediainfo.dll files (you have to close megui, replace it and restart megui). The recent one in the autoupdate is this file: http://megui.org/auto/mediainfo_0_7_35-4_x64.zip then try this one http://megui.org/auto/mediainfo_0_7_35_x64.zip.

That didnīt work for me. When I try to open .avs file from a VC-1 and ffms2 indexed video the program hangs up and only after waiting 5 minutes or so the video preview pops up and I can continue working.

Zathor
19th October 2010, 13:03
We have talked at cross purposes :)
I was refering to the file open dialogue in the file indexer and you to the file open in the main input tab, correct? In this case the mediainfo file is of course not the problem (please revert it back).

As already requested please provide more details about the kind of your file. Please post a small clip and the mediainfo information.

Please try opening the avs file with another tool like VirtualDub64 and post the avs file. Do you have after indexing and before opening the avs file a [video].ffindex in the same location as your [video] file?

fschiefer
19th October 2010, 13:26
We have talked at cross purposes :)
I was refering to the file open dialogue in the file indexer and you to the file open in the main input tab, correct? In this case the mediainfo file is of course not the problem (please revert it back).

As already requested please provide more details about the kind of your file. Please post a small clip and the mediainfo information.

Please try opening the avs file with another tool like VirtualDub64 and post the avs file. Do you have after indexing and before opening the avs file a [video].ffindex in the same location as your [video] file?

OK, here is what mediainfo says:

Format : Matroska
File size : 12.6 GiB
Duration : 1h 47mn
Overall bit rate : 16.7 Mbps
Encoded date : UTC 2010-08-20 12:31:35
Writing application : eac3to
Writing library : Haali DirectShow Matroska Muxer 1.10.175.0

Video
ID : 1
Format : VC-1
Format profile : AP@L3
Codec ID : WVC1
Codec ID/Hint : Microsoft
Duration : 1h 47mn
Bit rate : 16.4 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.330
Stream size : 12.3 GiB (98%)

The .avs file looks like that:
LoadCPlugin("C:\MeGuix64\tools\ffms\ffms2.dll")
FFVideoSource("D:\F1_T2_Video - .mkv")

And yes, there is a .ffindex in the same folder as the video file.

The weird thing is: After auto updating MeGuix64 a few weeks ago all worked fine. I think it was the ffms update.

zanuda
19th October 2010, 18:08
i merged h264 stream (mp4) into single .mkv file with mkvmerge (4.3.0) and resulting file shows incorrect video picture during first 5 seconds in mplayer, mpc-hc, vlc.
Source h264 video (.mp4) produce correct picture

MPlayer log

C:/Program Files (x86)/MPlayer for Windows/MPlayer.exe -noquiet -nofs -nomouseinput -lavdopts threads=4 -sub-fuzziness 1 -identify -slave -vo direct3d, -ao dsound -nokeepaspect -priority abovenormal -framedrop -autosync 100 -nodr -double -wid 459894 -colorkey 0x020202 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles C:/Program Files (x86)/MPlayer for Windows/styles.ass -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -subpos 100 -volume 50 -nocache -osdlevel 0 -vf-add screenshot -slices -af volnorm=1,equalizer=0:0:0:0:0:0:0:0:0:0 -sws 9 D:\1.MKV

MPlayer SVN-r32492-4.2.5 (C) 2000-2010 MPlayer Team
SSE2 supported but disabled
Setting process priority: abovenormal

159 audio & 348 video codecs

Playing D:\1.MKV.
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
VIDEO: [H264] 720x480 0bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=D:\1.MKV
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=24.000
ID_VIDEO_ASPECT=1.8125
ID_START_TIME=0.00
ID_LENGTH=1356.31
ID_SEEKABLE=1
ID_CHAPTERS=0
Opening video filter: [ass auto=1]
[ass] auto-open
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
Audio: no sound
Starting playback...
[h264 @ 01b81570] reference picture missing during reorder
[h264 @ 01b81570] Missing reference picture
[h264 @ 01b81570] reference picture missing during reorder
[h264 @ 01b81570] Missing reference picture
[h264 @ 01b81570] reference picture missing during reorder
[h264 @ 01b81570] Missing reference picture
[h264 @ 01b81570] reference picture missing during reorder
[h264 @ 01b81570] Missing reference picture
[h264 @ 01b81570] reference picture missing during reorder
[h264 @ 01b81570] Missing reference picture
[h264 @ 01b81570] reference picture missing during reorder
[h264 @ 01b81570] Missing reference picture
[matroska,webm @ 01b7ee90] Estimating duration from bitrate, this may be inaccurate
[h264 @ 01122854]reference picture missing during reorder
[h264 @ 01122854]Missing reference picture
[h264 @ 01122854]reference picture missing during reorder
[h264 @ 01122854]Missing reference picture
[h264 @ 01122854]reference picture missing during reorder
[h264 @ 01122854]Missing reference picture
[h264 @ 01122854]reference picture missing during reorder
[h264 @ 01122854]Missing reference picture
[h264 @ 01122854]reference picture missing during reorder
[h264 @ 01122854]Missing reference picture
Movie-Aspect is 1.81:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.8132
[h264 @ 01122854]reference picture missing during reorder
[h264 @ 01122854]Missing reference picture
[swscaler @ 0122e414]Lanczos scaler, from yuv420p to rgb24 using MMX2
VO: [direct3d] 720x480 => 870x480 Planar YV12

[h264 @ 01122854]reference picture missing during reorder
[h264 @ 01122854]Missing reference picture

[h264 @ 01122854]reference picture missing during reorder
[h264 @ 01122854]Missing reference picture

ID_VIDEO_TRACK=0

[h264 @ 01122854]reference picture missing during reorder
[h264 @ 01122854]Missing reference picture

[h264 @ 01122854]mmco: unref short failure


Mediainfo

General
Complete name : D:\1.mkv
Format : Matroska
File size : 157 MiB
Duration : 22mn 36s
Overall bit rate : 969 Kbps
Encoded date : UTC 2010-10-19 16:14:17
Writing application : mkvmerge v4.3.0 ('Escape from the Island') сборка от Sep 5 2010 10:30:51
Writing library : libebml v1.0.0 + libmatroska v1.0.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Muxing mode : Container profile=Unknown@4.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 22mn 36s
Bit rate : 950 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.115
Stream size : 154 MiB (98%)



Part of megui log
--[Information] Job commandline: "C:\Program Files\Megui\tools\mkvmerge\mkvmerge.exe" -o "D:\1.mkv" --engage keep_bitstream_ar_info --default-duration 1:24000/1001fps "--compression" "1:none" -d 1 -A -S "D:\1.mp4"

Mediainfo of .mp4

General
Complete name : D:\1.mp4
Format : MPEG-4
Format profile : JVT
Codec ID : avc1
File size : 157 MiB
Duration : 22mn 36s
Overall bit rate : 970 Kbps
Encoded date : UTC 2010-10-16 18:43:36
Tagged date : UTC 2010-10-16 18:43:36

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 22mn 36s
Bit rate mode : Variable
Bit rate : 968 Kbps
Maximum bit rate : 6 903 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.117
Stream size : 156 MiB (100%)
Writing library : x264 core 107 r1745 4785e8e
Encoding settings : cabac=1 / ref=16 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=16.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:0.60
Encoded date : UTC 2010-10-16 18:43:36
Tagged date : UTC 2010-10-16 19:35:10

zmaster
23rd October 2010, 15:03
Hi.

I have a problem with the encoder LameMP3. After encoding I get a file that no contains sound, then have an mp3 file consists of silence. This occurs when encoding any source.
I Use version LameMP3 the latest available on the update server MeGUI. (MeGUI x64, core 0.3.5.15, data 0.3.4.1)

Zathor
24th October 2010, 11:10
I Use version LameMP3 the latest available on the update server MeGUI. (MeGUI x64, core 0.3.5.15, data 0.3.4.1)

It seems you are using the wrong update server because 0.3.5.23 is the most recent build of MeGUI. Either replace the megui.exe with the one mentioned in the first posting of this thread (this will fix the wrong server, too) or use the development update server http://megui.org/auto/

EDIT: This will very likely not fix you problem with lame because it has not been changed for a long time. Do you have the same problem if using another audio output type?

DVDBob
24th October 2010, 12:54
MeGUI has only Lame MP3 v3.98.2, but v3.98.4 is out.

Lame MP3 site: http://lame.sourceforge.net/
Download link to x86 and x64 version of Lame MP3 v3.98.4 http://www.free-codecs.com/lame_encoder_download.htm

zmaster
24th October 2010, 14:04
It seems you are using the wrong update server...I just did not update core and data, but I read the changelog and there were no marked changes regarding this issue. Now specially made update, the problem remained.Do you have the same problem if using another audio output type?Checked the better. The problem only when using LameMP3 and only when involved "SampleRate". For example: LameMP3+SampleRate: Change to.../Speed-Up/Slow-down = silence. LameMP3+SampleRate: Keep Original = correct result. Other encoder always work.

DVDBob,
Thanks for the idea, I'll try other versions LameMP3.

zmaster
24th October 2010, 16:42
I tried Lame 3.98.4 and 3.99a - nothing has changed.
Now I can not say for sure, but I think the problem with LameMP3 only in x64 versions of MeGUI, using MeGUI x86 everything is fine (MeGUI x86 is far away from me.).

lenildosb
30th October 2010, 20:33
hi, everything well, I transformed a video in mkv in the program megui, in the info appear: mkvmerge v4.0.0 ('The Stars were mine') and yours : mkvmerge v4.3.0 ('Escape from the Island')....
can you explain to me, please? what should I make?
which the best configuration of the megui, would like somebody to explain to me, I pass the step

I will be thankful for helping me!!!!!!

Sharktooth
31st October 2010, 15:06
there is no best as per forum rules.
however, you can switch to the development version that is more up to date. in options->settings->extra config->auto-update->use development update server

Zathor
31st October 2010, 15:34
I recommend to use MeGUI x86 (http://forum.doom9.org/showthread.php?t=151159). MeGUI x64 does have some problems because not all tools are available in x64.

lenildosb
2nd November 2010, 01:27
thanks zathor, I already made the whole process and now as I do so that appears in the info: mkvmerge v4.3.0 ('Escape from the Island')?

Rezer
12th November 2010, 05:46
I'm having a hell of a time getting this working the right way, and I figured this was the best spot to ask...

No matter what I do, I can't seem to get the x64 version of NicAudio to output anything but silence. MeGUI always encodes AC3 files to a silent MP3 file, though it used to just be a series of evenly spaced pops. I'm still not sure what I did to get rid of the popping sound, but it's progressed identically from the popping problem to just silence on 2 different PCs now.

I copied and pasted the script MeGUI was using into notepad, and once I managed to get AVS scripts to open in WMP (and MPC-HC for giggles) both have the same output, nothing. However, it is detecting the correct length of the AC3 file and showing that on the slider as it plays. At this point I installed the x86 version of nicaudio, pointed the script to the x86 version of nicaudio, and everything worked perfectly in the 32 bit version of wmp. The script I'm using now to test is as follows:

LoadPlugin("C:\program files\megui\tools\avisynth_plugin\NicAudio.dll")
NicAc3Source("C:\dvd\Rips\TERMINATOR_2_EXTREME_DISC1_VTS_02_PGC2\VTS_02_1 T80 3_2ch 448Kbps DELAY -595ms.ac3")
DelayAudio(-595.0/1000.0)
6<=Audiochannels(last)?x_stereo4d6713278fe84319ba8c4c27778ffd6e(ConvertAudioToFloat(last)):last
32==Audiobits(last)?ConvertAudioTo16bit(last):last
audio = last
video = BlankClip()
AudioDub(video, audio)
Info()

function x_stereo4d6713278fe84319ba8c4c27778ffd6e(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
return MergeChannels(l, r)
}


and the info shown on screen is the same for both x64 and x86 plugin opened with the appropriate player, only difference being the x86 plays sound and x64 does not. A screenshot is attached.

I've tried this all with and without ffdshow installed, with just a two line avisynth script that loads nicaudio and then loads the AC3, on 2 different PCs, on a variety of DVD material, all with the same end result. The only thing that seems to work is force decoding via directshow, which doesn't seem as reliable as NicAc3Source (at least from my experience with the 32 bit version). Any help offered would be greatly appreciated, I'm at a complete loss at this point.

One last thing: it took me forever just to get an avisynth script to open in the x64 version of wmp/mpc-hc. I couldn't find any posts relating to this problem nor any suitable resolution, no matter how many times I uninstalled and went through the directions for megui and avisynth. After watching what went on differently between the scripts opening in x86 and x64 modes using process monitor I found that I was missing a "Source Filter" registry value under "HKCR\Media Type\Extensions\.avs" with value "{D3588AB0-0781-11CE-B03A-0020AF0BA770}". Has anybody else run into this problem? If not, what in the hell did I do so fantastically wrong in the exact same way on 2 different machines?

Inspector.Gadget
27th November 2010, 23:14
I have the TIVTC.dll (64-bit version shipped with MeGUI) error discussed earlier in this thread.

Problem signature:
Problem Event Name: APPCRASH
Application Name: mpc-hc64.exe
Application Version: 1.4.2726.0
Application Timestamp: 4cdcde9c
Fault Module Name: TIVTC.dll
Fault Module Version: 1.0.5.0
Fault Module Timestamp: 4b9c46b6
Exception Code: c0000005
Exception Offset: 0000000000038d30
OS Version: 6.1.7600.2.0.0.768.3
Locale ID: 1033
Additional Information 1: e3bb
Additional Information 2: e3bbf9f3eeb978d50c55bc059f022730
Additional Information 3: 2d65
Additional Information 4: 2d6539759937961c4c24242b0f834a2b

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\windows\system32\en-US\erofflps.txt

Was a fix or work-around ever found? Thanks.

Edit: No crash occurs with 32-bit TIVTC and 32-bit Avisynth and 32-bit latest rev. of ffdshow-tryouts, so I think this must be specific to the 64-bit DLL.

vitali5000
30th November 2010, 00:56
error ts to avi (xvid)


[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.28 x64
--[Information] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5 (16.04.2010 18:06:58)
-[Information] AutoEncode job generation log
--[Information] Projected Bitrate : 1800kbps
--[Information] Split Size : null
--[Information] Eliminating duplicate filenames
---[Information] Video output file: C:\Users\CoreQuad\Videos\1.avi
---[Information] Muxed output file: C:\Users\CoreQuad\Videos\1-muxed.avi
---[Information] Encodable audio stream 0: C:\Users\CoreQuad\Videos\1 PID 800 L2 2ch 48 192 DELAY 0ms.mp3
-[Information] Log for job5 (audio, 1 PID 800 L2 2ch 48 192 DELAY -253ms.mp2 -> 1 PID 800 L2 2ch 48 192 DELAY 0ms.mp3)
--[Information] [30.11.2010 02:25:24] Started handling job
--[Information] [30.11.2010 02:25:24] Preprocessing
--[Information] Avisynth script
---[NoImage] DirectShowSource("C:\Users\CoreQuad\Videos\1 PID 800 L2 2ch 48 192 DELAY -253ms.mp2")
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] DelayAudio(-253.0/1000.0)
---[NoImage] # detected channels: 2 channels
---[NoImage] # detected channel positions:
---[NoImage] 6<=Audiochannels(last)?c6_stereo(ConvertAudioToFloat(last)):last
---[NoImage] 5==Audiochannels(last)?c5_stereo(ConvertAudioToFloat(last)):last
---[NoImage] 4==Audiochannels(last)?c4_stereo(ConvertAudioToFloat(last)):last
---[NoImage] 3==Audiochannels(last)?c3_stereo(ConvertAudioToFloat(last)):last
---[NoImage] Normalize()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
---[NoImage] function c6_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] ssr = MixAudio(sl, sr, 0.2222, 0.2222)
---[NoImage] ssl = Amplify(ssr, -1.0)
---[NoImage] fl_c = MixAudio(fl, c, 0.3254, 0.2301)
---[NoImage] fr_c = MixAudio(fr, c, 0.3254, 0.2301)
---[NoImage] l = MixAudio(ssl, fl_c, 1.0, 1.0)
---[NoImage] r = MixAudio(ssr, fr_c, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
---[NoImage] # also L,R,LFE,SL,SR then mix dpl+LFE
---[NoImage] function c5_dpl(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] fcc = GetChannel(a, 3, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] lrc = MixAudio(flr, fcc, 0.3205, 0.2265)
---[NoImage] bl = MixAudio(sl, sr, 0.2265, 0.2265)
---[NoImage] br = Amplify(bl, -1.0)
---[NoImage] slr = MergeChannels(bl, br)
---[NoImage] return MixAudio(lrc, slr, 1.0, 1.0)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
---[NoImage] function c4_dpl(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] bl = MixAudio(sl, sr, 0.2929, 0.2929)
---[NoImage] br = Amplify(bl, -1.0)
---[NoImage] slr = MergeChannels(bl, br)
---[NoImage] return MixAudio(flr, slr, 0.4142, 1.0)
---[NoImage] }
---[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
---[NoImage] # for L,R,C or L,R,LFE use always -> stereo
---[NoImage] function c3_dpl(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = Amplify(sl, -1.0)
---[NoImage] slr = MergeChannels(sl, sr)
---[NoImage] return MixAudio(flr, slr, 0.5858, 0.4142)
---[NoImage] }
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
---[NoImage] function c6_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627).Amplify(-1.0)
---[NoImage] fl_c = MixAudio(fl, c, 0.3254, 0.2301)
---[NoImage] ssr = MixAudio(sl, sr, 0.1627, 0.2818)
---[NoImage] fr_c = MixAudio(fr, c, 0.3254, 0.2301)
---[NoImage] l = MixAudio(ssl, fl_c, 1.0, 1.0)
---[NoImage] r = MixAudio(ssr, fr_c, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
---[NoImage] # also L,R,LFE,SL,SR then mix dpl2+LFE
---[NoImage] function c5_dpl2(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] fcc = GetChannel(a, 3, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] lrc = MixAudio(flr, fcc, 0.3254, 0.2301)
---[NoImage] bl = MixAudio(sl, sr, 0.2818, 0.1627)
---[NoImage] br = MixAudio(sl, sr, -0.1627, -0.2818)
---[NoImage] slr = MergeChannels(bl, br)
---[NoImage] return MixAudio(lrc, slr, 1.0, 1.0)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
---[NoImage] function c4_dpl2(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] bl = MixAudio(sl, sr, 0.3714, 0.2144)
---[NoImage] br = MixAudio(sl, sr, -0.2144, -0.3714)
---[NoImage] slr = MergeChannels(bl, br)
---[NoImage] return MixAudio(flr, slr, 0.4142, 1.0)
---[NoImage] }
---[NoImage] # 3 Channels L,R,S -> Dolby ProLogic (we can't make dpl II)
---[NoImage] # for L,R,C or L,R,LFE use always -> stereo
---[NoImage] function c3_dpl2(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = Amplify(sl, -1.0)
---[NoImage] slr = MergeChannels(sl, sr)
---[NoImage] return MixAudio(flr, slr, 0.5858, 0.4142)
---[NoImage] }
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
---[NoImage] function c6_stereo(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] # 5 Channels L,R,C,SL,SR -> Stereo
---[NoImage] # also L,R,LFE,SL,SR
---[NoImage] function c5_stereo(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] fcc = GetChannel(a, 3, 3)
---[NoImage] slr = GetChannel(a, 4, 5)
---[NoImage] lrc = MixAudio(flr, fcc, 0.3694, 0.2612)
---[NoImage] return MixAudio(lrc, slr, 1.0, 0.3694)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
---[NoImage] function c4_stereo(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] slr = GetChannel(a, 3, 4)
---[NoImage] return MixAudio(flr, slr, 0.5, 0.5)
---[NoImage] }
---[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
---[NoImage] function c3_stereo(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] fcc = GetChannel(a, 3, 3)
---[NoImage] return MixAudio(flr, fcc, 0.5858, 0.4142)
---[NoImage] }
---[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
---[NoImage] function c42_stereo(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] fcc = GetChannel(a, 3, 3)
---[NoImage] lfe = GetChannel(a, 4, 4)
---[NoImage] clf = MixAudio(fcc, lfe, 0.2929, 0.2929)
---[NoImage] return MixAudio(flr, clf, 0.4142, 1.0)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
---[NoImage] function c52_stereo(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] fcc = GetChannel(a, 3, 3)
---[NoImage] lfe = GetChannel(a, 4, 4)
---[NoImage] slr = GetChannel(a, 5, 5)
---[NoImage] lrc = MixAudio(flr, fcc, 0.3204, 0.2265)
---[NoImage] lfs = MixAudio(lfe, slr, 0.2265, 0.2265)
---[NoImage] return MixAudio(lrc, lfs, 1.0, 1.0)
---[NoImage] }
---[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
---[NoImage] function c42_dpl(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = Amplify(sl, -1.0)
---[NoImage] slr = MergeChannels(sl, sr)
---[NoImage] return MixAudio(flr, slr, 0.5858, 0.4142)
---[NoImage] }
---[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
---[NoImage] function c43_dpl(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] fcc = GetChannel(a, 3, 3)
---[NoImage] bl = GetChannel(a, 4)
---[NoImage] br = Amplify(bl, -1.0)
---[NoImage] slr = MergeChannels(bl, br)
---[NoImage] flc = MixAudio(flr, fcc, 0.4142, 0.2929)
---[NoImage] return MixAudio(flc, slr, 1.0, 0.2929)
---[NoImage] }
---[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
---[NoImage] function c52_dpl(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] bl = MixAudio(sl, sr, 0.2929, 0.2929)
---[NoImage] br = Amplify(bl, -1.0)
---[NoImage] slr = MergeChannels(bl, br)
---[NoImage] return MixAudio(flr, slr, 0.4142, 1.0)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
---[NoImage] function c53_dpl(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] fcc = GetChannel(a, 3, 3)
---[NoImage] bl = GetChannel(a, 5)
---[NoImage] br = Amplify(bl, -1.0)
---[NoImage] slr = MergeChannels(bl, br)
---[NoImage] flc = MixAudio(flr, fcc, 0.4142, 0.2929)
---[NoImage] return MixAudio(flc, slr, 1.0, 0.2929)
---[NoImage] }
---[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
---[NoImage] function c52_dpl2(clip a)
---[NoImage] {
---[NoImage] flr = GetChannel(a, 1, 2)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] bl = MixAudio(sl, sr, 0.3714, 0.2144)
---[NoImage] br = MixAudio(sl, sr, -0.2144, -0.3714)
---[NoImage] slr = MergeChannels(bl, br)
---[NoImage] return MixAudio(flr, slr, 0.4142, 1.0)
---[NoImage] }
--[Information] Commandline used: -V5 - "{0}"
--[Information] [30.11.2010 02:25:24] Encoding started
--[Information] [30.11.2010 02:25:25] Encode thread started
--[Information] [30.11.2010 02:25:25] Avisynth script environment opened
--[Information] [30.11.2010 02:25:25] Script loaded
--[Information] Output Decoder
---[Information] Channels: 2
---[Information] Bits per sample: 16
---[Information] Sample rate: 48000
--[Information] Commandline: C:\Program Files\MeGUI\tools\lame\lame.exe -V5 - "C:\Users\CoreQuad\Videos\1 PID 800 L2 2ch 48 192 DELAY 0ms.mp3"
--[Information] [30.11.2010 02:25:25] Encoder process started
--[Information] Output from encoder via stderr
---[NoImage] LAME 3.98.2 32bits (http://www.mp3dev.org/)
---[NoImage] CPU features: MMX (ASM used), SSE (ASM used), SSE2
---[NoImage] Using polyphase lowpass filter, transition band: 16452 Hz - 17032 Hz
---[NoImage] Encoding <stdin> to C:\Users\CoreQuad\Videos\1 PID 800 L2 2ch 48 192 DELAY 0ms.mp3
---[NoImage] Encoding as 48 kHz j-stereo MPEG-1 Layer III VBR(q=5)
--[Information] [30.11.2010 02:25:27] Postprocessing
---[Information] Deleting intermediate files
--[Information] [30.11.2010 02:25:27] Job completed
-[Error] Log for job6 (video, 1.avs -> )
--[Information] [30.11.2010 02:25:27] Started handling job
--[Information] [30.11.2010 02:25:27] Preprocessing
---[Information] Bitrate calculation for video
----[Information] Desired size after subtracting audio: 13855,125KBs
----[Information] Calculated desired bitrate: 1655,5015169194865810968494749kbit/s
--[Information] Job commandline: "C:\Program Files\MeGUI\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\CoreQuad\Videos\1.avs" -pass1 "C:\Users\CoreQuad\Videos\1.stats" -bitrate 1655 -kboost 100 -ostrength 10 -oimprove 10 -odegrade 10 -chigh 30 -clow 15 -overhead 0 -vbvmax 4854000 -vbvsize 3145728 -vbvpeak 2359296 -turbo -max_key_interval 250 -vhqmode 4 -lumimasking -imin 1 -pmin 1 -max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -par 1:1 -threads 1
--[Information] [30.11.2010 02:25:28] Encoding started
--[Error] An error occurred: xvid [error]: Avisynth open failure:
--[Error] [30.11.2010 02:25:28] Process exits with error code: -1
--[Information] Standard output stream: xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
--[Information] Standard error stream
---[NoImage] Trying to retrieve width and height from input header
---[NoImage] xvid [info]: Avisynth detected
---[NoImage] LoadPlugin: unable to load "C:\Program Files\MeGUI\tools\dgindexnv\DGDecodeNV.dll"
---[NoImage] (C:\Users\CoreQuad\Videos\1.avs, line 1)
--[Information] [30.11.2010 02:25:28] Job completed

Zathor
30th November 2010, 12:51
---[NoImage] LoadPlugin: unable to load "C:\Program Files\MeGUI\tools\dgindexnv\DGDecodeNV.dll"

Paste your 1.avs and try opening it in other tools like VirtualDub x64.

BuHHunyx
3rd January 2011, 13:47
megui-core_1888_x64 @ Win2003 SP2 x64
I had following records at Event viewer:
Dependent Assembly Microsoft.Windows.Common-Controls could not be found and Last Error was The referenced assembly is not installed on your system.
Resolve Partial Assembly failed for Microsoft.Windows.Common-Controls. Reference error message: The referenced assembly is not installed on your system.
Generate Activation Context failed for C:\apps\-EDITOR-\-VIDEO-\MeGUI.X64\MeGUI.exe. Reference error message: The referenced assembly is not installed on your system.

Using Restorator I changed build-in manifest like
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="x86" />
to
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="*" />

and it *runs*

Chumbo
13th February 2011, 22:03
Anyone else getting this? I've been getting this for about a week or more now every time I bring up the UI, i.e., the updater comes up and then fails with the error below:
Connecting to server: http://megui.xvidvideo.ru/auto/
There is 1 file that can be updated.
Updating dgindexnv. File 1/1.
D:\Multimedia Tools\megui64\update_cache\dgindexnv_b2038-1_x64.zip is empty. Deleting file.
Error: Could not unzip D:\Multimedia Tools\megui64\update_cache\dgindexnv_b2038-1_x64.zip. Deleting file.
Error: Failed to download file dgindexnv with error: CouldNotDownloadFile.
Update completed
Error: Files which have been not sucessfully updated: 1
The site does have the .7z file but not dgindexnv_b2038-1_x64.zip.

Zathor
13th February 2011, 23:44
Thanks & fixed.

Chumbo
14th February 2011, 04:20
Thanks & fixed.
Thank you.

n5230
19th February 2011, 17:07
Here is a copy of myy log.

I hope this helps idendify my problem


[Error] Log for job2 (video, Sample.avs -> )
-[Information] [07/10/2010 17:20:24] Started handling job
-[Information] [07/10/2010 17:20:24] Preprocessing
--[Information] Bitrate calculation for video
---[Information] Desired size after subtracting audio: 49097.291015625KBs
---[Information] Calculated desired bitrate: 10517.913389121338912133891214kbit/s
-[Information] Job commandline: "C:\Program Files\MeGUI\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\Michael\Videos\MeGUI\Sample.avs" -pass1 "C:\Users\Michael\Videos\MeGUI\Sample.stats" -bitrate 10517 -kboost 100 -ostrength 10 -oimprove 10 -odegrade 10 -chigh 30 -clow 15 -overhead 0 -vbvmax 4854000 -vbvsize 3145728 -vbvpeak 2359296 -turbo -max_key_interval 250 -lumimasking -imin 1 -pmin 1 -max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -par 1:1 -threads 1
-[Information] [07/10/2010 17:20:24] Encoding started
-[Error] An error occurred: xvid [error]: Avisynth open failure:
-[Information] Standard output stream: xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
-[Information] Standard error stream
--[NoImage] Trying to retrieve width and height from input header
--[NoImage] xvid [info]: Avisynth detected
--[NoImage] LoadPlugin: unable to load "C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll"
--[NoImage] (C:\Users\Michael\Videos\MeGUI\Sample.avs, line 1)
-[Information] [07/10/2010 17:20:24] Job completed


regards

Michael

Try disabling VAQ (Adaptive Quantization => -lumimasking) in the megui preset. This option is deprecated in newer versions of XviD.

skampy
5th March 2011, 13:17
Hey all

Just a general question: Is the 64-bit version of x264 just as stable and reliable as the 32-bit version? I should note that I don't use any pre or post-processing filters.

Lyle_JP
5th March 2011, 21:01
Hey all

Just a general question: Is the 64-bit version of x264 just as stable and reliable as the 32-bit version? I should note that I don't use any pre or post-processing filters.

The x64 versions of MeGUI and x264 are just as stable and functional as their 32-bit counterparts. But they require 64-bit Avisynth, which is not nearly as stable, and worse is abandonware.

meatwad
15th March 2011, 22:09
There seems to be a problem with MeGUI 1989 and I believe build 1986 when used with neroaacenc 1.5.4.0. The problem is that sometimes it doesn't down convert multichannel audio to stereo if the option is checked in neroaacenc. I replaced only the MeGUI 1989 executable with MeGUI 1886 and it down converts successfully.

The strange thing with build 1989 is that sometimes it will down convert fine depending on the source.

Zathor
15th March 2011, 22:30
:logfile: if it does not work

meatwad
16th March 2011, 01:53
:logfile: if it does not work

Sorry about that. If I try to send the complete log using wrap it still gripes at me that they're too long (16,000 characters, etc.) Anyway, I'll just attach them. From what I gather 1989 is not recognizing that it's 6 channel audio and so it tells neroaacenc to ignore the down mix.

[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1989 x64 (svn)
--[Information] OS : Windows Seven Enterprise Edition x64 SP1 (6.1.65536.7601)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5 (4/17/2010 1:06:58 AM)
-[Error] Update detection
--[Information] [3/15/2011 3:43:09 PM] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Error] [3/15/2011 3:43:30 PM] Could not connect to server http://megui.xvidvideo.ru/auto/
--[Information] [3/15/2011 3:43:30 PM] Connecting to server: http://megui.org/auto/
--[Information] [3/15/2011 3:43:34 PM] All files are up to date
-[Information] AutoEncode job generation log
--[Information] Split Size : null
--[Information] Eliminating duplicate filenames
---[Information] Video output file: X:\Torrents 2\Encodes\Mad.Love.S01E04.720p.HDTV.X264-DIMENSION.264
---[Information] Muxed output file: X:\Torrents 2\Encodes\Mad.Love.S01E04.720p.HDTV.X264-DIMENSION-muxed.mp4
---[Information] Encodable audio stream 0: X:\Torrents 2\Encodes\Mad.Love.S01E04.720p.HDTV.X264-DIMENSION.m4a
-[Information] Log for job1 (audio, Mad.Love.S01E04.720p.HDTV.X264-DIMENSION.mkv -> Mad.Love.S01E04.720p.HDTV.X264-DIMENSION.m4a)
--[Information] [3/15/2011 3:45:12 PM] Started handling job
--[Information] [3/15/2011 3:45:12 PM] Preprocessing
--[Information] [3/15/2011 3:45:12 PM] ignoring downmix as there are only 2 channels
--[Information] Avisynth script
---[NoImage] DirectShowSource("Y:\New Downloads\Mad.Love.S01E04.720p.HDTV.X264-DIMENSION.mkv", video=false)
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] # detected channels: 2 channels
---[NoImage] # detected channel positions: 2/0/0
---[NoImage] Normalize()
---[NoImage] return last
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
---[NoImage] function c6_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] lf = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
---[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR or L,R,LFE,SL,SR-> Stereo
---[NoImage] function c5_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] fl_sl = MixAudio(fl, sl, 0.3694, 0.3694)
---[NoImage] fr_sr = MixAudio(fr, sr, 0.3694, 0.3694)
---[NoImage] l = MixAudio(fl_sl, fc, 1.0, 0.2612)
---[NoImage] r = MixAudio(fr_sr, fc, 1.0, 0.2612)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
---[NoImage] function c52_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] lf = GetChannel(a, 4)
---[NoImage] bc = GetChannel(a, 5)
---[NoImage] fl_bc = MixAudio(fl, bc, 0.3205, 0.2265)
---[NoImage] fr_bc = MixAudio(fr, bc, 0.3205, 0.2265)
---[NoImage] fc_lf = MixAudio(fc, lf, 0.2265, 0.2265)
---[NoImage] l = MixAudio(fl_bc, fc_lf, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_bc, fc_lf, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
---[NoImage] function c4_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] l = MixAudio(fl, sl, 0.5, 0.5)
---[NoImage] r = MixAudio(fr, sr, 0.5, 0.5)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
---[NoImage] function c42_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] lf = GetChannel(a, 4)
---[NoImage] fc_lf = MixAudio(fc, lf, 0.2929, 0.2929)
---[NoImage] l = MixAudio(fl, fc_lf, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, fc_lf, 0.4142, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
---[NoImage] function c3_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] l = MixAudio(fl, fc, 0.5858, 0.4142)
---[NoImage] r = MixAudio(fr, fc, 0.5858, 0.4142)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
---[NoImage] function c6_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
---[NoImage] function c5_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
---[NoImage] function c52_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
---[NoImage] function c53_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] bc = GetChannel(a, 5)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
---[NoImage] function c4_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
---[NoImage] function c42_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] bc = GetChannel(a, 4)
---[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
---[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
---[NoImage] function c43_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] bc = GetChannel(a, 4)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
---[NoImage] function c3_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] bc = GetChannel(a, 3)
---[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
---[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
---[NoImage] function c6_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
---[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
---[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
---[NoImage] function c5_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
---[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
---[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
---[NoImage] function c52_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
---[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
---[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
---[NoImage] function c4_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
---[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
---[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
---[NoImage] return MergeChannels(l, r)

Tuik
17th March 2011, 18:09
Hi,

I found a problem encoding in XviD with FFVideoSource.

It gives this error on the log: "Unable to load C Plugin: C:\Program Files\MeGUI64\tools\ffms\ffms2.dll"

The script i use was:

LoadCPlugin("C:\Program Files\MeGUI64\tools\ffms\ffms2.dll")
#Load_Stdcall_plugin("C:\Program Files\MeGUI64\tools\ffms\ffms2.dll")
FFVideoSource("video.mkv").AssumeFPS(24000,1001)
#deinterlace
#crop
LanczosResize(720,400) # Lanczos (Sharp)
#denoise

I tried the 2 ways of loading the plugin (LoadCPlugin or Load_Stdcall_plugin) but none of them worked, it always gives the same error.

PLEASE NOTE that i tried the same script but encoding with x264 and that worked perfectly, so it has to be XviD encoding problem.

stefvienna
23rd March 2011, 13:26
Hi guys,

I seem to face a similar issue as others here with MeGui_x64. I run it on Win7_x64.
I try to open an mkv-container with just a vc-1 vodeo stream in it.
I can open the mkv-file in MPC_x64 and it plays fine.
I created a graph with GraphEdit_x64 and it renders fine.
I tried to load the graph in VirtualDub and it renders fine as well.
This was just to make sure that the source file itself is ok.
Now I tried to do the same as I did on another box (Vista) with MeGui 32 (where it works) and open the mkv-file with the AVS Script Creator and get this error message:
http://www.safecomms.com/PostPics/AVSScriptCreatorError.jpg
and this one:
http://www.safecomms.com/PostPics/AVSScriptCreatorError2.jpg
When I try to load the AVS file: "DirectShowSource("E:\Demuxed\00221.track_4113.grf",fps=23.976,audio=false)" directly in MeGui I get the same error message as above:
http://www.safecomms.com/PostPics/AVSScriptCreatorError3.jpg

So what wold you suggest? Is it a problem of the VC-1 DirectShow filter (if so, which filter should I use?) or of my MeGui_x64 installation?
Any thoughts welcome!

Cheers, Stefan

RobertoHN
25th October 2011, 03:57
Hello, I have been working with Megui for a long time but yesterday I upgraded my OS from Vista Ultimate 64 Bits to Win 7 Ultimate 64 Bits and installed this distro of MeGUI (http://forum.doom9.org/showthread.php?t=153904) but every time I want to start the jobs I have in the queue I always get this message:

http://img85.imageshack.us/img85/5836/meguistopped.png

No matter what version of MeGUI I use it always crashes and I don't think it has to do something related with the fact that I am running a 64 bits version because I have been using this for a long time on Win Vista 64 bits version also.

I think I have all required tools installed, I have:
1.- Avisynth64 bits version.
2.- KLite Codec Pack (MEGA)
3.- .NET Framework 4

Does anyone know how can I solve this problem?

This is the detailed message about why MeGUI crashes.

Problem signature:
Problem Event Name: BEX64
Application Name: MeGUI.exe
Application Version: 1.0.2057.0
Application Timestamp: 4e9ae374
Fault Module Name: ffms2.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4e83cbb7
Exception Offset: 0000000000033158
Exception Code: c0000417
Exception Data: 0000000000000000
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 1dde
Additional Information 2: 1dde3db2a31b063b6029a44c047ebae4
Additional Information 3: 0c9c
Additional Information 4: 0c9c54ee138c8306b3e3f975bfca61e7

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

Thanks in advance.
Regards.

Kyo47
18th December 2011, 06:40
my megui x64 gives me the warning "unable to render the file you probably you dont have the correct filters installed" i tryed everything to put megui working but no sucess, always give this error in every video i open, in this case it is a .H264 file im trying to convert to an .avi 1080p xvid. Someone knows the solution?

Zathor
18th December 2011, 16:30
Please provide the log so that we can see what you are trying to do.

Kyo47
18th December 2011, 17:56
Please provide the log so that we can see what you are trying to do.

There is no log, when i try to create a script appears this:

http://img708.imageshack.us/img708/4149/thereisnolog01.jpg

the_weirdo
19th December 2011, 08:17
@Kyo47
Try using FFMS2 (or other suitable source filters) instead of DirectShowSource. You can solve that error message by installing appropriate 64-bit DirectShow splitters/decoders and set their merits to high enough so that they get used by DSS, but that isn't recommended, anyway.

Kyo47
19th December 2011, 19:14
@Kyo47
Try using FFMS2 (or other suitable source filters) instead of DirectShowSource. You can solve that error message by installing appropriate 64-bit DirectShow splitters/decoders and set their merits to high enough so that they get used by DSS, but that isn't recommended, anyway.

can you give the link to the new 64 bit download
splitter/decoders?

Edit: I don't understand why megui 32bit i have, why he splitted the movie i converted to avi 1080p with size 3,90 GB with 2 audios primary japonese and secondary in english, i thought megui on the final... muxed the avi with the 2 audios in one file, but megui splitted in two avi files, i dont understand this, i put the configuration not to split.

- Final.Fantasy.VII.Advent.Children.COMPLETE.2005.BRrip.1080p-Kyo47 (1) - Size: 1,95 GB - Time: 01:09:07
- Final.Fantasy.VII.Advent.Children.COMPLETE.2005.BRrip.1080p-Kyo47 (2) - Size: 1,93 GB - Time: 00:57:19

What the hell happened? both files together should give a total of 3,88 GB, because i put it to made it in a single 3,90 GB avi file, why he splitted if i put to not to split?
I tried to mux the two avi files in one with avimuxGUI, but it seems he only mux all audios with one video, because he only select one video in red and mux only one video with all audios, even with the two added avi . It seems AviMuxGUI don't have the option "all video streams" too, only have "all audio streams" and "all subtitles".


http://img836.imageshack.us/img836/1060/avimuxgui01.png

the_weirdo
20th December 2011, 05:18
Like I said, you should use ffms (via Indexer option). If you want to use DSS, you must be very experienced with DirectShow filters, and therefore, you're on your own.

About your other problem, I think it was answered somewhere, but because I'm on cellphone, it's hard for me to find it for you. Also, you may want to post that problem on MeGUI 32 bit thread instead.

Kyo47
20th December 2011, 18:57
Like I said, you should use ffms (via Indexer option). If you want to use DSS, you must be very experienced with DirectShow filters, and therefore, you're on your own.

About your other problem, I think it was answered somewhere, but because I'm on cellphone, it's hard for me to find it for you. Also, you may want to post that problem on MeGUI 32 bit thread instead.

ok i'll wait for information then, no hurry ;)

Zathor
20th December 2011, 21:09
I don't understand why megui 32bit i have, why he splitted the movie i converted to avi 1080p with size 3,90 GB with 2 audios primary japonese and secondary in english, i thought megui on the final... muxed the avi with the 2 audios in one file, but megui splitted in two avi files, i dont understand this, i put the configuration not to split.

Select the Device Type "PC" for AVI Muxing. "Standard" is used for maximum compatibility and therefore it splits at 2GB as most/some SAP cannot playback files >2GB.

Kyo47
20th December 2011, 22:42
Select the Device Type "PC" for AVI Muxing. "Standard" is used for maximum compatibility and therefore it splits at 2GB as most/some SAP cannot playback files >2GB.

thanks for the help. i would never guess that was the solution. :thanks:

tomcat_
16th January 2012, 19:13
i have setup on my pc both versions of megui x32 and 64, in separate folders. I have updated the avisynth according to the instruction at the top of this thread.

I have encoded (x264, aac) the same file (6min video, chapter from dvd) both in x32 and x64.

In both occasions i have no issues or errors. The only thing i have noticed when i updated the avisyth to x64 is that now after i press save in avs creator a preview windows comes up, without me having checked that option (unless is a feature of 2098) and also the analysis on the x64 seems slower (??) than x32.

However, those are minor things. Below is a ss from both versions of megui. Surprisingly on the x32 version the encoding is slighlty faster than the x64....

http://imageshack.us/photo/my-images/853/megui.jpg/

Am i doing something wrong, or the megui x32 is using the x264 64bit version anyway, (i have it ticked) so there is no difference?

*edit* those are the encoding settings:

program --level 4.1 --preset veryslow --tune film --crf 24.5 --min-keyint 25 --ref 4 --subme 7 --no-fast-pskip --output "output" "input"

meshaun
17th January 2012, 01:00
Hi, This x64 bit MeGUI performs fast than the x86? What's the big difference about this one? And Zathor, you rock man. Always something new with MeGUI :)

tomcat_
17th January 2012, 06:48
Hi, This x64 bit MeGUI performs fast than the x86? What's the big difference about this one? And Zathor, you rock man. Always something new with MeGUI :)

the difference about this one is that the x32 version is performing faster than the x64, at least on my example and settings...

Wam7
20th July 2012, 21:56
So there is really no point in getting MeGUI x64 working? I've followed the instructions for installing AviSynth x64 but MeGUI x64 is not loading it. If there are no real benefits then I won't waste time trying to get it working!

Zathor
31st July 2012, 09:45
So there is really no point in getting MeGUI x64 working? I've followed the instructions for installing AviSynth x64 but MeGUI x64 is not loading it.

Please be more specific. E.g. what kind of error do you get, log files, ...


If there are no real benefits then I won't waste time trying to get it working!

The benefit is that it is faster, has no (real) memory limit of a single process. But... as a lot of filters are missing and AviSynth x64 has new bugs itself I recommend to use MeGUI x86.

Wam7
31st July 2012, 14:22
Please be more specific. E.g. what kind of error do you get, log files, ... It's a fairly straight forward install... I used the 1.03 x64 Avisynth, copy the .dll to System32 then the DevIL.dll, run install in Admin mode. (though it doesn't mention doing anything with the MT.dll & DirectShowSource.dll)
http://i46.tinypic.com/1f7h3q.jpg http://i46.tinypic.com/2qnz8zn.jpg

The benefit is that it is faster, has no (real) memory limit of a single process. But... as a lot of filters are missing and AviSynth x64 has new bugs itself I recommend to use MeGUI x86. I would still like to try out the x64 version as I don't use many filters.

I managed to iron out some of the problems I ran into trying out MeGUI i.e. XvidEncraw would crash sometimes when Xvid was set to use 8 cores, dropping to 6 or 4 would fix this.
But one issue I do have is with source .avi files that have packed bitstream. Do I have to unpack these manually, say in AviDemux then load them back in to MeGUI?

nakTT
13th December 2012, 09:41
Hi, is this x64 version of MeGUI is still in active development?

Thanks, Zathor! For your awesome MeGUI (especially x86)

Zathor
13th December 2012, 23:20
Hi, is this x64 version of MeGUI is still in active development? I am not using the x64 myself, but I compile x64 and x86 together so the features are identical, but as AviSynth x64 is not developed anymore I may drop x64 in the future.

Zathor
6th January 2013, 16:09
Is anyone still using MeGUI x64? I would like to discontinue it.