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 28th April 2019, 04:11   #8821  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
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.
jlw_4049 is offline   Reply With Quote
Old 28th April 2019, 17:36   #8822  |  Link
szabi
Registered User
 
Join Date: Nov 2004
Posts: 251
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
szabi is offline   Reply With Quote
Old 29th April 2019, 12:41   #8823  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by szabi View Post
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.
hello_hello is offline   Reply With Quote
Old 1st May 2019, 16:33   #8824  |  Link
AGiLiT
Registered User
 
AGiLiT's Avatar
 
Join Date: Apr 2019
Posts: 3
I'm having an issue similar to one reported here: http://forum.doom9.net/showthread.ph...13#post1832213.
Essentially, the ColorMatrix plugin causes the Status Violation error when running in the x64 version while everything runs cleanly in the x32 version.

Last edited by AGiLiT; 1st May 2019 at 16:37.
AGiLiT is offline   Reply With Quote
Old 2nd May 2019, 20:17   #8825  |  Link
szabi
Registered User
 
Join Date: Nov 2004
Posts: 251
Quote:
Originally Posted by hello_hello View Post
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.
szabi is offline   Reply With Quote
Old 3rd May 2019, 10:57   #8826  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
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.
hello_hello is offline   Reply With Quote
Old 8th May 2019, 13:42   #8827  |  Link
abero
Registered User
 
Join Date: May 2004
Posts: 13
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.
abero is offline   Reply With Quote
Old 8th May 2019, 19:57   #8828  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
Can you get it from MediaInfo?
videoh is offline   Reply With Quote
Old 9th May 2019, 23:24   #8829  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
MediaInfo does give that information.
One way is to use text view>>Debug>>Advanced Mode
Use Delay relative to Video
gonca is offline   Reply With Quote
Old 15th May 2019, 15:49   #8830  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 355
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. 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.
LouieChuckyMerry is offline   Reply With Quote
Old 15th May 2019, 16:30   #8831  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
Can you post the script that was being used?
gonca is offline   Reply With Quote
Old 15th May 2019, 19:37   #8832  |  Link
wiggaz
Registered User
 
Join Date: Feb 2011
Posts: 27
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.
wiggaz is offline   Reply With Quote
Old 15th May 2019, 21:31   #8833  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 355
Quote:
Originally Posted by gonca View Post
Can you post the script that was being used?
In case you're asking me, the script is:

Code:
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:

Code:
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+.

Last edited by LouieChuckyMerry; 15th May 2019 at 21:32. Reason: Syntax
LouieChuckyMerry is offline   Reply With Quote
Old 15th May 2019, 22:16   #8834  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
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
gonca is offline   Reply With Quote
Old 15th May 2019, 23:13   #8835  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 355
Quote:
Originally Posted by gonca View Post
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+?
LouieChuckyMerry is offline   Reply With Quote
Old 16th May 2019, 07:25   #8836  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
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.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 16th May 2019, 13:19   #8837  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 355
Quote:
Originally Posted by LigH View Post
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.
LouieChuckyMerry is offline   Reply With Quote
Old 16th May 2019, 16:45   #8838  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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].

Code:
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)
}
__________________
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 ???

Last edited by StainlessS; 16th May 2019 at 16:47.
StainlessS is offline   Reply With Quote
Old 16th May 2019, 23:42   #8839  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 355
Quote:
Originally Posted by StainlessS View Post
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 .
LouieChuckyMerry is offline   Reply With Quote
Old 17th May 2019, 14:43   #8840  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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).
__________________
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
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 12:53.


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