Log in

View Full Version : MeGUI x64


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

Zathor
13th December 2016, 22:16
MeGUI x64 work has been continued, as AviSynth+ is making progress. Most things should work, no workarounds needed like mentioned above.

But it seems I cannot get XviD to work. If you have any ideas, please share them. I know that currently only the x86 xvid package is downloaded but I was unable to find a working xvid_encraw x64 build. If no solution can be found I will disable xvid in MeGUI x64 completly.

locotus
13th December 2016, 22:20
Just finished installing it. Update some files but fails to
do with the avysinth plugins foulder which couldn't be found in the server.
Should x86 avysinth plugins foulder be use instead?

Zathor
13th December 2016, 22:25
Simple reason - I forgot to upload the plugins :eek:
Now they are uploaded

Glarioo
27th December 2016, 00:08
For MeGUi 32bit i use DGDecNV. Can i use it in the 64bit version?

videoh
27th December 2016, 00:22
For MeGUi 32bit i use DGDecNV. Can i use it in the 64bit version? I don't see why you cannot use the DGDecNV 64-bit executables with 64-bit MEGUI. Don't forget that you'll need 64-bit Avisynth+ also.

Glarioo
27th December 2016, 10:17
I don't see why you cannot use the DGDecNV 64-bit executables with 64-bit MEGUI. Don't forget that you'll need 64-bit Avisynth+ also.

Thanks, i wasn't quite sure that DGDecNV supported 64bit.
Avisynth+(r2294) is included in the MeGUI 64bit package.

Glarioo
27th December 2016, 10:21
I've read this on the first page: - AudioLimiter (not available, downmix from 7+ channels to 5.1 will be available in reduced quality only)
What does "reduced quality" mean? Only Dolby Digital 5.1 @ 640 Kbps?

amayra
27th December 2016, 10:34
What is the difference between 32-bit and 64-bit versions when you have avs4x26x or Avs4x264mod ?

Zathor
3rd January 2017, 18:17
I've read this on the first page: - AudioLimiter (not available, downmix from 7+ channels to 5.1 will be available in reduced quality only)
What does "reduced quality" mean? Only Dolby Digital 5.1 @ 640 Kbps?
I have no clue to be honest. One filter is not available which is used when downmixing > 6 channel sources within AviSynth. This is not used when the source is already a 6 (or less) channel one or if with the HD Streams Extractor only the core of such audio tracks is extracted. Feel free to make a comparison.

What is the difference between 32-bit and 64-bit versions when you have avs4x26x or Avs4x264mod ?
The 32bit MeGUI version has to use a 32bit AviSynth version. The 64bit one can only be used by MeGUI x64. 64bit AviSynth should have a performance gain compared to the 32bit one but this depends on your script/filters.

VincAlastor
23rd January 2017, 14:09
i can't get running x265. My avisynth script is loading in preview but when i go on to encode with x265 megui ends with error "could not load avisynth". avisynth+ and x265 working in x64 while using simple x264/x265 gui but it's using avs2yuv v0.24bm5 instead of avs4x26x.

is someone getting x265 to work in megui x64?

Zathor
27th January 2017, 19:54
Could you please post a full log?

Glarioo
3rd February 2017, 23:26
Error: 'fps' is not recognized as a valid number format or it doesn't contain a valid unit ('s', 'ms', 'us', 'ns', 'fps', 'p' or 'i') in '--default-duration 0:fps'.:confused:

Glarioo
4th February 2017, 06:30
Same movie (Deepwater Horizon) works fine with MeGUI 32bit.

VincAlastor
6th February 2017, 21:45
Could you please post a full log?

sent a pm. thank you very much.

Zathor
7th February 2017, 22:57
Error: 'fps' is not recognized as a valid number format or it doesn't contain a valid unit ('s', 'ms', 'us', 'ns', 'fps', 'p' or 'i') in '--default-duration 0:fps'.:confused:

Please try MeGUI 2703. I have introduced a workaround which may or may not work. Root cause is that mediainfo does not detect properly your 264 file. This may also been fixed already in mediainfo 0.7.92.1 as I see that you are using 0.7.91

Glarioo
9th February 2017, 18:20
Please try MeGUI 2703. I have introduced a workaround which may or may not work. Root cause is that mediainfo does not detect properly your 264 file. This may also been fixed already in mediainfo 0.7.92.1 as I see that you are using 0.7.91

Updated MeGUI to version 2703 and i've updated Mediainfo to version 0.7.92.1. MeGUI dit a perfect job on the Deepwater Horizon movie. Thank you Zathor!

nandoom
12th February 2017, 20:13
I just came across this problem (occurred twice) while using MeGUI-x64 2703 on Win7 x64. I was sliding the video frames back and forth in the avs preview.
Thanks.


Application: MeGUI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at MeGUI.AviSynthClip.dimzon_avs_getvframe(IntPtr, IntPtr, Int32, Int32)
at MeGUI.AviSynthClip.ReadFrame(IntPtr, Int32, Int32)
at MeGUI.AvsFile+AvsVideoReader.ReadFrameBitmap(Int32)
at MeGUI.core.gui.VideoPlayerControl.getFrame(Int32)
at MeGUI.core.gui.VideoPlayerControl.renderThreadLoop()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()


Faulting application name: MeGUI.exe, version: 1.0.2703.0, time stamp: 0x589a420c
Faulting module name: KERNELBASE.dll, version: 6.1.7601.23572, time stamp: 0x57fd0696
Exception code: 0xc0000005
Fault offset: 0x000000000001a06d
Faulting process id: 0x1fd4
Faulting application start time: 0x01d284edfb73ec17
Faulting application path: C:\megui-core-2690-64\MeGUI.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: f4fc1604-f0e6-11e6-a926-00a0c6000000

nandoom
13th February 2017, 07:10
I had an encode job which couldn't continue because the x264 encoder crashed twice immediately after it began and no log was created. The same job could continue in x86 version.

Faulting application name: x264.exe, version: 0.148.2744.0, time stamp: 0x5841e4d4
Faulting module name: TIVTC.dll, version: 1.0.5.0, time stamp: 0x4b9c46b6
Exception code: 0xc0000005
Fault offset: 0x0000000000038d30
Faulting process id: 0x1b74
Faulting application start time: 0x01d285badee72b7d
Faulting application path: C:\megui-core-2690-64\tools\x264\x264.exe
Faulting module path: C:\megui-core-2690-64\tools\avisynth_plugin\TIVTC.dll
Report Id: 27b9548f-f1ae-11e6-a926-00a0c6000000

Morku
21st February 2017, 20:10
With latest L-SMASH Works update (20170219) I can't encode audio. I reverted back to 20170203 and it works fine.
[Error] Log
-[Information] Versions
--[Information] [21.02.2017 20:01:35] MeGUI: 2706 x64
--[Information] [21.02.2017 20:01:35] Operating System: Windows 10 Professional x64 (10.0.0.14393)
--[Information] [21.02.2017 20:01:35] .NET Framework: 4.0 (4.0.0.0)
--[Information] [21.02.2017 20:01:35] .NET Framework: 4.6.x (4.6.01586)
--[Information] [21.02.2017 20:01:35] AviSynth+: 0.1 (02-02-2017) (active)
--[Information] [21.02.2017 20:01:35] AviSynth+ portable: 0.1 (02-02-2017) (inactive)
--[Information] [21.02.2017 20:01:35] AvisynthWrapper: (10-04-2010)
--[Information] [21.02.2017 20:01:35] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [21.02.2017 20:01:35] Haali DSS2: not installed
--[Information] [21.02.2017 20:01:35] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [21.02.2017 20:01:35] MediaInfo: 0.7.92.1 (02-02-2017)
--[Information] [21.02.2017 20:01:35] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [21.02.2017 20:01:35] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [21.02.2017 20:01:35] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [21.02.2017 20:01:35] 7z: 9.20 (18-11-2010)
-[Information] Update detection
--[Information] [21.02.2017 20:01:35] Automatic update is disabled
--[Information] [21.02.2017 20:01:35] Using cached update config and server: http://megui.org/auto/
--[Information] [21.02.2017 20:01:35] No package requires an update
-[Error] Log for job2 (audio, EOS 5D Premiere.avs -> EOS 5D Premiere.mp3)
--[Information] [21.02.2017 20:01:44] Started handling job
--[Information] [21.02.2017 20:01:44] Preprocessing
--[Information] [21.02.2017 20:01:44] MediaInfo
---[Information] [21.02.2017 20:01:44] File: D:\Temp\EOS 5D Premiere.avs
---[Information] AVS input file detected. Getting media information from AviSynth.
---[Information] General
----[Information] Format: AVS
----[Information] FormatString: AviSynth Script
----[Information] FileSize: 219
----[Information] PlayTime: 00:07:17.1700000
---[Information] Video
----[Information] ID: 0
----[Information] StreamOrder:
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 26204
----[Information] FrameRate: 59.9400599400599
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType: Progressive
----[Information] Codec: AVS Video
----[Information] CodecString: AVS
----[Information] Bits Depth:
----[Information] Format: AVS
----[Information] AspectRatio: 16:9
----[Information] AspectRatioString:
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 0
----[Information] StreamOrder:
----[Information] Format: AVS
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48000
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: CBR
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
----[Information] [21.02.2017 20:01:45] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [21.02.2017 20:01:46] ignoring downmix as there is only 2 channel(s)
--[Information] [21.02.2017 20:01:46] Avisynth script
---[NoImage] Import("D:\Temp\EOS 5D Premiere.avs")
---[NoImage] # detected channels: 2
---[NoImage] # detected channel positions:
---[NoImage] Normalize()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[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)
---[NoImage] }
--[Information] [21.02.2017 20:01:46] Command line used: -V0 - "{0}"
--[Information] [21.02.2017 20:01:46] Avisynth script environment opened
--[Information] [21.02.2017 20:01:47] Script loaded
--[Information] [21.02.2017 20:01:47] Output Decoder
---[Information] [21.02.2017 20:01:47] Channels: 2
---[Information] [21.02.2017 20:01:47] Bits per sample: 16
---[Information] [21.02.2017 20:01:47] Sample rate: 48000
--[Information] [21.02.2017 20:01:47] Job command line: D:\Sonstiges\Videotools\MeGUI\tools\lame\lame.exe -V0 - "D:\Temp\EOS 5D Premiere.mp3"
--[Information] [21.02.2017 20:01:47] Process started
--[Information] [21.02.2017 20:01:47] Standard output stream
--[Information] [21.02.2017 20:01:47] Standard error stream
--[Error] [21.02.2017 20:01:47] An error occurred
---[Error] [21.02.2017 20:01:47] Exception message
----[NoImage] Nicht negative Zahl erforderlich.
----[NoImage] Parametername: count
---[Error] [21.02.2017 20:01:47] Stacktrace
----[NoImage] bei System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
----[NoImage] bei MeGUI.AviSynthAudioEncoder.encode()
---[Error] [21.02.2017 20:01:47] Inner exception: null
--[Information] [21.02.2017 20:01:47] Job completed

minaust
27th April 2017, 16:16
MeGUI x64 work has been continued, as AviSynth+ is making progress. Most things should work, no workarounds needed like mentioned above.

But it seems I cannot get XviD to work. If you have any ideas, please share them. I know that currently only the x86 xvid package is downloaded but I was unable to find a working xvid_encraw x64 build. If no solution can be found I will disable xvid in MeGUI x64 completly.
I realize I may bee late here, but I just a commaand line encode with this (https://github.com/ShiftMediaProject/xvid). It's a fork of Xvid, I just today did a 64-bit build using VS 2015, then did a successful encode. Worth a look.

Xor
4th May 2017, 20:13
Please help, i have a problem, use megui 2624 on RDP (not have admin access) if choise "avs script creator > directshowsource, give me error: " unable to render the files, you probabbly don't have the correct filters installed" and cannot open preview of files.

https://t9.pixhost.org/thumbs/385/39812281_dsscript.png (https://pixhost.org/show/385/39812281_dsscript.png) https://t9.pixhost.org/thumbs/385/39812283_dserror.png (https://pixhost.org/show/385/39812283_dserror.png)

Last Klitecodecpack is installed and work, megui not work, how to fix the problem???

Zathor
4th May 2017, 22:12
Please do not use DirectShowSource. Open the file in the File Indexer and click on "Queue". Afterwards the AVS Script Creator will open and you should be able to proceed.

Noxygen
24th May 2017, 11:56
I'm trying to convert m2ts files and am constantly getting the error message: "The destination file "4353:P:\AlternativeTemp\0bmdq0ym.3qb\Testfile - [0] English.wav" could not be created.a02"
Why is the track ID in the path? Looks like eac3to is being called with an invalid argument syntax.

gameclamp
20th June 2017, 02:35
https://abload.de/img/2017-06-20_9-10-468eudu.png
While doing the encode job,MEGUI use much memory,and it do not free memory when the job finish.If I add several videos to MEGUI,it will use 4GB~5GB memory after all job finish.And I must restart MEGUI to free memory.Whats wrong?
Here the avs:
SetMemoryMax(16384)
AddAutoloadDir("C:\MEGUI64\tools\avisynth_plugin\autoload")
LoadPlugin("C:\MEGUI64\tools\lsmash\LSMASHSource.dll")
LWLibavVideoSource(".....")
QTGMC(Preset="Slower",EdiThreads=1,FftThreads=1)
Prefetch(32)

Glarioo
3rd December 2017, 10:05
Since the last update's I can no longer open blu-ray folders. With MeGUI 2784 x64 I could open it but with MeGUI 2796 x64 I can not do it anymore.

Zathor
3rd December 2017, 11:15
We have to wait to get the attachments approved. Not sure if it will be in the files, but could you describe in more details please what you are opening and where?

tebasuna51
3rd December 2017, 12:05
@Glarioo

To resume your logs:
OK:
--[Information] MeGUI: 2784 x64
...
-[Information] OneClick
--[Information] [24/11/2017 20:05:42] MediaInfo
---[Information] [24/11/2017 20:05:42] File: D:\BLU-RAY\BIGFOOT_JUNIOR\BDMV\PLAYLIST\00000.mpls
...

NotOK:
--[Information] MeGUI: 2796 x64
...
-[Information] OneClick
--[Information] [3/12/2017 9:42:34] D:\BLU-RAY\BIGFOOT_JUNIOR\BDMV\PLAYLIST cannot be found. skipping...
...

If you still have D:\BLU-RAY\BIGFOOT_JUNIOR\BDMV\PLAYLIST\00000.mpls file seems a MeGUI bug.

Glarioo
3rd December 2017, 12:20
We have to wait to get the attachments approved. Not sure if it will be in the files, but could you describe in more details please what you are opening and where?

What do you mean? I think I can not give more info than the log files? Or is there another way to give you the right information?
I've ripped a blu-ray disk (BIGFOOT_JUNIOR) last Friday with AnyDVD HD to my harddrive. Then I could open that blu-ray folder with MeGui and convert it to MKV, today I can not open that same blu-ray folder. I've tried to open a few other blu-ray folders, but that does not work either. I could open all these folders with previous versions of MeGui.

Zathor
3rd December 2017, 12:32
What do you mean? I think I can not give more info than the log files? Or is there another way to give you the right information?
Those files were not available when I wrote the message. Attachments have to be approved first by a moderator.

However... fixed in 2798.

tebasuna51
3rd December 2017, 13:31
Yes, I approved the attachments and resume the problem to help Zathor, than seems fixed in 2798.

2798 [OneClick] fixed MPLS handling (regression of 2790)

Is OK now?

Glarioo
3rd December 2017, 19:09
MeGui 2798: Everything works fine now. Thanks!

tormento
20th January 2018, 14:55
Is there a way to process multiple audio tracks from a mkv file without having to extract them?

If not, could it be added?

I am getting better results with ffmpeg rather than with eac.

tebasuna51
21st January 2018, 11:47
Is there a way to process multiple audio tracks from a mkv file without having to extract them?

- Using eac3to with Tools -> HD Stream Extractor you can process multiple audio tracks from a mkv. But offer a limited use off eac3to (unless you add many parameters in '+ options' box).
You can use my GUI UsEac3to better than HDStreamExtractor and you can encode also with ffmpeg.

- Using AviSynth decoders, with 'Audio encoding' in main 'Input' tab, you can only process the first audio from a mkv with LWLibavAudioSource.

Using BeHapy you can select the audio track desired adding the desired stream_index to decoder, for instance:

LWLibavAudioSource("INPUT.mkv", stream_index=2)

Maybe that can be implemented in MeGUI

BTW I'm not sure if that method is better:
Extract and recode 2 tracks from a mkv: 51 sec.
Recode the 2 tracks without extract: 53 sec.

I am getting better results with ffmpeg rather than with eac.

(I supose eac is eac3to)
If you are talking about AC3 encoding, yes the default eac3to encoder Aften is deprecated and ffmpeg must be used.

tormento
22nd January 2018, 12:16
- Using eac3to with Tools -> HD
Thanks for your kind reply, however I intended with MeGUI tool :)

I can convert audio from tool but one track at a time and only if already extracted.

I would like to feed a mkv and get a minimal GUI to transcode the audio tracks only into whatever I want with FFMpeg :)

Zathor
28th January 2018, 16:55
The best option for you is OneClick. You can select the input file and the audio encodings for each track and do all in once. Not sure if this is what you are searching for.

Bexley
28th January 2018, 19:11
DLL download link is broken.

Zathor
28th January 2018, 19:21
Done (see first post)

Bexley
28th January 2018, 19:31
Many thanks.

Bexley
28th January 2018, 20:39
I'm getting a crash when encoding to x264 that I do not get with Megui x32 using the exact same config. I'm ripping DVDs and encoding to x264 for my media server. If I download, unzip, run AVS script creator, and encode with the default x264 scratchpad settings it works perfectly. But the minute I change my x264 settings for 480i source, x264 crashes when the encode starts.

LoadPlugin("C:\MeGUI-2808-64\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\E4190\VIDEO_TS\VTS_03_1.d2v", info=3)
LoadPlugin("C:\MeGUI-2808-64\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
#resize
#denoise

Default scratchpad settings runs like a raped ape at 300fps, it's awesome. When I load my NTSC 480i preset (this is true video) I get a crash as soon as x264 loads.

program --level 4.1 --bluray-compat --preset veryslow --tune film --crf 20 --keyint 30 --open-gop --slices 4
--vbv-bufsize 30000 --vbv-maxrate 40000 --tff --colorprim smpte170m --transfer smpte170m --colormatrix smpte170m
--sar 10:11 --output "output" "input"


--[Information] [1/28/2018 1:12:54 PM] Started handling job
--[Information] [1/28/2018 1:12:55 PM] Preprocessing
--[Information] [1/28/2018 1:12:55 PM] AviSynth input script
---[NoImage] LoadPlugin("C:\MeGUI-2808-64\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("C:\E4190\VIDEO_TS\VTS_03_1.d2v", info=3)
---[NoImage] LoadPlugin("C:\MeGUI-2808-64\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, threads=0)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] [1/28/2018 1:12:55 PM] resolution: 720x480
--[Information] [1/28/2018 1:12:55 PM] frame rate: 30000/1001
--[Information] [1/28/2018 1:12:55 PM] frames: 44311
--[Information] [1/28/2018 1:12:55 PM] aspect ratio: 3:2 (1.500)
--[Information] [1/28/2018 1:12:55 PM] target device selected: Blu-ray
--[Information] [1/28/2018 1:12:55 PM] changing --keyint to 30 as required for the selected device
--[Information] [1/28/2018 1:12:55 PM] Job command line: "C:\MeGUI-2808-64\tools\x264\x264.exe" --level 4.1 --bluray-compat \
--preset veryslow --tune film --crf 20 --keyint 30 --open-gop --slices \
4 --vbv-bufsize 30000 --vbv-maxrate 40000 --tff --colorprim \
smpte170m --transfer smpte170m --colormatrix smpte170m --sar \
10:11 --output "C:\E4190\VIDEO_TS\VTS_03_1.264" "C:\E4190\VIDEO_TS\VTS_03_1.avs"
--[Information] [1/28/2018 1:12:55 PM] Process started
--[Information] [1/28/2018 1:12:55 PM] Standard output stream
--[Information] [1/28/2018 1:12:55 PM] Standard error stream
--[Error] [1/28/2018 1:12:57 PM] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
--[Information] [1/28/2018 1:12:57 PM] Job completed


I do not get this crash using MeGui x32 with the same preset. Only the x64 version. Any thoughts?

Groucho2004
28th January 2018, 22:11
@Bexley
Run the script with AVSMeter64 to see if this crashes. I vaguely remember that DGDecode 64 bit is not very stable so this could be the problem.

Bexley
28th January 2018, 22:27
@Bexley
Run the script with AVSMeter64 to see if this crashes. I vaguely remember that DGDecode 64 bit is not very stable so this could be the problem.

The script itself runs like a champ all day long. I can load it up in VDub or AVSmeter and do whatever, output to any format. I can also feed it to x264 with no parameters i.e., program --output "output" "input" and it works fine. It's only when I change any x264 parameters that it crashes. Something is happening when MeGui hands it off that's causing x264 to throw up. I'm playing with settings now to try and narrow down which one is causing the problem.

I can confirm that changing the AVC level from unrestricted to 4.1 causes a crash, but I don't know what else might be at play.

Bexley
28th January 2018, 23:08
It's definitely AVC level 4.1 that's causing it. It works fine with all the other options as long as I leave that unrestricted. I'm encoding for Bluray compatibility and it calls for 4.1, so leaving it unrestricted is an option but not a very good one.

Bexley
18th February 2018, 04:43
New build 2824 seems to fix this. Thanks.

Morku
22nd February 2018, 22:47
I have some strange issue with MeGUI 64 Bit, when I want encode 10-Bit input encode with x264 with 8-Bit output.
The created file is distorted (double resolution, everything is green) and handled like without "--input-depth 10".

Thats the AviSynth script I use
LoadPlugin("LSMASHSource.dll")
LSMASHVideoSource("test2.mov", format="YUV420P10")

Here the x264 parameter
program --output-depth 8 --input-depth 10 --output "output" "input"

The thing is, when I use MeGUI 32-Bit the result is fine!
It can't be a x264.exe issue, because both version using the same 64-Bit x264.exe file.
It also can't be LSMASH 32/64-Bit issue, because when I use x265 in MeGUI 64 Bit with --input-depth 10 --profile main, the result is also fine.
The only difference is, that MeGUI 32-Bit is additional using avs4x26x.exe.

That's the log for MeGUI 64-Bit:
https://pastebin.com/NRZZUH4V

and here for 32-Bit:
https://pastebin.com/9WhmL5ki

What's the cause? Is there a solution for it?

sneaker_ger
22nd February 2018, 23:00
L-Smash doesn't know native AviSynth+ formats >8 bit, only hacked formats. Either use ffms or try:
For 8 bit output simply:
LoadPlugin("LSMASHSource.dll")
LSMASHVideoSource("test2.mov", format="YUV420P8")
x264 --input-depth 8 --output-depth 8 "input.avs" -o "output.264"

For 10 bit pipe/output:
LoadPlugin("LSMASHSource.dll")
LSMASHVideoSource("test2.mov")
ConvertFromDoubleWidth(bits=10)
ConvertBits(16)
x264 --input-depth 16 --output-depth 10 "input.avs" -o "output.264"

Gser
25th February 2018, 15:11
L-Smash doesn't know native AviSynth+ formats >8 bit, only hacked formats. Either use ffms or try:
For 8 bit output simply:
LoadPlugin("LSMASHSource.dll")
LSMASHVideoSource("test2.mov", format="YUV420P8")
x264 --input-depth 8 --output-depth 8 "input.avs" -o "output.264"

For 10 bit pipe/output:
LoadPlugin("LSMASHSource.dll")
LSMASHVideoSource("test2.mov")
ConvertFromDoubleWidth(bits=10)
ConvertBits(16)
x264 --input-depth 16 --output-depth 10 "input.avs" -o "output.264"
L-Smash does know Avisynth+ formats, he just has to set stacked=false.

sneaker_ger
25th February 2018, 15:17
L-Smash does know Avisynth+ formats
Wrong.

he just has to set stacked=false.
He didn't set stacked=true. (stacked=false is the default)
stacked=false only means that it is using the "interleaved" hacked format, not the "stacked" hacked format.

Gser
26th February 2018, 14:33
Wrong.

LWLibavVideoSource (http://avisynth.nl/index.php/LSMASHSource/LWLibavVideoSource)
Avisynthplus color formats (http://avisynth.nl/index.php/Avisynthplus_color_formats)
I've done many 10 bit x265 encodes with this, it works fine. Only problem I have is that not many filters support the format.

I just noticed he was using x264. Maybe it only supports stacked 10-bit? Perhaps he could dither it to 8 bits with a filter instead of feeding 10 bits to x264.
There is something weird going on I do have to admit, using Convertbits(8), doesn't convert the bit depth which I believe is its primary function. Also trying to resize with internal filters results in a mess.

sneaker_ger
26th February 2018, 15:56
There is something weird going on I do have to admit, using Convertbits(8), doesn't convert the bit depth which I believe is its primary function.
It's because L-Smash doesn't support the native high bitdepth formats of AviSynth+. You can tell L-Smash to output format="yuv420p16" but that will not be the native format. Just 16 bit hacked into AviSynth's 8 bit format as double width (interleaved) or double height (stacked). Filters will treat it as 8 bit and produce garbage results unless you either convert it into native format (https://forum.doom9.org/showpost.php?p=1833089&postcount=9) or have a filter that supports hacked input (often via "lsb_in" parameter).

If you put info() behind L-Smash you can see that AviSynth+ will always report 8 bits per component. This isn't the case for ffms2 because that actually does support the native formats >8 bit.

Gser
26th February 2018, 20:37
It's because L-Smash doesn't support the native high bitdepth formats of AviSynth+. You can tell L-Smash to output format="yuv420p16" but that will not be the native format. Just 16 bit hacked into AviSynth's 8 bit format as double width (interleaved) or double height (stacked). Filters will treat it as 8 bit and produce garbage results unless you either convert it into native format (https://forum.doom9.org/showpost.php?p=1833089&postcount=9) or have a filter that supports hacked input (often via "lsb_in" parameter).

If you put info() behind L-Smash you can see that AviSynth+ will always report 8 bits per component. This isn't the case for ffms2 because that actually does support the native formats >8 bit.
Thanks for the info, I've been struggling with this for the past year now. I'm guessing I have to use the C-plugin version of ffms2 for the high bit depth support.