Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th January 2022, 21:44   #9201  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Use instead scriptname():

import("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\scriptname.avsi")
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 13th January 2022, 00:00   #9202  |  Link
LeMoi
Registered User
 
Join Date: Sep 2004
Location: France
Posts: 367
Thanks for the tip, the script in indeed loaded and called. It's unfortunately not a definitive solution, instead of just some chars I have to manually add a full line, and it doesn't completely work since it seems my script depends on some DLL (masktools ?) and even if I put my old DLL in the plugin folder it doesn't work...
Isn't there an option to retrieve the folder used by avisynth for the plugins?

EDIT: in my previous PC, I just had to add the scriptname() at the end of the AVS script to call it, and the .avsi was in the Program Files (x86)\AviSynth\plugins folder
EDIT2: OK I managed to edit the .avsi file to load the required DLLs after finding them and putting them in a plugin folder, now the scripts seems to be working fine. But I still wish to be able to call the script via the simple scriptname() function without "import"... the included MeGUI AVS has some dll in the subfolders, why can't I use this folder to put my AVSI file in it and load it without the import function? Is there a registry key to modify to specify the plugin folder automatically?

Last edited by LeMoi; 13th January 2022 at 09:03.
LeMoi is offline   Reply With Quote
Old 13th January 2022, 09:33   #9203  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 985
@LeMoi
Install Avisynth and copy plugins there.
VoodooFX is offline   Reply With Quote
Old 13th January 2022, 11:21   #9204  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
In order to know the requirements for an AviSynth install and the registry plugins folders maybe you can read the post Universal Avisynth Installer by Groucho2004.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 14th January 2022, 09:31   #9205  |  Link
LeMoi
Registered User
 
Join Date: Sep 2004
Location: France
Posts: 367
Quote:
Originally Posted by VoodooFX View Post
@LeMoi
Install Avisynth and copy plugins there.
That's why I tried to (avisynth+), but then I had an error in MeGUI that couldn't open the video stream of the M2TS file (while opening the L-SMASH index).
LeMoi is offline   Reply With Quote
Old 14th January 2022, 09:32   #9206  |  Link
LeMoi
Registered User
 
Join Date: Sep 2004
Location: France
Posts: 367
Quote:
Originally Posted by tebasuna51 View Post
In order to know the requirements for an AviSynth install and the registry plugins folders maybe you can read the post Universal Avisynth Installer by Groucho2004.
I didn't know this topic, I'll have a look, thanks
LeMoi is offline   Reply With Quote
Old 14th January 2022, 14:54   #9207  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Quote:
Originally Posted by LeMoi View Post
That's why I tried to (avisynth+), but then I had an error in MeGUI that couldn't open the video stream of the M2TS file (while opening the L-SMASH index).
Do not open the *.lwi index file, but still the original media file, when you use the L-SMASH Works plugin in the Indexer dialog.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 20th January 2022, 15:44   #9208  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by GAP View Post
Is that an option in MeGUI?
If you're still around, there's a link below for a function designed to allow MeGUI to use any resizer, not just the standard Avisynth ones, and it's been so long since I've used it myself (I rarely upscale) I forgot it includes a template for upscaling with nnedi3_rpow2.

There's sample Avisynth templates included you can load into MeGUI (File/Import Presets), or you can create your own, and you have to load the AnyResizerMeGUI script to use them (or if you have Avisynth installed put it in the Avisynth plugins folder so it auto-loads) and then you can use other resizers as you would the ones included with MeGUI.

The quick instructions are, create an Avusynth template in MeGUI that by default looks something like this:

<input>
<deinterlace>
<crop>
<denoise>
<resize>

And replace the resize line so it looks like this, changing YourPreferredResizer to the name or your preferred resizer.

<input>
<deinterlace>
<crop>
<denoise>
Eval("YourPreferredResizer("+AnyResizerMeGUI(Last,"<resize>")+",Kernel="+"""ResizerMeGUI("<resize>")"""+")")

There's an example here for creating a template to upscale with nnedi3_rpow2.
AnyResizerMeGUI & CropResizeMeGUI
hello_hello is offline   Reply With Quote
Old 21st January 2022, 16:41   #9209  |  Link
GAP
Registered User
 
Join Date: Sep 2020
Posts: 135
I will give those a shot. Thanks.
GAP is offline   Reply With Quote
Old 27th September 2022, 20:10   #9210  |  Link
James_b
Registered User
 
Join Date: Jan 2018
Posts: 25
Hi Guys!
I get pretty much all working (since a crach) except the frame doubling feature.
Any thoughts?
Attached Files
File Type: txt untitled9.txt (30.7 KB, 59 views)
James_b is offline   Reply With Quote
Old 28th September 2022, 11:10   #9211  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by James_b View Post
Hi Guys!
I get pretty much all working (since a crach) except the frame doubling feature.
Any thoughts?
Quote:
LWLibavVideoSource("C:\D (TV temp)\m temp\2\5qdm4eca.5z2\Film_1080p 25fps.mkv")
LoadPlugin("C:\Program Files (x86)\MeGUI-2913-32\tools\avisynth_plugin\yadifmod2.dll")
Yadifmod2(order=-1)
frame doubling?

Code:
        int  mode = 0

            Controls double rate vs same rate output, and whether or not the spatial interlacing check is performed. 

                    0 : Same rate, do spatial check
                    1 : Double rate, do spatial check
                    2 : Same rate, no spatial check
                    3 : Double rate, no spatial check
If you want double rate you must include mode=1 or 3
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 28th September 2022, 11:48   #9212  |  Link
James_b
Registered User
 
Join Date: Jan 2018
Posts: 25
Well isn't that the main function of the program? Can't just find where and how to get it back in the 'one click' menu. Load defults does not seem to work.

Last edited by James_b; 28th September 2022 at 11:56.
James_b is offline   Reply With Quote
Old 15th November 2022, 08:48   #9213  |  Link
andimoor
Registered User
 
Join Date: Oct 2014
Posts: 1
Problems with MeGUI

I get an Error:

[Error] Log
-[Information] Versions
--[Information] MeGUI: 2913 x64
--[Information] MeGUI Debug Data: available
--[Information] Update Check: stable update server
--[Information] System Information
---[Information] Operating System: Windows 10 Pro 2009 x64 (10.0.22621.819)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.8 (4.8.09032)
---[Information] Redistributables
----[Information] Microsoft Visual C++ 2010 x86: 10.0.30319
----[Information] Microsoft Visual C++ 2015 x86: 14.0.24215
---[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: 20-12-2018
----[Information] File Name: AviSynth+ 0.1 (r2772, MT, x86_64)
----[Information] File Path: c:\program files\megui\avisynth.dll
----[Information] AviSynth Version: AviSynth+ 0.1 (r2772, MT, x86_64)
----[Information] AviSynth+: true
----[Information] AviSynth MT: true
----[Information] AviSynth Status: active
-[Information] Update detection
--[Information] [15.11.2022 08:41:42] Using cached update config and server: http://megui.tmebi.de/stable/
--[Information] [15.11.2022 08:41:42] No package requires an update
--[Information] [15.11.2022 08:41:42] redist files copied: 2017_x64
-[Information] FileIndexer
--[Information] [15.11.2022 08:42:49] MediaInfo
---[Information] File: E:\SOPTEST\Video.h264
---[Information] General
----[Information] Format: AVC
----[Information] FileSize: 10918268154
---[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
-[Error] Log for job1 (idx, Video.h264 -> Video.dgi)
--[Information] [15.11.2022 08:43:05] Started handling job
--[Information] [15.11.2022 08:43:05] Preprocessing
--[Information] [15.11.2022 08:43:05] Job command line: "C:\Program Files\MeGUI\tools\dgindexim\dgindexim.exe" -i "E:\SOPTEST\Video.h264" -o "E:\SOPTEST\Video.dgi" -h
--[Information] [15.11.2022 08:43:05] Process started
--[Information] [15.11.2022 08:43:05] Standard output stream
---[Information] [15.11.2022 08:43:05] Invalid license!
--[Information] [15.11.2022 08:43:05] Standard error stream
--[Error] [15.11.2022 08:43:05] Process exits with error: 2
--[Information] [15.11.2022 08:43:05] Job completed

Do you need more information?
What can I do?
andimoor is offline   Reply With Quote
Old 22nd November 2022, 12:53   #9214  |  Link
James_b
Registered User
 
Join Date: Jan 2018
Posts: 25
Is there any way to get vp9-support on the in-file? It only gives med the red cross of death when trying to encode.
James_b is offline   Reply With Quote
Old 22nd November 2022, 17:50   #9215  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
VP9 in WebM (MKV) should be readable via indexing source filters like FFMS2 or L-SMASH Works. If not, let's inspect the source file and the error messages and logs, where available.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 23rd November 2022, 15:12   #9216  |  Link
James_b
Registered User
 
Join Date: Jan 2018
Posts: 25
LigH, ok, here it is The x starts at section 2
Attached Files
File Type: txt megui3.txt (8.5 KB, 108 views)

Last edited by James_b; 23rd November 2022 at 15:16.
James_b is offline   Reply With Quote
Old 24th November 2022, 11:06   #9217  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by andimoor View Post
I get an Error:

[Error] Log
...
--[Information] Update Check: stable update server
...
-[Information] Update detection
--[Information] [15.11.2022 08:41:42] Using cached update config and server: http://megui.tmebi.de/stable/
...
---[Information] [15.11.2022 08:43:05] Invalid license!

What can I do?
Options -> Extended -> Auto Update -> Use development update server

And Tools -> Update all the soft
many DGtools don't need now license, if still need license buy it or use other indexer.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 24th November 2022 at 11:14.
tebasuna51 is offline   Reply With Quote
Old 24th November 2022, 17:50   #9218  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
From earlier in thread
Quote:
Originally Posted by StainlessS View Post
IIRC, when installed DGIndexNV {free} in MeGUI and have not had previous license, then having "Enable DGIndexNV" in settings, puts up some kind of
"not licensed for this machine", or similar, I just untick that box and use via Avisynth LoadPlugin [or in system installed Avsiynth plugins autoload directory],
I dont use MeGUI for anything other than x264 encode with pre-existing avs scripts
[no MeGUI deinterlace or whatever else], so makes no difference for me now I know of the problem.
[EDIT: Its probably MeGUI putting up that error message rather than DGIndexNV]
[Dont know if it will work if you just put it in the MeGUI avisynth_plugin's directory, with that box unticked, however if you have system wide Avisynth set up, put in its plugins dir]

EDIT: And thanks for flagging the new DGDecNV_237 link [you're slipping kedautinh12 ].
Quote:
Originally Posted by videoh View Post
Quote:
Originally Posted by StainlessS View Post
[EDIT: Its probably MeGUI putting up that error message rather than DGIndexNV]
Correct.
VideoH is D. Graft.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 24th November 2022, 23:53   #9219  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Quote:
Originally Posted by James_b View Post
LigH, ok, here it is The x starts at section 2
Strange file.

The original appears to be VP9 and FLAC in MP4.

General
Format: MPEG-4
Video
Codec: vp09
Audio
Format: fLaC

It gets converted to MKV, using mkvmerge.

General
Format: Matroska
Video
Format: V_QUICKTIME
Codec: V_QUICKTIME
Audio
Format: A_QUICKTIME

I would say, no surprise it can't handle a format it can't detect. But no clue why it has no specific codec/format identifier in the remultiplexed copy.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 29th December 2022, 10:47   #9220  |  Link
dbtayag
Registered User
 
Join Date: Mar 2013
Posts: 17
Maintain HDR

Hi guys,

I'm trying to take a 4K HDR file and crop it while maintaining HDR metadata. What do I need to type in the command line in x265 to do that? Every time I try to crop and re-encode it removes the HDR metadata.
dbtayag is offline   Reply With Quote
Reply

Tags
megui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.