Log in

View Full Version : MeGUI: General Questions and Troubleshooting Thread


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

imsrk48
25th April 2019, 18:41
@imsrk48 - do you possibly confuse encoders with decoders?

MeGUI offers you FFMS2 (or L-SMASH Works, alternatively) per default in its "File Indexer" during the source selection. DirectShow decoding is disabled in recent versions, you would have to enable it manually.
_

@LouieChuckyMerry: No guarantee, but batch audio processing with AviSynth base might be the domain of BeHappy, instead of MeGUI.I don't know Sir. I have tried ConvertToYV12 but after this encoding speed is too slow showing 40 minutes in first video pass.

Please Suggest me best method. I bag You.[emoji120]

Really urgent Sir.

I want to encode a video. Really urgent or important.

StainlessS
25th April 2019, 20:03
So far as I know, MeGUI REQUIRES YV12 final colorspace to work at all, and if already in YV12, then ConvertToYV12 does nothing.
So, dont have a clue as to why encoding speed may be slow.
When the target format is the same as the source format, the original clip will be returned unchanged, except for the case of ConvertToYV12 where the ChromaInPlacement and ChromaOutPlacement parameters are different

http://avisynth.nl/index.php/Convert

Again, suggest that you learn at least basic Avisynth scripting, then you might have more idea what is wrong when problems show up.
If you add eg


# some script stuff
...

#ConvertToYV12 # comment out for showing info, then remove when not showing info
Info

And set in options to "Show video preview after avisynth script selection", and see what Info shows you.
What is the colorspace shown by info ?

imsrk48
26th April 2019, 04:56
So far as I know, MeGUI REQUIRES YV12 final colorspace to work at all, and if already in YV12, then ConvertToYV12 does nothing.
So, dont have a clue as to why encoding speed may be slow.

http://avisynth.nl/index.php/Convert

Again, suggest that you learn at least basic Avisynth scripting, then you might have more idea what is wrong when problems show up.
If you add eg


# some script stuff
...

#ConvertToYV12 # comment out for showing info, then remove when not showing info
Info

And set in options to "Show video preview after avisynth script selection", and see what Info shows you.
What is the colorspace shown by info ?Video Colorspace is RGB32.

StainlessS
26th April 2019, 09:36
I'm using a slightly older MeGUI (dont have any installed currently), but it always used to ask if it should add "ConvertToYV12" at end of script when not already YV12
(maybe other planar YUV worked, not sure).
Have no idea why RGB32 should encode faster than YV12, seems a bit crazy.
Maybe someone else has an idea what it does, why it is faster when RGB32.

sneaker_ger
26th April 2019, 09:40
Is it faster? It didn't work at all for him. Maybe the speed he gets is totally normal.

LigH
26th April 2019, 10:11
There are usually two groups of reasons why encoding feels "slow":

a) a lot of slow video filters (to evaluate this, we need to know the complete AviSynth script)
b) the video encoder set up with a very slow parameter set

In any case, inspecting an MeGUI log file of a rather successful encoding attempt would be most appreciated. Begging does not accelerate our help. Facts may do.

imsrk48
26th April 2019, 10:23
There are usually two groups of reasons why encoding feels "slow":

a) a lot of slow video filters (to evaluate this, we need to know the complete AviSynth script)
b) the video encoder set up with a very slow parameter set

In any case, inspecting an MeGUI log file of a rather successful encoding attempt would be most appreciated. Begging does not accelerate our help. Facts may do.Encoding Speed too Much slow when Input Video Have RGB32.

Here is My Complete Log File

https://mega.nz/#!EqpUAQAA!JOI...KHHZXrml-Ku9hqcoHY96eQewAkJGNE

StainlessS
26th April 2019, 12:05
From your MEGA posted link
https://i.postimg.cc/d3qQM3cD/decryption.jpg (https://postimages.org/)

EDIT: OK, think I figured it out, you maybe are using script in post #8808,which requires RGB32, and uses Overlay.
I'll mod the script for YV12.

But repost your log.

LouieChuckyMerry
26th April 2019, 18:54
@LouieChuckyMerry: No guarantee, but batch audio processing with AviSynth base might be the domain of BeHappy, instead of MeGUI.

Thank you for your answer. I tried BeHappy some years ago and found it well above my head, but I'll try again. Maybe I've actually learned something(s) since then ;-) .

tebasuna51
26th April 2019, 22:06
Thank you for your answer. I tried BeHappy some years ago and found it well above my head, but I'll try again. Maybe I've actually learned something(s) since then ;-) .

Sorry, but BeHappy can't do anything more than MeGUI in batch processing.

Maybe with wavi or avs2pipemod (command line exe's to convert .avs's to audio)

LigH
26th April 2019, 23:40
@imsrk48:

:logfile:
:logfile:
:logfile:
:logfile:
:logfile:

...

imsrk48
27th April 2019, 05:17
@imsrk48:



:logfile:

:logfile:

:logfile:

:logfile:

:logfile:



...Already Given check my mega.nz URL [emoji850]

imsrk48
27th April 2019, 05:19
From your MEGA posted link
https://i.postimg.cc/d3qQM3cD/decryption.jpg (https://postimages.org/)

EDIT: OK, think I figured it out, you maybe are using script in post #8808,which requires RGB32, and uses Overlay.
I'll mod the script for YV12.

But repost your log.I'm unable to send .log file as a document here.

imsrk48
27th April 2019, 05:21
From your MEGA posted link
https://i.postimg.cc/d3qQM3cD/decryption.jpg (https://postimages.org/)

EDIT: OK, think I figured it out, you maybe are using script in post #8808,which requires RGB32, and uses Overlay.
I'll mod the script for YV12.

But repost your log.Page URL
https://mega.nz/#!EqpUAQAA!JOIFRxZzX3fJdKHHZXrml-Ku9hqcoHY96eQewAkJGNE


Decrypt key

JOIFRxZzX3fJdKHHZXrml-Ku9hqcoHY96eQewAkJGNE

StainlessS
27th April 2019, 14:15
Odd, did not request any decrypt key, but downloaded ok now.

imsrk48
27th April 2019, 14:20
Odd, did not request any decrypt key, but downloaded ok now.Okay Sir

I have checked MeGUI also taking too much time in also YUV Colorspace. That is common

So maybe MeGUI have some bug after Updated I'm facing this issue. So Dear MeGUI's Team Please Take A Look[emoji120]

StainlessS
27th April 2019, 15:31
So this is relevant at end of log (video pass only)

-[Error] Log for job2 (video, HxH 008.avs -> )
--[Information] [24/4/2019 6:04:22 PM] Started handling job
--[Information] [24/4/2019 6:04:22 PM] Preprocessing
--[Information] [24/4/2019 6:04:22 PM] AviSynth input script

---[NoImage] LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avs\plugins\directshowsource.dll")
---[NoImage] DirectShowSource("D:\New folder\HxH 008.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
---[NoImage] ConvertBits(8)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] LanczosResize(1256,704) # Lanczos (Sharp)
---[NoImage] #denoise
---[NoImage] LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avisynth_plugin\VSFilter.dll")
---[NoImage] TextSub("D:\New folder\AnimeKaizoku_HxH_E008_x265_BD_720p.ass", 1)

--[Information] [24/4/2019 6:04:23 PM] resolution: 1256x704
--[Information] [24/4/2019 6:04:23 PM] frame rate: 24000/1001
--[Information] [24/4/2019 6:04:23 PM] frames: 33931
--[Information] [24/4/2019 6:04:23 PM] length: 00:23:35.205
--[Information] [24/4/2019 6:04:23 PM] aspect ratio (avs): 157:88 (1.784)
--[Information] [24/4/2019 6:04:23 PM] color space: RGB32
--[Error] [24/4/2019 6:04:23 PM] color space not supported
--[Information] [24/4/2019 6:04:23 PM] Job command line: "cmd.exe" /c ""D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\ffmpeg\ffmpeg.exe" -loglevel level+error
-i "D:\New folder\HxH 008.avs" -strict -1 -f yuv4mpegpipe - | "D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\x264\x264.exe" --pass 1 --bitrate 390
--stats "D:\New folder\HxH 008.stats" --keyint 240 --ref 6 --partitions all --stitchable --sar 1:1 --frames 33931 --output NUL --stdin y4m -"
--[Information] [24/4/2019 6:04:24 PM] Process started
--[Information] [24/4/2019 6:04:24 PM] Standard output stream
--[Error] [24/4/2019 6:04:24 PM] Standard error stream
---[Error] [24/4/2019 6:04:25 PM] [yuv4mpegpipe @ 07d2fac0] [error] ERROR: yuv4mpeg can only handle yuv444p, yuv422p, yuv420p, yuv411p and gray8 pixel formats. And using 'strict -1' also
yuv444p9, yuv422p9, yuv420p9, yuv444p10, yuv422p10, yuv420p10, yuv444p12, yuv422p12, yuv420p12, yuv444p14, yuv422p14, yuv420p14, yuv444p16, yuv422p16, yuv420p16, gray9, gray10,
gray12 and gray16 pixel formats. Use -pix_fmt to select one.
---[Information] [24/4/2019 6:04:25 PM] [error] Could not write header for output file #0 (incorrect codec parameters ?): I/O error
---[Information] [24/4/2019 6:04:25 PM] [error] Error initializing output stream 0:0 --
---[Error] [24/4/2019 6:04:25 PM] y4m [error]: bad sequence header magic
---[Error] [24/4/2019 6:04:25 PM] x264 [error]: could not open input file `-'
--[Error] [24/4/2019 6:04:26 PM] Process exits with error: 0xFFFFFFFF (-1)
--[Information] [24/4/2019 6:04:26 PM] Job completed


Script

LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avs\plugins\directshowsource.dll")
DirectShowSource("D:\New folder\HxH 008.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
ConvertBits(8)
#deinterlace
#crop
LanczosResize(1256,704) # Lanczos (Sharp)
#denoise
LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avisynth_plugin\VSFilter.dll")
TextSub("D:\New folder\AnimeKaizoku_HxH_E008_x265_BD_720p.ass", 1)



Error

---[Error] [24/4/2019 6:04:25 PM] [yuv4mpegpipe @ 07d2fac0] [error] ERROR: yuv4mpeg can only handle yuv444p, yuv422p, yuv420p, yuv411p and gray8 pixel formats. And using 'strict -1'
also yuv444p9, yuv422p9, yuv420p9, yuv444p10, yuv422p10, yuv420p10, yuv444p12, yuv422p12, yuv420p12, yuv444p14, yuv422p14, yuv420p14, yuv444p16, yuv422p16, yuv420p16, gray9, gray10,
gray12 and gray16 pixel formats. Use -pix_fmt to select one.


Either Add "ConvertToYV12" at end of script (I'm surprised if it does not ask to do this for you).

Or add DirectShowSource arg

DirectShowSource Docs
DirectShowSource (string filename, float "fps", bool "seek", bool "audio", bool "video", bool "convertfps", bool "seekzero", int "timeout", string "+pixel_type",int "framecount", string "logfile", int "logmask")

[EDIT: Looks like the '+' in above "+pixel_type" built-in v2.60std docs is wrong, should not be there. (is OK in WIKI docs)]

Script, added in blue

LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avs\plugins\directshowsource.dll")
DirectShowSource("D:\New folder\HxH 008.mkv", fps=23.976, audio=false, convertfps=true ,Pixel_Type="YV12" ).AssumeFPS(24000,1001)
ConvertBits(8)
#deinterlace
#crop
LanczosResize(1256,704) # Lanczos (Sharp)
#denoise
LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avisynth_plugin\VSFilter.dll")
TextSub("D:\New folder\AnimeKaizoku_HxH_E008_x265_BD_720p.ass", 1)


EDIT: Source seems to be 10 bit, dont know what this [Pixel_Type="YV12"] should be if not YV12, any suggestions for 10bit Planar ? (I never touch the stuff)
EDIT: Actually, the error tells what it can process, ie change above "YV12" to "yuv420p", (maybe directShowSource supports this also).

EDIT: Below from Wiki DirectShowSource docs, I dont know what would work if pixel_type="YV12" dont work,

string pixel_type = (auto)

Request a color format from the decompressor. Valid values are:

YV24, YV16, YV12, I420, NV12, YUY2, AYUV, Y41P, Y411, ARGB, RGB32, RGB24, YUV, YUVex, RGB, AUTO, FULL

By default, upstream DirectShow filters are free to bid all of their supported media types in the order of their choice. A few DirectShow filters get this wrong. The pixel_type argument limits the acceptable video stream subformats for the IPin negotiation. Note the graph builder may add a format converter to satisfy your request, so make sure the codec in use can actually decode to your chosen format. The MS format converter is just adequate. The "YUV" and "RGB" pseudo-types restrict the negotiation to all official supported YUV or RGB formats respectively. The "YUVex" also includes YV24, YV16, I420 and NV12 non-standard pixel types. The "AUTO" pseudo-type permits the negotiation to use all relevant official formats, YUV plus RGB. The "FULL" pseudo-type includes the non-standard pixel types in addition to those supported by "AUTO". The full order of preference is YV24, YV16, YV12, I420, NV12, YUY2, AYUV, Y41P, Y411, ARGB, RGB32, RGB24. Many DirectShow filters get this wrong, which is why it is not enabled by default. The option exists so you have enough control to encourage the maximum range of filters to serve your media. (See discussion.)

The non-standard pixel types use the following GUID's respectively :-

MEDIASUBTYPE_I420 = {'024I', 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71};
MEDIASUBTYPE_YV24 = {'42VY', 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71};
MEDIASUBTYPE_YV16 = {'61VY', 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71};
MEDIASUBTYPE_NV12 = {'21VN', 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71};

In other words, if pixel_type="AUTO", it will try to output YV24; if that isn't possible it tries YV16, and if that isn't possible it tries YV12, etc...
[EDIT: Actually looks like '+' is not wrong in docs]
For planar color formats, adding a '+' prefix, e.g. DirectShowSource(..., pixel_type="+YV12"), tells AviSynth the video rows are DWORD aligned in memory instead of packed. This can fix skew or tearing of the decoded video when the width of the picture is not divisible by 4.

imsrk48
27th April 2019, 15:33
So this is relevant at end of log (video pass only)

-[Error] Log for job2 (video, HxH 008.avs -> )
--[Information] [24/4/2019 6:04:22 PM] Started handling job
--[Information] [24/4/2019 6:04:22 PM] Preprocessing
--[Information] [24/4/2019 6:04:22 PM] AviSynth input script

---[NoImage] LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avs\plugins\directshowsource.dll")
---[NoImage] DirectShowSource("D:\New folder\HxH 008.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
---[NoImage] ConvertBits(8)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] LanczosResize(1256,704) # Lanczos (Sharp)
---[NoImage] #denoise
---[NoImage] LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avisynth_plugin\VSFilter.dll")
---[NoImage] TextSub("D:\New folder\AnimeKaizoku_HxH_E008_x265_BD_720p.ass", 1)

--[Information] [24/4/2019 6:04:23 PM] resolution: 1256x704
--[Information] [24/4/2019 6:04:23 PM] frame rate: 24000/1001
--[Information] [24/4/2019 6:04:23 PM] frames: 33931
--[Information] [24/4/2019 6:04:23 PM] length: 00:23:35.205
--[Information] [24/4/2019 6:04:23 PM] aspect ratio (avs): 157:88 (1.784)
--[Information] [24/4/2019 6:04:23 PM] color space: RGB32
--[Error] [24/4/2019 6:04:23 PM] color space not supported
--[Information] [24/4/2019 6:04:23 PM] Job command line: "cmd.exe" /c ""D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\ffmpeg\ffmpeg.exe" -loglevel level+error
-i "D:\New folder\HxH 008.avs" -strict -1 -f yuv4mpegpipe - | "D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\x264\x264.exe" --pass 1 --bitrate 390
--stats "D:\New folder\HxH 008.stats" --keyint 240 --ref 6 --partitions all --stitchable --sar 1:1 --frames 33931 --output NUL --stdin y4m -"
--[Information] [24/4/2019 6:04:24 PM] Process started
--[Information] [24/4/2019 6:04:24 PM] Standard output stream
--[Error] [24/4/2019 6:04:24 PM] Standard error stream
---[Error] [24/4/2019 6:04:25 PM] [yuv4mpegpipe @ 07d2fac0] [error] ERROR: yuv4mpeg can only handle yuv444p, yuv422p, yuv420p, yuv411p and gray8 pixel formats. And using 'strict -1' also
yuv444p9, yuv422p9, yuv420p9, yuv444p10, yuv422p10, yuv420p10, yuv444p12, yuv422p12, yuv420p12, yuv444p14, yuv422p14, yuv420p14, yuv444p16, yuv422p16, yuv420p16, gray9, gray10,
gray12 and gray16 pixel formats. Use -pix_fmt to select one.
---[Information] [24/4/2019 6:04:25 PM] [error] Could not write header for output file #0 (incorrect codec parameters ?): I/O error
---[Information] [24/4/2019 6:04:25 PM] [error] Error initializing output stream 0:0 --
---[Error] [24/4/2019 6:04:25 PM] y4m [error]: bad sequence header magic
---[Error] [24/4/2019 6:04:25 PM] x264 [error]: could not open input file `-'
--[Error] [24/4/2019 6:04:26 PM] Process exits with error: 0xFFFFFFFF (-1)
--[Information] [24/4/2019 6:04:26 PM] Job completed


Script

LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avs\plugins\directshowsource.dll")
DirectShowSource("D:\New folder\HxH 008.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
ConvertBits(8)
#deinterlace
#crop
LanczosResize(1256,704) # Lanczos (Sharp)
#denoise
LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avisynth_plugin\VSFilter.dll")
TextSub("D:\New folder\AnimeKaizoku_HxH_E008_x265_BD_720p.ass", 1)



Error

---[Error] [24/4/2019 6:04:25 PM] [yuv4mpegpipe @ 07d2fac0] [error] ERROR: yuv4mpeg can only handle yuv444p, yuv422p, yuv420p, yuv411p and gray8 pixel formats. And using 'strict -1'
also yuv444p9, yuv422p9, yuv420p9, yuv444p10, yuv422p10, yuv420p10, yuv444p12, yuv422p12, yuv420p12, yuv444p14, yuv422p14, yuv420p14, yuv444p16, yuv422p16, yuv420p16, gray9, gray10,
gray12 and gray16 pixel formats. Use -pix_fmt to select one.


Either Add "ConvertToYV12" at end of script (I'm surprised if it does not ask to do thi for you).

Of add directShowSource arg

DirectShowSource Docs


Script, added in blue

LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avs\plugins\directshowsource.dll")
DirectShowSource("D:\New folder\HxH 008.mkv", fps=23.976, audio=false, convertfps=true ,Pixel_Type="YV12" ).AssumeFPS(24000,1001)
ConvertBits(8)
#deinterlace
#crop
LanczosResize(1256,704) # Lanczos (Sharp)
#denoise
LoadPlugin("D:\SRK\MeGUI-2836-32\MeGUI-2836-32\tools\avisynth_plugin\VSFilter.dll")
TextSub("D:\New folder\AnimeKaizoku_HxH_E008_x265_BD_720p.ass", 1)
Thanks [emoji4]

Xor
27th April 2019, 21:51
hi i have enabled RESIZE,

but on downscale 1080 to 720p give this error

https://i.imgur.com/SwYFLPt.png

How to solved/fix ? (Os and megui are x64 version)

Thanks

jlw_4049
28th April 2019, 04:11
Can anyone give me an in depth guide to encode 4k/while retaining HDR properties? I would really appreciate it. There isn't a lot of information on the subject.

szabi
28th April 2019, 17:36
Hi

I have a question about MeGUI's File Indexer.
In case of indexing vob files in segment all file are recognised by DGIndex in the directory and the result is one output.
When I wish to index mp4 files in segment by FFMSIndex only one file are indexed the others are not recognised.
They are named following mode:
VID_20190423_163806_0004.MP4
VID_20190423_164733_0005.MP4
VID_20190423_165640_0006.MP4
VID_20190423_170529_0007.MP4
VID_20190423_171459_0008.MP4
VID_20190423_172453_0009.MP4
VID_20190423_173346_0010.MP4
In file explorer only one can be selected.
How can I force File Indexer to recognise the all others and handle as one?

Regards
szabi

hello_hello
29th April 2019, 12:41
Hi

I have a question about MeGUI's File Indexer.
In case of indexing vob files in segment all file are recognised by DGIndex in the directory and the result is one output.
When I wish to index mp4 files in segment by FFMSIndex only one file are indexed the others are not recognised.
They are named following mode:
VID_20190423_163806_0004.MP4
VID_20190423_164733_0005.MP4
VID_20190423_165640_0006.MP4
VID_20190423_170529_0007.MP4
VID_20190423_171459_0008.MP4
VID_20190423_172453_0009.MP4
VID_20190423_173346_0010.MP4
In file explorer only one can be selected.
How can I force File Indexer to recognise the all others and handle as one?

Regards
szabi

As far as I know, the difference is the vob files are basically one continuous file that's been split, so they need to be opened that way, whereas I don't think that's ever the case for MP4.

Probably the easiest solution is to open the first MP4 with MKVToolNix, append the rest, save the output as a single MKV and index that.

AGiLiT
1st May 2019, 16:33
I'm having an issue similar to one reported here: http://forum.doom9.net/showthread.php?p=1832213#post1832213.
Essentially, the ColorMatrix plugin causes the Status Violation error when running in the x64 version while everything runs cleanly in the x32 version.

szabi
2nd May 2019, 20:17
As far as I know, the difference is the vob files are basically one continuous file that's been split, so they need to be opened that way, whereas I don't think that's ever the case for MP4.

Probably the easiest solution is to open the first MP4 with MKVToolNix, append the rest, save the output as a single MKV and index that.

Hi

That is wanted to avoid.
Merge them all duplicate the size needed on hard drive.
If I make index one by one I can merge them by avisynth script.
They are 7 files presently but would more sophisticated to do it by one step.
Even if there are much more than 7 makes less and less comfortable.

hello_hello
3rd May 2019, 10:57
The main problem is, with sequential vob files the video and audio is continuous. That's why they can be indexed as a single file. There's no guarantee that'll be the case for MP4s though, or that the audio and video in each MP4 would be the same length.
Even if you appended them as a single MKV and encoded the video in one go you might still have problems, although after encoding, if you opened the encoded video with MKVToolNixGUI, added the original MKV, de-selected the original video and remuxed, there's some chance the audio and video would still be in sync, although if the audio in any of the MP4s happened to be longer than the video, that probably wouldn't work either.

abero
8th May 2019, 13:42
Hello,

i'm using megui with a registered dgindexnv for quite some time now for encoding my tv recordings which worked quite fine.

I recently reinstalled windows and megui updated dgindexnv to the latest version, which doesn't put a DELAY Value in the audio file filename anymore therefore i get async mkvs in the end. They say it wasn't reliable and removed it, though it worked fine for me.

I can't register in their forum, so i think i should ask here. Is there any way you can force the new dgindexnv to put the value back in the filename? or where can i get the value from now? Any help would be appreciated.

videoh
8th May 2019, 19:57
Can you get it from MediaInfo?

gonca
9th May 2019, 23:24
MediaInfo does give that information.
One way is to use text view>>Debug>>Advanced Mode
Use Delay relative to Video

LouieChuckyMerry
15th May 2019, 15:49
Hello. I recently updated my MeGUI from Version 2855 with SEt's AviSynth MT to the latest version of MeGUI with pinterf's AviSynth+. As I was checking some test clips, I noticed that very rarely there's an error message from, I think, AviSynth+ superimposed across the top, center of single frames. Here are two examples: S1.E1-Simpsons[NTSC]-AviSynth+ErrorMessages (http://www.mediafire.com/file/7q5sflbj55vnj26/S1.E1-Simpsons[NTSC]-AviSynth%2BErrorMessages.7z). Is there any way to stop this happening (other than not creating script errors ;) )? I realize this technically isn't an MeGUI issue, but the last question I asked in the AviSynth+ thread has gone unanswered so I thought I'd ask here. Thanks in advance for any help.

gonca
15th May 2019, 16:30
Can you post the script that was being used?

wiggaz
15th May 2019, 19:37
Hello,
I don't wanna sound annoying but is there a reason why x265 has still not be updated to the last build?
Thanks in advance.

LouieChuckyMerry
15th May 2019, 21:31
Can you post the script that was being used?

In case you're asking me, the script is:

SOURCE INFORMATION HERE
### Deinterlace-Match Fields-Decimate ###
Function FieldMatch(Clip C) {
Global PP = C.DuplicateFrame(0)
Global CC = C
Global NN = C.DeleteFrame(0)
P2 = PP.SeparateFields()
C2 = CC.SeparateFields()
N2 = NN.SeparateFields()
Global PC = Interleave(P2.SelectEven(),C2.SelectOdd()).Weave()
Global CP = Interleave(C2.SelectEven(),P2.SelectOdd()).Weave()
Global CN = Interleave(C2.SelectEven(),N2.SelectOdd()).Weave()
Global NC = Interleave(N2.SelectEven(),C2.SelectOdd()).Weave()
Global Deint = QTGMC(CC).SelectEven()
Return ScriptClip(CC, \
"!CC.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? CC : " + \
"!NN.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? NN : " + \
"!CN.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? CN : " + \
"!NC.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? NC : " + \
"!PP.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? PP : " + \
"!CP.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? CP : " + \
"!PC.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? PC : Deint")
}
TFM(Order=-1,Mode=5,PP=2,Clip2=FieldMatch(),Slow=2,MChroma=False,Ubsco=False,CThresh=12,Chroma=True)
TDecimate(Mode=1)
### Fix Line-Doubled Fields ###
NNEDI3(Field=-2)
Merge(SelectEven(),SelectOdd())
### Color Conversion ###
ColorMatrix(Mode="Rec.601->Rec.709")
### Adjust Color ###
MergeChroma(aWarpSharp2(Depth=16))
### Crop ###
Crop(8,0,-8,0)
### Gibbs Noise Block ###
Edge=MT_Edge("prewitt",ThY1=20,ThY2=40).RemoveGrain(17)
Mask=MT_Logic(Edge.MT_Expand().MT_Expand().MT_Expand().MT_Expand(),Edge.MT_Inflate().MT_Inpand(),"xor").Blur(1.0)
MT_Merge(Minblur(),Mask,Luma=True)
### Resize ###
NNEDI3_RPow2(4,CShift="Spline64Resize",FWidth=960,FHeight=720)
aWarpSharp2(Depth=5)
Sharpen(0.2)
### Overall Temporal Denoise ###
SMDegrain(TR=3,ThSAD=600,ContraSharp=True,RefineMotion=True,Plane=0,PreFilter=2,Chroma=False,LSB=True,LSB_Out=True)
### Darken-Thin Lines ###
F=DitherPost(Mode=-1)
S=F.FastLineDarkenMod(Strength=24,Prot=6).aWarpSharp2(Blur=4,Type=1,Depth=8,Chroma=2)
D=MT_MakeDiff(S,F).Dither_Convert_8_To_16()
Dither_Add16(Last,D,Dif=True,U=2,V=2)
### Deband ###
F3KDB(Y=100,Cb=100,Cr=100,GrainY=1,GrainC=1,Input_Mode=1,Output_Depth=16)
## Trim()
# SelectRangeEvery(1000,66)
ConvertFromStacked.ConvertBits(10,Dither=0)
Prefetch(3)

Other than adding the Color Conversion line, modifying the Resize section to upscale the video, and improving the Deband line, I used the exact script some years ago without issue to encode my NTSC Simpsons DVD's. Now, although the script ran fine, it left:

Script error: Invalid arguments to function 'IsCombedTIVTC'
([ScriptClip], line 1)

superimposed at the top, center of a few frames. I'm certain it didn't do this with the original encodes because I've watched all the episodes multiple times and never saw this error message. The originals were encoded with SEt's AviSynth MT so I'm wondering if it's something with AviSynth+.

gonca
15th May 2019, 22:16
I can't see anything wrong
You are using 32 bit Megui?
I can't test right now due to a hardware meltdown
Still rebuilding after finding which Ram dimm failed

LouieChuckyMerry
15th May 2019, 23:13
I can't see anything wrong
You are using 32 bit Megui?
I can't test right now due to a hardware meltdown
Still rebuilding after finding which Ram dimm failed

Yes, 32 bit MeGUI. Any way to turn off error messages in AviSynth+?

LigH
16th May 2019, 07:25
I wonder if this issue is better addressed to AviSynth+ developers to check the parser handling complex "eval" function parameters across several lines. Maybe point pinterf at this post.

LouieChuckyMerry
16th May 2019, 13:19
I wonder if this issue is better addressed to AviSynth+ developers to check the parser handling complex "eval" function parameters across several lines. Maybe point pinterf at this post.

Thanks, LigH. I'll copy-and-paste my question in the AviSynth+ thread. Hopefully I'll receive an answer.

StainlessS
16th May 2019, 16:45
LouieChuckyMerry,
Which Minblur() are you using ?
(the one on wiki requires at least one Int arg [ function MinBlur(clip clp, int r, int "uv") ]

You cannot just make the error go away, the error causing it must be fixed.
Also, best if you link to your script in Avisynth devs forum post. (I dont see anything wrong in the FieldMatch function).

Here a mod of the FieldMatch function, maybe it makes problem go away [Removes Globals, requires Grunt].


Function FieldMatch(Clip c) {
PP = c.DuplicateFrame(0)
CC = c
NN = c.DeleteFrame(0)
P2 = PP.SeparateFields
C2 = CC.SeparateFields
N2 = NN.SeparateFields
PC = Interleave(P2.SelectEven,C2.SelectOdd).Weave
CP = Interleave(C2.SelectEven,P2.SelectOdd).Weave
CN = Interleave(C2.SelectEven,N2.SelectOdd).Weave
NC = Interleave(N2.SelectEven,C2.SelectOdd).Weave
Deint = CC.QTGMC.SelectEven
SSS="""
\ !CC.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? CC
\ : !NN.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? NN
\ : !CN.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? CN
\ : !NC.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? NC
\ : !PP.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? PP
\ : !CP.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? CP
\ : !PC.IsCombedTIVTC(CThresh=12,Chroma=True,BlockX=16,BlockY=32) ? PC
\ : Deint
"""
Args="CC,NN,CN,NC,PP,CP,PC,Deint"
Return CC.GScriptClip(SSS,Args=Args,Local=True)
}

LouieChuckyMerry
16th May 2019, 23:42
You cannot just make the error go away, the error causing it must be fixed... (I dont see anything wrong in the FieldMatch function).

Thanks for the mental push, StainlessS (I hope you're not offended, but every time I read one of your posts I hear John DiMaggio's voice as Bender in Futurama, a combination of your avatar and signature). As I was editing a copy of the original script to test your modification, I realized the only real change I'd made to the original script, a script that worked just fine some years ago, was to add "PreFetch(3)" to the end. While searching how to upgrade from SEt's AviSynth MT to pinterf's AviSynth+ I decided that starting a script with "SetFilterMTMode("Default_MT_Mode",2)" and ending with PreFetch(X) was a bad idea for interlaced video; however, I accidentally learned that adding "PreFetch(X)" to the end of a script for interlaced video improved the encoding speed. Long story short, a couple tests later and the cause of the AviSynth+ error message was "PreFetch(X)" at the end of the script. I guess the moral is Don't MultiThread Interlaced Video No Matter Which Version Of AviSynth You Use. I'll now hustle over to the AviSynth+ thread with this knowledge, thanks again for your help :) .

StainlessS
17th May 2019, 14:43
Glad you got it sorted, but might be a good idea just the same to use the FiledMatch without Globals (globals could have been cause, QTGMC uses Globals I think, and maybe
other scripts functions, if they used same global var name then can interfere with each other and be cause of the 'Invalid arguments' if interfering globals were of wrong type).

LouieChuckyMerry
17th May 2019, 20:59
But it's 3% faster with the globals! Seriously, thanks for the advice. I'll edit my script accordingly. Oh, and Happy Friday!

jlw_4049
23rd May 2019, 05:02
Was wondering what the most efficient way to do batch encodes with MeGui?
Say I have Example S01 with 10 episodes in that folder and Example S02 with 10 episodes in the other folder.

If I get my settings/one click encoder script/settings how I want. If I add the first folder, it only adds the first episode to the queue. While it's encoding if I add the 2nd folder it adds S02E01 next in the queue. Then it just encodes all over the place.

Is there a way I can fix this, other then taking all the episodes out of the 2 folders and placing them in one. Is it possible, when I add a folder to the one click encoder, for the entire list of jobs to go ahead and come up in the queue list? So that, when I add another folder it just adds under there. Instead of just S01E01, it does S01E01(index,encode,mux) S01E02(index,encode,mux) etc etc?
https://i.imgur.com/RyQXnXJ.png

The above wouldn't be a big deal. However, if I was to go ahead and add S03 to the mix to get encoded. It would prioritize it after S02E02 and completely skip the rest of S02 until it was done with S03. If I'm doing something wrong, please help. :)


Also, why does every other time I start MeGui I keep swapping between versions of this update? Each time I try to encode with the newer versions I get an error somewhere in my batch.

https://i.imgur.com/CEgbjh2.png

StainlessS
23rd May 2019, 05:43
But it's 3% faster with the globals! Seriously, thanks for the advice. I'll edit my script accordingly. Oh, and Happy Friday!

3% faster probably because of the frames not being processed because of the error [it just craps out on those].
If we could make it error on all of them, maybe it flies like the wind :)

EDIT:
Avisynth only puts up error alert with abort when filter chain is being created (due to using wrong args for filter constructor or something), but
if error happens during frameserving in eg Scriptclip [or in dll filter's GetFrame()] then cannot stop frame serving, and just overlays error message on the clip.

imsrk48
24th May 2019, 19:07
Dear Respected MeGUI users and Devs

In my MeGUI .eac3 extension not encoding in neroaac

Any solution please?

tebasuna51
24th May 2019, 21:42
No problem for me in my MeGUI (I use LWLibavAudioSource like Preferred Decoder).

My log is attached, attach your log.

imsrk48
25th May 2019, 00:47
No problem for me in my MeGUI (I use LWLibavAudioSource like Preferred Decoder).



My log is attached, attach your log.Thanks a Lot Sir [emoji106]

imsrk48
25th May 2019, 12:05
What i need for make MeGUI Complete supported?

For example:— avisynth+, neroaac etc.

imsrk48
25th May 2019, 12:09
In my MeGUI

My source audio format .eac3

I want to make it .mp4 (neroaac)

Source audio length 1 hour 44minutes

But when I'm encoding that using file indexer there is showing 2 hour 58 minutes.

Please guide me where I'm doing wrong?

tebasuna51
25th May 2019, 12:21
What i need for make MeGUI Complete supported?
Use Tools -> Update
Check Show all packages.
RightClick over each package and Enable it (if disabled).
Update.

Please put the log file.

imsrk48
25th May 2019, 12:22
Use Tools -> Update
Check Show all packages.
RightClick over each package and Enable it (if disabled).
Update.And what about external programs?

imsrk48
26th May 2019, 01:33
Use Tools -> Update
Check Show all packages.
RightClick over each package and Enable it (if disabled).
Update.

Please put the log file.I'm direct adding audio in MeGUI audio input without any file indexer or Directshowsource.

Any solution to make script? For only audio to encode .eac3