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 11th March 2019, 10:06   #8761  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
What do you mean by "DirectShowStream"? In case you mean "DirectShowSource": Its use is discouraged, in general. There are only few exceptions where you may have no choice to use any better native source plugin.

Rather independent from the source, there are different ways to use MeGUI to convert media. You did not tell us which one you prefer (OneClick, Auto Encode, manual queueing ...); the better you want to customize your result, the more you may have to manage manually, step by step. Automated usage modes can be pre-configured, but the ultimate freedom is available by converting audio and video tracks separately, and then using the Multiplexer tool of your choice, adding video stream and audio streams you already converted before, selecting their language and other attributes in the multiplexer's dialog.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 18th March 2019, 15:53   #8762  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 355
Quote:
Originally Posted by LigH View Post
MeGUI is a converter with the intention to produce final results; I see a use of Ut video only for the case that you want to use an intermediate render for two encoding passes because your filter chain is so slow that it saves time to write it out as losslessly compressed AVI. MeGUI may support that for a first pass, but I never used it and don't know which range of formats you may select here...
Thanks for the answer, LigH . I'll stick with VirtualDub for Ut Video, then.
LouieChuckyMerry is offline   Reply With Quote
Old 21st March 2019, 22:11   #8763  |  Link
Morku
Registered User
 
Join Date: Jul 2012
Posts: 208
@videoh

Can you please check into an issue I have with a mpls file?
The mpls file contains 2 m2ts. When I save the dgi, only the first stream is proceed. Same with MeGUI and DGIndexNV GUI.
You can check the dgi here: https://www.dropbox.com/s/ec73v2fv9y...00001.dgi?dl=1

To try to bypass, I started the DGIndexNV GUI and loaded both m2ts, instead the mpls. Again, only the first m2ts is indexed.

So... I Indexed both m2ts seperatly. When save one of the m2ts file, I get this error:



Even when it says, it can't find "video data", it saved fine.
When save the other m2ts file, I don't get this warning.

So to finally bypass the problem, I created 2 dgi file and merged with AlignedSplice.

So I think there must be something weird with the m2ts file. I have uploaded here: https://www.dropbox.com/s/e73odwdwnu...0002.m2ts?dl=1
And if necessary the mpls, but I think it's unrelated to the problem: https://www.dropbox.com/s/xopyx6g3z9...0001.mpls?dl=1

I have tried Slipstream 173 down to 168. I don't have any older version to test.
Morku is offline   Reply With Quote
Old 21st March 2019, 23:00   #8764  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Your 00001.mpls:

Quote:
D:\tmp\00001.mpls
Num Clips: 2 -- Duration: 120:54
PlayList:
00002.M2TS -- Duration: 0:05
00001.M2TS -- Duration: 120:49
The 00002.M2TS is a credit of 5 seconds and the 00001.M2TS is the full movie.

The 00002.M2TS:

Quote:
M2TS, 1 video track, 3 audio tracks, 3 subtitle tracks, 0:00:05, 24p
1: h264/AVC, 1080p24 (16:9)
2: DTS Master Audio, 5.1 channels, 16 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
3: DTS Master Audio, 5.1 channels, 16 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: DTS, 2.0 channels, 384kbps, 48kHz
5: Subtitle (PGS)
6: Subtitle (PGS)
7: Subtitle (PGS)
The h264 stream have 120 frames at 24 fps is 5 seconds.
The 3 audio streams are silent but the stream 2 is 50 seconds long, (3 and 4 streams are 5 seconds like the video).
The 00002.M2TS is wrong.

If you select in DGindexNV not demux the streams don't show the error (Cannot find video data, because search more than 5 sec.).

Use only the 00001.M2TS like input and forget the 5 second initial credit.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 21st March 2019 at 23:02.
tebasuna51 is offline   Reply With Quote
Old 21st March 2019, 23:17   #8765  |  Link
Morku
Registered User
 
Join Date: Jul 2012
Posts: 208
I know about the content, but it does not explain, why it's not working.

The 00002.M2TS contains the same metadata like the 00001.M2TS with the whole movie. Same audiostreams, subtitles, framerate.
The "Enable demux processing" was not selected in DGIndexNV. I only saved the dgi file and do get the errormessage.

In general, Indexing with multiple m2ts just always works fine.
With eac3to I extracted both audiostreams with 00002.M2TS+00001.M2TS. Both audiofiles have the same lenght with the silent intro. Tomorrow I can check if video and audio is synchronous, but I do expect.
Yes, I could forget about the initial, but if possible I also like to keep.
Morku is offline   Reply With Quote
Old 22nd March 2019, 10:23   #8766  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Like I say you the problem seems the first audio track with a duration of 50 s. instead 5 s. like other streams.

Try replace with this 00002.m2ts: https://www.sendspace.com/file/cki7gt

And verify if the problem is solved (I replace the first audio track with a copy of second audio track).
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 22nd March 2019, 17:17   #8767  |  Link
Morku
Registered User
 
Join Date: Jul 2012
Posts: 208
Hi,

I can confirm that your modified 00002.m2ts index fine with 00002.m2ts+00001.m2ts

So even when the first audiotrack is the issue, in my opinion it shouldn't be an issue, because audiodemux is disabled and in MeGUI I always select "No Audio", because I use eac3to for that.
Of course this is up to the developer.
Morku is offline   Reply With Quote
Old 23rd March 2019, 17:05   #8768  |  Link
K3V1991
Registered User
 
Join Date: Mar 2019
Posts: 3
Hey Folks,
My Problem is, everytime i try to encode a Video in MeGUI it gives me an Error:

Invalid Argument: crf = 20,0 (example)
Process exits with error: 0xFFFFFFFF (-1)



NFO:
Latest MeGUI (tried x86 and x64)
Windows 10 Pro x64 (1809) - Build: 17763.379


Here is a complete Log: https://mega.nz/#!kRxAACgT!pstLky185...eiNlDQhJxjwVGQ



I hope anyone can help me
K3V1991 is offline   Reply With Quote
Old 23rd March 2019, 18:03   #8769  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by K3V1991 View Post
Hey Folks,
My Problem is, everytime i try to encode a Video in MeGUI it gives me an Error:

Invalid Argument: crf = 20,0 (example)
Process exits with error: 0xFFFFFFFF (-1)
The comma should be a decimal point. Are you using German Windows?
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 23rd March 2019 at 18:05.
Groucho2004 is offline   Reply With Quote
Old 23rd March 2019, 18:17   #8770  |  Link
K3V1991
Registered User
 
Join Date: Mar 2019
Posts: 3
Quote:
Originally Posted by Groucho2004 View Post
The comma should be a decimal point. Are you using German Windows?
Yes german Windows
K3V1991 is offline   Reply With Quote
Old 23rd March 2019, 18:24   #8771  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by K3V1991 View Post
Yes german Windows
Well, it seems that megui takes the format of the decimal point from the regional settings for some reason. I hope a developer can clear this up.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 2nd April 2019, 06:59   #8772  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
Does MeGUI support 4k HDR encoding through a 10 bit pipeline?

If so how do I use this? Can I not index etc?

Sent from my SM-G965U1 using Tapatalk
jlw_4049 is offline   Reply With Quote
Old 2nd April 2019, 10:38   #8773  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
MeGUI supports 10 bit pipeline with AviSynth+. In the extended options you have to disable "Restrict input filter to 8 bit" and use a suitable input filter (like ffms2). But you have to set any HDR flags (colormatrix, master display info etc.) manually in the encoder/muxing settings.
sneaker_ger is offline   Reply With Quote
Old 2nd April 2019, 14:40   #8774  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
Thanks for the info!

Sent from my SM-G965U1 using Tapatalk

Last edited by jlw_4049; 2nd April 2019 at 15:21.
jlw_4049 is offline   Reply With Quote
Old 5th April 2019, 18:24   #8775  |  Link
Xor
Registered User
 
Join Date: Nov 2013
Posts: 40
I use Megui last version 2896-X64 on Server with WinServer 2019 X64, cpu is Intel Xeon E5-1650 [6 Core]

to use all six cores, I have to install external "AviSynth v.2.5.8 MT 64-bit" ???

How can check/verify if Megui uses all six cores??

Thanks
Xor is offline   Reply With Quote
Old 5th April 2019, 18:33   #8776  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Not SEt's AviSynth MT, rather pinterf's AviSynth+ MT (and I would be surprised if MeGUI does not update this once in a while).

It doesn't matter how many cores MeGUI uses, because MeGUI is only a user interface to build the AviSynth script. AviSynth+ has to use all cores when it executes the script. For AviSynth+, this requires a Prefetch(number_of_cores) call at the end of the script. You may have to add it manually. And there will not be a guarantee for 100% CPU utilization ever. Also note that the encoder will need some CPU time too, and often more than the AviSynth filter chain.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 6th April 2019, 21:15   #8777  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 355
Quote:
Originally Posted by LigH View Post
Not SEt's AviSynth MT, rather pinterf's AviSynth+ MT (and I would be surprised if MeGUI does not update this once in a while).
Happy Saturday! . When I set up my i7 (4 core) system to encode video some years ago--thanks again to everyone who helped--I eventually ended up with the following as my standard template for 1080p sources (adjusting the TR and ThSAD for each source):

Code:
SetMemoryMax(2048)
SetMTMode(3,7)
LSMASH SOURCE INFORMATION HERE
SetMTMode(2)
SMDegrain(TR=X,ThSAD=XXX,RefineMotion=True,Plane=0,Chroma=False,Lsb=True,Lsb_Out=True)
F=DitherPost(Mode=-1)
S=F.FastLineDarkenMod()
D=MT_MakeDiff(S,F).Dither_Convert_8_To_16()
Dither_Add16(Last,D,Dif=True,U=2,V=2)
GradFun3(Radius=16,Lsb_In=True,Lsb=True)
### Preview Source OR Send 16-bit Output To x264 10-bit ###
# DitherPost()
Dither_Out()
This seems to utilize as close to 100% CPU as possible without crashing or glitches--Special Thanks to Groucho's AVSMeter --and I'm quite pleased with the results when viewed. The above quote has me wondering, however: would I see any gain in encoding speed if I switched from SEt's AviSynth MT to pinterf's AviSynth+ MT?
LouieChuckyMerry is offline   Reply With Quote
Old 6th April 2019, 21:29   #8778  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by LouieChuckyMerry View Post
The above quote has me wondering, however: would I see any gain in encoding speed if I switched from SEt's AviSynth MT to pinterf's AviSynth+ MT?
Probably. First, you can use a 64 bit processing chain throughout which eliminates any memory restrictions (given that you do have enough memory installed). If you can't use 64 bit (if for example one of your filters is not available in 64 bit or you don't have a 64 bit OS), AVS+ is still the better option because it uses much less memory than SEt's MT in most cases, is more stable and many internal functions are much faster.

Apart from the multi-threading syntax (see here) and some new functions, AVS+ usage is pretty much the same as classic Avisynth.

So, pretty much a no-brainer.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 6th April 2019 at 21:32.
Groucho2004 is offline   Reply With Quote
Old 6th April 2019, 22:44   #8779  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 355
Quote:
Originally Posted by Groucho2004 View Post
Probably. First, you can use a 64 bit processing chain throughout which eliminates any memory restrictions (given that you do have enough memory installed).
I've 16GB RAM installed, although I think some is dedicated to the graphics card.


Quote:
Originally Posted by Groucho2004 View Post
If you can't use 64 bit (if for example one of your filters is not available in 64 bit or you don't have a 64 bit OS), AVS+ is still the better option because it uses much less memory than SEt's MT in most cases, is more stable and many internal functions are much faster.
My OS is 64 bit Windows 7 Home Premium. Is there somewhere you'd recommend to gather 64 bit filters?


Quote:
Originally Posted by Groucho2004 View Post
Apart from the multi-threading syntax (see here) and some new functions, AVS+ usage is pretty much the same as classic Avisynth.
Thanks. I worry about checking out pinterf's AviSynth+ MT such that I botch something then can't return to my original set up. Any suggestions?

Quote:
Originally Posted by Groucho2004 View Post
So, pretty much a no-brainer.
Ho ho ho, you slay me .


EDIT: The Universal Avisynth Installer would probably be a very useful tool.

Last edited by LouieChuckyMerry; 6th April 2019 at 23:06. Reason: Time
LouieChuckyMerry is offline   Reply With Quote
Old 6th April 2019, 22:49   #8780  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Please read: AviSynth Wiki: AviSynth+; it has a chapter about already available 64 bit plugins, too (more might be ported, sometimes, some day).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH 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:05.


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