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 21st September 2017, 18:40   #2561  |  Link
AMED
Registered User
 
AMED's Avatar
 
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
Hi Stax,

There is a newer version of mvsfunc.py than the one packaged in with Staxrip. r7 is packaged and r8 was released a few months later.

https://github.com/HomeOfVapourSynth...sfunc/releases
__________________
A Man Eating Duck
AMED is offline   Reply With Quote
Old 21st September 2017, 20:52   #2562  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
@mcjordan
@AMED

Thanks, next build has it updated.
stax76 is offline   Reply With Quote
Old 22nd September 2017, 03:50   #2563  |  Link
Khun_Doug
Registered User
 
Join Date: Jul 2016
Posts: 100
Adding AVISynth Filter

Stax,

I want to add the FineSharp AVISynth filter. The Vapoursynth port of FineSharp doesn't have all the functionality as the AVISynth function. I added the FineSharp.avsi file to the Plugins/avs folder and modified the Filter Profiles for AviSynth in the [Misc] section. I thought it might be that I need 64 bit dll's but I keep getting a message that FineSharp is unknown, even if I have the script reference 32 bit dll's.

How do I add FineSharp to AVISynth filters?

Khun Doug
Khun_Doug is offline   Reply With Quote
Old 22nd September 2017, 04:11   #2564  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
@Khun_Doug

I don't recommend doing any changes within the startup directory because you can't easily update then!


You can load avsi either manually using Import:

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


Or automatically by putting it in the auto load folder:

Main Menu > Tools > Folders > Plugins
stax76 is offline   Reply With Quote
Old 22nd September 2017, 07:31   #2565  |  Link
Khun_Doug
Registered User
 
Join Date: Jul 2016
Posts: 100
I wasn't able to determine how to use the Import function. Perhaps on a rainy day sometime. But the second solution worked. The FineSharp function needs RgTools and MaskTools2. I updated both to the current 64 bit versions and put the whole thing in the Plugin264+ folder for AviSynth+. It works well. And the AVISynth implementation does more than the VapourSynth port.

Thank for the help on this!! This tool is the best!
Khun_Doug is offline   Reply With Quote
Old 22nd September 2017, 07:56   #2566  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
In the code editor you would use:

Code:
Import("d:\FineSharp.avsi")
FineSharp()
In the filter profile editor you would use a multi line profile like so:

Code:
[Misc]
FineSharp =
    Import("d:\FineSharp.avsi")
    FineSharp()
Where can I find the script and which plugins where outdated?
stax76 is offline   Reply With Quote
Old 22nd September 2017, 10:29   #2567  |  Link
dvd_maniac
Registered User
 
Join Date: Feb 2002
Location: northeast/usa
Posts: 830
Video & Audio have different Frame Rates

I'm trying to encode a video and the resulting encode has audio playing like a vinyl record playing on a slow speed.
According to MediaInfo the video has a frame rate of 23.976 but the audio's frame rate is 31.25 (1536 SPF).
The audio is also showing a delay of 125ms
What can I do to encode this without audio/video sync issues?

Last edited by dvd_maniac; 22nd September 2017 at 10:36.
dvd_maniac is offline   Reply With Quote
Old 22nd September 2017, 10:43   #2568  |  Link
luigizaninoni
Registered User
 
Join Date: Apr 2015
Posts: 163
never mind, mclean did not work because staxrip was autoloading older plugins

Last edited by luigizaninoni; 22nd September 2017 at 11:00.
luigizaninoni is offline   Reply With Quote
Old 22nd September 2017, 13:05   #2569  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
mClean works perfectly if one takes to refresh the necessary plugins manualy. ;-)
I just use this:
Undot ()/ mClean(enh=35)Prefetch(16) / Sharpen (0.24,0.24)
Тhe result is slightly more sharper than usual.
mcjordan is offline   Reply With Quote
Old 22nd September 2017, 18:44   #2570  |  Link
Khun_Doug
Registered User
 
Join Date: Jul 2016
Posts: 100
Here is the script I found on Internet when I was originally looking for something to use in AVISynth. It uses RgTools and MaskTools2. I was able to get current versions of both that include 32 bit and 64 bit dll's. I am including the script and the zipped support libraries.

I extracted the respective 64 bit dll's in the plugins+ folder within AviSynth+ folder, and placed the FineSharp.avsi file there as well. Works as expected.

The files are combined here: https://1drv.ms/u/s!Ap5bLSG819129APiHKZqQJ-SQUMF
Khun_Doug is offline   Reply With Quote
Old 22nd September 2017, 22:02   #2571  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
These are the plugins of Pinterf, the same as those within StaxRip.
FineSharp works without these - it works naturally in StaxRip.
Frank has described the procedure just above.
I use this: http://avisynth.nl/index.php/FineSharp
https://forum.doom9.org/showthread.php?t=166082

P.S. For sure, I copied them in plugins+ directory to. ;-)

Last edited by mcjordan; 22nd September 2017 at 22:19.
mcjordan is offline   Reply With Quote
Old 23rd September 2017, 02:50   #2572  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Yes, staxrip includes the newest versions of all plugins required for FineSharp, the newest staxrip build should automatically add the required LoadPlugin calls, this detection was added for avisynth and vapoursynth a few builds ago, next build has FineSharp included.

Quote:
never mind, mclean did not work because staxrip was autoloading older plugins
Next build has a warning for this.

@dvd_maniac

I would new a full log file, a good way to upload is pastebin.com (enable auto expire).
stax76 is offline   Reply With Quote
Old 23rd September 2017, 04:54   #2573  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
@dvd_maniac

It looks like eac3to fails with your AC3 source, you can reload the project and use mux/copy for the video, this will use the already encoded video, for audio there are different things you can do, the audio encoding options have a encoder option where you can choose fdkaac or qaac, those apps are not included and it can take some effort to find them, you don't have this problem if you use a free encoder like Opus. If you want AAC there is still another possibility, in the project options on the audio tab enable:

Convert Method: ffmpeg
Convert Format: FLAC or W64
Force conversion: Check
stax76 is offline   Reply With Quote
Old 23rd September 2017, 12:36   #2574  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
Update (aaargh... ;-)

NVEnc v3.2.2
* switch --cuda-schedule default to "auto", since "sync" harms performance in some cases.
* add English version of readme & options list:
https://github.com/rigaya/NVEnc/blob/master/Readme.md
https://github.com/rigaya/NVEnc/blob..._Options.en.md
mcjordan is offline   Reply With Quote
Old 23rd September 2017, 13:10   #2575  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Stable release is out.

https://github.com/stax76/staxrip/releases/tag/1.7
stax76 is offline   Reply With Quote
Old 23rd September 2017, 16:35   #2576  |  Link
fredlkrue
Registered User
 
Join Date: Oct 2007
Posts: 43
Quote:
Originally Posted by stax76 View Post
Great news stax, thanks for all the hard work you put into this project.

One question, since I encode with HEVC two passes in order to fit them into an specific file size, how can I set it up to do a "FAST" first pass?, as I have it now, both passes takes about the same time, so having first pass "FAST" will save me a lot of time.

Last edited by fredlkrue; 23rd September 2017 at 17:20.
fredlkrue is offline   Reply With Quote
Old 23rd September 2017, 16:49   #2577  |  Link
Yanak
Registered User
 
Join Date: Oct 2011
Posts: 275
The preview size is really great now, it's just perfect on this last vrsion, thansk a lot.

Just had time to mess a bit with default templates, just to test, noticed some like "remux" or "no indexing or remuxing" have the source set as DDS2, not sure if intended or not, should be set to "automatic" i think or a lot of inputs will have issues, easy to change for the end user setting "automatic" for source then saving the template again to avoid issues on the next times but just in case i better report it here.

Thanks.
Yanak is offline   Reply With Quote
Old 23rd September 2017, 20:17   #2578  |  Link
robl45
Registered User
 
Join Date: Dec 2012
Posts: 163
Can someone tell me decent settings for Nvidia HEVC encoding? I'm encoding a movie now and I guess I'm doing overkill as it used to encode at over 100fps and now its doing around 65.

I think I was doing VBR before, and this time I checked VBRHQ. It sounded good, but I have really no idea what the difference is. I prefer variable bit rate, but not really sure what options I should use to get a decent film quality and have it not totally bog down.

I also have skylake I3 chip in the computer so I can use intel hardware 265 encoding if that is better than nvidia.
robl45 is offline   Reply With Quote
Old 23rd September 2017, 20:47   #2579  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
robl45

My custom NVEnc VBRHQ short profile:
--vbrhq 4224 --codec h265 --preset quality --output-depth 10 --weightp --ref 4 --lookahead 24 --qp-init 1 --vbr-quality 1 --aq --output-buf 128 --sar 12:11 --mv-precision q-pel --cabac --fullrange
mcjordan is offline   Reply With Quote
Old 24th September 2017, 01:53   #2580  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
One question, since I encode with HEVC two passes in order to fit them into an specific file size, how can I set it up to do a "FAST" first pass?, as I have it now, both passes takes about the same time, so having first pass "FAST" will save me a lot of time.
x265 has --slow-firstpass enabled by default, in staxrip you can find it with the search field at the bottom of the x265 config dialog.

Quote:
Just had time to mess a bit with default templates, just to test, noticed some like "remux" or "no indexing or remuxing" have the source set as DDS2, not sure if intended or not, should be set to "automatic" i think or a lot of inputs will have issues, easy to change for the end user setting "automatic" for source then saving the template again to avoid issues on the next times but just in case i better report it here.
Sure it's intended, for me it's very useful as I often need to open a file quickly, I'll change it to support LSMASHVideoSource for MP4. I don't spend a lot thought about unexperienced users but there will be much better documentation. I wish something like LSMASHVideoSource would be available for mkv, is it impossible to build, absolutely not!

Quote:
Can someone tell me decent settings for Nvidia HEVC encoding? I'm encoding a movie now and I guess I'm doing overkill as it used to encode at over 100fps and now its doing around 65.
There are various reasons for performance issues, without seeing a full log file it's difficult to guess, nvenc allow Full HD encodes up to 400 fps. You can find some info here:

https://github.com/stax76/staxrip/issues/265

Last edited by stax76; 24th September 2017 at 03:34.
stax76 is offline   Reply With Quote
Reply

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 02:52.


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