View Full Version : MeGUI x64


Zathor
10th April 2010, 16:14
MeGUI x64 work has been continued as AviSynth+ is making progress.

MeGUI x64 builds (https://sourceforge.net/projects/megui/files/megui-test/)

MeGUI x64 has the same functionality as the x86 build with these exceptions, as those tools are not available in x64:
- AudioLimiter (not available, downmix from 7+ channels to 5.1 will be available in reduced quality only)
- BassAudio (not available)
- convolution3d (not available)
- tomsmocomp (not available)

MeGUI may crash if using the old x86 dlls.

Hiritsuki
10th April 2010, 16:20
Oh! New ver. release tks.
When my task of sub team's anime is over I'll try it.
By the way I'm this sub team's member => [removed foreign language link]

Kurtnoise
10th April 2010, 19:27
To complete the x64 packages :>> http://kurtnoise.free.fr/mp4tools/MP4Box-0.4.6-dev_x64_20100410.zip

Zathor
10th April 2010, 21:50
To complete the x64 packages :>> http://kurtnoise.free.fr/mp4tools/MP4Box-0.4.6-dev_x64_20100410.zip

Thanks! I have added it.

aegisofrime
11th April 2010, 17:13
Hey there Zanthor. Thanks for the work! Just thought that you might want to add a small tip.

I followed your instructions, but upon attempting to update through the development server I got an error about icsharpcode.sharpziplib.

To fix it, go to http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx, download the assembly, extract the file in the net-20 folder to the MeGUI x64 folder and it should work.

Also, pre-rendering jobs don't work. I'm pretty sure it's the pre-rendering, because that job doesn't even start, gives an error, while a straight x264 encode works fine.

Zathor
12th April 2010, 12:00
Thanks, I forgot to include the dlls. I have added it to the instructions above.

simonb1975uk
12th April 2010, 14:23
I guess it's a bit too early to ask this question but has anyone noticed any speed improvements with MeGui x64?

twist3d
12th April 2010, 15:47
First of all, big thanks for the X64-build!

here's some quick benchmarks: 720x576 clip from matrix PAL DVD, "what is bullet-time"-extra, 06min 15sec

- win7 x64 ultimate, core i5-750@stock, 4GB 1333MHz DDR3 CL7
- dgindex .d2v: ieee reference, no audio
- avs: crop( 4, 0, -4, -2), no other plugins
- x264_64.exe / x264.exe --tune film --pass 2 --bitrate 1400 --stats ".stats" --output "output" "input"

rev 1523 from megui dev-updateserver
MEGUI X64: 1st: 191,23 2nd: 66,31
MEGUI X86: 1st: 173,66 2nd: 61,52

rev 1471 from imk.cx, ICC
MEGUI X64: 1st: 195,14 2nd: 71,90
MEGUI X86: 1st: 171,65 2nd: 64,04

nakTT
12th April 2010, 16:43
Woow! That's a very good performance boost indeed.

Thanks, twist3d.

quantum5uicid3
14th April 2010, 20:43
the links for 64bit versions of ffmsindex.exe (http://kemuri9.net/dev/avs/ffms2/x64/ffmsindex.exe), ffmpeg (http://ffmpeg.arrozcru.org/autobuilds/ffmpeg/mingw-w64/static/), Aften (http://code.google.com/p/wavtoac3encoder/downloads/list), Xvid (http://www.xvidvideo.ru/xvid-video-codec/xvid-1-3-0-cvs-091025-03-29-vaq-mtk-x86-x64.html), VSFilter, (http://code.google.com/p/vsfiltermod/downloads/list)and Lame (http://www.rarewares.org/mp3-lame-bundle.php#lame-current-64).

can't find a 64bit build of mencoder.exe anywhere. :confused: hopefully it can be built to where at least avs input and ffvhuff output works.

simonb1975uk
15th April 2010, 14:45
I've followed the instructions but believe I've done something dumb as when I run a conversion x264 blows out with the following error:
'an error occurred: x264 [error]: invalid argument: nal-hrd = -b-pyramid'

simonb1975uk
15th April 2010, 14:45
sorry --b-pyramid and this is using the 'x264: Bluray - balanced' profile

simonb1975uk
16th April 2010, 20:21
Got it working by copying in x264_64.exe from 32-bit megui

Eretria-chan
17th April 2010, 13:06
I get an exception when trying to update. Something about unable to load icsharpcode.sharpziplib.

aegisofrime
17th April 2010, 13:42
I get an exception when trying to update. Something about unable to load icsharpcode.sharpziplib.

You need the file from the link titled MeGUI DLLs download in the first post.

Eretria-chan
17th April 2010, 13:49
Ah, there was that too. I missed that.
Yet, why not include them in the main package?

Zathor
19th April 2010, 16:56
Yet, why not include them in the main package?

Because they will be / have been updated at different times. They will be all included in a installer as soon as the 64bit build is stable. But I believe that this will take quite some time because some major plugins are missing (e.g. a recent nicaudio).

aegisofrime
20th April 2010, 10:56
Zathor, do you have any idea how to resolve the pre-rendering problems? That will allow me to replace 32-bit AVS/MeGUI with 64-bit. Thanks!

quantum5uicid3
20th April 2010, 18:15
64bit mencoder.exe

Zathor
24th April 2010, 19:18
Updated build + some of the tools

copaceticgeek
25th April 2010, 07:56
Out of curiosity, is it possible to have both the x86 and x64 Megui installed at the same time? What conflicts may arise?

Eretria-chan
25th April 2010, 08:07
Yep. It's possible. I have both installed.
I've seen no conflicts whatsoever so far.

aegisofrime
25th April 2010, 17:26
64bit mencoder.exe

I tried Googling around but apparently there are no 64-bit builds of Mencoder. Zathor could you confirm? Thanks!

Romario
25th April 2010, 23:08
Well,I think that 64-bit mencoder.exe doesn't exist, at least for now. Who knows what future could bring to us, Zathor ?

quantum5uicid3
26th April 2010, 00:19
it's possible, but alot of stuff is broken, so i don't think anyone has made it widely available. we just need a build with avs input and ffvhuff out. i tried to get ffmpeg to do it but it wont for some reason. it starts but end up dropping all frames.


>ffmpeg -i test.avs -vcodec ffvhuff -context -2 -vstrict -1 -an
test.avi
FFmpeg version SVN-r22941, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 22 2010 06:18:44 with gcc 4.4.2
configuration: --cross-prefix=x86_64-w64-mingw32- --cc=ccache-x86_64-w64-mingw
32-gcc --extra-cflags='-Dstrtod=__strtod' --arch=x86_64 --target-os=mingw32 --en
able-runtime-cpudetect --enable-avisynth --enable-gpl --enable-version3 --enable
-bzlib --enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --e
nable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --ena
ble-libxvid --enable-libschroedinger --enable-libx264 --enable-libopencore_amrwb
--enable-libopencore_amrnb
libavutil 50.14. 0 / 50.14. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.61. 0 / 52.61. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
Input #0, avs, from 'test.avs':
Duration: 00:00:04.21, start: 0.000000, bitrate: 0 kb/s
Stream #0.0: Video: rawvideo, yuv420p, 1280x720, 265155 kb/s, 23.98 tbr, 23.
98 tbn, 23.98 tbc
File 'test.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'test.avi':
Metadata:
ISFT : Lavf52.61.0
Stream #0.0: Video: ffvhuff, yuv420p, 1280x720, q=2-31, 200 kb/s, 23.98 tbn,
23.98 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 1 fps= 0 q=0.0 size= 675kB time=0.04 bitrate=132520.3kbits/s dup=
frame= 1 fps= 1 q=0.0 size= 675kB time=0.04 bitrate=132520.3kbits/s dup=
frame= 1 fps= 1 q=0.0 size= 675kB time=0.04 bitrate=132520.3kbits/s dup=
frame= 1 fps= 0 q=0.0 size= 675kB time=0.04 bitrate=132520.3kbits/s dup=
frame= 1 fps= 0 q=0.0 size= 675kB time=0.04 bitrate=132520.3kbits/s dup=
frame= 1 fps= 0 q=0.0 size= 675kB time=0.04 bitrate=132520.3kbits/s dup=
frame= 1 fps= 0 q=0.0 size= 675kB time=0.04 bitrate=132520.3kbits/s dup=
frame= 1 fps= 0 q=0.0 size= 675kB time=0.04 bitrate=132520.3kbits/s dup=
frame= 1 fps= 0 q=0.0 Lsize= 675kB time=0.04 bitrate=132524.9kbits/s dup
=0 drop=100
video:669kB audio:0kB global headers:0kB muxing overhead 0.832433%

Romario
26th April 2010, 22:20
Well,life is hard enough,you can't expect from devs to compile all things in 64=bit so fast.

See, Avisynth also have big problems to compile in 64-bit mode. I don't know is the 64-bit asm code is perfect,but. at least, we have it.

quantum5uicid3
27th April 2010, 22:09
when a queue is running, i've gotten this error a few times when it starts the next job. it has happened when starting a 1st pass on one file and the second pass on another, so appears to be randomly occuring. if i restart the queue with no changes besides resetting the failed job, it runs again np. like it's failing to open another ffms instance or something immediately sometimes. i have not experienced this in the 32bit build using identical settings.

megui error:
-[Information] Log for job16 (video, so.avs -> )
--[Information] [4/27/2010 3:46:49 PM] Started handling job
--[Information] [4/27/2010 3:46:49 PM] Preprocessing
-[NoImage] Error starting job
--[NoImage] Exception message
---[NoImage] Calling setup of processor failed with error 'The file C:\vidz\so.avs cannot be opened.
---[NoImage] Error message for your reference: Evaluate: Unrecognized exception!
---[NoImage] (C:\vidz\so.avs, line 2)'
--[NoImage] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
--[NoImage] Inner exception: null
-[Information] Log for job16 (video, so.avs -> )
--[Information] [4/27/2010 3:49:06 PM] Started handling job
--[Information] [4/27/2010 3:49:06 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --tune film --pass 1 --bitrate 4694 --stats "C:\vidz\so.stats" --b-adapt 2 --merange 64 --me umh --direct auto --subme 10 --partitions all --trellis 2 --no-fast-pskip --level 4.1 --bframes 3 --ref 6 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-bufsize 14000 --vbv-maxrate 14500 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --output NUL "C:\vidz\so.avs"


avs
LoadCPlugin("C:\Program Files\megui\tools\ffms\ffms2.dll")
FFVideoSource("capture0223.mkv",colorspace="YV12")
Spline64Resize(1280,720)


addition:

ive tried to crash the same avs outside of megui by opening many instances simultaneously starting them back to back and they just keep opening. :) i can reproduce by running a queue of about 20 or so 2pass 200 frame encodes from an HD source. it looks like megui memory usage just keeps going up... at about 1.5GB used it starts crashing intermittently on a core2quad@3 4gb vista

32bit megui.exe does not exhibit the same memory usage beahvior on this computer

Buggle
30th April 2010, 16:45
Thank you so much for all this hard work!
Currently running a DVD backup and it's working fine :D

On a small note: maybe it would be possible to grey out options that cannot be used due to no (suitable) plugin/program available? Then limitations are more clear. For instance, to my knowlede there currently is no Nero AAC x64 edition, so the path to the external program could be greyed out.

quantum5uicid3
30th April 2010, 19:34
the 64bit nicaudio will feed 32bit audio encoders. i know ac3 to nero aac works. old version, so some files like mp3s give Script error: there is no function named "NicMPG123Source" though. i think it's slower too, but haven't compared side by side.

can someone confirm that memory usage gradually keeps going up while queue is running?

Buggle
30th April 2010, 23:33
the 64bit nicaudio will feed 32bit audio encoders. i know ac3 to nero aac works. old version, so some files like mp3s give though. i think it's slower too, but haven't compared side by side.

can someone confirm that memory usage gradually keeps going up while queue is running?

Well I've tried to encode to Nero AAC and that did not work (AC3 source), unfortunately. I have to use the MeGUI 32 to encode audio. But hey, I do not consider that to be a great problem, since I can run them in parallel.

quantum5uicid3
1st May 2010, 13:41
it works fine. megui is going to look for nicaudio.dll in the megui\tools\avisynth_plugin\*

did you get squid*80's build? did you install it?

i even did a quick speed comparison against the current nicaudio and i was wrong.

source: 6channel ac3 600MB 2h 11mn 640 Kbps


same script on both except the paths being different. using sets 32 bit vs sets 64bit port

encoder
32bit neroAacEnc.exe on both

avs
Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicAc3Source("C:\movies\01\F1_T3_Audio - English.ac3")
---[NoImage] 6<=Audiochannels(last)?x_stereof33140e04faa4519b7c2353a5997f465(ConvertAudioToFloat(last)):last
---[NoImage] Normalize()
---[NoImage] return last
---[NoImage] function x_stereof33140e04faa4519b7c2353a5997f465(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] lfe = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
---[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
---[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[NoImage] Commandline used: -ignorelength -q 0.3 -if - -of "{0}"


total encoding time from job start to job finished

32bit
12min 18sec

64bit
11min 22sec

edit
i guess i should reiterate that its old and is missing many fixes and it predated NicMPG123Source, so several inputs are broken.

directshowsource and avisource look to be ok too

Zathor
1st May 2010, 20:24
i guess i should reiterate that its old and is missing many fixes and it predated NicMPG123Source, so several inputs are broken.

Thats the reason why I have not included it. The source is available so maybe someone can compile a 64bit build.

KSab
4th May 2010, 21:50
Good afternoon!
Help to understand. At start MeGUI.exe drops out here with such error.
http://i6.fastpic.ru/big/2010/0505/b0/ae7988912e42aa951366d71a365ee8b0.png (http://fastpic.ru/)

From the first post I have copied the necessary files. Versions MeGUI x86 works normally! Operating system - Windows Server 2003 Enth Eng x64.

Zathor
5th May 2010, 09:40
Please post the error message or upload the picture to an external hoster.

KSab
5th May 2010, 14:44
Please post the error message or upload the picture to an external hoster.

ok, sorry.

quantum5uicid3
5th May 2010, 23:10
64bit programs go in the \program files\. did you install libraries in proper directories? and make sure .NEt is current


Program Files 64bit programs
System32 64bit libraries

Program Files (x86) 32bit programs
syswow64 32bit libraries

no one else is experiencing high memory usage? i mean megui.exe just keeps allocating more and more ram over an extended period of time.

KSab
6th May 2010, 08:24
I have copied the files specified in the first message (ICSharpCode.SharpZipLib.dll, LinqBridge.dll, MessageBoxExLib.dll, and MeGUI.exe x64) in a folder with established MeGUI x32.

Has transferred from a folder "Program Files (x86)" to a folder "Program Files". Has changed Nothing.

rogersnm
8th May 2010, 10:24
I get the same error as KSab on Windows Server 2003 x64, the x86 version runs fine however the x64 version gives the error message "This application has failed to start because the application configuration is incorrect", regardless of where I run it from. In comparison, on Windows Server 2008 R2 x64 I can execute the x64 version straight from the .zip and it runs fine.

The two operating systems have the same packages installed (according to "Add/Remove Programs") however it fails to run on 2003.

Zathor
8th May 2010, 11:37
I am just guessing - maybe you have to install the visual c++ runtimes for x64?

KSab
8th May 2010, 20:07
I am just guessing - maybe you have to install the visual c++ runtimes for x64?

For me Microsoft Visual C ++ 2008 x64 is already installed.

Eretria-chan
8th May 2010, 20:59
I am just guessing - maybe you have to install the visual c++ runtimes for x64?

Runtimes aren't backwards compatible.
To install the proper runtime, we would need to know:

- What version it is (2005/2008).
- If SP1 is installed or not (2008 only).

They have different runtimes.

rogersnm
8th May 2010, 23:59
I've got the Microsoft Visual C++ 2008 SP1 Redistributable x64 and x86 and I also just installed the 2010 Runtime (both x64 and x86) and the 2005 SP1 Redistributable (again, x64 and x86) which have made no difference.

Event Viewer might have yielded some useful information, it generates 3 errors every time I attempt to run the executable.
---------------- Error 1 ----------------
Source: SideBySide
EventID: 32

Dependent Assembly Microsoft.Windows.Common-Controls could not be found and Last Error was The referenced assembly is not installed on your system.

---------------- Error 2 ----------------
Source: SideBySide
EventID: 59

Resolve Partial Assembly failed for Microsoft.Windows.Common-Controls. Reference error message: The referenced assembly is not installed on your system.

---------------- Error 3 ----------------
Source: SideBySide
EventID: 59

Generate Activation Context failed for C:\PathTo\MeGUI.exe. Reference error message: The referenced assembly is not installed on your system.
----------------------------------------

Edit: Possibly microsoft's fault http://support.microsoft.com/kb/914061
Edit #2: No joy, that hotfix is apparently included in SP2

Edit #3: After looking at sxstrace logs it looks like Windows Server 2003 doesn't possess the required assembly code.

KSab
9th May 2010, 10:42
I've got the Microsoft Visual C++ 2008 SP1 Redistributable x64 and x86 and I also just installed the 2010 Runtime (both x64 and x86) and the 2005 SP1 Redistributable (again, x64 and x86) which have made no difference.

Event Viewer might have yielded some useful information, it generates 3 errors every time I attempt to run the executable.
---------------- Error 1 ----------------
Source: SideBySide
EventID: 32

Dependent Assembly Microsoft.Windows.Common-Controls could not be found and Last Error was The referenced assembly is not installed on your system.

---------------- Error 2 ----------------
Source: SideBySide
EventID: 59

Resolve Partial Assembly failed for Microsoft.Windows.Common-Controls. Reference error message: The referenced assembly is not installed on your system.

---------------- Error 3 ----------------
Source: SideBySide
EventID: 59

Generate Activation Context failed for C:\PathTo\MeGUI.exe. Reference error message: The referenced assembly is not installed on your system.
----------------------------------------

Edit: Possibly microsoft's fault http://support.microsoft.com/kb/914061
Edit #2: No joy, that hotfix is apparently included in SP2

Edit #3: After looking at sxstrace logs it looks like Windows Server 2003 doesn't possess the required assembly code.

For me too most!

Zathor
9th May 2010, 13:07
You can try this one:
http://www.microsoft.com/downloads/details.aspx?familyid=B44A0000-ACF8-4FA1-AFFB-40E78D788B00&displaylang=en

rogersnm
9th May 2010, 13:45
"Setup cannot continue because this version of the .NET Framework is incompatibile with a previously installed one. For more information, see http://support.microsoft.com/support/kb/articles/q312/5/00.asp"

The x64 version of the .NET Framework 2.0 SP2 seems to already be installed.

http://i40.tinypic.com/e70ak2.png
http://i44.tinypic.com/52m7v4.png

Just FYI: Avisynth x64 is functioning well

KSab
9th May 2010, 16:26
Mine:

http://i6.fastpic.ru/big/2010/0509/69/e794a50694f37a19e1085ab9cf50d669.png (http://fastpic.ru/)

newstd
11th May 2010, 22:55
I just wanted to share with you this comparison test :

same DVD (157840 frames), with same settings for x264 (in constant quality) on win 7 x64 OS

Here are the statistic logs from :
megui x86 = encoded 157840 frames, 13.34 fps, 1654.44 kb/s
megui x64 = encoded 157840 frames, 18.38 fps, 1557.75 kb/s

Thanks Zathor for this useful initiative.
it's worth of it (even if not all encoders or plugins are not ready for 64-bit), especially when you don't have the last powerful Quad processor ...
Hoping now to see it on the stable server.

AMED
12th May 2010, 08:53
Should MeGUI be using a crazy amount of memory?

http://i39.tinypic.com/245cw34.png

at the moment there are are total of 130 jobs loaded in to MeGUI and its up to job 120.

ncatt
13th May 2010, 11:55
Should MeGUI be using a crazy amount of memory?

I saw this too when loading many jobs. My workaround was load all jobs, close and reopen megui, then start the encodes. Otherwise, very good job Zathor!! :thanks:

quantum5uicid3
13th May 2010, 22:32
thx for confirming people. i tried to figure out what its doing with my limited expertise and if i had to guess, i'd say megui x64 is leaving avisynth threads open.

Cyber-Mav
18th May 2010, 00:41
any difference in speed using megui in native 64bit mode vs the 32bit megui that uses the 64bit wrapper?

Zathor
18th May 2010, 05:43
Didn't compare it myself, but:
http://forum.doom9.org/showthread.php?p=1390959#post1390959

AMED
18th May 2010, 08:02
thx for confirming people. i tried to figure out what its doing with my limited expertise and if i had to guess, i'd say megui x64 is leaving avisynth threads open.I think you correct about AviSynth threads staying open. I just did a quick check by opening a FFMS indexed mkv file in the avisynth creator. I then closing the AviSynth creator by clicking the Red X and then tried to delete the mkv file and i get this.

http://img18.imageshack.us/img18/4511/megui.png (http://img18.imageshack.us/i/megui.png/)

quantum5uicid3
19th May 2010, 14:37
looks like i was wrong about 64bit ffmpeg's abilty to do avs in and ffvhuff out. it does actually work in many cases but fails with others.

zathor, can you change the pre-rendering to use this easily? it would make it easier to test.
ffmpeg -i input.avs -vcodec ffvhuff -context 1 -vstrict -1 -an output.avi

and any thoughts on memory behavior?

i forgot to add:
the memory problems occur only when using ffms, not directshowsource. unfortunately i can't duplicate the issue on the commandline.

quantum5uicid3
26th May 2010, 00:28
i'll add that, i can't find any disadvantage to using ffmpeg over mencoder.

edit
i think multithreading works better too

Lyle_JP
3rd June 2010, 20:37
I don't know if this is a problem with Megui x64, or the 64-bit NicAudio plugin from Squid80, but I'm getting an error every time I check the box for "Apply Dynamic Range Compression":

--[Information] [6/3/2010 12:28:35 PM] Started handling job
--[Information] [6/3/2010 12:28:35 PM] Preprocessing
--[NoImage] Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicAc3Source("C:\YOU_ONLY_LIVE_TWICE\VIDEO_TS\You Only Live Twice T82 2_0ch 192Kbps DELAY 0ms.ac3", DRC=1)
---[NoImage] ConvertToMono()
---[NoImage] Normalize()
---[NoImage] return last
--[NoImage] Commandline used: -ignorelength -lc -br 96000 -if - -of "{0}"
--[Information] [6/3/2010 12:28:35 PM] Encoding started
--[Information] [6/3/2010 12:28:35 PM] Encode thread started
--[Information] [6/3/2010 12:28:35 PM] Avisynth script environment opened
--[Error] An error occurred
---[NoImage] Exception message: Script error: NicAc3Source does not have a named argument "DRC"
---[NoImage] Stacktrace
----[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
----[NoImage] at MeGUI.AviSynthScriptEnvironment.ParseScript(String script)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null

Any thoughts? Oh, I'm using MeGui x64 0.3.4.15 and Avisynth 2.5.8 MT 64-bit from SEt.

Zathor
3rd June 2010, 22:32
The NicAudio plugin from Squid80 is rather old (2006) and therefore I think that DRC is not supported.

You can post a request for an updated x64 build here: http://forum.doom9.org/showthread.php?t=152800 the source code for the recent x86 build is here: http://nicaudio.codeplex.com/
Maybe someone is able to compile a x64 build.

Eretria-chan
3rd June 2010, 23:07
Here's an x64 build of NicAudio compiled by myself: http://www.mediafire.com/?ozlnnjtgzam
Unfortunately, since the source wasn't designed for x64, it might or might not work. I'm not going to try fixing bugs, however. Let's just hope it works.
Compiled with VS2010, so you may need its runtime.

Lyle_JP
4th June 2010, 14:06
Here's an x64 build of NicAudio compiled by myself: http://www.mediafire.com/?ozlnnjtgzam
Unfortunately, since the source wasn't designed for x64, it might or might not work. I'm not going to try fixing bugs, however. Let's just hope it works.
Compiled with VS2010, so you may need its runtime.

That worked great with DRC, and I didn't have to download any runtimes. I'll try it with PAL to NTSC slow-down and DTS, and if it works on those, it does everything I need!

Lyle_JP
11th June 2010, 02:01
Checking back in. The NicAudio plugin provided worked with everything I threw at it. But Zathor must have already tested it himself since it seems to have been added to the Megui x64 update distribution (unless that's yet another compile).

I have another problem. One actually mentioned by someone else way back in 2008 to Sharktooth, but nothing was (AFAICT) ever done. Megui x64 is very unstable when the video provided by Avinsynth has not been resized to a mod16 height, regardless of video source. This has never really been a problem in 32-bit Megui, but the crashes are frequent and unpredictable with the 64 bit version, until you resize to a mod16 height, at which time the random crashing goes away. The crashes usually happen when opening a preview window or enqueing a video encoding job, but never seem to happen when actually processing a queue, which would seem to indicate that the crashes are not happening because of x264 or Avisynth.

Buggle
11th June 2010, 09:17
Checking back in. The NicAudio plugin provided worked with everything I threw at it. But Zathor must have already tested it himself since it seems to have been added to the Megui x64 update distribution (unless that's yet another compile).

I have another problem. One actually mentioned by someone else way back in 2008 to Sharktooth, but nothing was (AFAICT) ever done. Megui x64 is very unstable when the video provided by Avinsynth has not been resized to a mod16 height, regardless of video source. This has never really been a problem in 32-bit Megui, but the crashes are frequent and unpredictable with the 64 bit version, until you resize to a mod16 height, at which time the random crashing goes away. The crashes usually happen when opening a preview window or enqueing a video encoding job, but never seem to happen when actually processing a queue, which would seem to indicate that the crashes are not happening because of x264 or Avisynth.
Why not test this using Vdub x64? Then you'll know if the problem lies with Avisynth or with x264. I'm guessing it's avisynth.

movq
11th June 2010, 09:30
Hey there Zanthor. Thanks for the work! Just thought that you might want to add a small tip.

I followed your instructions, but upon attempting to update through the development server I got an error about icsharpcode.sharpziplib.

To fix it, go to http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx, download the assembly, extract the file in the net-20 folder to the MeGUI x64 folder and it should work.

Also, pre-rendering jobs don't work. I'm pretty sure it's the pre-rendering, because that job doesn't even start, gives an error, while a straight x264 encode works fine.
I followed your instructions, but come back error info

Eretria-chan
11th June 2010, 17:46
Checking back in. The NicAudio plugin provided worked with everything I threw at it. But Zathor must have already tested it himself since it seems to have been added to the Megui x64 update distribution (unless that's yet another compile).

This is excellent news. I had to make changes so that it would compile in 64-bit.
Maybe I should hand over the source somewhere?

Inspector.Gadget
11th June 2010, 22:20
Using the latest build, MeGUI x64 reports that it is unable to find Avisynth.dll. I've installed joshyd's most recent x64 build and have confirmed that it works by feeding an Avisynth script to x264_64.exe directly. Any suggestions?

JoeH
12th June 2010, 10:41
Using the latest MeGUI development build with all tools updated to development builds I am finding that the X264 streams are incompatible with my Panasonic BD-60. I used the Blu-ray profiles (not the absolute latest, but the ones which were out until a couple of weeks ago).

Has anyone seen this or know what is causing it? Using the stable builds everything is fine.

I know it is specific to Panasonic, as it plays on Sony blu-ray standalones, in TMT, etc.

Zathor
12th June 2010, 17:00
Using the latest build, MeGUI x64 reports that it is unable to find Avisynth.dll. I've installed joshyd's most recent x64 build and have confirmed that it works by feeding an Avisynth script to x264_64.exe directly. Any suggestions?

Do you have the 32bit build of avisynth installed, too? I have never tried it with only the 64bit build installed because it is recommended to install first the 32bit build and then the 64bit build on top.

Inspector.Gadget
12th June 2010, 18:19
Zathor: Yes, I have both builds installed. Both versions of Avisynth work fine with various filters when fed directly to the respective compatible version of x264. 32-bit MeGUI picks up 32-bit Avisynth just fine. Is there a "path to Avisynth" variable set either in the registry or in a config flat file that I should examine? Thanks for all your continued hard work on MeGUI.

Zathor
12th June 2010, 18:49
MeGUI is searching in the System32 and SysWOW64 for the file avisynth.dll. If the file cannot be found in one of those folders MeGUI assumes that AviSynth is not installed.

Inspector.Gadget
12th June 2010, 19:16
Well, I found something that may be implicated in the problem: on my system, with only 32-bit Avisynth installed, MeGUI x64 detects and reports that Avisynth (2.5.8.5) is installed - but, obviously, can't use the 32-bit version and predictably fails when trying to open a video clip. Should this happen?

Zathor
12th June 2010, 20:28
The avisynth detection logic has not changed for a long time and therefore it does not detect if the x64 build of avisynth is installed together with the x64 build of MeGUI. I will change it in the next build (.17)

This is excellent news. I had to make changes so that it would compile in 64-bit.
Maybe I should hand over the source somewhere?

Yes, please upload the source.

zathor, can you change the pre-rendering to use this easily? it would make it easier to test.
ffmpeg -i input.avs -vcodec ffvhuff -context 1 -vstrict -1 -an output.avi

It has been changed in .16

Inspector.Gadget
12th June 2010, 20:33
Many thanks, Zathor. Will .17 be pushed to autoupdate on the development server's x64 channel?

Zathor
12th June 2010, 20:37
Yes, like the .16 a few minutes ago.

Zathor
12th June 2010, 20:49
@Inspector.Gadget: Please try this build:
EDIT: link removed

[VideoUtil] + [MainForm] fixed the detection of AviSynth for MeGUI x64

I had no time to test it without 32bit avisynth installed.

Inspector.Gadget
12th June 2010, 21:19
Without Avisynth x64 installed, the above build throws this error (I believe MeGUI x86 normally has a custom prompt inviting the user to download Avisynth):

http://img816.imageshack.us/img816/6711/mgx64error.th.png (http://img816.imageshack.us/i/mgx64error.png/)

Within MeGUI, this log results:
[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.4.16 x64
--[NoImage] OS : Windows Vista Premium Edition x64 SP2 (6.0.131072.6002)
--[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
-[Error] Unhandled error
--[NoImage] Exception message: C:\Windows\system32\avisynth.dll
--[NoImage] Stacktrace
---[NoImage] at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
---[NoImage] at MeGUI.VideoUtil.getAvisynthVersion(String& FileVersion, Boolean& PropExists)
---[NoImage] at MeGUI.MainForm.MainForm_Shown(Object sender, EventArgs e)
---[NoImage] at System.Windows.Forms.Form.OnShown(EventArgs e)
---[NoImage] at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
---[NoImage] at System.Threading.ExecutionContext.runTryCode(Object userData)
---[NoImage] at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
---[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
---[NoImage] at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
---[NoImage] at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
--[NoImage] Inner exception: null


With Avisynth x64 installed, the above build prints the following to the log:
[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.4.16 x64
--[NoImage] OS : Windows Vista Premium Edition x64 SP2 (6.0.131072.6002)
--[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
--[NoImage] Avisynth Version : 2.5.8.5

DirectShowSource() loading of a clip works fine for preview with this new build, as does encoding. I'd say you've fixed it! Thanks.

Edit: I didn't test it without Avisynth x86 installed, but that's a dependency for joshyd's current install method anyway.

Zathor
12th June 2010, 23:42
Thanks for the report!

I created a new build which should fix the error message if no x64 avisynth is installed:
EDIT: link removed

Inspector.Gadget
13th June 2010, 01:06
Works great, and having it point to the 64-bit Avisynth thread was a good idea!

Dal
13th June 2010, 17:25
Hi!

I don't know if this has been mentioned before (at least I'm not able to find it), but I get this error when trying to encode to avi:

[NoImage] Standard error stream
-[NoImage] Trying to retrieve width and height from input header
-[NoImage] xvid [info]: Avisynth detected
-[NoImage] LoadPlugin: unable to load "D:\Programmer\MeGuix64\tools\dgindex\DGDecode.dll"
-[NoImage] (D:\tsdoctor\06-08_15-10-00_Disney Channel (nor)_Phineas og Ferb_2.avs, line 4)


The .dll file exists where it is supposed to.
Any ideas?

tormento
14th June 2010, 09:48
I am trying MEGUi x64 with the last iteration of DGNVTools that provides a x64 build too.

To get anything work well, you have to manually overwrite mediainfo.dll in the root directory with the x64 version.

Oh, and you obviously have to overwrite the DGNV exe's too.

P.S: Is there a way to get the encoding bitrate in the status window? I use CQ mode and sometimes I have to abort a process because the value I've chosen is too low.

Zathor
14th June 2010, 18:44
mediainfo.dll and the dgindexnv tools will be updated automatically if using the development update server as mentioned in the first post. I tried it myself a few minutes ago and I did not need to replace the files manually.

tormento
15th June 2010, 09:20
mediainfo.dll and the dgindexnv tools will be updated automatically if using the development update server as mentioned in the first post. I tried it myself a few minutes ago and I did not need to replace the files manually.

Sorry but yesterday they did not.

Please try to install MeGui, overwrite with x64 and update.

Any chance about the bitrate? Even a hover banner would be sufficient.

tormento
15th June 2010, 10:36
Could it be possible to get DGMultiSource instead of DGSource automatically inserted in AVS generator? I have tried to parse the xml but I fear to make damages.

Zathor
15th June 2010, 16:06
Please try to install MeGui, overwrite with x64 and update.

This is not supported. Please make a clean installation (instruction in the first posting). If you overwrite your installation the files will not be updated because the build number of the tools does not change. Therefore you have to replace all files yourself.

Any chance about the bitrate? Even a hover banner would be sufficient.
There is allways a chance. Please create a feature request at the sourceforge page.

Could it be possible to get DGMultiSource instead of DGSource automatically inserted in AVS generator? I have tried to parse the xml but I fear to make damages.

Since a few build DGMultiSource is the default value but this will only be applied to new installations. You can change it manually in the settings - deselect "Use CUVIDServer".

tormento
16th June 2010, 09:09
There is allways a chance. Please create a feature request at the sourceforge page.
Registered and done ;)

pokazene_maslo
16th June 2010, 21:18
Hello. I have the same problem than Inspector Gadget - when I try to load avs script, megui comes up with an error "avisynth script error: cannot load avisynth.dll"
I have confirmed that avisynth is working by loading the same avs file in virtualdub x64.

I have the latest MeGUI 0.3.4.17 x64

Inspector.Gadget
16th June 2010, 21:35
I no longer have that problem. The revised Avisynth detection logic works well if you've properly installed Avisynth x86 and then installed Avisynth x64 using joshyd's instructions exactly.

pokazene_maslo
16th June 2010, 21:46
Yes, I followed his instructions. btw. I have avisynth x64 installed for at least 3 months. Older version of megui x64 worked without any problem. Problems started with megui 0.3.4.15 iirc.

Inspector.Gadget
16th June 2010, 21:50
Three months...did you update to the April 16 build?

pokazene_maslo
16th June 2010, 22:14
Yes, but does it matter when problems started with megui 0.3.4.15? It's clearly a megui problem.

Inspector.Gadget
16th June 2010, 22:38
The changelog for .15 doesn't reveal any alteration to the Avisynth detection method, so maybe Zathor can think of something else relevant. For fun, try importing the registry file in joshyd's package and see if it's a paths issue.

Zathor
16th June 2010, 22:40
Yes, but does it matter when problems started with megui 0.3.4.15? It's clearly a megui problem.

I do not think so because I have only changed the detection logic at the program start in the last build (.17). The logic is there to check if avisynth is installed and if you pass this check at least for megui everything is fine. I have changed nothing regarding any later avisynth check (I even do not know if there are any later checks). Feel free to try older builds:
http://megui.org/auto

At the moment I believe your avisynth installation is somehow corrupt. Please try to open the AVS script for example with VirtualDub x64.

pokazene_maslo
16th June 2010, 22:56
Read post number #84 I already tried to open the avs script in virtualdub 1.9.9 x64 - no problem.
And i will try older build, but later....

Edit: tried megui-core versions: 0.3.4.12, 0.3.4.13, 0.3.4.14, 0.3.4.15 all the same error. Don't know what other files I should try to revert?

And executing avisynth.reg didn't change anything.

tormento
18th June 2010, 06:59
The mkv created by MeGUI is very slow in opening from media players. If I remux the same with MKVToolnix, the problem is solved. Is it possible to fix it?

quantum5uicid3
18th June 2010, 14:34
@pokazene
virtualdub is finding avisynth.dll somewhere that megui isn't, is mpc-hc x64 opening the avs ok? i doubt avisynth64 is installed properly, are you sure the install batch file executed properly and reg imported properly? that's where you need to be looking, it's all plain text.

@tormento
i dont know exact technical reasons but the output mkv coming directly from the encoders are lacking some info that mkvmerge will add upon muxing in audio(or just remuxing), i guess this might be a nuisance if you dont generally add any other audio or files to the final output, but having megui automatically remux mkv's would be a waste of time for most users.

Inspector.Gadget
18th June 2010, 16:05
x264's MKV output is known to be slow to seek. That's not a MeGUI problem.

Zathor
18th June 2010, 17:38
btw. I have avisynth x64 installed for at least 3 months. Older version of megui x64 worked without any problem. Problems started with megui 0.3.4.15 iirc.

Edit: tried megui-core versions: 0.3.4.12, 0.3.4.13, 0.3.4.14, 0.3.4.15 all the same error. Don't know what other files I should try to revert?

If all of the above versions did not work now while the older ones have been working for you a while ago it's not the fault of MeGUI. Sadly I have no idea what may cause the problem. You could try to uninstall avisynth (32 + 64) and reinstall it if not already done.

pokazene_maslo
19th June 2010, 14:35
@pokazene
virtualdub is finding avisynth.dll somewhere that megui isn't, is mpc-hc x64 opening the avs ok? i doubt avisynth64 is installed properly, are you sure the install batch file executed properly and reg imported properly? that's where you need to be looking, it's all plain text.mpc-hc x64 is not opening avs files since I installed win7 x64 some half year ago. Always says "cannot render the file". I tried to solve it, so I started a thread about it in software player section but in a month nobody replied.
You could try to uninstall avisynth (32 + 64) and reinstall it if not already done.tried - no change.

aegisofrime
28th June 2010, 03:31
Zanthor: I'm having this strange error that sometimes pops up when a processing job finishes. Its occurrence seems to be random. After it occurs MeGUI then crashes.

It also seems to be limited to x264 jobs, not audio encoding jobs.

http://img51.imageshack.us/img51/3817/error1bk.jpg

Sharktooth
29th June 2010, 15:20
mpc-hc x64 is not opening avs files since I installed win7 x64 some half year ago. Always says "cannot render the file". I tried to solve it, so I started a thread about it in software player section but in a month nobody replied.
tried - no change.
probably your system needs a YV12 decoder.
install FFDSHOW (64 bits)

pokazene_maslo
30th June 2010, 00:11
probably your system needs a YV12 decoder.
install FFDSHOW (64 bits)
I assure you that I have installed latest ffdshow x64 and it's working.

AMED
30th June 2010, 07:19
Hi Zathor,

I'm getting this error when I'm trying to use the one click encoder. it looks it's having trouble generating output filename. basically i have been through Futurama season 1 using the one click encoder without any problems but when i start on season 2 i get that error, if i try and load another season 1 vob in it work fine. i have closed MeGUI and reopened and it still does it.

http://i48.tinypic.com/30x9aw0.png

http://i46.tinypic.com/2u6eiza.png

[Error] Unhandled error
-[NoImage] Exception message: An attempt was made to move the file pointer before the beginning of the file.
-[NoImage] Stacktrace
--[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
--[NoImage] at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin)
--[NoImage] at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
--[NoImage] at MeGUI.core.util.IFOparser.GetFileBlock(String strFile, Int64 pos, Int32 count)
--[NoImage] at MeGUI.IfoExtractor.GetChapters(String ifoFile, Int32 programChain, TimeSpan& duration, Double& fps)
--[NoImage] at MeGUI.IfoExtractor.GetStreams(String location)
--[NoImage] at MeGUI.VideoUtil.getChaptersFromIFO(String fileName, Boolean qpfile)
--[NoImage] at MeGUI.OneClickWindow.openInput(String fileName)
--[NoImage] at MeGUI.FileBar.triggerEvent()
--[NoImage] at MeGUI.FileBar.setFilename(String filename)
--[NoImage] at System.Windows.Forms.Control.OnClick(EventArgs e)
--[NoImage] at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
--[NoImage] at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
--[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
--[NoImage] at System.Windows.Forms.ButtonBase.WndProc(Message& m)
--[NoImage] at System.Windows.Forms.Button.WndProc(Message& m)
--[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
--[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-[NoImage] Inner exception: null

[Information] Versions
-[NoImage] MeGUI Version : 0.3.4.18 x64
-[NoImage] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
-[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
-[NoImage] Avisynth Version : 2.5.8.5

Sharktooth
30th June 2010, 13:35
what you're experiencing is a IO error probably due to an external tool or the IFO parser... or maybe a corrupted VOB.

quantum5uicid3
30th June 2010, 14:42
after testing for a while, i don't think ffmpeg x64 is suitable for intermediary files, it's very unstable. if it's not too much code, i would backstep x86 to mencoder and for x64 probably use x264 --qp 0 or --crf 0 and --tune fastdecode and maybe --preset fast, but i think the speed setting is system specific. x264 was bottlenecked by hd with anything faster than fast on my sys. from what i could tell, x264 encodes faster but more demanding decoding, time difference seemed negligable overall though.

trevaaar
30th June 2010, 15:59
If it helps anybody, I've just grabbed the xvid-1.2.2 source and built a 64-bit version of xvid_encraw. It requires the Visual C++ 2010 redistributable package to be installed. You can try it here (http://www.mediafire.com/file/i2jhuzg2tmo/xvid-1.2.2-x64.zip).

Performance difference in some quick tests running single-threaded on an i7 920 in Xvid 2pass HQ (no Qpel) profile, the original 32bit version got 92fps and my 64bit one ran at 112fps.

pokazene_maslo
30th June 2010, 16:01
If all of the above versions did not work now while the older ones have been working for you a while ago it's not the fault of MeGUI. Sadly I have no idea what may cause the problem. You could try to uninstall avisynth (32 + 64) and reinstall it if not already done.
Some news about my problem:
A while ago i tried to run x264_64 from command line and it accepts avs input. But megui x64 still refuses to see avisynth x64.

Summary: megui x64 don't see avisynth, virtualdub x64 is opening avs files without any problem, x264_64 is accepting avs input, mpc-hc x64 refuses to play avs script.

AMED
1st July 2010, 06:53
what you're experiencing is a IO error probably due to an external tool or the IFO parser... or maybe a corrupted VOB.I deleted all the .IFO and .BUP files in the directories and now everything works fine in the one click encoder.

Thanks Sharktooth :)

Sharktooth
1st July 2010, 18:47
@AMED: so it was the IFO that was causing the problem in the IFO parser (probably due to a copy protection scheme). next time try using a different tool to rip the DVD. DVDFab Decrypter is free and is usually working very well.

@pokezene_maslo: megui has some checks for avisynth. last time i had a look at that code it was not supposed to look for avs 64 bits installation. however i will check with zathor.

kartman_canada
1st July 2010, 20:24
I'm not sure where my issue sits... I've been using MuGUI x64 for a while now but I don't recall doing anything but crops. Today, I moved to process a DVD. When I apply the crop, no issues but when I add a "lanczosresize" line to the AVS script, MeGUI crashes.

Might this be because the resize function is pulling an x86 build from the original avisynth install and not an x64 version?

I'm just guessing... is there an update out there or am I missing something else?

Zathor
1st July 2010, 22:30
When I apply the crop, no issues but when I add a "lanczosresize" line to the AVS script, MeGUI crashes.
Does it crash if you open the avs file (including the lanczosresize) in other tools like VirtualDub x64?

megui has some checks for avisynth. last time i had a look at that code it was not supposed to look for avs 64 bits installation. however i will check with zathor.
At least the check at the startup detects avisynth x64 since a few releases. And I did not find other checks. Nor did I find a way to contact you - have you received my mail?

Sharktooth
2nd July 2010, 12:59
the avs check is at the startup only.
also, where did you send the email?

edit: ok, got it... damn hotmail junk mail filters....

Sharktooth
2nd July 2010, 13:46
@Zathor: Delivery Status Notification (Failure)
Probably your SF mail alias isnt working...

tormento
7th July 2010, 09:39
Anybody got x264 profile error with latest update?

doc_dvxm
7th July 2010, 16:40
Anybody got x264 profile error with latest update?


Yeep.

Please look at this post. You'll find some answers, I guess :)

http://forum.doom9.org/showthread.php?p=1415179#post1415179

Cheerz.

tormento
7th July 2010, 19:18
Please look at this post.
Thank you, sorry for being so lazy but it's a very hot day, here.

pokazene_maslo
8th July 2010, 19:20
Hello. Now I know why I'm the only one that is experiencing problems that megui doesn't see avisynth. Try to drag and drop avs file into megui window. You will receive "avisynth script error: cannot load avisynth.dll". But if I load avs script via open dialog (that button with three dots) it is working!

Sharktooth
8th July 2010, 20:02
oh... drag & drop doesnt work coz megui is run with administrative rights in win7 and vista... and stupid M$ screwed up D&D...

Marc05
9th July 2010, 04:19
Hello. Now I know why I'm the only one that is experiencing problems that megui doesn't see avisynth. Try to drag and drop avs file into megui window. You will receive "avisynth script error: cannot load avisynth.dll". But if I load avs script via open dialog (that button with three dots) it is working!

You were not the only one. I had the same problem and just couldn't find the cause of it. I was using MeGUI 32 bit to create AVS scrpts but today I decide to finally post something about my problem and you found out what it was only a day before! Thank you :D

SaintDeath
9th July 2010, 05:42
When I load a script into Megui x64 i get and error could load avs error in line 43 "couldn't find decompressor for fourcc lags" when dat is Lagarith Lossless Video Codec i have the 64 bit version install already.Dat same script loads fine in veedub64

Sharktooth
9th July 2010, 16:47
It makes no sense... if megui is x64, avisynth is x64, lagarith is x64 it should work...
also if it works in vbdub64 there is no reason it shouldnt work in megui64

Adub
9th July 2010, 17:50
SaintDeath

Post your script please.

Frogger13
9th July 2010, 21:04
Hi,

I'll move the message from this (http://forum.doom9.org/showthread.php?p=1415147&posted=1#post1415147)thread to here as it seems more appropriate.

You can find the installation instructions here:
http://forum.doom9.org/showthread.php?p=1390397#post1390397

Thanks for the Information, but I keep getting following error:

http://img267.imageshack.us/img267/4698/errorjl.jpg

AviSynth64 is installed and working. MeGUI64 is in the same path as MeGUI32. But also if I put the x64 files in a separate Directory, the error is the same.

Edit: Installed .NET Framework is incremental .NET Framework 3.5 (http://www.microsoft.com/downloads/details.aspx?FamilyId=333325fd-ae52-4e35-b531-508d977d32a6&displaylang=en) + hotfixesMeGUI x64 must be installed in a different directory than MeGUI x86. But this is not the source of the error. It seems that you need to install a Visual C++ x64 Redistributable Package (there are several ones and newer ones do not include the older packages)

Well I tried and installed 64 bit version of VC++ Redist 2005, 2005 SP1, 2008, 2008 SP1 and 2010... But I still get the Same error... :confused:

System is Xp x64 and MeGUIx64 has its own directory now...

BTW I'm wondering why there are no x64 builds of the DLLs?! Am I missing something :confused::confused::confused:

PS: the rest of the video tools are working (x264 64bit, AviSynthx64 ...)

SaintDeath
9th July 2010, 23:39
Here is the script I am tring to load in meguie x64.I followed and installed meguie has I was told to.It seems the error it on line 43 which in veedub654 it lodas fine n i can see the script run.

loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\DGDecode.dll")
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\EEDI2.dll")
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\TDeint.dll")
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\tivtc.dll")
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\ColorMatrix.dll")
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\degrainmedian.dll")
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\aWarpSharp.dll")
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\VSFilter.dll")
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\decomb.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\UnDot.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\gradfun2db.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\hqdn3d.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\MaskTools.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\MT.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\MvTools2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\FFT3DFilter.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\RemoveGrain64.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\Repair64.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\masktools-v2.0a41\mt_masktools-26-x64.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\masktools-v2.0a41\mt_masktools-25-x64.dll")


import("C:\Program Files (x86)\AviSynth 2.5\plugins64\masktools-v2.0a41\masktools\LimitedSharpenFaster.avsi")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins64\avsi\insertsign.avs")


d2vp = "j:\acx\cg\epi14\ep14.d2v"

mpeg2source(d2vp,idct=7)
srce=last
interp=srce.separatefields().eedi2(field=-2)
deinte=srce.tdeint(mode=2,edeint=interp)
srce.tfm(d2v=d2vp,clip2=deinte,pp=4,flags=4)
tdecimate(mode=0)
colormatrix(d2v=d2vp)
crop(4,4,-4,-4)
LanczosResize(720,480)
DeGrainMedian(limitY=5,limitUV=5,mode=3)
LimitedSharpenFaster()
Tweak(sat=1.13,cont=1.13,bright=-5)
gradfun2db(1.2)
sign1 = AVISource("j:\acx\saintdeath_blood_tag_upper_left.avi")
insertsign(last, sign1, 10)

Alf Bundy
14th July 2010, 22:33
Hi,

Since the lossless option disappeared from x264's config window, which setting should I use to make a lossless x264 encode ?

Thanks :)

Kurtnoise
15th July 2010, 10:37
--crf 0

Frogger13
15th July 2010, 17:25
Hi Folks,

You can find the installation instructions here:
http://forum.doom9.org/showthread.php?p=1390397#post1390397

Thanks for the Information, but I keep getting following error:

http://img267.imageshack.us/img267/4698/errorjl.jpg

AviSynth64 is installed and working. MeGUI64 is in the same path as MeGUI32. But also if I put the x64 files in a separate Directory, the error is the same.

Edit: Installed .NET Framework is incremental .NET Framework 3.5 (http://www.microsoft.com/downloads/details.aspx?FamilyId=333325fd-ae52-4e35-b531-508d977d32a6&displaylang=en) + hotfixesMeGUI x64 must be installed in a different directory than MeGUI x86. But this is not the source of the error. It seems that you need to install a Visual C++ x64 Redistributable Package (there are several ones and newer ones do not include the older packages)

Well I tried and installed VC++ Redist 2005, 2005 SP1, 2008, 2008 SP1 and 2010... But I still get the Same error... :confused:

System is Xp x64 and MeGUIx64 has its own directory now...

BTW I'm wondering why there are no x64 builds of the DLLs?! Am I missing something :confused::confused::confused:

Well no answer yet :( hasn't anybody a solution?! :confused:

Sharktooth
15th July 2010, 17:51
AFAIK there are 64bit libs...
however, launch windows update and update your system.
a personal advice... drop XP64 and get Win7-64

Adub
15th July 2010, 22:58
a personal advice... drop XP64 and get Win7-64

I second this advice. There seems to be much more support for x64 being built into Windows 7 now.

Plus, with the sudden burst of tools being developed for the x64 platform, now is as good a time to upgrade as any.

Frogger13
16th July 2010, 19:09
Thanks for the reply. I hope'd that I did not need to go for Win7 (not that much space on my System SSD :()

AFAIK there are 64bit libs...

Where can I find these MeGUIx64 libs?!! Here http://megui.org/auto/ the only one I find are the regular 32 bit! (http://megui.org/auto/megui-libs_0_3_5.zip) :confused:

Zathor
16th July 2010, 19:20
http://megui.org/auto/ the only one I find are the regular 32 bit! (http://megui.org/auto/megui-libs_0_3_5.zip) :confused:

They can also be used with native x64 applications and therefore these are the correct libs.

Frogger13
16th July 2010, 23:05
They can also be used with native x64 applications and therefore these are the correct libs.

Thank you Zathor. Just one last question about this problem: is it possible (allthoug it is recommended to upgrade to Win7) to run MeGUIx64 on WinXp Pro x64? Then How (See previous post which lists installed VC++ Redistribuables)... :thanks:

Zathor
17th July 2010, 10:55
It should be possible, but I do not have XP 64 and therefore cannot check it myself. We have to wait for someone else to check it.

quantum5uicid3
17th July 2010, 12:41
for anyone on a budget, vista licenses can be found pretty cheap these days and it's the same kernel as 7.

just find a cd with sp2 slipstreamed already.

trevaaar
17th July 2010, 15:10
for anyone on a budget, vista licenses can be found pretty cheap these days and it's the same kernel as 7.

just find a cd with sp2 slipstreamed already.

I'm not sure what you're basing this on, but I'd say it's not true.

Sharktooth
17th July 2010, 15:13
for the sake of mind sanity... win7 is lighter than vista... there is NO reason on this planet to buy Vista (the biggest MS Epic Fail (tm) after Windows ME...)

quantum5uicid3
18th July 2010, 13:02
I'm not sure what you're basing this on, but I'd say it's not true.

they're not the same bit for bit, but the changes were very minor. google it.


for the sake of mind sanity... win7 is lighter than vista... there is NO reason on this planet to buy Vista (the biggest MS Epic Fail (tm) after Windows ME...)

i agree vista had rough beginnings, but having used both, i think a clean installation of vista sp2 is equally fast and stable. maybe it's because i disable the themes service, so the tightening of explorer.exe ddidn't really make a difference for me.

edit
KB971644 probably helped too :)

edit2
everytime iuse ffms2.dll in an avs, megui just keeps grabbing more and more memory until crashes. i was able to rapidly open many(20+) instances of the same avs in mpc-hc without any problems besides the obvious performance hit and also tried running a bunch(20+) of x264 encodes at the commandline at the same time and also do not have a problem.

ive confirmed this in both 7 and vista. it's easy to see, just "enqueue" the same job repeatedly and watch the ram.

doc_dvxm
20th July 2010, 00:48
Hii there... I am using Win 7 Ultimate x64. I am planning to encode some HD stuff (The source is BluRay.)

I've downloaded a meGUI x64 and avisynth x64 (avisynth64_intel_3-17-10) according to the guide given above. İnstalled codecs on my system are:

ffdshow_rev3507_20100707_clsid_x64.exe + MatroskaSplitter.exe.

I've set H264 to ffmpeg-mt, and VC1 to libavcodec as video decoder.

Sooo... I've just described that my MegUI x64 working perfectly with AVC Codec based m2ts files. Decoding, Encoding everything is fine.

But, when I try to use a VC1 based m2ts files you can see what's going on:

http://i31.tinypic.com/dlkvo7.png

Btw, MPC x64 works fine with both of them (AVC and VC1 Movie....)

Sorry If I'am hijacking your thread, but I was looking too much, and there is no satisfying answers....

Every suggestions are wellcome....

Cheerz

Sharktooth
20th July 2010, 01:02
the problem could be FFDShow VC-1 decoder (MPC has its own).
if that it's the case try another FFDShow revision. if it still doesnt work Index the m2ts with DGIndexNV (license required) or FFMS.

doc_dvxm
20th July 2010, 07:54
Thank you very much.

My graphic card is HD5850 Ati Radeon. Previous, when I was googling this problem, I saw that DGIndexNV was developed for Nvidia Cards. I'll try with FFMS.

Thank you Sharktooth. Hope that your health is well :)

Cheerz.

Sharktooth
21st July 2010, 16:28
yes, dgindexnv requires an nvidia card.
however, you can get a second video card just for dgindexnv. check the supported cards list. there are some of them really cheap and even if they have a 16x PCIe connector they can be installed in a 4x slot too.
(my health seems to be ok at the moment, thanks).

Renzz
22nd July 2010, 15:48
Here's an x64 build of NicAudio compiled by myself: http://www.mediafire.com/?ozlnnjtgzam
Unfortunately, since the source wasn't designed for x64, it might or might not work. I'm not going to try fixing bugs, however. Let's just hope it works.
Compiled with VS2010, so you may need its runtime.

Just setting up MeGui X64 for the first time, and am having trouble using NicAudio. Usin the LAME MP3: MP3-128ABR profile, it's generating an AVS that loads the NicAudio DLL and then does a NicMPG123Source. At this point, it crashes ("Attempt to read or write protected memory").

One thing I'm not sure about is the VS2010 runtime - can someone point me to *exactly* what I should download for this??

Thanks

Sharktooth
22nd July 2010, 16:56
http://www.microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&displaylang=en

Renzz
22nd July 2010, 17:09
http://www.microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&displaylang=en

Thanks, but that didn't fix it. I already had the X64 version of that installed, but tried the X86 as well.

What I get is this:

-[Error] Log for job1 (audio, Bargain Hunt (BBC ONE) 2010 07-22 12-33-58 PID 259 L2 2ch 48 256 DELAY -345ms.mp2 -> Bargain Hunt (BBC ONE) 2010 07-22 12-33-58 PID 259 L2 2ch 48 256 DELAY 0ms_new.mp3)
--[Information] [22/07/2010 17:06:04] Started handling job
--[Information] [22/07/2010 17:06:04] Preprocessing
--[NoImage] Avisynth script
---[NoImage] LoadPlugin("C:\Video\MeGuiX64\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicMPG123Source("D:\Recordings\Bargain Hunt (BBC ONE) 2010 07-22 12-33-58 PID 259 L2 2ch 48 256 DELAY -345ms.mp2")
---[NoImage] DelayAudio(-345.0/1000.0)
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
--[NoImage] Commandline used: --abr 128 -h - "{0}"
--[Information] [22/07/2010 17:06:04] Encoding started
--[Information] [22/07/2010 17:06:04] Encode thread started
--[Information] [22/07/2010 17:06:04] Avisynth script environment opened
--[Error] An error occurred
---[NoImage] Exception message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
---[NoImage] Stacktrace
----[NoImage] at MeGUI.AviSynthClip.dimzon_avs_init_2(IntPtr& avs, String func, String arg, AVSDLLVideoInfo& vi, AviSynthColorspace& originalColorspace, AudioSampleType& originalSampleType, String cs)
----[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
----[NoImage] at MeGUI.AviSynthScriptEnvironment.ParseScript(String script)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[Information] [22/07/2010 17:06:04] Job completed


Anyone any ideas?

Sharktooth
22nd July 2010, 19:56
ok, try forcing decode via DirectShow (audio preset config)

rtjnyoface
24th July 2010, 10:52
real quickly guys, if a job is run and then accidentally double clicked again and the status changes, there is no changing is back to done (of course). But...if I've already run it I don't want to run it again (its a 1st pass). Tried changing the job in text file and I couldnt do it regardless of whether I change the read only option or not. Real PITA if I encoded for hours. Just thought I'd mention it. Been a nuisance cuz I think I'm changing the status of a different job. maybe others havent experienced this. Thanks for the continued dev guys.

Sharktooth
24th July 2010, 14:31
that's coz you're running vista or windows 7 and installed MeGUI in C:\somedir (in other words you dont have the write permissions in that folder if you're not an administrator).
run your text editor as administrator (for example right click on notepad and choose the launch as admin option) and modify whatever you want.

livetolove92
26th July 2010, 04:49
Although I had installed the meGUI x64 and Avisynth x64 following the instruction I still get this error when use Avs Script creator. I tried both DirectShowSource and FFMS on Notepad but it didn't work.
Unable to render the file. You probably don't have the correct filters installed.
Need your help :)

Sharktooth
26th July 2010, 14:01
post your script (including the source file).
have you installed ffdshow also?

livetolove92
27th July 2010, 02:41
Yah, I had installed ffdshow_rev3507_20100707_clsid_x64. I tried to use the command line but it always get error. I only want to use AVS Script Creator and meGUI but it gets that problem Unable to render the file. You probably don't have the correct filters installed. . I also put the DirectShowSource.dll to Avisynth plugin64 and meGUI tools>Avisynth plugin.

meatwad
27th July 2010, 03:06
I'm having the ancient issue of out of sync audio in iPod 5.5 format. I've tried letting 64 bit xvid be the decoder instead of ffdshow but the sync issue is still there. I've tried several builds of 64 bit ffdshow as well and played around with several settings. I'm running Windows 7 and I love the increase in speed I'm having with my encodes, I just need to resolve the sync issue.

Lyle_JP
27th July 2010, 03:31
I'm having the ancient issue of out of sync audio in iPod 5.5 format. I've tried letting 64 bit xvid be the decoder instead of ffdshow but the sync issue is still there. I've tried several builds of 64 bit ffdshow as well and played around with several settings. I'm running Windows 7 and I love the increase in speed I'm having with my encodes, I just need to resolve the sync issue.

What build of x264 are you using? You may be experiencing this problem. (http://forum.doom9.org/showthread.php?t=155705)

meatwad
27th July 2010, 04:37
What build of x264 are you using? You may be experiencing this problem. (http://forum.doom9.org/showthread.php?t=155705)

You're my hero!!! I was using 1677. I've substituted it with build 1649 after skimming through the thread you linked to and all files are in sync now. This has been driving me crazy for the past few days so I really appreciate it.:thanks:

Sharktooth
27th July 2010, 15:18
Yah, I had installed ffdshow_rev3507_20100707_clsid_x64. I tried to use the command line but it always get error. I only want to use AVS Script Creator and meGUI but it gets that problem . I also put the DirectShowSource.dll to Avisynth plugin64 and meGUI tools>Avisynth plugin.
if you use the CLI and you get errors then it's not a megui problem.

Fr123
31st July 2010, 14:29
I have a problem (my os: Win7 Home Premium 64bit):

1. I installed AviSynth 2.5.8 32bit, then downloaded the AviSynth x64 files, put the files "avisynth.dll" and "DevIL.dll" in "windows/system32" directory, ran the batch installer "avisynth_intall.cmd".

2. I installed MeGui x64, let the program update all the files

3. When I try to load a .avs file into megui, megui reports an error: "AviSynth script error ; DirectShowSource: Renderfile, the filter graph manager won´t talk to me"

Anybody can help?

Zathor
31st July 2010, 14:55
DirectShowSource depends on the installed directshow filters. Please make sure that you have 64bit filters installed (and activated). Or you can use the file indexer in MeGUI.

Fr123
31st July 2010, 15:32
I solved the problem by installing K-Lite codec package 64-bit :-)

quantum5uicid3
3rd August 2010, 08:44
the only change to the default configuration of ffdshow-tryouts x64 is setting it to handle RAW video. a codec pack is not necessary.

it's been my understanding that using dgdecnv built in resize was a successful workaround to the resize bug. anyone know for sure if this is true, using dgdecnv or now x264 builtin resize filter?

Zathor
7th August 2010, 10:55
I think you correct about AviSynth threads staying open. I just did a quick check by opening a FFMS indexed mkv file in the avisynth creator. I then closing the AviSynth creator by clicking the Red X and then tried to delete the mkv file and i get this.

http://img18.imageshack.us/img18/4511/megui.png (http://img18.imageshack.us/i/megui.png/)

I checked the problem and can reproduce it only with FFMS. If I index the file with DGIndexNV the file is not locked. Therefore I assume that it is not a problem of MeGUI but a problem of the x64 FFMS plugin.

AMED
8th August 2010, 21:25
ahh ok, thanks for looking.

I'll just keep to my keep queuing jobs using FFMS untill MeGUI starts erroring out, restart MeGUI and continue queuing method :)

Next time i do a big run and get an error i'll post a screenshot and log.

gahz
9th August 2010, 02:52
hi guys quick question:

i think i have everything working correctly. followed the instructions in post #1 and i have gotten no errors so my question is:

i have run 2 jobs so far comparing both 32 and 64 bit megui to see what the diff is speed wise.

unfortunatly i dont see any diff. the fps is equal between the two. maybe i'm not doing something right?

script is simple dgindexnv default and i use dgindexnv64 for the 64 bit ver of megui.

*i just noticed that regardless of which version of megui i pull up they both call on x264_64.exe. the only diff being that the 32 bit version of megui also calls up vfw4x264.exe *32, while the 64 bit ver of megui does not. is this working as intended or have i messed something up bad?

Zathor
9th August 2010, 06:15
*i just noticed that regardless of which version of megui i pull up they both call on x264_64.exe. the only diff being that the 32 bit version of megui also calls up vfw4x264.exe *32, while the 64 bit ver of megui does not. is this working as intended[...]?

Yes, this is correct.

LeXXuz
10th August 2010, 16:15
Ran an encode yesterday with a fresh build x64 machine and was pretty impressed by the speed. Source was vc1 in matroska container and everything worked like a charm.

The last couple of hours I learned the hard way that dgavc does not work on x64 Avisynth. I already ripped GIGs of movie titles to hard disk as raw h264 stream to use with dgavc (as I used to with my old XP x86 sys). Is there any other way to index raw AVC streams? Or do I have to remux all my already ripped titles back into a container to use with FFMSIndex? Is FFMSindex a good method to use (at the moment?)

Guest
10th August 2010, 16:21
The last couple of hours I learned the hard way that dgavc does not work on x64 Avisynth. I already ripped GIGs of movie titles to hard disk as raw h264 stream to use with dgavc (as I used to with my old XP x86 sys). Is there any other way to index raw AVC streams? You can use DGDecNV 64-bit.

If you don't have an Nvidia card already, you can install a cheap 8400GS alongside your existing card.

Lyle_JP
10th August 2010, 16:57
The last couple of hours I learned the hard way that dgavc does not work on x64 Avisynth. I already ripped GIGs of movie titles to hard disk as raw h264 stream to use with dgavc (as I used to with my old XP x86 sys). Is there any other way to index raw AVC streams? Or do I have to remux all my already ripped titles back into a container to use with FFMSIndex? Is FFMSindex a good method to use (at the moment?)

You could use DirectShowSource, as long as you install the Win7 Codec Tweaker, ffdshow, and haali splitter.

LeXXuz
10th August 2010, 17:10
You can use DGDecNV 64-bit.

If you don't have an Nvidia card already, you can install a cheap 8400GS alongside your existing card.

HM. At the moment system uses onboard AMD IGP. To be frank when I ordered the parts I had no plans to switch to Win7 x64 but I read a couple of threads here including this one and thought I'll give it a try.^^

Probably stupid question, but are there any differences in quality between these indexing methods? Or is it first of all a matter of speed? To be honest, I don't understand the detail of this indexing process at all. Logic tells me that it could not affect quality until indexing is not meant in the matter of just finding desired information in the source file. Multiple ways lead to Rome, right?

I never thought about GPU indexing, but if it comes with a noticeable speed increase, why not. Is a 8400 fast enough for this task or would a more expensive card speed up things further more?

Guest
10th August 2010, 17:21
Probably stupid question, but are there any differences in quality between these indexing methods? Or is it first of all a matter of speed? To be honest, I don't understand the detail of this indexing process at all. Logic tells me that it could not affect quality until indexing is not meant in the matter of just finding desired information in the source file. Multiple ways lead to Rome, right? Not quite right. DG tools are designed from the ground up for frame accuracy. DSS2() and the others are not and run into issues in several common scenarios. For example, they might serve the correct frame's data, but it shows artifacts because the source filter has not injected the needed SPS/PPS. Or they can simply deliver the wrong frame's data because the timestamps are not perfectly monotonic. Or they get screwed up by trim() in your script. If you need assured accurate random frame access, then DG tools are the way to go. DISCLAIMER: I have an interest in the DG tools. But you can find similar assessments by others on the web.

I never thought about GPU indexing, but if it comes with a noticeable speed increase, why not. Is a 8400 fast enough for this task or would a more expensive card speed up things further more? The indexing is not done on the GPU. Decoding the video is done on the GPU. So the Avisynth source filter's workload is offloaded to the GPU. Indexing simply enables frame accuracy in the source filter.

For purely decoding, a fast CPU can beat the GPU (although Fermi is starting to challenge that wisdom). But in the vast majority of cases where Avisynth is used, the user is *transcoding* and the decoding rate is not the bottleneck, so offloading the decode to the GPU can give an overall performance gain to the transcoding operation by leaving more CPU bandwidth for the encoder.

The Fermi cards will outperform the 8400GS but are MUCH more expensive. The 8400GS has a VP3 engine and is very fast; it's the current sweet spot for price/performance. Refer to the DGDecNV Benchmarking thread for more details.

Gser
10th August 2010, 18:18
Btw if anyone is looking at an ati 4870 or 4970, they take two power inputs (same as a normal SLI/Crossfire configuration would). So if you want to add a second gfx card, you need a quad (or tri) gfx card config supporting power supply.

mariush
10th August 2010, 18:27
Not really, you can get adapters which convert a regular hard drive connector to the connectors video cards use. As long as the power supply has enough power to feed both cards (I'd say 650 watts and up) you're good.

LeXXuz
10th August 2010, 19:49
Not quite right. DG tools are designed from the ground up for frame accuracy. DSS2() and the others are not and run into issues in several common scenarios.

Thanks a lot for that explanation neuron2. That explains a lot of things I stumbled over in the past. :thanks:



But in the vast majority of cases where Avisynth is used, the user is *transcoding* and the decoding rate is not the bottleneck, so offloading the decode to the GPU can give an overall performance gain to the transcoding operation by leaving more CPU bandwidth for the encoder.

Okay, so for my purposes as a transcoding scenario the 8400GS is more than fast enough that I would not gain any more speed increase from a faster card, right?
Is there anything more I have to watch out for like memory size or bandwith (DDR2, DDR3) or can I just go and buy any 8400 GPU based card I find?

Guest
10th August 2010, 20:52
Any 8400GS will be OK. The more memory you have the more filter instances you can create.

Just get the best 8400 GS you can afford. Or if money is not an issue, get a Fermi. :)

Ezekeel
19th August 2010, 19:20
Hi there,

first of all: nice work on the x64 build!

But i have a problem: Whenever i start encoding a video with x264, sooner or later i get this error:

http://omploader.org/vNTl6Yw/meguix64error.png

if i "close the program" it disappears, but the fps drops from 80-90 fps to 12 fps (1st pass).

Any idea what that could be?

Sharktooth
19th August 2010, 19:50
encoder crashed. check your AVS script in your favourite directshow media player and see if it can be played (from the beginning to the end) without crashes.
also, check your system for stability, expecially if you overclocked the CPU, RAM or Videocard.
most ppl wrongly assume their system is stable coz every other app works without crashing... but when it comes to x264 it crashes...

Ezekeel
20th August 2010, 15:14
Thanks, seems to work now, after i raised the vcore a little bit. :D
Funny, that Prim95 or Orthos found no Errors after 10 hours of testing and x264 crashed in a few minutes. :-)

Chumbo
24th August 2010, 03:00
I'd like to request a feature please. Right now when you open a TS file and select File Indexer, when you choose FFMSIndex, you get the dialog warning "Please use a MKV, AVI, MP4 or FLV container to index files with the FFMS2 indexer." Since we can't use DGAVCIndex in 64 bit, would you please consider adding TS support since ffmsindex does index TS files.

I basically do this manually now, i.e., I index the source TS file, create the AVS script and then load into megui64. Thanks a lot for considering adding this.

Sharktooth
24th August 2010, 03:21
please post feature requests here: http://sourceforge.net/tracker/?group_id=156112&atid=798479

Zathor
24th August 2010, 19:09
I'd like to request a feature please. Right now when you open a TS file and select File Indexer, when you choose FFMSIndex, you get the dialog warning "Please use a MKV, AVI, MP4 or FLV container to index files with the FFMS2 indexer." Since we can't use DGAVCIndex in 64 bit, would you please consider adding TS support since ffmsindex does index TS files.

Indexing TS files is already supported. Just ignore the warning and proceed with the indexing process. The warning is there because of:
Compatibility
* AVI, MKV, MP4, FLV: Frame accurate
* WMV: Frame accurate(?) but avformat seems to pick keyframes relatively far away
* OGM: Frame accurate(?)
* VOB, MPG: Seeking seems to be off by one or two frames now and then
* M2TS, TS: Seeking seems to be off a few frames here and there
* Image files: Most formats can be opened if seekmode=-1 is set, no animation support

Sharktooth
25th August 2010, 14:41
new FFMS2 plugin for megui x64 dev (thanks to kemuri9).
now 32bit and 64bit versions of megui should be both able to manipulate MKVs with header compression enabled.

Chumbo
26th August 2010, 00:27
please post feature requests here: http://sourceforge.net/tracker/?group_id=156112&atid=798479
Thank you, will do.

rubinus
26th August 2010, 12:13
As of now the following x64 tools are available on the development update server:
x264, mediainfo, avisynthwrapper, dgindex/dgdecode, ffms, colormatrix, tdeint, tivtc, eedi2, leakkerneldeint, undot, mp4box, vsfilter, aften, ffmpeg, yadiff, nicaudio

These avisynth plugins need to be replaced with x64 builds:
convolution3dyv12, fluxsmooth, decomb, tomsmocomp, dgavcdec, dgindexnv
Until these plugins are updated it is not possible to use them. MeGUI may crash if using the old x86 dlls.

Sorry of my ignorance, but where to download these tools/plugins? I cant find the development server...

Thanks for info.:stupid:

Chumbo
28th August 2010, 16:03
Try using the Search and enter "megui development server" and you'll be amazed at what you'll find.

GRKNGLR
10th September 2010, 23:33
Hi,

I'm kind of a noob, so keep your patience please... Isn't it possible to run MeGUI on an x64 system without Avisynth64 and ffdshow-tryout x64? On my Win7 x64 system with 32-bit MeGUI, Avisynth and ffdshow-tryout, x264_64.exe and vfw4x264.exe works pretty well. Are the any side effects of using those like this?

Sharktooth
11th September 2010, 03:39
no. except the fact all 32 bit apps have a 2 GB memory barrier.
some times, when using heavy filtering and/or HD sources avisynth may require more than 2 GB and that obviously makes avisynth 32 crash.

blubberbirne
11th September 2010, 18:37
I need Another Update Server.
Fresh Install of MeGui x64


Trying server: http://megui.org/auto/stable/
Retrieving update file from server...
Error: Couldn't connect to server.
Trying server: http://megui.xvidvideo.ru/auto/stable/
Retrieving update file from server...
Error: Couldn't connect to server.
Error: Could not download XML file
Loading update data...
Error: Invalid XML file. Aborting.

EDIT: found the developer dir in setting.

GRKNGLR
12th September 2010, 14:29
no. except the fact all 32 bit apps have a 2 GB memory barrier.
some times, when using heavy filtering and/or HD sources avisynth may require more than 2 GB and that obviously makes avisynth 32 crash.

Thanks Sharktooth.

Whimick
12th September 2010, 17:33
Hello All,
I been having a play with MeGUI x64 and I get this error when I try to create a script:
Please see my Log below:
-------------------------------------------------------
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.11 x64
--[Information] OS : Windows Vista Premium Edition x64 SP2 (6.0.131072.6002)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5
-[Information] Log for job1 (idx, Sample.ts -> Sample.ts.d2v)
--[Information] [12/09/2010 17:22:28] Started handling job
--[Information] [12/09/2010 17:22:28] Preprocessing
--[Information] Job commandline: "C:\Program Files\MEGUI 64\tools\dgindex\dgindex.exe" -SD=< -AIF=<C:\TEMP\Sample.ts< -OF=<C:\Users\Michael\Videos\MeGUI\Sample.ts< -FO=0 -exit -hide -OM=1 -TN=0
--[Information] [12/09/2010 17:22:28] Indexing started
--[Information] Standard output stream
--[Information] Standard error stream
--[Information] [12/09/2010 17:22:48] Running auto force film
---[Information] Film percentage: -1
--[Information] [12/09/2010 17:22:48] Postprocessing
---[Information] Deleting intermediate files
----[Information] [12/09/2010 17:22:49] Successfully deleted C:\TEMP\Sample.ts.log
--[Information] [12/09/2010 17:22:49] Job completed
-[Error] Unhandled error
--[Information] Exception message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
--[Information] Stacktrace
---[NoImage] at MeGUI.AviSynthClip.dimzon_avs_getvframe(IntPtr avs, IntPtr buf, Int32 stride, Int32 frm)
---[NoImage] at MeGUI.AviSynthClip.ReadFrame(IntPtr addr, Int32 stride, Int32 frame)
---[NoImage] at MeGUI.AvsFile.AvsVideoReader.ReadFrameBitmap(Int32 position)
---[NoImage] at MeGUI.VideoPlayer.positionSlider_Scroll(Object sender, EventArgs e)
---[NoImage] at MeGUI.VideoPlayer.resize(Int32 targetWidth, Boolean PAR)
---[NoImage] at MeGUI.core.gui.StandardAndCustomComboBox.get_SelectedSCItem()
---[NoImage] at MeGUI.core.gui.StandardAndCustomComboBox.get_SelectedObject()
---[NoImage] at MeGUI.core.gui.ARChooser.get_Value()
---[NoImage] at MeGUI.VideoPlayer.get_DAR()
---[NoImage] at MeGUI.VideoEncodingComponent.player_Closed(Object sender, EventArgs e)
---[NoImage] at System.Windows.Forms.Form.OnClosed(EventArgs e)
---[NoImage] at System.Windows.Forms.Form.WmClose(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] Inner exception: null

-------------------------------------------------

Can any one offer any advice.

Many Thanks

Whimick

Zathor
12th September 2010, 18:14
Can you open the avs file in other tools like VirtualDub or MPC-HC?

JoeH
12th September 2010, 19:01
I need Another Update Server.
Fresh Install of MeGui x64



EDIT: found the developer dir in setting.

How did you solve this? I am getting the same error.

Zathor
12th September 2010, 21:26
In the settings (extra config\auto update) you have to switch to the development server. MeGUI x64 is not available as stable build because a lot of external tools/filters are missing/unstable.

EDIT: I updated the link in the first posting to point to a recent x64 build. This build will automatically switch to the development server for a new instalation.

tormento
14th September 2010, 15:25
There must be something gone wrong with latest update. If I open the following script:

LoadPlugin("D:\eseguibili\media\dgdecnv\x64 binaries\DGDecodeNV.dll")
DGSource("E:\in\1_47 2 fast 2 furious\2fast.dgi")
Megui_x64 shows:

http://img695.imageshack.us/img695/6708/megui03512x64.jpg

Tried same script in VirtualDub_x64 and works. Tried to replace AviSynth with older version.

Same script works with x86 version (obviously different dll).

Ideas?

zanuda
14th September 2010, 22:35
error when try to open .mkv in file indexer
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.12 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
-[Error] Unhandled error
--[Information] Exception message: Была сделана попытка загрузить программу, имеющую неверный формат. (Исключение из HRESULT: 0x8007000B)
--[Information] Stacktrace
---[NoImage] в MediaInfoWrapper.MediaInfo.MediaInfo_New()
---[NoImage] в MediaInfoWrapper.MediaInfo..ctor(String path)
---[NoImage] в MeGUI.MediaInfoFile..ctor(String file)
---[NoImage] в MeGUI.FileIndexerWindow.openVideo(String fileName)
---[NoImage] в MeGUI.FileIndexerWindow.input_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] в MeGUI.FileBar.triggerEvent()
---[NoImage] в MeGUI.FileBar.setFilename(String filename)
---[NoImage] в System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] в System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] в System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] в System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] Inner exception: null

Zathor
14th September 2010, 23:16
Thanks for the reports. Please run the auto update and the problem should be fixed.

vitali5000
15th September 2010, 01:05
mediainfo_0_7_35-2_x64 buged

http://img835.imageshack.us/img835/4751/18874686.png
http://img23.imageshack.us/img23/2051/62994600.png
http://img33.imageshack.us/img33/2674/92885555.png

tormento
15th September 2010, 06:20
Not working, same error I reported before.

zanuda
15th September 2010, 09:36
works fine for me

Zathor
15th September 2010, 10:07
It is working for me with this dll, too. I think we have to wait for the official build of mediainfo. I will revert it back to 0.7.35.

vitali5000
15th September 2010, 10:20
It is working for me with this dll, too. I think we have to wait for the official build of mediainfo. I will revert it back to 0.7.35.

Please, upload old working version 0.7.35. Thanks.

Zathor
15th September 2010, 10:38
Yes, as said before. But at the moment I have no access to the server. Should be done in a few hours.
EDIT: done

vitali5000
15th September 2010, 13:42
Error again (((

http://img440.imageshack.us/img440/3342/37509060.png

With MeGUI - 32 bit works fine.

Zathor
15th September 2010, 14:28
Close MeGUI and then replace mediainfo.dll with another one from here:
http://megui.org/auto (files beginning with mediainfo and ending with x64.zip)
Report back which one fixes the problem.

Sharktooth
15th September 2010, 15:10
zathor, it could be a build problem since there 32bit version works as expected.
ill ask in the mediainfo thread.

vitali5000
15th September 2010, 17:19
Error again (((

http://img440.imageshack.us/img440/3342/37509060.png

It is a problem when I try to make resize with 1920x1080 to 720x400, there was no such problem earlier.
With 32 bit version resize to720x400 works fine.

tormento
15th September 2010, 18:54
Works ok for me now (x64, I mean).

Thanks..

Zathor
16th September 2010, 00:53
It is a problem when I try to make resize with 1920x1080 to 720x400, there was no such problem earlier.
With 32 bit version resize to720x400 works fine.

So the error occurs if you open the avs script in MeGUI? Or at which point does it occur? Post your avs script.

Sharktooth
17th September 2010, 01:21
i updated mediainfo.dll (x64 version) again. please check if it works.

Whimick
17th September 2010, 13:12
Hi,

I am trying to encode some media into Xvid, how ever I encounter the following error:

[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.12 x64
--[Information] OS : Windows Vista Premium Edition x64 SP2 (6.0.131072.6002)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5
-[Information] Log for job1 (idx, First Light.mpg -> First Light.d2v)
--[Information] [17/09/2010 12:32:23] Started handling job
--[Information] [17/09/2010 12:32:23] Preprocessing
--[Information] Job commandline: "C:\Program Files\MEGUI 64\tools\dgindex\dgindex.exe" -SD=< -AIF=<E:\First Light.mpg< -OF=<C:\Users\Michael\Videos\MeGUI\First Light< -FO=0 -exit -hide -OM=1 -TN=c0
--[Information] [17/09/2010 12:32:24] Indexing started
--[Information] Standard output stream
--[Information] Standard error stream
--[Information] [17/09/2010 12:33:40] Running auto force film
---[Information] Film percentage: -1
--[Information] [17/09/2010 12:33:41] Postprocessing
---[Information] Deleting intermediate files
----[Information] [17/09/2010 12:33:43] Successfully deleted E:\First Light.log
--[Information] [17/09/2010 12:33:43] Job completed
-[Information] AutoEncode job generation log
--[Information] Desired Size : 700 MB
--[Information] Split Size : null
--[Information] Eliminating duplicate filenames
---[Information] Video output file: C:\Users\Michael\Videos\MeGUI\First Light.avi
---[Information] Muxed output file: C:\Users\Michael\Videos\MeGUI\First Light-muxed.avi
---[Information] Encodable audio stream 0: C:\Users\Michael\Videos\MeGUI\First Light Tc0 L2 2ch 48 256 DELAY 0ms_new.mp2
-[Information] Log for job1 (audio, First Light Tc0 L2 2ch 48 256 DELAY 0ms.mp2 -> First Light Tc0 L2 2ch 48 256 DELAY 0ms_new.mp2)
--[Information] [17/09/2010 12:34:09] Started handling job
--[Information] [17/09/2010 12:34:09] Preprocessing
--[Information] Avisynth script
---[NoImage] DirectShowSource("C:\Users\Michael\Videos\MeGUI\First Light Tc0 L2 2ch 48 256 DELAY 0ms.mp2")
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
--[Information] Commandline used: -i - -y -acodec mp2 -ab 256k "{0}"
--[Information] [17/09/2010 12:34:09] Encoding started
--[Information] [17/09/2010 12:34:09] Encode thread started
--[Information] [17/09/2010 12:34:09] Avisynth script environment opened
--[Information] [17/09/2010 12:34:10] Script loaded
--[Information] Output Decoder
---[Information] Channels: 2
---[Information] Bits per sample: 16
---[Information] Sample rate: 48000
--[Information] Commandline: C:\Program Files\MEGUI 64\tools\ffmpeg\ffmpeg.exe -i - -y -acodec mp2 -ab 256k "C:\Users\Michael\Videos\MeGUI\First Light Tc0 L2 2ch 48 256 DELAY 0ms_new.mp2"
--[Information] [17/09/2010 12:34:11] Encoder process started
--[Information] Output from encoder via stderr
---[NoImage] FFmpeg version SVN-r22941, Copyright (c) 2000-2010 the FFmpeg developers
---[NoImage] built on Apr 22 2010 06:18:44 with gcc 4.4.2
---[NoImage] configuration: --cross-prefix=x86_64-w64-mingw32- --cc=ccache-x86_64-w64-mingw32-gcc --extra-cflags='-Dstrtod=__strtod' --arch=x86_64 --target-os=mingw32 --enable-runtime-cpudetect --enable-avisynth --enable-gpl --enable-version3 --enable-bzlib --enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --enable-libx264 --enable-libopencore_amrwb --enable-libopencore_amrnb
---[NoImage] libavutil 50.14. 0 / 50.14. 0
---[NoImage] libavcodec 52.66. 0 / 52.66. 0
---[NoImage] libavformat 52.61. 0 / 52.61. 0
---[NoImage] libavdevice 52. 2. 0 / 52. 2. 0
---[NoImage] libswscale 0.10. 0 / 0.10. 0
---[NoImage] [wav @ 00000000002DA3E0]max_analyze_duration reached
---[NoImage] [wav @ 00000000002DA3E0]Estimating duration from bitrate, this may be inaccurate
---[NoImage] Input #0, wav, from 'pipe:':
---[NoImage] Duration: N/A, bitrate: 1536 kb/s
---[NoImage] Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
---[NoImage] Output #0, mp2, to 'C:\Users\Michael\Videos\MeGUI\First Light Tc0 L2 2ch 48 256 DELAY 0ms_new.mp2':
---[NoImage] Metadata:
---[NoImage] encoder : Lavf52.61.0
---[NoImage] Stream #0.0: Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
---[NoImage] Stream mapping:
---[NoImage] Stream #0.0 -> #0.0
---[NoImage] video:0kB audio:147482kB global headers:0kB muxing overhead 0.000000%
--[Information] [17/09/2010 12:35:32] Postprocessing
---[Information] Deleting intermediate files
--[Information] [17/09/2010 12:35:32] Job completed
-[Error] Log for job2 (video, First Light.avs -> )
--[Information] [17/09/2010 12:35:32] Started handling job
--[Information] [17/09/2010 12:35:32] Preprocessing
---[Information] Bitrate calculation for video
----[Information] Desired size after subtracting audio: 566553.2265625KBs
----[Information] Calculated desired bitrate: 983.4309513921261177268296818kbit/s
--[Information] Job commandline: "C:\Program Files\MEGUI 64\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\Michael\Videos\MeGUI\First Light.avs" -pass1 "C:\Users\Michael\Videos\MeGUI\First Light.stats" -bitrate 983 -kboost 100 -chigh 30 -clow 15 -overhead 0 -turbo -max_key_interval 250 -nopacked -lumimasking -imin 1 -pmin 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -par 3200:3159 -threads 1
--[Information] [17/09/2010 12:35:33] Encoding started
--[Error] An error occurred: Usage : xvid_encraw [OPTIONS]
--[Information] Standard output stream: xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
--[Information] Standard error stream
---[NoImage] xvid_encraw built at 03:19:12 on Oct 25 2009
---[NoImage] Input options:
---[NoImage] -i string : input filename (stdin)
---[NoImage] -type integer: input data type (yuv=0, pgm=1, avi/avs=2)
---[NoImage] -w integer: frame width ([1.2048])
---[NoImage] -h integer: frame height ([1.2048])
---[NoImage] -csp string : colorspace of raw input file i420, yv12 (default)
---[NoImage] -frames integer: number of frames to encode
---[NoImage] Output options:
---[NoImage] -dump : save decoder output
---[NoImage] -save : save an Elementary Stream file per frame
---[NoImage] -o string : save an Elementary Stream for the complete sequence
---[NoImage] -avi string: save an AVI file for the complete sequence
---[NoImage] -mkv string: save a MKV file for the complete sequence
---[NoImage] BFrames options:
---[NoImage] -max_bframes integer: max bframes (2)
---[NoImage] -bquant_ratio integer: bframe quantizer ratio (150)
---[NoImage] -bquant_offset integer: bframe quantizer offset (100)
---[NoImage] Rate control options:
---[NoImage] -framerate float : target framerate (25.0)
---[NoImage] -bitrate [integer] : target bitrate in kbps (700)
---[NoImage] -size integer : target size in kilobytes
---[NoImage] -single : single pass mode (default)
---[NoImage] -cq float : single pass constant quantizer
---[NoImage] -pass1 [filename] : twopass mode (first pass)
---[NoImage] -full1pass : perform full first pass
---[NoImage] -pass2 [filename] : twopass mode (2nd pass)
---[NoImage] -zq starting_frame float : bitrate zone; quant
---[NoImage] -zw starting_frame float : bitrate zone; weight
---[NoImage] -max_key_interval integer : maximum keyframe interval (300)
---[NoImage] Single Pass options:
---[NoImage] -reaction integer : reaction delay factor (16)
---[NoImage] -averaging integer : averaging period (100)
---[NoImage] -smoother integer : smoothing buffer (100)
---[NoImage] Second Pass options:
---[NoImage] -kboost integer : I frame boost (10)
---[NoImage] -kthresh integer : I frame reduction threshold (1)
---[NoImage] -kreduction integer : I frame reduction amount (20)
---[NoImage] -ostrength integer : overflow control strength (5)
---[NoImage] -oimprove integer : max overflow improvement (5)
---[NoImage] -odegrade integer : max overflow degradation (5)
---[NoImage] -chigh integer : high bitrate scenes degradation (0)
---[NoImage] -clow integer : low bitrate scenes improvement (0)
---[NoImage] -overhead integer : container frame overhead (24)
---[NoImage] -vbvsize integer : use vbv buffer size
---[NoImage] -vbvmax integer : vbv max bitrate
---[NoImage] -vbvpeak integer : vbv peak bitrate over 1 second
---[NoImage] Other options
---[NoImage] -noasm : do not use assembly optmized code
---[NoImage] -turbo : use turbo presets for higher encoding speed
---[NoImage] -quality integer : quality ([0..6]) (6)
---[NoImage] -vhqmode integer : level of R-D optimizations ([0..4]) (1)
---[NoImage] -bvhq : use R-D optimizations for B-frames
---[NoImage] -qpel : use quarter pixel ME
---[NoImage] -gmc : use global motion compensation
---[NoImage] -qtype integer : quantization type (H263:0, MPEG4:1) (0)
---[NoImage] -qmatrix filename : use custom MPEG4 quantization matrix
---[NoImage] -interlaced [integer] : interlaced encoding (BFF:1, TFF:2) (1)
---[NoImage] -nopacked : Disable packed mode
---[NoImage] -noclosed_gop : Disable closed GOP mode
---[NoImage] -masking [integer] : HVS masking mode (None:0, Lumi:1, Variance:2) (0)
---[NoImage] -stats : print stats about encoded frames
---[NoImage] -ssim [integer] : prints ssim for every frame (accurate: 0 fast: 4) (2)
---[NoImage] -ssim_file filename : outputs the ssim stats into a file
---[NoImage] -debug : activates xvidcore internal debugging output
---[NoImage] -vop_debug : print some info directly into encoded frames
---[NoImage] -nochromame : Disable chroma motion estimation
---[NoImage] -notrellis : Disable trellis quantization
---[NoImage] -imin integer : Minimum I Quantizer (1..31) (2)
---[NoImage] -imax integer : Maximum I quantizer (1..31) (31)
---[NoImage] -bmin integer : Minimum B Quantizer (1..31) (2)
---[NoImage] -bmax integer : Maximum B quantizer (1..31) (31)
---[NoImage] -pmin integer : Minimum P Quantizer (1..31) (2)
---[NoImage] -pmax integer : Maximum P quantizer (1..31) (31)
---[NoImage] -drop integer : Frame Drop Ratio (0..100) (0)
---[NoImage] -start integer : Starting frame number
---[NoImage] -threads integer : Number of threads
---[NoImage] -progress [integer] : Show progress updates every n frames (10)
---[NoImage] -par integer[:integer] : Set Pixel Aspect Ratio.
---[NoImage] 1 = 1:1
---[NoImage] 2 = 12:11 (4:3 PAL)
---[NoImage] 3 = 10:11 (4:3 NTSC)
---[NoImage] 4 = 16:11 (16:9 PAL)
---[NoImage] 5 = 40:33 (16:9 NTSC)
---[NoImage] other = custom (width:height)
---[NoImage] -help : prints this help message
---[NoImage] NB: You can define 64 zones repeating the -z[qw] option as needed.
--[Information] [17/09/2010 12:35:33] Job completed


Can any one advise me as to what is wrong

Many Thanks.

Whimick

Sharktooth
17th September 2010, 16:56
what preset you used? coz it seems the xvid_encraw commandline is wrong.

Whimick
17th September 2010, 17:19
Thanks for the reply.

I.ve tried a number of profiles and they all have the same error

vitali5000
17th September 2010, 18:10
So the error occurs if you open the avs script in MeGUI? Or at which point does it occur? Post your avs script.

if i open *.dgi project 1920x1080 and make Resize to 720x400

http://img840.imageshack.us/img840/1903/74891822.jpg

Zathor
17th September 2010, 20:00
Please click not on "Preview AVS Script", instead save the avs file and open the file with another tool like VirtualDub or MPC-HC. Do you get the same error?

Whimick
17th September 2010, 20:26
Hi,

I have had a closer look at my problem, and I believe it is caused by the versiion of avisynth64 I tried to install.

My question now is which version of avisynth64 should I use with my AMD processor and how should it be installed for it to work.

Can any one help.

Whimick

vitali5000
17th September 2010, 22:20
Please click not on "Preview AVS Script", instead save the avs file and open the file with another tool like VirtualDub or MPC-HC. Do you get the same error?

With 32 bit version MeGUI - resize to 720x400 works fine.

LoRd_MuldeR
17th September 2010, 23:14
mediainfo_0_7_35-2_x64 buged

http://img835.imageshack.us/img835/4751/18874686.png
http://img23.imageshack.us/img23/2051/62994600.png
http://img33.imageshack.us/img33/2674/92885555.png

@anybody who experienced problems with the x64 MediaInfo DLL

Please try the DLL's from here (preferably all DLL's from both packages) and tell me if there is any difference between them:

(1) http://www.mediafire.com/file/oicwcrev8nnx2py/MediaInfo.r3332.DLL.x64.Test-1.7z
(2) http://www.mediafire.com/file/sb8rvh8z4vcvmmx/MediaInfo.r3332.DLL.x64.Test-2.7z

Note: It will probably be necessary to rename 'MediaInfo.whatever.dll' to 'MediaInfo.dll' in order to test them with an existing application.

vitali5000
18th September 2010, 09:20
LoRd_MuldeR

I already wrote, after update there is no this problem, a problem exceptional in the resize to 720x400
, If I do 1280x720 that all works perfectly.

And With 32 bit version MeGUI - resize to 720x400 works fine.

http://img840.imageshack.us/img840/1903/74891822.jpg

Zathor
18th September 2010, 09:35
As said before - please open the avs file in another tool like VirtualDub or MPC-HC (of course the x64 builds of these tools). I assume at the moment that the problem is the avisynth build you are using.

vitali5000
18th September 2010, 09:43
I assume at the moment that the problem is the avisynth build you are using.


AviSynth 2.5.8

http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/AviSynth%202.5.8/

And

Version from 3/15/2010:
64 bit Avisynth 2.5.8 w/multithreading

http://forum.doom9.org/showthread.php?p=1374605#post1374605

vitali5000
18th September 2010, 10:06
I ask to apologise for my inattentiveness.
Featured Release 4/16/2010
+ Resize artifacting fixed
+ Horizontal resize code re-written to use SSE registers
+ Worth noting, often used functions Temporal Soften, Merge, etc have been tweaked for a decent speed gain
+ Bug found, fixed in memory copy routine, again
+ Universal binary, no longer need to distinguish between AMD and Intel builds
+ Optimized BitBlt memory copy Routine
+ Started implementation of SSE3/4 specific instructions when supported processor is detected
+ Removed most code paths intended to support CPU's without mmx/iSSE
+ Resize functions reworked to take advantage of extra registers available when processor is in 64bit mode


The problems was decided by the installation Avisynth64 built on 4/16/2010

I thank all for the help, you have very much helped me.

LoRd_MuldeR
18th September 2010, 11:15
LoRd_MuldeR

I already wrote, after update there is no this problem, a problem exceptional in the resize to 720x400
, If I do 1280x720 that all works perfectly.

And With 32 bit version MeGUI - resize to 720x400 works fine.

I'm only interested in the MediaInfo.dll (x64 version) related crash. What you describe now isn't related to MediaInfo.

Please download the MediaInfo DLL's from my previous post (http://forum.doom9.org/showpost.php?p=1444011&postcount=210) and tell me which of those (if any) can reproduce the problem described here (http://forum.doom9.org/showpost.php?p=1442978&postcount=190).

Whimick
18th September 2010, 13:32
Hello,

Today I installed avisynth64_amd_3-19-10, onto my Amd Vista64 system. And prepared a sample MPG and tried to encode it to Xvid with Mod 16.

I them tried to encode it and this error happened:

-[Information] [18/09/2010 13:15:40] 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

*****
I then opened the avs file in VirtualDub64 with out any problems.

Any idear what I have done wrong.

Whimick

pa7han
20th September 2010, 14:14
Hi,

1th try with x64 bit, when I tried to create my d2v file, I get this error

http://img266.imageshack.us/img266/9803/captureso.png

but than when I want to close the megui, I get the following errors

http://img638.imageshack.us/img638/2816/capture3km.png

http://img545.imageshack.us/img545/2177/capture4y.png

Zathor
20th September 2010, 14:29
Try starting MeGUI with admin permissions or move the folder to another location outside of "program files" e.g. c:\MeGUI.

zanuda
20th September 2010, 19:57
After last update

Problem signature:
Problem Event Name: APPCRASH
Application Name: x264_64.exe
Application Version: 0.0.0.0
Application Timestamp: 4c967cd5
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.256.1
Locale ID: 1049
Additional Information 1: f956
Additional Information 2: f956f825d7fb560972e0baef5941ff9f
Additional Information 3: fda4
Additional Information 4: fda4e8ffb1432ccf8b4b3d112206ad97

Sharktooth
20th September 2010, 19:59
"Fault Module Name: TIVTC.dll"

zanuda
20th September 2010, 20:13
you right. fix .avs script. it works. thanks

Zathor
20th September 2010, 20:23
EDIT: problem already solved

pa7han
21st September 2010, 08:33
Try starting MeGUI with admin permissions.

Thanks, it fix the problem.

Whimick
24th September 2010, 18:18
Hi All,

I thought I would have another play with MEGUI64.

Sadly though Its comes up with this error

LoadPlugin: unable to load "C:\Program Files\MEGUI 64\tools\dgindex\DGDecode.dll"

I have look through this and other forums although the problem is mentioned I have not be able find the solution.

Can any one please help?

Sharktooth
26th September 2010, 16:36
did you check if the file is actually there?

zmaster
28th September 2010, 07:40
LoadPlugin: unable to load "C:\Program Files\MEGUI 64\tools\dgindex\DGDecode.dll"Used AviSynth x64?
This version DgDecode exact version of x64?

You can try to simplify the path to DgDecode and write a script like this:
LoadPlugin("C:\DgDecode.dll")

You can try another DgDecode x64 - http://forum.doom9.org/showthread.php?t=152800

Whimick
28th September 2010, 15:02
Thanks Sharktooth and zmaster for replying.

I do have a copy of DgDecode.dll and have tried moving it, still it causes the same problem.

I have also tried the files from the link that was posted, still with out luck

perhaps I doing sone thing wrong

Please on conintue to help.

Whimick

Sharktooth
28th September 2010, 15:54
what version of avisynth you have installed?

Whimick
28th September 2010, 17:52
Thanks Sharktooth,

I tried many versions avisynth, all give the same error. At the present I have 2.5.8.5. That's the version in my windows\system32 folder.

Do you know which one will work best with an AMD chip?

(At moment I using the the 32 version to contvert something)

Regards Whimick

zmaster
28th September 2010, 18:15
Whimick,

http://forum.doom9.org/showthread.php?t=152800When properly installed this version it will work.
Install a version dating from 4/16/2010. "Sharpened" for the AMD version has problems with resizing.windows\system32 folder
This destination folder for x64 applications. During the installation of AviSynth_MT to which I refer, AviSynth.dll need to copy it.
Just want to warm you from error "Unable to load AviSynth.dll" that appears when you manually drag the script into MeGUIx64 (I would like to inform developers about it, but later for some reason), press the button "Open".(At moment I using the the 32 version to contvert something)I am a little not understand the meaning of this. The problem arises with DgDecode you with a chain of programs x86 (x32)? A true whether the chain of programs? Needed:
1) x86 (x32): MeGUI x86 + AviSynth x86 + DgDecode x86
2) x64: MeGUI x64 + AviSynth x64 + DgDecode x64

gahz
29th September 2010, 01:08
Problem signature:
Problem Event Name: APPCRASH
Application Name: x264_64.exe
Application Version: 0.0.0.0
Application Timestamp: 4c967cd5
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.256.1
Locale ID: 1049
Additional Information 1: f956
Additional Information 2: f956f825d7fb560972e0baef5941ff9f
Additional Information 3: fda4
Additional Information 4: fda4e8ffb1432ccf8b4b3d112206ad97

"Fault Module Name: TIVTC.dll"

how was this problem resolved? this just started happening to me also.

Sharktooth
29th September 2010, 03:26
just a guess... not using TIVTC.

Whimick
1st October 2010, 17:08
Thanks Zmaster for replying.

I have managed the get MeGUI x64 to work encoding MP4, but not Xvid Avi.

Not sure why it will not encode Xvid,

Regardss Whimick

zmaster
1st October 2010, 17:40
not encode XvidWe can try to change it if they are the details. Such as for example logfile.

Whimick
2nd October 2010, 10:20
We can try to change it if they are the details. Such as for example logfile.

I wll try again, and send the log. How much of the log file do you need to see?

Whimick

zmaster
2nd October 2010, 13:47
It is desirable to see the entire logfile. Especially interesting to see whether there are such entries:
...
- [Error] An error occurred: xvid [error]: Can't open avi/avs file C:\source\11.mp4.avs
...
- [Information] Standard error stream: Trying to retrieve width and height from input header
...
xvid_encraw.exe which I downloaded from the server update MeGUI(x64) does not work with MeGUIx64. It worked when I replaced xvid_encraw.exe to this version (xvid_encraw64) - http://members.optusnet.com.au/squid_80/

Whimick
7th October 2010, 17:28
Hi zmaster,
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

zmaster
7th October 2010, 19:24
Whimick,
Hi.

Maybe I'll have to repeat itself, maybe I will not say anything new, but worth a try.

--[NoImage] LoadPlugin: unable to load "C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll"
--[NoImage] (C:\Users\Michael\Videos\MeGUI\Sample.avs, line 1)

There are two main reasons why AviSynth can not load the plugin:
1) Plugin is physically absent in the specified path.
2) Plugin and AviSynth are different, that is, Plugin x64 AviSynth x32 or vice versa.

1) Since you have not only works Xvid, I do not think that the reason for this.
2) I have a theory about your problem, but I immediately suggested a solution (used for MeGUIx64, because you have a problem with the x64 version of MeGUI?).
File xvid_encraw.exe (C:\Program Files\MeGUI\tools\xvid_encraw\xvid_encraw.exe) you need to replace this file "xvid_encraw64" - http://members.optusnet.com.au/squid_80/

If it does not help. Much to say the result of this test:
Try to open your script in the program VirtualDub x64 (http://virtualdub.sourceforge.net/)

Whimick
8th October 2010, 13:24
Thanks Zmaster

Sorry for the confusion.

I have tried what you sugested, sadly none of these work with MEGUI 64, I have have VirtualDub x64 and the sample.avs loads into it and runs.

The file C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll, is there, I have tried a different version, with out luck. Perhaps this file is no good

Perhaps there to be a problem with MEGUI 64, or perhaps in the script its self.

Have you or any one else managed to encode xvid with MEGUI 64, if so how did you get it to work.

Regards
Whimick

zmaster
8th October 2010, 14:44
...none of these work with MEGUI 64, I have have VirtualDub x64 and the sample.avs loads into it and runs.This is weird. (C)
:/

The only thing that I can still say: in order to narrow the border problem, try encoding to xvid in a situation when you do not need DgDecode, for example:
any file AVC in .mkv/mp4 to .avi with the aid of ffms (using File Indexer).encode xvid with MEGUI 64I use MeGUI x64 0.3.5.15 and xvid_encraw x64 (xvid_encraw x32 from MeGUIx64 not working for me). And this is no problem.

Whimick,
Sorry I do not know how to help.

Whimick
8th October 2010, 18:21
Zmaster

I performed test decodes with other formats to for example using x264, with or with out indexing with no problems.

and no problem with MEGUI 32 xvid

Whimick

zanuda
13th October 2010, 17:50
What it could be. Try to open *.ffindex (vc1 codec) in avs script creator
Description:
A problem caused this program to stop interacting with Windows.

Problem signature:
Problem Event Name: AppHangB1
Application Name: MeGUI.exe
Application Version: 0.3.5.15
Application Timestamp: 4c991c71
Hang Signature: 0000
Hang Type: 256
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1049
Additional Hang Signature 1: 00000000000000000000000000000000
Additional Hang Signature 2: 0000
Additional Hang Signature 3: 00000000000000000000000000000000
Additional Hang Signature 4: 0000
Additional Hang Signature 5: 00000000000000000000000000000000
Additional Hang Signature 6: 0000
Additional Hang Signature 7: 00000000000000000000000000000000

update: downgrade ffms2 to rev.328 works fine

fschiefer
18th October 2010, 16:26
update: downgrade ffms2 to rev.328 works fine

Can you explain to me how to downgrade to rev.328? I have the same problem. THANKS!

Zathor
18th October 2010, 16:34
Extract this file http://megui.org/auto/ffms2-r328_x64.zip into your megui\tools\ffms directory replacing all files.

EDIT: by the way with which kind of operation do you have the problem? I can index files (tried avc mkv only) and open them without problem in the avs script creator.

fschiefer
18th October 2010, 17:38
Extract this file http://megui.org/auto/ffms2-r328_x64.zip into your megui\tools\ffms directory replacing all files.

EDIT: by the way with which kind of operation do you have the problem? I can index files (tried avc mkv only) and open them without problem in the avs script creator.

the problem is when I try to index files with VC1 video. The program hangs up or takes 5 minutes to react. It only happens with VC1 coded video files.

when I extract the files into the ffms directory it does not solve my problem. Before the update to r344 the indexer works flawlessly and fast.

al-z3ol
18th October 2010, 18:24
Thanks but whenever I try it keep telling me this

avisynth script error:
Script error: there is no function named "textsub"

I've put the VSFilter64.dll in C:\Program Files (x86)\AviSynth 2.5\plugins64

but won't work either

What should I do ?

Zathor
19th October 2010, 00:03
the problem is when I try to index files with VC1 video. The program hangs up or takes 5 minutes to react. It only happens with VC1 coded video files.
I do not have this problems while indexing mkv/m2ts vc1 files. Does it crash/hang if opening the file in the file indexer or during index?

Thanks but whenever I try it keep telling me this

avisynth script error:
Script error: there is no function named "textsub"

I've put the VSFilter64.dll in C:\Program Files (x86)\AviSynth 2.5\plugins64
Post your avs script and delete the vsfilter files in your mentioned directory. The megui used vsfilter.dll works fine for me.

Zathor
19th October 2010, 00:10
What it could be. Try to open *.ffindex (vc1 codec) in avs script creator

update: downgrade ffms2 to rev.328 works fine

Could be this issue:
http://code.google.com/p/ffmpegsource/issues/detail?id=30&can=1

fschiefer
19th October 2010, 06:02
Does it crash/hang if opening the file in the file indexer or during index?

It crashes/hangs if opening the file.

Zathor
19th October 2010, 09:06
In this case the mediainfo.dll is not working for you. Can you please post the mediainfo output of the file your are using and/or a small clip?

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.

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.

Carpo
6th January 2013, 16:39
Why discontinue it? The world is going 64bit - but it is your choice to stop development on it if you wish :)

Zathor
6th January 2013, 16:59
Why discontinue it? The world is going 64bit - but it is your choice to stop development on it if you wish :)

Because AviSynth x64 is discontinued as well. At least I do not see any progress in this area.

Carpo
6th January 2013, 17:09
Well I suppose you can only develop for what is out there and supported

Wam7
6th January 2013, 23:21
Obviously I can't speak for everybody but I don't see the point in developing it any further. It is only marginally faster than x86, besides which you can enable 64 bit mode for x264 in x86 MeGUI. There have been some excellent advancements on MeGUI in the past few months so it is best to focus on just x86.

Carpo
7th January 2013, 14:07
I wouldn't call 20fps more marginally faster, Just did an encode - with x86 megui i get about 26fps on 1080p encode, using x64 megui and x64 avisynth i was getting about 44-46fps, but it is up to the devs to support what they want, and if avisynth x64 is not being developed then there is no reason to support it

sneaker_ger
7th January 2013, 14:38
with x86 megui i get about 26fps on 1080p encode, using x64 megui and x64 avisynth i was getting about 44-46fps

Then you must have been doing something very differently. x64 does not explain such a huge speed-up.

Carpo
7th January 2013, 14:40
same files, same drive, same settings

JoeH
7th January 2013, 15:11
Personally I think you can discontinue it. It looks to me like if there is a secondary "future" version of MeGUI like this in development it should be a VapourSynth compatible MeGUI.

Carpo
7th January 2013, 15:14
indeed, just make the x86 version better than it already is :)

sneaker_ger
7th January 2013, 16:29
same files, same drive, same settings

Something has to be different, you just have to look closer.

Kurtnoise
7th January 2013, 18:01
It looks to me like if there is a secondary "future" version of MeGUI like this in development it should be a VapourSynth compatible MeGUI.
This implies to rewrite it from scratch coz MeGUI is heavily dependent of Avisynth...

Groucho2004
7th January 2013, 18:06
This implies to rewrite it from scratch coz MeGUI is hardly dependent of Avisynth...
What???

I iz confuzed coz I thinks megui heavily depends on Avisynth. :confused:

Kurtnoise
7th January 2013, 18:08
yeah, sorry..wrong word.

Carpo
7th January 2013, 18:29
Something has to be different, you just have to look closer.

going to do a fresh install soon, then do some more tests, maybe with all the different files floating about something is causing it, fresh system might be a good bet :)

ZenMystic
8th January 2013, 05:25
I came accross this post I use megui 64 a fair bit... am I now going to have to switch to 32 bit? I also use FFDShow 64 and MPC-HC 64 A LOT to play my videos I encode... Am I going to have to put all to 32 bit to get it all to work together? Just asking...

Kurtnoise
8th January 2013, 09:56
You can stick with 64 bits for playback...but switch to 32 bits tools for transcoding files (avisynth + decoders).

Poutnik
8th January 2013, 14:36
.....and if avisynth x64 is not being developed then there is no reason to support it

Is AVS64 drop confirmed by AVS developers ?

Poutnik
8th January 2013, 14:38
You can stick with 64 bits for playback...but switch to 32 bits tools for transcoding files (avisynth + decoders).

Some may use AVS based FFDShow 64b postprocessing....
Personally i did so in 32b only, even if I have x64,
but some users moved farther to AVS64 then me....

Carpo
8th January 2013, 14:39
I just went by what Zathor said, hence the IF part of the sentence,

Because AviSynth x64 is discontinued as well. At least I do not see any progress in this area.

and seeing as SEt said over in the Avisynth Development thread -

x64 support for 2.6 is unlikely.

It looks like we will have to wait for x64 Avisynth

paradoxical
8th January 2013, 16:26
I came accross this post I use megui 64 a fair bit... am I now going to have to switch to 32 bit? I also use FFDShow 64 and MPC-HC 64 A LOT to play my videos I encode... Am I going to have to put all to 32 bit to get it all to work together? Just asking...

No, why would you? The encoded files are exactly the same regardless of whether the encoder was 32 or 64 bits.

Zathor
8th January 2013, 22:19
No, why would you? The encoded files are exactly the same regardless of whether the encoder was 32 or 64 bits.
And even the encoder is 64bit as x264 x64 is used with MeGUI x86 on a x64 system.

ghstkhp
25th January 2013, 14:37
hello.
does anyone know where can these dlls(64 bit) be found: convolution3dyv12, tomsmocomp, dgavcdec.
thanks

Guest
25th January 2013, 15:06
There is no 64-bit dgavcdec. Anyway, there is no license for you to use it and anyone giving it to you is violating my copyright.

Kurtnoise
25th January 2013, 15:07
these plugins don't exist in 64bits...so, drop Avisynth_x64 for the moment.

ghstkhp
25th January 2013, 15:10
There is no 64-bit dgavcdec. Anyway, there is no license for you to use it and anyone giving it to you is violating my copyright.
ok thanks

these plugins don't exist in 64bits...so, drop Avisynth_x64 for the moment.

ok thanks

pommesmatte
14th October 2015, 11:24
Well I'm stuck with MeGUI x64 2237, because the newer x86 versions are simply not working for me
Index with DGindexnv -> not working
AVS create from a manually created *.dgi -> crash
Preview of a manually created *.avs -> crash
Encode of the *.avs without preview -> crash

2237 x64 is running for years without problems, let alone the fact, that HD Stream Extractor cannot handle 3D Blurays.

Zathor
14th October 2015, 17:35
Post your problems with more details (e.g. logs) please in the other MeGUI thread so that we may see what the problem is.

Nevertheless if you want a more recent x64 build:
EDIT: See below
I have only compiled it - not tested at all. Also you have to find/copy the required updated packages manually.

tormento
16th October 2015, 19:32
Post your problems with more details (e.g. logs) please in the other MeGUI thread so that we may see what the problem is.

Nevertheless if you want a more recent x64 build:
http://www.mediafire.com/download/53ap24nsbs8rkw3/MeGUI_x64.zip
I have only compiled it - not tested at all. Also you have to find/copy the required updated packages manually.

Does not even start :p

Zathor
17th October 2015, 15:36
Does not even start :p

Indeed :eek:
Fixed: MeGUI x64 (http://www.mediafire.com/download/3px77iu3w8maurv/MeGUI_x64.zip)

rack04
17th October 2015, 16:18
Indeed :eek:
Fixed: MeGUI x64 (http://www.mediafire.com/download/3px77iu3w8maurv/MeGUI_x64.zip)

Still doesn't start.

Exception message: Could not load file or assembly 'SevenZipSharp, Version=0.64.3890.29348, Culture=neutral, PublicKeyToken=20de82c62b055c88' or one of its dependencies. The system cannot find the file specified.

tormento
18th October 2015, 10:26
Still doesn't start.

Exception message: Could not load file or assembly 'SevenZipSharp, Version=0.64.3890.29348, Culture=neutral, PublicKeyToken=20de82c62b055c88' or one of its dependencies. The system cannot find the file specified.

Confirmed. Even tried to replace the library with more recent ones.

Zathor
18th October 2015, 11:42
It works for me - at least I can start it. Here is a download of my DLL files:
MeGUI x64 + DLLs (http://www.mediafire.com/download/c6ee8wj589zqia4/MeGUI_x64.zip)

tormento
18th October 2015, 12:52
It works for me - at least I can start it. Here is a download of my DLL files:
MeGUI x64 + DLLs (http://www.mediafire.com/download/c6ee8wj589zqia4/MeGUI_x64.zip)

It starts when exe replaced with newer.

The issue now is it keeps on wanting to install AVS 2.5.8 portable.

Zathor
18th October 2015, 17:27
This is expected as I have only updated the core program. the files on the update server have not been changed and I do not plan to do so atm. Update the files yourself e.g. from AviSynth+ x64. Also several filters cannot be found.

Xebika
18th October 2015, 17:37
What do MeGUI Libraries because it's do the as Avisynth Portable??

Zathor
18th October 2015, 22:10
Sorry, I do not get your question.

Xebika
19th October 2015, 05:28
http://cloudho.st/i/BXRrkzcF.jpg

MeGUI Libraries show up in the updater again and again like Avisynth Portable.

So I wanted to know what MeGUI Libraries used to.

brunosso
23rd October 2015, 14:37
http://cloudho.st/i/eK8F5edF.jpg

I use a lot the option in x86 versione of Megui, to select a language, if it cannot be determined.
In the x64 release this option dont exist! Is possible to reintegrate?

Zathor
26th October 2015, 22:18
Which version do you use?

Zathor
26th October 2015, 23:05
I have updated the version on the server and in the first post to 2611. Most of the used packages have not been updated. Also you will get a message during startup that components are missing. This is because not all filters are availble in 64bit versions.

brunosso
27th October 2015, 08:59
Which version do you use?

http://forum.doom9.org/showpost.php?p=1743347&postcount=332

this version... now i try the last you upload!

Thanks

PS: I try to update some tools, but i have extract error!

http://pastebin.com/uMnYrneZ

i run megui as admin..

PS2: I manually download all packages from server, and extract all in the relative folder "tools".. now i try some encode...

luke83
10th December 2015, 14:52
[Error] Log
-[Information] Versions
--[Information] [10/12/2015 14:45:11] MeGUI Version : 2611 x64
--[Information] [10/12/2015 14:45:11] Operating System: Windows 8.1 Professional Edition x64 (6.3.0.9600)
--[Information] [10/12/2015 14:45:11] .NET Framework: 4.0 (4.0.0.0)
--[Information] [10/12/2015 14:45:11] .NET Framework: 4.5.2 (4.5.51650)
--[Information] [10/12/2015 14:45:11] AviSynth+: 2.6.0.5 (03-01-2014)
--[Information] [10/12/2015 14:45:11] AvisynthWrapper: (10-04-2010)
--[Information] [10/12/2015 14:45:11] Haali Matroska Splitter: 1.13.138.14 (14-04-2013)
--[Information] [10/12/2015 14:45:11] Haali DSS2: (14-04-2013)
--[Information] [10/12/2015 14:45:11] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [10/12/2015 14:45:11] MediaInfo: 0.7.61.0 (21-10-2012)
--[Information] [10/12/2015 14:45:11] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [10/12/2015 14:45:11] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [10/12/2015 14:45:11] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [10/12/2015 14:45:11] 7z: 9.20 (18-11-2010)
-[Error] Update detection
--[Information] [10/12/2015 14:45:11] Automatic update is disabled
--[Information] [10/12/2015 14:45:11] Using cached update config and server: http://megui.org/auto/
--[Information] [10/12/2015 14:45:11] There is 1 package which can be updated: AviSynth plugins
--[Information] [10/12/2015 14:45:15] There is 1 package which can be updated: AviSynth plugins
--[Information] [10/12/2015 14:45:18] 1/1 - updating package AviSynth plugins
--[Error] [10/12/2015 14:45:19] Old version of AviSynth plugins could not be accessed correctly. Check if it is in use. Accesso al percorso 'avisynth.h' negato.
--[Error] [10/12/2015 14:45:19] Could not install module 'AviSynth plugins'.
--[Error] [10/12/2015 14:45:19] Failed to install package AviSynth plugins: Backup file cannot be created.
--[Error] [10/12/2015 14:45:20] Packages which have not been successfully updated: 1


http://s12.postimg.org/gigdjcsft/log.jpg (http://postimg.org/image/gigdjcsft/)

Nikolausr
16th January 2016, 13:55
Just use the x86 build. x64 development has apparently stopped, the x264 version is from 2012 and it doesn't support x265.

If you really want to use the x64 version, here's how to get it working:

1. Download the latest version from the OP

2. Run the updates, but don't let it update MeGUI itself or it will update to the x86 version and screw everything up. Right-click MeGUI and do "ignore updates"

3. In the updater, check "show all packages", then right click on all the disabled packages and hit "Enable".

4. The program will still throw up an error at launch complaining that it can't find certain AviSynth plugins. The ones it is looking for are the x86 versions that will crash MeGUI x64. To get the error message to go away, you can manually install the x86 versions from here:

http://www.megui.org/auto/stable/avisynth-plugin_5.7z

Unzip that to tools\avisynth_plugin\ inside your MeGUI folder. DO NOT OVERWRITE ANYTHING. As previously stated, using any of the non-x64 plugins (including convolution3dyv12, fluxsmooth, decomb, tomsmocomp, dgavcdec) will crash MeGUI.

But seriously, just use the main x86 MeGUI.

brunosso
26th January 2016, 09:48
Use this version! Is the last x64 edition! Updated with DEV server...you don't need to download anything else. Have avisynth portable, and all other stuff! .. maybe only haali splitter you must install!

https://mega.nz/#!74911TxK!G3z7PMywRXJnqUca_NHH552AIImV9SmemUI_wekvomo

I use this everyday, works like a charm, and i don't have problem with mp3 audio, like the x86 version

PS: there is my profiles of x264 and Oneclick encoder

tormento
19th February 2016, 10:06
Use this version! Is the last x64 edition! Updated with DEV server...you don't need to download anything else. Have avisynth portable, and all other stuff! .. maybe only haali splitter you must install!

https://mega.nz/#!74911TxK!G3z7PMywRXJnqUca_NHH552AIImV9SmemUI_wekvomo

I use this everyday, works like a charm, and i don't have problem with mp3 audio, like the x86 version

PS: there is my profiles of x264 and Oneclick encoder

The inside exe is x86

brunosso
19th February 2016, 15:48
The inside exe is x86

I notice that! I think some code on the updater, because i have the x64 version compiled, and if i run a clean setup, after first update, return the x86 exe :)

tormento
23rd February 2016, 10:24
I notice that! I think some code on the updater, because i have the x64 version compiled, and if i run a clean setup, after first update, return the x86 exe :)

Can you place 7z of x64?

brunosso
23rd February 2016, 10:27
Can you place 7z of x64?

https://sourceforge.net/p/megui/bugs/824/

look here! if you use other version of 7z, extraction doesn't work!

tormento
27th February 2016, 11:37
look here! if you use other version of 7z, extraction doesn't work!

I meant: can you upload an archive of the latest x64 version?

chros
1st May 2016, 09:44
Just use the x86 build. x64 development has apparently stopped, the x264 version is from 2012 and it doesn't support x265.

If you really want to use the x64 version, here's how to get it working:
...
But seriously, just use the main x86 MeGUI.
Thanks for your guide!
Yesterday I have been fooling around with x64 encoding chain (it was tedious to get it working through the command line since megui crashed all the time :) ), and I can confirm with anamorphic PAL interlaced DVD to hevc (x64 in both cases) that there's no need for x64 chain for that.
The script was fairly simple (I couldn't use yadif.dll for x64 so I found a yadifmod2 to try it out) though. This is the x32 version of it:
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("video.dgi",fieldop=0)

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true)

Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\yadif.dll")
Yadif(order=1)

Trim(19400,20900)

And the result:
x32
encoded 1501 frames in 454.17s (3.30 fps), 1135.52 kb/s, Avg QP:25.97

x64
encoded 1501 frames in 452.64s (3.32 fps), 1135.52 kb/s, Avg QP:25.96

So for this the bottleneck is definitely hevc (x64) encoding. Maybe this can be changed if you use more complex avs script.

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.

sneaker_ger
26th February 2018, 20:42
ffms2 added AviSynth+ high bitdepth support in version 2.23.1 (Oct 2016).

Gser
26th February 2018, 20:51
Well the ffms2 script works fine when I play it in mpc but fails to load in MeGui. *sigh*
FFVideoSource("file.ts", fpsnum=60000, fpsden=1001, threads=8, colorspace = "YUV420P10")
Error parsing media file video.avs: ConvertToRGB24: conversion is allowed only from 8 bit colorspace

sneaker_ger
26th February 2018, 20:58
That's a MeGUI problem, not ffms2.

Gser
26th February 2018, 20:59
That's a MeGUI problem, not ffms2.

Yeah I figured as much, seems it doesn't support 16-bit either. I'll just resort to converting everything to stacked format at the end of scripts.

Carpo
2nd March 2018, 18:03
Anyone having the issue that when you press Queue it starts the encode, not queuing it?

Zathor
3rd March 2018, 12:07
Anyone having the issue that when you press Queue it starts the encode, not queuing it?

Do you have by any chance enabled the "start new jobs in queue immediately" option?

That's a MeGUI problem, not ffms2.

Sadly true, the AVS wrapper cannot handle > 8 bit.

Carpo
3rd March 2018, 12:09
D'oh!!!!! Forgot about that setting, I have it off in 32bit version, all good now :)

robojock
15th March 2018, 09:11
Hi,

I don't know what the issue is, i import these profiles (https://forum.doom9.org/showthread.php?t=139765) and if i try to edit them i get this error (https://drive.google.com/open?id=100QSmcp_8BFUvMYuIuLP-Zu61-Ys4RLi). Also when i do a conversion I get files less than 100mb.

sneaker_ger
15th March 2018, 11:18
i import these profiles (https://forum.doom9.org/showthread.php?t=139765)
Did you read the red warning at the top? Those profiles are deprecated.

robojock
15th March 2018, 11:45
Did you read the red warning at the top? Those profiles are deprecated.

No i did not read the warning on top. I have now, the last post edit was in 2012. I still used Megui last year (2017) with those profiles. With version 2828 if i start from fresh those profiles don't work, they give the error as shown in my previous post. If i go back to the previous version of megui 2808 and import the profiles then they work. Updating from 2808 to 2828 with the profiles imported then they work with 2828 :confused:

marcus100868
15th March 2018, 12:27
Hi to all,
I have got a problem when using HD Streams Extractor all of a sudden no ticking options in stream(s) can't choose subs,audio,chapters,video.
https://gyazo.com/56323deda8c92519e9e3db01a4240113
This all happened when new updates where available.
No matter if i use older version or the latest no ticking options.
Some help would be much appriciated.:(

Zathor
16th March 2018, 19:26
Please post a log - especially I would need the "Versions" part.

marcus100868
16th March 2018, 23:10
Please post a log - especially I would need the "Versions" part.Hi Zathor,
Let me know if this is the right Log?

[Information] Log
-[Information] Versions
--[Information] MeGUI: 2828 x86
--[Information] Update Check: Disabled
--[Information] System Information
---[Information] Operating System: Windows Server 2016 Standard 1607 x64 (10.0.14393.2125)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.6.x (4.6.01586)
---[Information] DPI: 150% (144/144)
---[Information] Monitor 1
----[Information] Resolution: 3840x2160
----[Information] Primary Screen: True
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 17.12.0.0 (21-12-2017)
---[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
---[Information] 7z: 9.20 (18-11-2010)
--[Information] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 2.6.0.6
----[Information] Date: 31-03-2015
----[Information] Name: Avisynth 2.6
----[Information] Version: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
----[Information] AviSynth+: false
----[Information] MT: false
----[Information] Status: inactive
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 27-12-2017
----[Information] Name: AviSynth+ 0.1 (r2580, MT, i386)
----[Information] Version: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
----[Information] AviSynth+: false
----[Information] MT: false
----[Information] Status: active

marcus100868
16th March 2018, 23:24
Please post a log - especially I would need the "Versions" part.This only happens on my server with the home PC it's fine don't know if this helps.

Zathor
25th March 2018, 16:01
Please extract this file into your MeGUI directory on the server (replace the existing file) and report back.

EDIT: update to MeGUI 2829

tormento
27th March 2018, 18:56
@Zathor

I am currently having problems processing eac3 files with integrated audio encoder. It stays on indexing without doing absolutely nothing.

I have replaced it with command line transcoding, such as
ffmpeg.exe -i in.eac3 -acodec ac3 -ab 640k -af dynaudnorm out.ac3
and it is ok for 5.1 to 5.1 transcoding. I have absolutely no idea of what channel to mix for a 7.1 to 5.1 transcoding, with proper levels.

Can you please tell me which is the ffmpeg profile used from MeGUI when transcoding with ffmpeg from 7.1 to 5.1 or, much better, fix eac3 problem?

Zathor
27th March 2018, 20:24
It "should" work. Could you upload please a small test sample?

tormento
27th March 2018, 21:28
It "should" work. Could you upload please a small test sample?
If you tell me how to "cut" eac3, otherwise I need to upload the whole track. If you have a ftp or private cloud much better because of size.

Anyway, in the mean time, can you please tell me the mixing levels you apply in MeGUI when transcoding to inferior number of channels?

tebasuna51
27th March 2018, 21:30
...and it is ok for 5.1 to 5.1 transcoding. I have absolutely no idea of what channel to mix for a 7.1 to 5.1 transcoding, with proper levels.

ffmpeg don't downmix eac3 7.1 because can't decode it to 7.1 channels.

ffmpeg only decode 5.1 channels from eac3 7.1, the extra surround channels (in added substreams) are ignored.

tebasuna51
27th March 2018, 21:35
...can you please tell me the mixing levels you apply in MeGUI when transcoding to inferior number of channels?
Check the log.
You can see the avs scripts with the downmix levels.

tormento
28th March 2018, 14:53
Check the log. You can see the avs scripts with the downmix levels.
This is the full log when downmixing DTSMA 7.1 to AC3 5.1:
[Information] Log
-[Information] Versions
--[Information] MeGUI: 2830 x64
--[Information] Update Check: development update server
--[Information] System Information
---[Information] Operating System: Windows 10 Enterprise 1803 x64 (10.0.17627.1000)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.03056)
---[Information] DPI: 100% (96/96)
---[Information] Monitor 1
----[Information] Resolution: 1920x1080
----[Information] Primary Screen: True
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 18.03.1.0 (26-03-2018)
---[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
---[Information] 7z: 9.20 (18-11-2010)
--[Information] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 0.1
----[Information] Date: 02-03-2018
----[Information] Name: AviSynth+ 0.1 (r2636, MT, x86_64)
----[Information] Version: AviSynth+ 0.1 (r2636, MT, x86_64)
----[Information] AviSynth+: true
----[Information] MT: true
----[Information] Status: active
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 02-03-2018
----[Information] Name: AviSynth+ 0.1 (r2636, MT, x86_64)
----[Information] Status: inactive
-[Information] Update detection
--[Information] [28/03/2018 15:32:39] Using cached update config and server: http://megui.tmebi.de/test/
--[Information] [28/03/2018 15:32:39] No package requires an update
-[Information] Log for job1 (audio, 1_3_audio.dtshd -> 1_3_audio.ac3)
--[Information] [28/03/2018 15:35:27] Started handling job
--[Information] [28/03/2018 15:35:27] Preprocessing
--[Information] [28/03/2018 15:35:28] MediaInfo
---[Information] [28/03/2018 15:35:28] File: E:\in\2_00 guardiani della galassia, I\1_3_audio.dtshd
---[Information] General
----[Information] Format: DTS
----[Information] FormatString: DTS
----[Information] FileSize: 4184581084
----[Information] PlayTime:
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: DTS
----[Information] FormatProfile: MA / Core
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 8 / 6
----[Information] ChannelsString: 8 channels / 6 channels
----[Information] ChannelPositionsString2: 3/2/2.1 / 3/2/0.1
----[Information] BitRateMode: VBR / CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
----[Information] [28/03/2018 15:35:28] The language information is not available for this track.
The default MeGUI language has been selected.
--[Information] [28/03/2018 15:35:28] Trying to open the file with FFAudioSource()
--[Information] [28/03/2018 15:37:11] Successfully opened the file with FFAudioSource()
--[Information] [28/03/2018 15:37:11] AviSynth script
---[NoImage] LoadPlugin("D:\eseguibili\media\MeGUI_x64\tools\ffms\ffms2.dll")
---[NoImage] FFAudioSource("E:\in\2_00 guardiani della galassia, I\1_3_audio.dtshd")
---[NoImage] # detected channels: 8
---[NoImage] # detected channel positions: 3/2/2.1
---[NoImage] 8<=Audiochannels(last)?c71_c51(ConvertAudioToFloat(last)):last
---[NoImage] 7==Audiochannels(last)?c61_c51(ConvertAudioToFloat(last)):last
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
---[NoImage] # As AudioLimiter.dll is not available, SoftClipperFromAudX() cannot be used
---[NoImage] # 7.1 Channels L,R,C,LFE,BL,BR,SL,SR -> standard 5.1
---[NoImage] function c71_c51(clip a)
---[NoImage] {
---[NoImage] front = GetChannel(a, 1, 2, 3, 4)
---[NoImage] back = GetChannel(a, 5, 6)
---[NoImage] side = GetChannel(a, 7, 8)
---[NoImage] mix = MixAudio(back, side, 1.0, 1.0)#.SoftClipperFromAudX(0.0)
---[NoImage] return MergeChannels(front, mix)
---[NoImage] }
---[NoImage] # 6.1 Channels L,R,C,LFE,BC,SL,SR -> standard 5.1
---[NoImage] function c61_c51(clip a)
---[NoImage] {
---[NoImage] front = GetChannel(a, 1, 2, 3, 4)
---[NoImage] bcent = GetChannel(a, 5).Amplify(0.7071)
---[NoImage] back = MergeChannels(bcent, bcent)
---[NoImage] side = GetChannel(a, 6, 7)
---[NoImage] mix = MixAudio(back, side, 1.0, 1.0)#.SoftClipperFromAudX(0.0)
---[NoImage] return MergeChannels(front, mix)
---[NoImage] }
--[Information] [28/03/2018 15:37:11] Command line used: -i - -y -acodec ac3 -ab 640k -threads 4 "{0}"
--[Information] [28/03/2018 15:37:11] AviSynth script environment opened
--[Information] [28/03/2018 15:37:12] Script loaded
--[Information] [28/03/2018 15:37:12] Output Decoder
---[Information] [28/03/2018 15:37:12] Channels: 6
---[Information] [28/03/2018 15:37:12] Bits per sample: 16
---[Information] [28/03/2018 15:37:12] Sample rate: 48000
--[Information] [28/03/2018 15:37:12] Job command line:
D:\eseguibili\media\MeGUI_x64\tools\ffmpeg\ffmpeg.exe -i - -y -acodec ac3 -ab 640k -threads 4
"E:\in\2_00 guardiani della galassia, I\1_3_audio.ac3"
--[Information] [28/03/2018 15:37:12] Process started
--[Information] [28/03/2018 15:37:12] Standard output stream
--[Information] [28/03/2018 15:37:12] Standard error stream
---[Information] [28/03/2018 15:37:12] ffmpeg version N-90390-g7e0dc7210b Copyright (c) 2000-2018 the FFmpeg developers
---[Information] [28/03/2018 15:37:12] built with gcc 7.3.0 (GCC)
---[Information] [28/03/2018 15:37:12] configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora
--enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg
--enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex
--enable-libxvid --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
--enable-dxva2 --enable-avisynth
---[Information] [28/03/2018 15:37:12] libavutil 56. 11.100 / 56. 11.100
---[Information] [28/03/2018 15:37:12] libavcodec 58. 14.100 / 58. 14.100
---[Information] [28/03/2018 15:37:12] libavformat 58. 10.100 / 58. 10.100
---[Information] [28/03/2018 15:37:12] libavdevice 58. 2.100 / 58. 2.100
---[Information] [28/03/2018 15:37:12] libavfilter 7. 13.100 / 7. 13.100
---[Information] [28/03/2018 15:37:12] libswscale 5. 0.102 / 5. 0.102
---[Information] [28/03/2018 15:37:12] libswresample 3. 0.101 / 3. 0.101
---[Information] [28/03/2018 15:37:12] libpostproc 55. 0.100 / 55. 0.100
---[Information] [28/03/2018 15:37:12] Guessed Channel Layout for Input Stream #0.0 : 5.1
---[Information] [28/03/2018 15:37:12] Input #0, wav, from 'pipe:':
---[Information] [28/03/2018 15:37:12] Duration: N/A, bitrate: 4608 kb/s
---[Information] [28/03/2018 15:37:12] Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1, s16, 4608 kb/s
---[Information] [28/03/2018 15:37:12] Stream mapping:
---[Information] [28/03/2018 15:37:12] Stream #0:0 -> #0:0 (pcm_s16le (native) -> ac3 (native))
---[Information] [28/03/2018 15:37:12] Output #0, ac3, to 'E:\in\2_00 guardiani della galassia, I\1_3_audio.ac3':
---[Information] [28/03/2018 15:37:12] Metadata:
---[Information] [28/03/2018 15:37:12] encoder : Lavf58.10.100
---[Information] [28/03/2018 15:37:12] Stream #0:0: Audio: ac3, 48000 Hz, 5.1, fltp, 640 kb/s
---[Information] [28/03/2018 15:37:12] Metadata:
---[Information] [28/03/2018 15:37:12] encoder : Lavc58.14.100 ac3
---[Information] [28/03/2018 15:40:02] video:0kB audio:566502kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
--[Information] [28/03/2018 15:40:02] MediaInfo
---[Information] [28/03/2018 15:40:02] File: E:\in\2_00 guardiani della galassia, I\1_3_audio.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FormatString: AC-3
----[Information] FileSize: 580098560
----[Information] PlayTime: 02:00:51.232
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
----[Information] [28/03/2018 15:40:02] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [28/03/2018 15:40:02] Postprocessing
---[Information] [28/03/2018 15:40:02] Deleting intermediate files
----[Information] [28/03/2018 15:40:02] Successfully deleted E:\in\2_00 guardiani della galassia, I\1_3_audio.dtshd.ffindex
--[Information] [28/03/2018 15:40:02] Job completed

1st question:
---[NoImage] # As AudioLimiter.dll is not available, SoftClipperFromAudX() cannot be used
Where can I find a x64 version of it?

2nd question: Where is the AviSynth script with channel level settings?

3rd question: Why not to use directly ffmpeg and avoid all the AVS stuff?

tebasuna51
28th March 2018, 17:39
Where can I find a x64 version of it?

You can't, don't exist a x64 version of Audiolimiter.
And is unknow the source for SoftClipperFromAudX.

Use Avs 32 bits to downmix 7.1 -> 5.1

2nd question: Where is the AviSynth script with channel level settings?
The 32 bits function:
function c71_c51(clip a) {
front = GetChannel(a, 1, 2, 3, 4)
back = GetChannel(a, 5, 6)
side = GetChannel(a, 7, 8)
mix = MixAudio(back, side, 1.0, 1.0).SoftClipperFromAudX(0.0)
return MergeChannels(front, mix)
}

Only surround channels can have less volume level than original, and only in big volume level points.

3rd question: Why not to use directly ffmpeg and avoid all the AVS stuff?

To avoid ffmpeg downmix obtaining half volume level in all channels.

-----------------------------

I can't recommend other downmix 7.1 -> 5.1 than use SoftClipperFromAudX (with Avs 32 bits) in order to recode to AC3.

If it can't be used is better recode the core 5.1 from the DTS-MA.

tormento
28th March 2018, 20:12
To avoid ffmpeg downmix obtaining half volume level in all channels.
If you use -af dynaudnorm option
This filter applies a certain amount of gain to the input audio in order to bring its peak magnitude to a target level (e.g. 0 dBFS). However, in contrast to more "simple" normalization algorithms, the Dynamic Audio Normalizer *dynamically* re-adjusts the gain factor to the input audio. This allows for applying extra gain to the "quiet" sections of the audio while avoiding distortions or clipping the "loud" sections. In other words: The Dynamic Audio Normalizer will "even out" the volume of quiet and loud sections, in the sense that the volume of each section is brought to the same target level. Note, however, that the Dynamic Audio Normalizer achieves this goal *without* applying "dynamic range compressing". It will retain 100% of the dynamic range *within* each section of the audio file.
and it uses as default
n
Enable channels coupling. By default is enabled. By default, the Dynamic Audio Normalizer will amplify all channels by the same amount. This means the same gain factor will be applied to all channels, i.e. the maximum possible gain factor is determined by the "loudest" channel. However, in some recordings, it may happen that the volume of the different channels is uneven, e.g. one channel may be "quieter" than the other one(s). In this case, this option can be used to disable the channel coupling. This way, the gain factor will be determined independently for each channel, depending only on the individual channel’s highest magnitude sample. This allows for harmonizing the volume of the different channels.

tebasuna51
28th March 2018, 23:44
@tormento
You are free of use dynaudnorm or any filter or enhancer.
My recomendations are to preserve the original sound without changes.

tormento
29th March 2018, 08:36
You are free of use dynaudnorm or any filter or enhancer.
I like to understand things and how they work. I am here to ask and learn.

I'd like to know from Zathor why he uses AviSynth scripts to transcode audio in MeGUI_x64 as there is no build of AudioLimiter.dll and ffmpeg can do all the dirty job ;)

Zathor
29th March 2018, 08:53
I'd like to know from Zathor why he uses AviSynth scripts to transcode audio in MeGUI_x64 as there is no build of AudioLimiter.dll and ffmpeg can do all the dirty job ;)

Lazyness? :(
Additionally I would like to keep 32bit and 64bit to be the same.

So I could switch if someone provides me the details. E.g. which command line to be used with ffmpeg to down/upscale (as in the avisynth scripts - e.g. found here: https://forum.doom9.org/showthread.php?p=1461787#post1461787) . Question would also be if only the "output channels" should be replaced by ffmpeg or also the other stuff (sample rate, ...).
And what needs to be done if the encoder is not ffmpeg but e.g. qaac? I assume it needs to be piped?

Also I would like to know if there is a change in quality.

But yes, in general it would make sense to switch so that we can get rid of the audiolimiter and soxfilter plugins.
EDIT: Bottom line - if someone provides me with the details I will implement it.

tormento
29th March 2018, 09:39
Lazyness? :(
ffmpeg is really a PITA to learn. I did it for audio only by trials and errors.

It's really powerful, fast and smart enough to understand what to do even on basic command lines. Of course it has hundreds of switches to fine tune everything. There is a section on Doom9 with lot of GUI for it, specialized for video but with some audio part too. I don't use them cause I can't get 640k output... ;)

My usual command line for 5.1 640k AC3 audio is:
ffmpeg.exe -i input.xxx -ac 6 -acodec ac3 -ab 640k -af dynaudnorm output.ac3
There are lot of examples googling and a long help from command line.

Moreover: you did and do a great job with MeGUI. I think you will get lot of help, just ask.

Also I would like to know if there is a change in quality.
ffmpeg has much better quality than, for example, eac3to, at least for ac3 encoding. That's why I switched.

It's also much more resilient to errors, i.e. keeps on transcoding even when minor glitches are found.

tebasuna51
29th March 2018, 10:56
MeGUI is a GUI to recode video and audio based in AviSynth decoders and filters.

Of course ffmpeg can do similar jobs (can decode many video/audio formats, use video/audio filters and encode to many video/audio formats) without need AviSynth at all.
But MeGUI can't be a ffmpegGUI (very dificult to do), only can use ffmpeg like encoder when is the better choice (for AC3 for instance like tormento say).

The command line to use ffmpeg can be complex, let me explain a few the tormento example:

ffmpeg.exe -i input.xxx -ac 6 -acodec ac3 -ab 640k -af dynaudnorm output.ac3

- The input.xxx can be many things, for instance can be a container mkv and the first audio track is recoded, but adding -map 0:x the x track is the recoded.

- The -ac 6 is not needed the channels number is the source channels, and if the output need a downmix (like here with source 7.1) is done automatically. The problem with automatic downmix is the output volume reduced.

- -af dynaudnorm (af=audio filter). There are many audio filters (of course can change the samplerate). I can't recommend the dynaudnorm if we want preserve original source.

Zathor, like don't exist a Audiolimiter.dll for 64 bits we need change the line:

mix = MixAudio(back, side, 1.0, 1.0)#.SoftClipperFromAudX(0.0)

with:

mix = MixAudio(back, side, 0.5, 0.5)

to avoid clip in surround channels and preserve the full volume in the rest of channels.
But I recommend use the 32 bit versión with SoftClipperFromAudX or recode the core 5.1 of DTS 7.1.

Zathor
30th March 2018, 12:40
Zathor, like don't exist a Audiolimiter.dll for 64 bits we need change the line:

mix = MixAudio(back, side, 1.0, 1.0)#.SoftClipperFromAudX(0.0)

with:

mix = MixAudio(back, side, 0.5, 0.5)

to avoid clip in surround channels and preserve the full volume in the rest of channels.
But I recommend use the 32 bit versión with SoftClipperFromAudX or recode the core 5.1 of DTS 7.1.
Thanks, changed in 2831.
Btw if using tools like OneClick it "should" already use the core if the target is to encode with less than 7 channels. Not sure if this works in all cases...

tormento
30th March 2018, 13:10
I can't recommend the dynaudnorm if we want preserve original source.
When downmixing or transcoding you can't "preserve" original source. IMHO dynaudnorm is one of the best solutions, as it doesn't compress dynamic range, such as other filters do, and takes also in account all the channels when normalizing. Proof is that when there is nothing to change, i.e. optimum volumes on channels, nothing is changed. I have tried MeGUI x32 solution and, to my ears, ffmpeg gives the best result.
mix = MixAudio(back, side, 0.5, 0.5)
Thus you are not "preserving" the source too and without any consideration about real dynamic range of mixed channels but taking only volumes in account that is risky when increasing and useless when decreasing.

tebasuna51
31st March 2018, 12:19
When downmixing or transcoding you can't "preserve" original source.
When downmix of course we can output the same with 5.1 speakers than with 7.1 speakers.
We can't respect the balance between front and surround speakers, at high level, because 2 speakers can't output the same volume than 4 speakers.

Whit SoftClipperFromAudX(0.0) we can preserve the balance most the times, only at high level volume points can't be preserved.

Also when transcoding we can't preserve the full quality of source (mainly high frequencies), but we can preserve enough quality to be transparent for most audio equipments and not "golden ears".

Like I say before, if you want use MeGUI-64 without SoftClipperFromAudX I recommend recode the core 5.1 of DTS-HD instead downmix the 7.1.

IMHO dynaudnorm is one of the best solutions, ...

Any user is free of use the filters than want, of course.

But I can't understand the relation between dynamic range and the balance problem in the 7.1 -> 5.1 downmix.

With my method the main channels FL, FR, FC, LFE are untouched, and of course the dynamic range is also preserved.

With dynaudnorm the main channels FL, FR, FC, LFE can be changed.

Glarioo
3rd April 2018, 18:57
MeGui stop working after update today.

videoh
3rd April 2018, 19:06
You'll get help faster if you don't make us wait for attachment approval. Can you please use a hosting site?

Glarioo
3rd April 2018, 19:38
Sorry, i don't know how to use a hosting site.
That log is the only one Megui created.

--[Information] [3/04/2018 19:32:52] Video: G:\BLU_RAY (G)\BAD_TRIP\BDMV\PLAYLIST\00000.mpls
--[Information] [3/04/2018 19:32:52] Audio: G:\BLU_RAY (G)\BAD_TRIP\BDMV\PLAYLIST\00000.mpls ([3] - DTS - 6 channels / 48.0 kHz / Dutch / AC3 5.1)
--[Information] [3/04/2018 19:32:52] Subtitle: G:\BLU_RAY (G)\BAD_TRIP\BDMV\PLAYLIST\00000.mpls ([4] - PGS / Dutch / PGS-Origineel)
-[Information] Log for job1 (ext, 00000.mpls -> jqqjvhfv.rb4)
--[Information] [3/04/2018 19:32:57] Started handling job
--[Information] [3/04/2018 19:32:57] Preprocessing
--[Information] [3/04/2018 19:32:57] Job command line: "C:\Users\Gebruiker\Documents\Blu Ray\megui-core-2690-64\tools\eac3to\eac3to.exe" "G:\BLU_RAY (G)\BAD_TRIP\BDMV\PLAYLIST\00000.mpls" 2:"G:\BDRB_Work\jqqjvhfv.rb4\00000.mkv" 3:"G:\BDRB_Work\jqqjvhfv.rb4\00000 - [1][0] Dutch.dts" -core 4:"G:\BDRB_Work\jqqjvhfv.rb4\00000 - [1][0] Dutch.sup" -progressnumbers
--[Information] [3/04/2018 19:32:57] Process started
--[Information] [3/04/2018 19:32:57] Standard output stream
--[Information] [3/04/2018 19:32:57] Standard error stream
---[Information] [3/04/2018 19:32:58] M2TS, 1 video track, 1 audio track, 1 subtitle track, 1:27:27, 24p
---[Information] [3/04/2018 19:32:58] 1: Chapters, 10 chapters
---[Information] [3/04/2018 19:32:58] 2: VC-1, 1080p24 (16:9)
---[Information] [3/04/2018 19:32:58] 3: DTS Master Audio, Dutch, 5.1 channels, 24 bits, 48kHz
---[Information] [3/04/2018 19:32:58] (core: DTS, 5.1 channels, 1509kbps, 48kHz)
---[Information] [3/04/2018 19:32:58] 4: Subtitle (PGS), Dutch
---[Information] [3/04/2018 19:32:58] v02 The video framerate is correct, but rather unusual.
---[Information] [3/04/2018 19:32:58] a03 Extracting audio track number 3...
---[Information] [3/04/2018 19:32:58] a03 Extracting DTS core...
---[Information] [3/04/2018 19:32:58] v02 Extracting video track number 2...
---[Information] [3/04/2018 19:32:58] v02 Muxing video to Matroska...
---[Information] [3/04/2018 19:32:58] s04 Extracting subtitle track number 4...
---[Information] [3/04/2018 19:32:58] a03 Creating file "G:\BDRB_Work\jqqjvhfv.rb4\00000 - [1][0] Dutch.dts"...
---[Information] [3/04/2018 19:33:03] s04 Creating file "G:\BDRB_Work\jqqjvhfv.rb4\00000 - [1][0] Dutch.sup"...
---[Information] [3/04/2018 19:35:10] a03 Skipping identical DTS frames (seamless branching)...
---[Information] [3/04/2018 19:35:10] Added fps value (24) to MKV header.
---[Information] [3/04/2018 19:35:10] Video track 2 contains 125928 frames.
---[Information] [3/04/2018 19:35:10] Subtitle track 4 contains 812 captions.
---[Information] [3/04/2018 19:35:10] eac3to processing took 2 minutes, 12 seconds.
---[Information] [3/04/2018 19:35:10] Done.
--[Information] [3/04/2018 19:35:10] Postprocessing
--[Information] [3/04/2018 19:35:10] Job completed
-[Information] Log for job2 (idx, 00000.mkv -> BAD_TRIP_00000.dgi)
--[Information] [3/04/2018 19:35:10] Started handling job
--[Information] [3/04/2018 19:35:10] Preprocessing
--[Information] [3/04/2018 19:35:10] Job command line: "C:\Users\Gebruiker\Documents\Blu Ray\megui-core-2690-64\tools\dgindexnv\dgindexnv.exe" -i "G:\BDRB_Work\jqqjvhfv.rb4\00000.mkv" -o "G:\BDRB_Work\jqqjvhfv.rb4\BAD_TRIP_00000.dgi" -h
--[Information] [3/04/2018 19:35:10] Process started
--[Information] [3/04/2018 19:35:10] Standard output stream
--[Information] [3/04/2018 19:35:10] Standard error stream
---[Information] [3/04/2018 19:35:11] Project
--[Information] [3/04/2018 19:36:39] MediaInfo
---[Information] [3/04/2018 19:36:39] File: G:\BDRB_Work\jqqjvhfv.rb4\BAD_TRIP_00000.dgi
---[Information] Indexed file: G:\BDRB_Work\jqqjvhfv.rb4\00000.mkv
-[Information] Format: Matroska
-[Information] FormatString: Matroska
-[Information] FileSize: 16386255290
-[Information] PlayTime: 01:27:26.959
---[Information] General
-[Information] ID: 1
-[Information] StreamOrder: 0
-[Information] Width: 1920
-[Information] Height: 1080
-[Information] FrameCount: 125927
-[Information] FrameRate: 24.000
-[Information] FrameRateOriginal:
-[Information] FrameRateMode: CFR
-[Information] ScanType: Progressive
-[Information] Codec: WVC1
-[Information] CodecString: VC-1
-[Information] Bits Depth: 8
-[Information] Format: VC-1
-[Information] AspectRatio: 1.778
-[Information] AspectRatioString: 16:9
-[Information] Delay: 0
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default: No
-[Information] DefaultString: No
-[Information] Forced: No
-[Information] ForcedString: No
---[Information] Video
--[Information] [3/04/2018 19:36:39] Postprocessing
-[Error] Unhandled error
--[Information] [3/04/2018 19:36:39] Exception message: De objectverwijzing is niet op een exemplaar van een object ingesteld.
-[NoImage] bij MeGUI.dgiIndexJobPostProcessor.postprocess(MainForm mainForm, Job ajob)
-[NoImage] bij MeGUI.core.gui.JobWorker.postprocessJob(Job job)
-[NoImage] bij MeGUI.core.gui.JobWorker.<>c__DisplayClass57_0.<UpdateGUIStatus>b__0()
-[NoImage] bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
-[NoImage] bij System.Threading.ThreadHelper.ThreadStart()
--[Information] [3/04/2018 19:36:39] Stacktrace
--[Information] [3/04/2018 19:36:39] Inner exception: null

Zathor
3rd April 2018, 20:02
Thanks, I think I know where the problem is.

videoh
3rd April 2018, 20:05
Thanks Glarioo. Looks like DGIndexNV indexing completed OK so it's over to Zathor.

Nevertheless, please make sure you are updated to the latest versions of DGIndexNV and MEGUI. There have been some changes recently and both apps must be updated to the latest versions for proper interoperation.

Zathor beat me. :)

Zathor
3rd April 2018, 21:36
MeGui stop working after update today.

I do have it fixed locally. 2834 should be online soon.

Glarioo
4th April 2018, 18:09
I do have it fixed locally. 2834 should be online soon.

Update to 2834 and MeGUI working flawless again. Thanks!

sdml
3rd June 2018, 19:56
Why megui switched to ffmpeg instead of avs4x26x? It seems to me avs4x26x works more stable. avs4x26x continues to work in times of insufficient ram, but ffmpeg halt immedietly.

Zathor
3rd June 2018, 20:15
Support for high bit depth which avs4x24x does not support.
Could you please paste a full log of an encoding?

sdml
9th June 2018, 08:20
It's just ffmpeg disappears from process list and log says: Error Number of encoded frames does not match the source. Support of high bit depth is good, but can we get some switch to choose avs4x26x or ffmpeg?

Zathor
9th June 2018, 11:06
Could you please provide a full log? I have to see OS, AViSynth version, script used, ...

imsrk48
9th June 2018, 11:15
#Suggestion Please add multi tracks selection in DirectShowStream

Sent from my P4 using Tapatalk

thecrowler
8th September 2018, 13:55
#Bug - MediaInfo.dll (x64) v18.08 causes an unhandled error in HD Stream Extractor (MeGUI 2872 x64).
Everything works fine with the old 18.05 MediaInfo.dll x64 (using "obsolete_mediainfo-18.05-64.7z" from "update_cache" folder).

Glarioo
9th February 2019, 11:44
Movie duration is 2:19:10.542
After job 3 (dgi) duration is duration 2:19:19.892?

[Information] Log
-[Information] Versions
--[Information] MeGUI: 2908 x64
--[Information] MeGUI Debug Data: available
--[Information] Update Check: development update server
--[Information] System Information
---[Information] Operating System: Windows 10 Pro 1803 x64 (10.0.17134.523)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.03056)
---[Information] Redistributables
----[Information] Microsoft Visual C++ 2010 x64: 10.0.40219
----[Information] Microsoft Visual C++ 2010 x86: 10.0.40219
----[Information] Microsoft Visual C++ 2012 x64: 11.0.61030
----[Information] Microsoft Visual C++ 2012 x86: 11.0.61030
----[Information] Microsoft Visual C++ 2013 x64: 12.0.30501
----[Information] Microsoft Visual C++ 2013 x86: 12.0.30501
----[Information] Microsoft Visual C++ 2017 x64: 14.14.26405
----[Information] Microsoft Visual C++ 2017 x86: 14.10.25017
---[Information] DPI: 100% (96/96)
---[Information] Monitor 1
----[Information] Resolution: 1920x1080
----[Information] Primary Screen: True
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 18.05.0.0 (08-05-2018)
---[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
---[Information] 7z: 9.20 (18-11-2010)
--[Information] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2847.0
----[Information] Date: 06-05-2018
----[Information] Interface: 3
---[Information] AviSynth
----[Information] AviSynth Status: ignored as portable build is forced
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] File Date: 02-07-2018
----[Information] File Name: AviSynth+ 0.1 (r2728, MT, x86_64)
----[Information] File Path: c:\users\gebruiker\documents\blu ray\megui-2896-64\avisynth.dll
----[Information] AviSynth Version: AviSynth+ 0.1 (r2728, MT, x86_64)
----[Information] AviSynth+: true
----[Information] AviSynth MT: true
----[Information] AviSynth Status: active
-[Information] Update detection
--[Information] [9/02/2019 8:56:45] Using cached update config and server: http://megui.tmebi.de/test/
--[Information] [9/02/2019 8:56:45] No package requires an update
-[Information] OneClick
--[Information] [9/02/2019 9:01:45] MediaInfo
---[Information] File: G:\BLU_RAY (G)\NIET_SCHIETEN\BDMV\PLAYLIST\00000.mpls
---[Information] [9/02/2019 9:01:45] Blu-ray playlist detected. Getting information from eac3to.
---[Information] eac3toInfo
----[Information] [9/02/2019 9:01:45] Input: G:\BLU_RAY (G)\NIET_SCHIETEN\BDMV\PLAYLIST\00000.mpls
----[Information] [9/02/2019 9:01:45] Arguments: "G:\BLU_RAY (G)\NIET_SCHIETEN\BDMV\PLAYLIST\00000.mpls"
----[Information] [9/02/2019 9:01:45] 1) 00000.mpls, 00000.m2ts, 2:19:11
----[Information] [9/02/2019 9:01:46] - Chapters, 8 chapters
----[Information] [9/02/2019 9:01:46] - h264/AVC, 1080p24 (16:9)
----[Information] [9/02/2019 9:01:46] - DTS Master Audio, Dutch, multi-channel, 48kHz
----[Information] [9/02/2019 9:01:46] Feature Retrieval Completed
----[Information] [9/02/2019 9:01:46] Arguments: "G:\BLU_RAY (G)\NIET_SCHIETEN\BDMV\PLAYLIST\00000.mpls" 1) -progressnumbers
----[Information] [9/02/2019 9:01:47] M2TS, 1 video track, 1 audio track, 2 subtitle tracks, 2:19:11, 24p
----[Information] [9/02/2019 9:01:47] 1: Chapters, 8 chapters
----[Information] [9/02/2019 9:01:47] 2: h264/AVC, 1080p24 (16:9)
----[Information] [9/02/2019 9:01:47] 3: DTS Master Audio, Dutch, 5.1 channels, 24 bits, 48kHz
----[Information] [9/02/2019 9:01:48] (core: DTS, 5.1 channels, 1509kbps, 48kHz)
----[Information] [9/02/2019 9:01:48] 4: Subtitle (PGS), Dutch
----[Information] [9/02/2019 9:01:48] 5: Subtitle (PGS), Dutch
----[Information] [9/02/2019 9:01:48] v02 The video framerate is correct, but rather unusual.
----[Information] [9/02/2019 9:01:48] Stream Retrieval Completed
---[Information] General
----[Information] Format: Blu-ray Playlist
----[Information] FileSize: 314
----[Information] PlayTime: 02:19:10.541
---[Information] Video
----[Information] ID: 2
----[Information] CodecID: 27
----[Information] Format: AVC
----[Information] FormatInfo: Advanced Video Codec
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 200413
----[Information] FrameRate: 24.000
----[Information] Duration: 02:19:10.542
----[Information] ScanType: Progressive
----[Information] Bits Depth: 8
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] PixelAspectRatio: 1.000
----[Information] Delay: 600000.000
----[Information] Source: 00000.m2ts
---[Information] Audio
----[Information] ID: 3
----[Information] StreamOrder: 3
----[Information] CodecID: 134
----[Information] Format: DTS
----[Information] FormatInfo: Digital Theater Systems
----[Information] FormatProfile: MA / Core
----[Information] Muxing Mode: Stream extension
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: VBR / CBR
----[Information] Delay: 600000.000
----[Information] Language: nl
----[Information] LanguageString: Dutch
----[Information] Source: 00000.m2ts
---[Information] Text
----[Information] ID: 4608
----[Information] StreamOrder: 4
----[Information] CodecID: 144
----[Information] Format: PGS
----[Information] Language: nl
----[Information] LanguageString: Dutch
----[Information] Source: 00000.m2ts
---[Information] Text
----[Information] ID: 4609
----[Information] StreamOrder: 5
----[Information] CodecID: 144
----[Information] Format: PGS
----[Information] Language: nl
----[Information] LanguageString: Dutch
----[Information] Source: 00000.m2ts
---[Information] Chapters
----[Information] 00:00:00.000: Chapter 1
----[Information] 00:13:27.083: Chapter 2
----[Information] 00:34:45.541: Chapter 3
----[Information] 00:55:16.416: Chapter 4
----[Information] 01:15:55.166: Chapter 5
----[Information] 01:36:05.041: Chapter 6
----[Information] 01:56:41.000: Chapter 7
----[Information] 02:15:15.291: Chapter 8
----[Information] 02:19:10.500: Chapter 9
--[Information] [9/02/2019 9:03:00] Video: G:\BLU_RAY (G)\NIET_SCHIETEN\BDMV\PLAYLIST\00000.mpls
--[Information] [9/02/2019 9:03:00] Audio: G:\BLU_RAY (G)\NIET_SCHIETEN\BDMV\PLAYLIST\00000.mpls ([3] - DTS - 6 channels / 48.0 kHz / Dutch)
--[Information] [9/02/2019 9:03:00] Subtitle: G:\BLU_RAY (G)\NIET_SCHIETEN\BDMV\PLAYLIST\00000.mpls ([5] - PGS / Dutch / PGS-Origineel)
--[Information] [9/02/2019 9:03:00] Subtitle: G:\BLU_RAY (G)\NIET_SCHIETEN\BDMV\PLAYLIST\00000.mpls ([4] - PGS / Dutch)
-[Information] Log for job1 (ext, 00000.mpls -> btc4rech.pqp)
--[Information] [9/02/2019 9:04:24] Started handling job
--[Information] [9/02/2019 9:04:24] Preprocessing
--[Information] [9/02/2019 9:04:24] Job command line: "C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\eac3to\eac3to.exe" "G:\BLU_RAY (G)\NIET_SCHIETEN\BDMV\PLAYLIST\00000.mpls" 2:"G:\BDRB_Work\btc4rech.pqp\00000.mkv" 3:"G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch.dts" -core 5:"G:\BDRB_Work\btc4rech.pqp\00000 - [1][1] Dutch.sup" 4:"G:\BDRB_Work\btc4rech.pqp\00000 - [2][0] Dutch.sup" -progressnumbers
--[Information] [9/02/2019 9:04:24] Process started
--[Information] [9/02/2019 9:04:24] Standard output stream
---[Information] [9/02/2019 9:04:25] M2TS, 1 video track, 1 audio track, 2 subtitle tracks, 2:19:11, 24p
---[Information] [9/02/2019 9:04:25] 1: Chapters, 8 chapters
---[Information] [9/02/2019 9:04:25] 2: h264/AVC, 1080p24 (16:9)
---[Information] [9/02/2019 9:04:25] 3: DTS Master Audio, Dutch, 5.1 channels, 24 bits, 48kHz
---[Information] [9/02/2019 9:04:25] (core: DTS, 5.1 channels, 1509kbps, 48kHz)
---[Information] [9/02/2019 9:04:25] 4: Subtitle (PGS), Dutch
---[Information] [9/02/2019 9:04:25] 5: Subtitle (PGS), Dutch
---[Information] [9/02/2019 9:04:25] v02 The video framerate is correct, but rather unusual.
---[Information] [9/02/2019 9:04:25] a03 Extracting audio track number 3...
---[Information] [9/02/2019 9:04:25] a03 Extracting DTS core...
---[Information] [9/02/2019 9:04:25] s05 Extracting subtitle track number 5...
---[Information] [9/02/2019 9:04:25] v02 Extracting video track number 2...
---[Information] [9/02/2019 9:04:25] s04 Extracting subtitle track number 4...
---[Information] [9/02/2019 9:04:25] v02 Muxing video to Matroska...
---[Information] [9/02/2019 9:04:25] a03 Creating file "G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch.dts"...
---[Information] [9/02/2019 9:04:29] s04 Creating file "G:\BDRB_Work\btc4rech.pqp\00000 - [2][0] Dutch.sup"...
---[Information] [9/02/2019 9:06:34] s05 Creating file "G:\BDRB_Work\btc4rech.pqp\00000 - [1][1] Dutch.sup"...
---[Information] [9/02/2019 9:06:47] Added fps value (24) to MKV header.
---[Information] [9/02/2019 9:06:47] Video track 2 contains 200413 frames.
---[Information] [9/02/2019 9:06:47] Subtitle track 5 contains 54 captions.
---[Information] [9/02/2019 9:06:47] Subtitle track 4 contains 1275 captions.
---[Information] [9/02/2019 9:06:47] eac3to processing took 2 minutes, 22 seconds.
---[Information] [9/02/2019 9:06:47] Done.
--[Information] [9/02/2019 9:04:24] Standard error stream
--[Information] [9/02/2019 9:06:47] Postprocessing
--[Information] [9/02/2019 9:06:47] Job completed
-[Information] Log for job2 (idx, 00000.mkv -> NIET_SCHIETEN_00000.dgi)
--[Information] [9/02/2019 9:06:47] Started handling job
--[Information] [9/02/2019 9:06:47] Preprocessing
--[Information] [9/02/2019 9:06:47] Job command line: "C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\dgindexnv\dgindexnv.exe" -i "G:\BDRB_Work\btc4rech.pqp\00000.mkv" -o "G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.dgi" -h
--[Information] [9/02/2019 9:06:47] Process started
--[Information] [9/02/2019 9:06:47] Standard output stream
---[Information] [9/02/2019 9:06:47] Project
--[Information] [9/02/2019 9:06:47] Standard error stream
--[Information] [9/02/2019 9:08:33] MediaInfo
---[Information] File: G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.dgi
---[Information] Indexed file: G:\BDRB_Work\btc4rech.pqp\00000.mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FileSize: 18268517337
----[Information] PlayTime: 02:19:10.542
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] CodecID: V_MPEG4/ISO/AVC
----[Information] Format: AVC
----[Information] FormatInfo: Advanced Video Codec
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 200413
----[Information] FrameRate: 24.000
----[Information] FrameRateMode: CFR
----[Information] FrameRateModeString: Constant
----[Information] Duration: 02:19:10.542
----[Information] ScanType: Progressive
----[Information] Bits Depth: 8
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] PixelAspectRatio: 1.000
----[Information] Delay: 0
----[Information] Default: No
----[Information] Forced: No
--[Information] [9/02/2019 9:08:33] Postprocessing
--[Information] [9/02/2019 9:08:33] Job completed
-[Information] Log for job3 (oneclick, 00000.mkv -> )
--[Information] [9/02/2019 9:08:33] Started handling job
--[Information] [9/02/2019 9:08:33] Preprocessing
--[Information] [9/02/2019 9:08:33] Processing thread started
--[Information] [9/02/2019 9:08:33] Desired size:
--[Information] [9/02/2019 9:08:33] Split size:
--[Information] [9/02/2019 9:08:35] Aspect ratio: 16:9 (1.778)
--[Information] [9/02/2019 9:08:35] Target device: Default
--[Information] [9/02/2019 9:08:36] Input resolution: 1920x1080
--[Information] [9/02/2019 9:08:36] Desired maximum width: 1920
--[Information] [9/02/2019 9:08:36] Output resolution: 1920x1080
--[Information] [9/02/2019 9:08:37] Automatic deinterlacing: False
--[Information] [9/02/2019 9:08:38] Generated AviSynth script
---[NoImage] global MeGUI_darx = 16
---[NoImage] global MeGUI_dary = 9
---[NoImage] LoadPlugin("C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\dgindexnv\DGDecodeNV.dll")
---[NoImage] DGSource("G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.dgi")
---[NoImage] ConvertBits(8)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] [9/02/2019 9:08:39] resolution: 1920x1080
--[Information] [9/02/2019 9:08:39] frame rate: 24000/1001
--[Information] [9/02/2019 9:08:39] frames: 200413
--[Information] [9/02/2019 9:08:39] length: 02:19:18.892
--[Information] [9/02/2019 9:08:39] aspect ratio: 16:9 (1.778)
--[Information] [9/02/2019 9:08:39] color space: YV12
--[Information] [9/02/2019 9:08:39] qpf file created: G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.qpf
--[Information] [9/02/2019 9:08:40] Eliminating duplicate filenames
---[Information] [9/02/2019 9:08:40] Video output file: G:\BDRB_Work\btc4rech.pqp\00000_Video.264
---[Information] [9/02/2019 9:08:40] Muxed output file: G:\04_FILMS\NIET_SCHIETEN_00000.mkv
---[Information] [9/02/2019 9:08:40] Encodable audio stream 0: G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch_audio.ac3
--[Information] [9/02/2019 9:08:40] Postprocessing
--[Information] [9/02/2019 9:08:40] Job completed
-[Information] Log for job1 (audio, 00000 - [1][0] Dutch.dts -> 00000 - [1][0] Dutch_audio.ac3)
--[Information] [9/02/2019 9:08:40] Started handling job
--[Information] [9/02/2019 9:08:40] Preprocessing
--[Information] [9/02/2019 9:08:40] MediaInfo
---[Information] File: G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch.dts
---[Information] General
----[Information] Format: DTS
----[Information] FileSize: 1575114320
----[Information] PlayTime: 02:19:10.507
---[Information] Audio
----[Information] Format: DTS
----[Information] FormatInfo: Digital Theater Systems
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] [9/02/2019 9:08:41] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [9/02/2019 9:08:41] Trying to open the file with LWLibavAudioSource()
--[Information] [9/02/2019 9:08:47] Successfully opened the file with LWLibavAudioSource()
--[Information] [9/02/2019 9:08:52] AviSynth script

Glarioo
9th February 2019, 11:48
Log Part 2

--[Information] [9/02/2019 9:08:52] AviSynth script
---[NoImage] ClearAutoloadDirs()
---[NoImage] AddAutoloadDir("C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\avs\plugins")
---[NoImage] LoadPlugin("C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\lsmash\LSMASHSource.dll")
---[NoImage] LWLibavAudioSource("G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch.dts")
---[NoImage] # detected channels: 6
---[NoImage] # detected channel positions: 3/2/0.1
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
--[Information] [9/02/2019 9:08:52] Command line used: -i - -y -acodec ac3 -ab 640k "{0}"
--[Information] [9/02/2019 9:08:52] AviSynth script environment opened
--[Information] [9/02/2019 9:08:58] Script loaded
--[Information] [9/02/2019 9:08:58] Output Decoder
---[Information] [9/02/2019 9:08:58] Channels: 6
---[Information] [9/02/2019 9:08:58] Bits per sample: 16
---[Information] [9/02/2019 9:08:58] Sample rate: 48000
--[Information] [9/02/2019 9:08:58] Job command line: C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\ffmpeg\ffmpeg.exe -i - -y -acodec ac3 -ab 640k "G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch_audio.ac3"
--[Information] [9/02/2019 9:08:58] Process started
--[Information] [9/02/2019 9:08:58] Standard output stream
--[Information] [9/02/2019 9:08:58] Standard error stream
---[Information] [9/02/2019 9:08:58] ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
---[Information] [9/02/2019 9:08:58] built with gcc 8.2.1 (GCC) 20181017
---[Information] [9/02/2019 9:08:58] configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
---[Information] [9/02/2019 9:08:58] libavutil 56. 22.100 / 56. 22.100
---[Information] [9/02/2019 9:08:58] libavcodec 58. 35.100 / 58. 35.100
---[Information] [9/02/2019 9:08:58] libavformat 58. 20.100 / 58. 20.100
---[Information] [9/02/2019 9:08:58] libavdevice 58. 5.100 / 58. 5.100
---[Information] [9/02/2019 9:08:58] libavfilter 7. 40.101 / 7. 40.101
---[Information] [9/02/2019 9:08:58] libswscale 5. 3.100 / 5. 3.100
---[Information] [9/02/2019 9:08:58] libswresample 3. 3.100 / 3. 3.100
---[Information] [9/02/2019 9:08:58] libpostproc 55. 3.100 / 55. 3.100
---[Information] [9/02/2019 9:08:58] Guessed Channel Layout for Input Stream #0.0 : 5.1
---[Information] [9/02/2019 9:08:58] Input #0, w64, from 'pipe:':
---[Information] [9/02/2019 9:08:58] Duration: N/A, bitrate: 4608 kb/s
---[Information] [9/02/2019 9:08:58] Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1, s16, 4608 kb/s
---[Information] [9/02/2019 9:08:58] Stream mapping:
---[Information] [9/02/2019 9:08:58] Stream #0:0 -> #0:0 (pcm_s16le (native) -> ac3 (native))
---[Information] [9/02/2019 9:08:58] Output #0, ac3, to 'G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch_audio.ac3':
---[Information] [9/02/2019 9:08:58] Metadata:
---[Information] [9/02/2019 9:08:58] encoder : Lavf58.20.100
---[Information] [9/02/2019 9:08:58] Stream #0:0: Audio: ac3, 48000 Hz, 5.1, fltp, 640 kb/s
---[Information] [9/02/2019 9:08:58] Metadata:
---[Information] [9/02/2019 9:08:58] encoder : Lavc58.35.100 ac3
---[Information] [9/02/2019 9:10:07] video:0kB audio:652385kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
--[Information] [9/02/2019 9:10:07] MediaInfo
---[Information] File: G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch_audio.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FileSize: 668042240
----[Information] PlayTime: 02:19:10.528
---[Information] Audio
----[Information] Format: AC-3
----[Information] FormatInfo: Audio Coding 3
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] [9/02/2019 9:10:07] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [9/02/2019 9:10:07] Postprocessing
--[Information] [9/02/2019 9:10:07] Job completed
-[Information] Log for job2 (video, NIET_SCHIETEN_00000.avs -> )
--[Information] [9/02/2019 9:10:07] Started handling job
--[Information] [9/02/2019 9:10:07] Preprocessing
--[Information] [9/02/2019 9:10:07] AviSynth input script
---[NoImage] global MeGUI_darx = 16
---[NoImage] global MeGUI_dary = 9
---[NoImage] LoadPlugin("C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\dgindexnv\DGDecodeNV.dll")
---[NoImage] DGSource("G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.dgi")
---[NoImage] ConvertBits(8)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] [9/02/2019 9:10:09] resolution: 1920x1080
--[Information] [9/02/2019 9:10:09] frame rate: 24000/1001
--[Information] [9/02/2019 9:10:09] frames: 200413
--[Information] [9/02/2019 9:10:09] length: 02:19:18.892
--[Information] [9/02/2019 9:10:09] aspect ratio (avs): 16:9 (1.778)
--[Information] [9/02/2019 9:10:09] color space: YV12
--[Information] [9/02/2019 9:10:09] Job command line: "C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\x264\x264.exe" --level 4.1 --preset slow --pass 1 --bitrate 12073 --stats "G:\BDRB_Work\btc4rech.pqp\00000_Video.stats" --keyint 240 --min-keyint 24 --vbv-bufsize 50000 --vbv-maxrate 50000 --me umh --qpfile "G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.qpf" --sar 1:1 --frames 200413 --output NUL "G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.avs"
--[Information] [9/02/2019 9:10:09] Process started
--[Information] [9/02/2019 9:10:09] Standard output stream
--[Information] [9/02/2019 9:10:09] Standard error stream
---[Information] [9/02/2019 9:10:10] avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
---[Information] [9/02/2019 9:10:10] x264 [info]: using SAR=1/1
---[Information] [9/02/2019 9:10:10] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
---[Information] [9/02/2019 9:10:10] x264 [info]: profile Main, level 4.1, 4:2:0, 8-bit
---[Information] [9/02/2019 9:27:26] x264 [info]: frame I:2477 Avg QP: 8.36 size:233988
---[Information] [9/02/2019 9:27:26] x264 [info]: frame P:56760 Avg QP:11.26 size:105195
---[Information] [9/02/2019 9:27:26] x264 [info]: frame B:141176 Avg QP:14.30 size: 42437
---[Information] [9/02/2019 9:27:26] x264 [info]: consecutive B-frames: 4.6% 2.9% 4.5% 88.0%
---[Information] [9/02/2019 9:27:26] x264 [info]: mb I I16..4: 48.6% 0.0% 51.4%
---[Information] [9/02/2019 9:27:26] x264 [info]: mb P I16..4: 30.9% 0.0% 0.0% P16..4: 42.2% 0.0% 0.0% 0.0% 0.0% skip:26.9%
---[Information] [9/02/2019 9:27:26] x264 [info]: mb B I16..4: 9.8% 0.0% 0.0% B16..8: 32.1% 0.0% 0.0% direct:18.8% skip:39.4% L0:34.6% L1:33.6% BI:31.8%
---[Information] [9/02/2019 9:27:26] x264 [info]: final ratefactor: 13.83
---[Information] [9/02/2019 9:27:26] x264 [info]: direct mvs spatial:99.7% temporal:0.3%
---[Information] [9/02/2019 9:27:26] x264 [info]: coded y,uvDC,uvAC intra: 79.3% 66.7% 45.7% inter: 29.6% 25.7% 3.4%
---[Information] [9/02/2019 9:27:26] x264 [info]: i16 v,h,dc,p: 32% 16% 34% 19%
---[Information] [9/02/2019 9:27:26] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 19% 15% 7% 7% 8% 6% 7% 7%
---[Information] [9/02/2019 9:27:26] x264 [info]: i8c dc,h,v,p: 54% 18% 23% 5%
---[Information] [9/02/2019 9:27:26] x264 [info]: Weighted P-Frames: Y:1.2% UV:0.7%
---[Information] [9/02/2019 9:27:26] x264 [info]: kb/s:12003.01
---[Information] [9/02/2019 9:27:26] encoded 200413 frames, 193.29 fps, 12003.01 kb/s
--[Information] [9/02/2019 9:27:26] Postprocessing
--[Information] [9/02/2019 9:27:26] Job completed
-[Information] Log for job4 (video, NIET_SCHIETEN_00000.avs -> 00000_Video.264)
--[Information] [9/02/2019 9:27:26] Started handling job
--[Information] [9/02/2019 9:27:26] Preprocessing
--[Information] [9/02/2019 9:27:26] AviSynth input script
---[NoImage] global MeGUI_darx = 16
---[NoImage] global MeGUI_dary = 9
---[NoImage] LoadPlugin("C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\dgindexnv\DGDecodeNV.dll")
---[NoImage] DGSource("G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.dgi")
---[NoImage] ConvertBits(8)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] [9/02/2019 9:27:27] resolution: 1920x1080
--[Information] [9/02/2019 9:27:27] frame rate: 24000/1001
--[Information] [9/02/2019 9:27:27] frames: 200413
--[Information] [9/02/2019 9:27:27] length: 02:19:18.892
--[Information] [9/02/2019 9:27:27] aspect ratio (avs): 16:9 (1.778)
--[Information] [9/02/2019 9:27:27] color space: YV12
--[Information] [9/02/2019 9:27:27] Job command line: "C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\x264\x264.exe" --level 4.1 --preset slow --pass 2 --bitrate 12073 --stats "G:\BDRB_Work\btc4rech.pqp\00000_Video.stats" --keyint 240 --min-keyint 24 --vbv-bufsize 50000 --vbv-maxrate 50000 --me umh --sar 1:1 --frames 200413 --output "G:\BDRB_Work\btc4rech.pqp\00000_Video.264" "G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.avs"
--[Information] [9/02/2019 9:27:28] Process started
--[Information] [9/02/2019 9:27:28] Standard output stream
--[Information] [9/02/2019 9:27:28] Standard error stream
---[Information] [9/02/2019 9:27:34] avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
---[Information] [9/02/2019 9:27:34] x264 [info]: using SAR=1/1
---[Information] [9/02/2019 9:27:34] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
---[Information] [9/02/2019 9:27:34] x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
---[Information] [9/02/2019 11:00:56] x264 [info]: frame I:2477 Avg QP: 9.23 size:234026
---[Information] [9/02/2019 11:00:56] x264 [info]: frame P:56760 Avg QP:12.73 size:104594
---[Information] [9/02/2019 11:00:56] x264 [info]: frame B:141176 Avg QP:14.42 size: 43166
---[Information] [9/02/2019 11:00:56] x264 [info]: consecutive B-frames: 4.6% 2.9% 4.5% 88.0%
---[Information] [9/02/2019 11:00:56] x264 [info]: mb I I16..4: 29.1% 55.6% 15.3%
---[Information] [9/02/2019 11:00:56] x264 [info]: mb P I16..4: 2.8% 18.8% 2.2% P16..4: 23.6% 16.8% 8.1% 0.0% 0.0% skip:27.7%
---[Information] [9/02/2019 11:00:56] x264 [info]: mb B I16..4: 0.7% 3.6% 0.5% B16..8: 31.9% 10.4% 2.3% direct: 9.8% skip:40.7% L0:45.7% L1:38.9% BI:15.4%
---[Information] [9/02/2019 11:00:56] x264 [info]: 8x8 transform intra:75.0% inter:51.6%
---[Information] [9/02/2019 11:00:56] x264 [info]: direct mvs spatial:96.7% temporal:3.3%
---[Information] [9/02/2019 11:00:56] x264 [info]: coded y,uvDC,uvAC intra: 80.6% 76.3% 58.5% inter: 29.8% 31.3% 6.2%
---[Information] [9/02/2019 11:00:56] x264 [info]: i16 v,h,dc,p: 41% 15% 19% 25%
---[Information] [9/02/2019 11:00:56] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 12% 24% 7% 8% 9% 7% 9% 8%
---[Information] [9/02/2019 11:00:56] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 17% 19% 6% 8% 8% 7% 6% 6%
---[Information] [9/02/2019 11:00:56] x264 [info]: i8c dc,h,v,p: 53% 20% 20% 7%
---[Information] [9/02/2019 11:00:56] x264 [info]: Weighted P-Frames: Y:1.3% UV:0.7%
---[Information] [9/02/2019 11:00:56] x264 [info]: ref P L0: 54.2% 9.4% 24.5% 11.4% 0.5% 0.0%
---[Information] [9/02/2019 11:00:56] x264 [info]: ref B L0: 84.8% 12.0% 3.3%
---[Information] [9/02/2019 11:00:56] x264 [info]: ref B L1: 94.7% 5.3%
---[Information] [9/02/2019 11:00:56] x264 [info]: kb/s:12068.95
---[Information] [9/02/2019 11:00:56] encoded 200413 frames, 35.78 fps, 12068.94 kb/s
--[Information] [9/02/2019 11:00:56] Final statistics
---[Information] [9/02/2019 11:00:56] Video Bitrate Desired: 12073 kbit/s
---[Information] [9/02/2019 11:00:56] Video Bitrate Obtained (approximate): 12068 kbit/s
--[Information] [9/02/2019 11:00:56] MediaInfo
---[Information] File: G:\BDRB_Work\btc4rech.pqp\00000_Video.264
---[Information] General
----[Information] Format: AVC
----[Information] FileSize: 12610375979
---[Information] Video
----[Information] Format: AVC
----[Information] FormatInfo: Advanced Video Codec
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Bits Depth: 8
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] PixelAspectRatio: 1.000
--[Information] [9/02/2019 11:00:56] Postprocessing
--[Information] [9/02/2019 11:00:56] Job completed
-[Information] Log for job5 (mux, 00000_Video.264 -> NIET_SCHIETEN_00000.mkv)
--[Information] [9/02/2019 11:00:56] Started handling job
--[Information] [9/02/2019 11:00:56] Preprocessing
--[Information] [9/02/2019 11:00:56] MediaInfo
---[Information] File: G:\BDRB_Work\btc4rech.pqp\00000_Video.264
---[Information] General
----[Information] Format: AVC
----[Information] FileSize: 12610375979
---[Information] Video
----[Information] Format: AVC
----[Information] FormatInfo: Advanced Video Codec
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Bits Depth: 8
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] PixelAspectRatio: 1.000
--[Information] [9/02/2019 11:00:56] MediaInfo
---[Information] File: G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch_audio.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FileSize: 668042240
----[Information] PlayTime: 02:19:10.528
---[Information] Audio
----[Information] Format: AC-3
----[Information] FormatInfo: Audio Coding 3
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] [9/02/2019 11:00:56] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [9/02/2019 11:00:56] MediaInfo
---[Information] File: G:\BDRB_Work\btc4rech.pqp\00000 - [1][1] Dutch.sup
---[Information] General
----[Information] FileSize: 1368266
--[Information] [9/02/2019 11:00:56] MediaInfo
---[Information] File: G:\BDRB_Work\btc4rech.pqp\00000 - [2][0] Dutch.sup
---[Information] General
----[Information] FileSize: 30482138

Glarioo
9th February 2019, 11:49
Log Part 3

--[Information] [9/02/2019 11:00:57] Job command line: "C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\mkvmerge\mkvmerge.exe" --output "G:\04_FILMS\NIET_SCHIETEN_00000.mkv" --engage keep_bitstream_ar_info --default-duration 0:24000/1001fps --video-tracks 0 --no-audio --no-subtitles --no-chapters "G:\BDRB_Work\btc4rech.pqp\00000_Video.264" --language 0:dut --audio-tracks 0 --no-chapters --no-video --no-subtitles "G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch_audio.ac3" --language 0:dut --track-name "0:PGS-Origineel" --default-track 0:yes --forced-track 0:no --subtitle-tracks 0 --no-video --no-audio "G:\BDRB_Work\btc4rech.pqp\00000 - [1][1] Dutch.sup" --language 0:dut --default-track 0:no --forced-track 0:no --subtitle-tracks 0 --no-video --no-audio "G:\BDRB_Work\btc4rech.pqp\00000 - [2][0] Dutch.sup" --chapters "G:\04_FILMS\NIET_SCHIETEN_00000_chptmp.txt" --engage no_cue_duration --engage no_cue_relative_position --ui-language en
--[Information] [9/02/2019 11:00:57] Process started
--[Information] [9/02/2019 11:00:57] Standard output stream
---[Information] [9/02/2019 11:00:57] mkvmerge v30.1.0 ('Forever And More') 64-bit
---[Information] [9/02/2019 11:00:57] 'G:\BDRB_Work\btc4rech.pqp\00000_Video.264': Using the demultiplexer for the format 'AVC/h.264'.
---[Information] [9/02/2019 11:00:57] 'G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch_audio.ac3': Using the demultiplexer for the format 'AC-3'.
---[Information] [9/02/2019 11:00:57] 'G:\BDRB_Work\btc4rech.pqp\00000 - [1][1] Dutch.sup': Using the demultiplexer for the format 'PGSSUP'.
---[Information] [9/02/2019 11:00:57] 'G:\BDRB_Work\btc4rech.pqp\00000 - [2][0] Dutch.sup': Using the demultiplexer for the format 'PGSSUP'.
---[Information] [9/02/2019 11:00:57] 'G:\BDRB_Work\btc4rech.pqp\00000_Video.264' track 0: Using the output module for the format 'AVC/h.264 (unframed)'.
---[Information] [9/02/2019 11:00:57] 'G:\BDRB_Work\btc4rech.pqp\00000 - [1][0] Dutch_audio.ac3' track 0: Using the output module for the format 'AC-3'.
---[Information] [9/02/2019 11:00:57] 'G:\BDRB_Work\btc4rech.pqp\00000 - [1][1] Dutch.sup' track 0: Using the output module for the format 'HDMV PGS'.
---[Information] [9/02/2019 11:00:57] 'G:\BDRB_Work\btc4rech.pqp\00000 - [2][0] Dutch.sup' track 0: Using the output module for the format 'HDMV PGS'.
---[Information] [9/02/2019 11:00:57] The file 'G:\04_FILMS\NIET_SCHIETEN_00000.mkv' has been opened for writing.
---[Information] [9/02/2019 11:00:57] 'G:\BDRB_Work\btc4rech.pqp\00000_Video.264' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 1920/1080.
---[Information] [9/02/2019 11:02:22] The cue entries (the index) are being written...
---[Information] [9/02/2019 11:02:24] Multiplexing took 1 minute 27 seconds.
--[Information] [9/02/2019 11:00:57] Standard error stream
--[Information] [9/02/2019 11:02:24] MediaInfo
---[Information] File: G:\04_FILMS\NIET_SCHIETEN_00000.mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FileSize: 13294417175
----[Information] PlayTime: 02:19:18.892
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] CodecID: V_MPEG4/ISO/AVC
----[Information] Format: AVC
----[Information] FormatInfo: Advanced Video Codec
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 200413
----[Information] FrameRate: 23.976
----[Information] FrameRateMode: CFR
----[Information] FrameRateModeString: Constant
----[Information] Duration: 02:19:18.892
----[Information] ScanType: Progressive
----[Information] Bits Depth: 8
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] PixelAspectRatio: 1.000
----[Information] Delay: 0
----[Information] Default: Yes
----[Information] Forced: No
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] CodecID: A_AC3
----[Information] Format: AC-3
----[Information] FormatInfo: Audio Coding 3
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 0
----[Information] Language: nl
----[Information] LanguageString: Dutch
----[Information] Default: Yes
----[Information] Forced: No
---[Information] Text
----[Information] ID: 3
----[Information] StreamOrder: 2
----[Information] CodecID: S_HDMV/PGS
----[Information] CodecIDInfo: Picture based subtitle format used on BDs/HD-DVDs
----[Information] Format: PGS
----[Information] Title: PGS-Origineel
----[Information] Language: nl
----[Information] LanguageString: Dutch
----[Information] Default: Yes
----[Information] Forced: No
---[Information] Text
----[Information] ID: 4
----[Information] StreamOrder: 3
----[Information] CodecID: S_HDMV/PGS
----[Information] CodecIDInfo: Picture based subtitle format used on BDs/HD-DVDs
----[Information] Format: PGS
----[Information] Language: nl
----[Information] LanguageString: Dutch
----[Information] Default: No
----[Information] Forced: No
---[Information] Chapters
----[Information] 00:00:00.000: en:Chapter 1
----[Information] 00:13:27.890: en:Chapter 2
----[Information] 00:34:47.626: en:Chapter 3
----[Information] 00:55:19.732: en:Chapter 4
----[Information] 01:15:59.721: en:Chapter 5
----[Information] 01:36:10.806: en:Chapter 6
----[Information] 01:56:48.001: en:Chapter 7
----[Information] 02:15:23.406: en:Chapter 8
----[Information] 02:19:18.850: en:Chapter 9
--[Information] [9/02/2019 11:02:25] Postprocessing
--[Information] [9/02/2019 11:02:25] Job completed
-[Information] Log for job6 (cleanup, NIET_SCHIETEN_00000.mkv -> )
--[Information] [9/02/2019 11:02:25] Started handling job
--[Information] [9/02/2019 11:02:25] Preprocessing
--[Information] [9/02/2019 11:02:25] Delete Intermediate Files option set: False
--[Information] [9/02/2019 11:02:26] Postprocessing
--[Information] [9/02/2019 11:02:26] Job completed
-[Information] [9/02/2019 11:02:56] Shutdown initiated

sneaker_ger
9th February 2019, 11:51
On the top it says source is 24.000 fps. But near bottom it says 24000/1001 fps.

Glarioo
9th February 2019, 11:54
After a quick test with One Click Encoder(I always use this).
The problem occurs when I use Video Imput Select Folder (Blu Ray). No problem so far with Video Imput Select File (MKV).

Glarioo
9th February 2019, 12:05
On the top it says source is 24.000 fps. But near bottom it says 24000/1001 fps.

It is a 24.000 fps movie.

pommesmatte
9th February 2019, 12:34
It is a 24.000 fps movie.

I also noticed, that 24.0 fps movies are not properly handled. But changing fps while muxing with mkvmerge is my workaround.

sneaker_ger
9th February 2019, 12:39
So the problem is in DGDecNV? Maybe you can ask the author if fps detection can be improved.

Workaround would be to add
AssumeFPS(24, 1, false)
to the end of the script.

Glarioo
9th February 2019, 14:17
From the same Bluray folder, ripped with AnyDVD, I made an mkv file with MakeMKV. Audio is in sync and 24fps.
Problem is only there with a 24 fps movie ripped to Bluray folder.
Workaround: rip to .mkv instead to folder?

videoh
9th February 2019, 14:19
With MKVs there can be the case where the elementary stream specifies one frame rate and the container specifies a different one. The most recent DGDecNV should prefer the container rate for MKVs. If that is not happening, then please link me to an MKV that behaves that way. For an M2TS there is only the elementary stream value for DGDecNV to know. If you have an M2TS that you claim is 24 but is being detected as 23.976, then please link me to an M2TS that behaves that way.

Also, there is a bug in cropping in DGDecNV 165. I will slipstream a fix for that later today.

Glarioo
9th February 2019, 14:20
So the problem is in DGDecNV? Maybe you can ask the author if fps detection can be improved.

Workaround would be to add
AssumeFPS(24, 1, false)
to the end of the script.

Where can I find that script file?

Glarioo
9th February 2019, 14:29
With MKVs there can be the case where the elementary stream specifies one frame rate and the container specifies a different one. The most recent DGDecNV should prefer the container rate for MKVs. If that is not happening, then please link me to an MKV that behaves that way. For an M2TS there is only the elementary stream value for DGDecNV to know. If you have an M2TS that you claim is 24 but is being detected as 23.976, then please link me to an M2TS that behaves that way.

Also, there is a bug in cropping in DGDecNV 165. I will slipstream a fix for that later today.

First film with a sync problem is "Niet Schieten", The second "Piercing". Both 24fps.
Movies ripped to folder and than through MeGUI = audio out of sync.
Make an MKV from the same folders with MakeMKV and than through MeGUI = audio in sync.

https://www.imdb.com/title/tt7534314/
https://www.imdb.com/title/tt6516314/

pommesmatte
9th February 2019, 15:15
Last Movies for me were "Hostiles" and "Keepers".
MKV with videostream demuxed reported 24.000 fps vie MediaInfo yet DGIndexNV detects 24000/1001.

videoh
9th February 2019, 18:06
I can't help you without the stream samples I asked for. In any case, sync is not controlled by DGDecNV, it's your process or your third-party app.

Glarioo
10th February 2019, 09:21
Deleted my old MeGUI folder and re-downloaded MeGUI. Audio out of sync with 24fps bluray folder is still there.

Glarioo
10th February 2019, 09:31
I can't help you without the stream samples I asked for. In any case, sync is not controlled by DGDecNV, it's your process or your third-party app.

I wish I knew how to do that.
That stream is 21,7GB.

[MODERATOR EDIT]
Your mediainfo image was deleted because is usseless.
We already know than MediaInfo (in MeGUI log) detect 24 fps, we need the full mkv to help videoh.
Of course you can't upload it because size and copyrigth limitations.
See next post.

sneaker_ger
10th February 2019, 12:14
Do you still have the intermediate "G:\BDRB_Work\btc4rech.pqp\00000.mkv" file MeGUI created? Open that in MKVToolNix GUI, go to "Output" tab, "Split mode": "by parts based on timestamps" and set "-01:00" (without quotes). You can deactivate all tracks except video. Then click "Start Multiplexing" on the bottom. Upload the created file to e.g. sendspace.com (https://www.sendspace.com/) and post the link here.

pommesmatte
10th February 2019, 12:43
As I'm experiencing the same problem, here is the first minute of the videostream from "Feinde - Hostiles" demuxed with eac3to.

https://www.sendspace.com/file/4051vp

tebasuna51
10th February 2019, 12:53
The intermediate file 00000.mkv was created by eac3to with:

2: h264/AVC, 1080p24 (16:9)
...
Added fps value (24) to MKV header.

The .dgi seems still ok.
File: G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.dgi
Indexed file: G:\BDRB_Work\btc4rech.pqp\00000.mkv
General
Format: Matroska
FileSize: 18268517337
PlayTime: 02:19:10.542
Video
...
FrameCount: 200413
FrameRate: 24.000

But the problem is in:
Log for job3 (oneclick, 00000.mkv -> )
...
Generated AviSynth script
global MeGUI_darx = 16
global MeGUI_dary = 9
LoadPlugin("C:\Users\Gebruiker\Documents\Blu Ray\MeGUI-2896-64\tools\dgindexnv\DGDecodeNV.dll")
DGSource("G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.dgi")
ConvertBits(8)
...
frame rate: 24000/1001
frames: 200413
length: 02:19:18.892

How the NIET_SCHIETEN_00000.dgi readed before like 24.000 now is readed like 24000/1001

sneaker_ger
10th February 2019, 12:58
The .dgi seems still ok.
File: G:\BDRB_Work\btc4rech.pqp\NIET_SCHIETEN_00000.dgi
Indexed file: G:\BDRB_Work\btc4rech.pqp\00000.mkv
General
Format: Matroska
FileSize: 18268517337
PlayTime: 02:19:10.542
Video
...
FrameCount: 200413
FrameRate: 24.000
But that's MeGUI reading the mkv via MediaInfo, isn't it? Not the dgi. So to me it still looks like DGDecNV is reading the framerate wrong.

Glarioo
10th February 2019, 13:19
Niet Schieten m2ts file created with CloneBD (uncompressed) https://www.sendspace.com/file/ma3gub

Maybe it has something to do with eac3to. MeGui does use this for bluray folder and not for mkv. With mkv's @ 24fps there is no problem.

tebasuna51
10th February 2019, 13:29
But that's MeGUI reading the mkv via MediaInfo, isn't it? Not the dgi. So to me it still looks like DGDecNV is reading the framerate wrong.

You are rigth.

With the pommesmatte sample all soft (eac3to, MediaInfo, MkvInfo) show fps 24 but the .dgi show 24000 / 1001
The same with Glarioo sample converted to mkv by eac3to or MkvToolNix (is not a problem of eac3to, Haali muxer).
But the Glarioo sample m2ts indexed by DGDecNV show the correct fps 24 / 1

sneaker_ger
10th February 2019, 13:41
@tebasuna51
I don't have DGDecNV. Can you check what it says for the following sample: https://www.sendspace.com/file/g22pnh

sneaker_ger
10th February 2019, 13:47
As I'm experiencing the same problem, here is the first minute of the videostream from "Feinde - Hostiles" demuxed with eac3to.

https://www.sendspace.com/file/4051vp
Can you also upload the same part but from the m2ts cut with DGSplit (http://rationalqm.us/dgsplit/dgsplit12.zip)? (first 10 MB is enough).

tebasuna51
10th February 2019, 13:49
Works fine:
DGAVCIndexFileNV22 DGIndexNV 2053.0.0.165 X64
D:\tmp\24.000fpsSample.mkv 82502992

DEVICE 0
DECODE_MODES 0,0,0,0,0
STREAM 2 0
RANGE 0 0 18446744073709551615 0
DEMUX
DEPTH 8
ASPECT 1 1
COLORIMETRY 2 2 2

RPS 0
IDR 0
0:FRM 7 0 0
...
1439:FRM 5 1439 0
SIZ 1920 x 1088
DISP 0,1920,0,1080
FPS 24000 / 1000
CODED 1440
PLAYBACK 1440
0.00% FILM
ORDER 0

sneaker_ger
10th February 2019, 13:51
Ok, thx. It's basically the same sample but muxed with mkvmerge. Somehow eac3to doesn't write all SPS VUI parameters into mkv CodecPrivate. And the SPS looks strange anyways. I'm wondering if this is also in the original m2ts.

But either way it shouldn't result in detection as 23.976 fps.

tebasuna51
10th February 2019, 14:16
The difference between 24.000fpsSample.mkv in mkv header is the:

Default duration (number of nanoseconds per frame) : 41666666 (24.000000384000006144000098304002 fps)

In mkv created by eac3to or MkvToolNix from the m2ts, or in pommesmatte sample:

Default duration (number of nanoseconds per frame) : 41666667 (23.999999808000001535999987712 fps)

It can be the problem videoh?

sneaker_ger
10th February 2019, 14:19
Edit the field with MKVToolNix Header Editor to find out.

tebasuna51
10th February 2019, 14:28
Yes, changing Default duration (number of nanoseconds per frame) to 41666666 the .dgi now show FPS 24000 / 1000

videoh
10th February 2019, 15:55
Thank you for the streams and analysis, guys. The problem is indeed in DGIndexNV. It's caused by the frame rate normalization code I added to be compatible with Vapoursynth. It's a simple fix already tested locally. I will release a slipstream later today.

videoh
10th February 2019, 16:31
Fix was slipstreamed (2053.0.0.167).

tebasuna51
10th February 2019, 19:24
Thanks videoh, now 2053.0.0.167 show FPS 24000 / 1000

pommesmatte
10th February 2019, 21:27
Fix was slipstreamed (2053.0.0.167).

Awesome. Thanks for the quick fix.

Glarioo
10th February 2019, 21:47
Thank you videoh

videoh
10th February 2019, 22:30
Great to hear, Gentlemen, thank you. Onward and upward!

Zathor
16th February 2019, 12:03
Thanks all, I have uploaded the 168 build to the update server.

dREV
30th July 2019, 04:36
Hello. I believe this is the correct place to post this. Please correct me if not. I am trying to slowly transition from MeGUI x86 to MeGUI x64 but the final hurdle for me to fully venture to this is the high bit depth implementation. I am inquiring on a method to bypass having to use the command line --y4m as I am also using --profile main444-X and if I read correctly it can't handle high bit depth yet?

Is there a way to do this using the latest build which would be as of this writing, ver 2896?

Zathor provided a gui file from this post https://forum.doom9.org/showthread.php?p=1843065#post1843065 indicated it to be version 2855. This together with changing the pipe to the one provided here https://astrataro.wordpress.com/2014/08/28/avs4x26x-0-10-0/ and renaming it to that contained in MeGUI's x265 folder was able to make it work using the lsb hack --input-depth 16

For other noobies who are having a similar issue as I who depend on this program: :helpful:
http://megui.org/auto/megui-core-2855-32.7z
http://megui.org/auto/megui-core-2855-64.7z

If there's another method I am not aware of or I could be pointed towards that thread with actual examples to go by as x265 fails to start the encode process altogether saying "y4m: frame header missing".

I also want to add if it's possible to get around this but still using the One-Click menu as this is not only my primary but also my only method of encoding any video. I'm fully ignorant using the other stuff on MeGUI and other GUI programs.

I'm ok with simply staying with MeGUI's build 2855 64 bit as I been using MeGUI version 2525 32 bit for years simply as I can still use the raw .h264 files which I need. Dunno why it was ever taken out. If I can be clued in as why this file format no longer works past version 2525 builds if no one minds sharing this info with me.

tormento
19th April 2020, 09:28
Is there a reason for MeGUI_x64 not being updated for components?

stax76
19th April 2020, 14:31
@tormento

For me the reason why I never supported both x86 and x64, is that it's simply too much work and room for error. And there are now two frame servers that both needs to be supported too, dual interfaces make that much more easy. Only reason why updating tools works well for staxrip is great help of many people with notifications, links and builds. Selur and Atak also only support one architecture I think.

Zathor
23rd May 2020, 10:06
Is there a reason for MeGUI_x64 not being updated for components?

Whenever I update one DLL I always check if it is available in 32 and 64 bit - if available both will be updated. What do you miss?

tormento
23rd May 2020, 10:22
Whenever I update one DLL I always check if it is available in 32 and 64 bit - if available both will be updated. What do you miss?
AVS plugins, tools, etc.

They are way behind the current releases, perhaps on x86 version too.

From this major version of Windows 10 on, Microsoft stopped allowing OEM to install Windows 10 x86. Perhaps it's time to unplug XP once for all.

Zathor
25th May 2020, 17:56
I am not able to search myself anymore. Please check here and create a feature request ideally with a link to the new binaries:
https://forum.doom9.org/showpost.php?p=1913093&postcount=6976

The files I do use are recent (except mediainfo and avs+ which I cannot update currently).

tebasuna51
23rd June 2020, 12:10
Is know than MeGUI 64 can't do the same audio downmix 7.1 -> 5.1 because the plugin Audiolimiter.dll don't have a 64 bits version (and the source code is unknow)

I make some test with the soxfilter, 32 bits by sh0dan (https://forum.doom9.org/showthread.php?p=758905#post758905), compiled to 64 bits by MeteorRain (https://forum.doom9.org/showthread.php?p=1916449#post1916449) and I can obtain the same output with this downmix:

# As AudioLimiter.dll is not available is replaced by SoxFilter
# 7.1 Channels L,R,C,LFE,BL,BR,SL,SR -> standard 5.1
function c71_c51(clip a)
{
front = GetChannel(a, 1, 2, 3, 4)
back = GetChannel(a, 5, 6)
side = GetChannel(a, 7, 8)
mix = MixAudio(back, side, 0.5, 0.5).ConvertAudioTo32bit()
mix = mix.SoxFilter("compand 0.1,0.1 -90,-84,-16,-10,-0.1,-3 0.0 -90 0.0").ConvertAudioToFloat()
return MergeChannels(front, mix)
}
# 6.1 Channels L,R,C,LFE,BC,SL,SR -> standard 5.1
function c61_c51(clip a)
{
front = GetChannel(a, 1, 2, 3, 4)
bcent = GetChannel(a, 5).Amplify(0.7071)
back = MergeChannels(bcent, bcent)
side = GetChannel(a, 6, 7)
mix = MixAudio(back, side, 0.5, 0.5).ConvertAudioTo32bit()
mix = mix.SoxFilter("compand 0.1,0.1 -90,-84,-16,-10,-0.1,-3 0.0 -90 0.0").ConvertAudioToFloat()
return MergeChannels(front, mix)
}

We need add the new soxfilter plugin at ...MeGUI64\tools\avs\plugins

EDIT: seems soxfilter work fast in 32 bits int, and MixAudio need 16 or float, then to improve performance some changes added.

simple_simon
26th October 2020, 07:45
Can anyone tell me how to use MeGUI with the internal avisynth+ & still be able to use avisynth filters not included in the MEGui filters package? I've tried simply adding them to the .\tools\avisynth_plugin\ folder but they aren't being seen. I don't know why that wouldn't work if it's already looking there for the included filters. Also tried adding a registry entry

[HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth]
"plugindir2_5"="F:\\User\\Applications\\Video Tools\\MeGui x64\\tools\\Added Plugins"

but that's trying to autoload all .avsi files, even when they aren't called in the script so that won't work either.

simple_simon
23rd November 2020, 01:21
Is know than MeGUI 64 can't do the same audio downmix 7.1 -> 5.1 because the plugin Audiolimiter.dll don't have a 64 bits version (and the source code is unknow)

I make some test with the soxfilter, 32 bits by sh0dan (https://forum.doom9.org/showthread.php?p=758905#post758905), compiled to 64 bits by MeteorRain (https://forum.doom9.org/showthread.php?p=1916449#post1916449) and I can obtain the same output with this downmix:

# As AudioLimiter.dll is not available is replaced by SoxFilter
# 7.1 Channels L,R,C,LFE,BL,BR,SL,SR -> standard 5.1
function c71_c51(clip a)
{
front = GetChannel(a, 1, 2, 3, 4)
back = GetChannel(a, 5, 6)
side = GetChannel(a, 7, 8)
mix = MixAudio(back, side, 0.5, 0.5).ConvertAudioTo32bit()
mix = mix.SoxFilter("compand 0.1,0.1 -90,-84,-16,-10,-0.1,-3 0.0 -90 0.0").ConvertAudioToFloat()
return MergeChannels(front, mix)
}
# 6.1 Channels L,R,C,LFE,BC,SL,SR -> standard 5.1
function c61_c51(clip a)
{
front = GetChannel(a, 1, 2, 3, 4)
bcent = GetChannel(a, 5).Amplify(0.7071)
back = MergeChannels(bcent, bcent)
side = GetChannel(a, 6, 7)
mix = MixAudio(back, side, 0.5, 0.5).ConvertAudioTo32bit()
mix = mix.SoxFilter("compand 0.1,0.1 -90,-84,-16,-10,-0.1,-3 0.0 -90 0.0").ConvertAudioToFloat()
return MergeChannels(front, mix)
}

We need add the new soxfilter plugin at ...MeGUI64\tools\avs\plugins

EDIT: seems soxfilter work fast in 32 bits int, and MixAudio need 16 or float, then to improve performance some changes added.

I second this motion! I didn't even know AudioLimiter wasn't being implemented this whole time in the x64 version. Is there any way to automate this with profiles or does the avisynth script need to be edited manually every time?

tebasuna51
24th November 2020, 01:07
Is there any way to automate this with profiles or does the avisynth script need to be edited manually every time?
Only Zathor can implement that, but I don't know if he is on-line.

simple_simon
26th November 2020, 05:53
Only Zathor can implement that, but I don't know if he is on-line.

What's the best working alternate program for completing these kind of conversions in the meantime?

tebasuna51
26th November 2020, 11:05
@simple_simon
You can use ffmpeg with complex filters explained here (https://forum.doom9.org/showthread.php?p=1920201#post1920201) and maybe with the help of my UsEac3to GUI explained also in the Readme here (https://forum.doom9.org/showthread.php?t=145574)
[EDIT]: UsEac3To method (https://forum.doom9.org/showthread.php?p=1929204#post1929204)

The source can be a container, the output can be any ffmpeg output format and is fast than AviSynth/Sox.

LigH
20th January 2021, 14:46
Update error for FFMS reported in the VideoHelp forum (https://forum.videohelp.com/threads/400382-FFMS-update-problem-for-megui); the screenshot shows that it tries to download the x64 version of FFMS, so I guess it is a problem specific to the x64 version of MeGUI. The x86 version was downloaded successfully on my PC.

Kurtnoise
21st January 2021, 06:55
https://forum.doom9.org/showthread.php?p=1933983#post1933983

tormento
2nd June 2021, 10:33
It's ages it doesn't get any update, neither for the main program nor for the plugins.

Should I consider the project gone for good?