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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th July 2016, 22:44   #1441  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
You are the best stax!
__________________
Asus ProArt Z790 - 13th Gen Intel i9 - RTX 3080 - DDR5 64GB Predator - LG OLED C9 - Yamaha A3030 - Windows 11 x64 - PotPlayerr - Lav - MadVR
Magik Mark is offline   Reply With Quote
Old 14th July 2016, 22:55   #1442  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
Stax the latest test build still has x265 v1.9 build 217 right? There's v2.0 I think
__________________
Asus ProArt Z790 - 13th Gen Intel i9 - RTX 3080 - DDR5 64GB Predator - LG OLED C9 - Yamaha A3030 - Windows 11 x64 - PotPlayerr - Lav - MadVR
Magik Mark is offline   Reply With Quote
Old 14th July 2016, 23:24   #1443  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
@brumsky

I don't see a use case for many people and it's not easy to code because the current detection is already very complicated, the scripting API for C# and PowerShell was made for such special things, I can help with it.

@Magik Mark

I wait for somebody posting a multi lib build.
stax76 is offline   Reply With Quote
Old 14th July 2016, 23:34   #1444  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
Tried the new SMDegrain using this parameters as depicted in wiki for HD sources:

SMDegrain(tr=2,thSAD=180,prefilter=2,contrasharp=30,refinemotion=true,lsb=true,chroma=false,plane=0)

Got this Error:

__________________
Asus ProArt Z790 - 13th Gen Intel i9 - RTX 3080 - DDR5 64GB Predator - LG OLED C9 - Yamaha A3030 - Windows 11 x64 - PotPlayerr - Lav - MadVR
Magik Mark is offline   Reply With Quote
Old 14th July 2016, 23:48   #1445  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Not all possible dependencies are included, I had googled 'AviSynth medianblur' but didn't find something helpful.
stax76 is offline   Reply With Quote
Old 15th July 2016, 00:35   #1446  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
In the smdegrain wiki all the required dependencies are indicated. Downloaded then at:

http://avisynth.nl/index.php/AviSynt...2B_x64_plugins

I was able to successfully run it using avmeter. Im getting around 3 fps
__________________
Asus ProArt Z790 - 13th Gen Intel i9 - RTX 3080 - DDR5 64GB Predator - LG OLED C9 - Yamaha A3030 - Windows 11 x64 - PotPlayerr - Lav - MadVR

Last edited by Magik Mark; 15th July 2016 at 00:41.
Magik Mark is offline   Reply With Quote
Old 16th July 2016, 08:57   #1447  |  Link
Leo 69
Registered User
 
Join Date: Nov 2004
Posts: 227
@Mark

Did you manage to get this fixed with "medianblur"? I also get the same message when enabling the contrasharp function. I have no idea what to do.
Leo 69 is offline   Reply With Quote
Old 16th July 2016, 12:47   #1448  |  Link
Mr Alpha
Registered User
 
Join Date: Jul 2008
Posts: 75
I am in the process of transcoding my ripped DVD library from H.264 to H.265 using StaxRip and there is one thing I wonder if it would be possible to automate. The files have a variety of Color primaries, Transfer characteristics and Matrix coefficients set. Is it possible to have StaxRip automatically read this from the input stream and tell x265 to add it to the output stream?
Mr Alpha is offline   Reply With Quote
Old 16th July 2016, 17:10   #1449  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Hello Frank.

Latest QSVEncC v2.54 that you include in your latest 1.3.8.1 build has added an interesting option -avsw.

It can decode in SW video files using ffmpeg (so it's like every possible video file out there) instead of Avisynth or HW decoder.

Do you think you could add this option in the decoders section ?
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 16th July 2016, 17:14   #1450  |  Link
robl45
Registered User
 
Join Date: Dec 2012
Posts: 163
Hi Guys, Incredible Newbie questions here so apologize in advance. I'd like to convert my bluray movies to 265. Is it best to do makemkv to make the mkv and then convert with staxrip? I'm trying that now as going straight into staxrip kept giving me errors. Then I have an I3 6100 processor and a GTX 950 card. Is it better to use Intel or Nvidia hardware encode? Last question and where I'm really stumped is I don't really understand the settings. Are there some basic settings to get a decent quality encode with a file size around 10GB or so? When I go to Intel or nvidia 265, I don't really understand what I'm looking at. Trying intel now and I changed it to best in the options. Should I be doing anything else?

Thanks

EDIT: another issue I am having is subtitles. I want hardcoded for non english parts so I checked hardcode the sub and got forced subs off of subscene, but it hardcoded the subs and put them below the actual movie while the soft subs are above. I want hard coded subs as many programs screw it up and I just want them to work for forced. I can't seem to find anyplace to adjust them higher, nor can I find a place to say just burn in the sub like dvdfab does.

Last edited by robl45; 16th July 2016 at 21:07.
robl45 is offline   Reply With Quote
Old 18th July 2016, 00:22   #1451  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
I am in the process of transcoding my ripped DVD library from H.264 to H.265 using StaxRip and there is one thing I wonder if it would be possible to automate. The files have a variety of Color primaries, Transfer characteristics and Matrix coefficients set. Is it possible to have StaxRip automatically read this from the input stream and tell x265 to add it to the output stream?
with the test build 1.3.8.5 you can create a C# script, in the main menu go to Tools > Scripts to open the script folder, save following code with csx extension:

Code:
using static StaxRip.ShortcutModule;

string GetMediaInfo(string param) {
    return MediaInfo.GetVideo(p.FirstOriginalSourceFile, param);
}

void SetParam(string param) {
    g.DefaultCommands.ImportVideoEncoderCommandLine(param);
}

if (GetMediaInfo("colour_primaries")         == "BT.709")               SetParam("--colorprim bt709");
if (GetMediaInfo("colour_primaries")         == "BT.2020")              SetParam("--colorprim bt2020");

if (GetMediaInfo("transfer_characteristics") == "BT.709")               SetParam("--transfer bt709");
if (GetMediaInfo("transfer_characteristics") == "SMPTE ST 2084")        SetParam("--transfer smpte-st-2084");

if (GetMediaInfo("matrix_coefficients")      == "BT.709")               SetParam("--colormatrix bt709");
if (GetMediaInfo("matrix_coefficients")      == "BT.2020 non-constant") SetParam("--colormatrix bt2020nc");
The script can then be called from the main menu, to automate it a event command can be created (Tools > Advanced > Event Commands), there is a command called ExecuteScriptFile.

Probably some community work is needed to support more formats...

Quote:
Latest QSVEncC v2.54 that you include in your latest 1.3.8.1 build has added an interesting option -avsw.

It can decode in SW video files using ffmpeg (so it's like every possible video file out there) instead of Avisynth or HW decoder.

Do you think you could add this option in the decoders section ?
What interests you in this feature?

@robl45

MakeMKV is great for DVD and BD, StaxRip's eac3to demux GUI for BD folders and M2TS is better then what I've seen in other GUIs so it don't matter if you use MakeMKV or something else, what was the error message you got?

What encoder and settings to use isn't a simple topic, the H.265 hardware encoders are not as mature as the H.264 hardware encoders, you can try to find guides, search to learn about particular parameters and you can make test encodes and compare them, StaxRip offers a comparison tool (Tools > Advanced > Video Comparison).

For subtitle height I think you have to use some editor like Aegisub.

Last edited by stax76; 18th July 2016 at 00:34.
stax76 is offline   Reply With Quote
Old 18th July 2016, 02:20   #1452  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by stax76 View Post
What interests you in this feature?.
I'm interested in a decoder that doesn't use avisynth and is rock solid (or should be) like ffmpeg.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 18th July 2016, 07:43   #1453  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by NikosD View Post
I'm interested in a decoder that doesn't use avisynth and is rock solid (or should be) like ffmpeg.
Next build will support it.
stax76 is offline   Reply With Quote
Old 19th July 2016, 10:07   #1454  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by stax76 View Post
Next build will support it.
Hello Frank.

It works like a charm in your latest beta, but not in the context of the whole app.

The way it is implemented is like a switch only in QSVEncC.

Meaning, that when I open a video file, the startup menu of preferred decoders that shows up automatically, doesn't allow me to avoid indexing unless I select DSS2.

There must be a way to select SW decoding without indexing from the beginning.

Thanks
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 19th July 2016, 10:15   #1455  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
You could use DSS2 in your startup template instead of Manual, I use automatic and demux everything automatic so I don't have any dialogs when I open a file.
stax76 is offline   Reply With Quote
Old 19th July 2016, 11:10   #1456  |  Link
JohnLai
Registered User
 
Join Date: Mar 2008
Posts: 448
So..stax76....you might wanna be prepared to add new features from rigaya's nvencc soon.....because nvidia just released nvenc sdk7.0.

What’s new in Video Codec SDK 7.0

HEVC 8K (8192 pixels x 8192 pixels) encoding *
HEVC 4:4:4 encoding *
HEVC 10-bit encoding *
HEVC lossless encoding *
HEVC Sample Adaptive Offset (SAO) *
HEVC Motion-Estimation-(ME)-only mode *
HEVC (up to 8K) decoding *
VP9 (up to 8K) decoding *
HEVC long term reference (LTR) frame support
Asynchronous H.264 Motion-Estimation-(ME)-only mode
Look-ahead
Improved H.264 spatial adaptive quantization
H.264 temporal adaptive quantization
Rate control and quality improvements

* These features require Pascal generation GPUs.



And so.......as I mentioned before...pascal still doesn't support hevc b-frames and 64x64 CU size. It is hardware limitation.
JohnLai is offline   Reply With Quote
Old 19th July 2016, 16:22   #1457  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
NVEnc v2.08 update by rigaya
---
Because finally NVENC SDK 7.0 has been published today, the implementation so that it can be used only part somehow in the rush job. So did not have time, please note that not be barely tested in the fullest only implementation.
Basically, should that become such Lookahead and AQ is available. The bottom line of the 10bit is there also implement the likely time-consuming...

---
And responding to NVENC SDK 7.0
Requires NVIDIA graphics driver 368.69 or later

- Added an option of additional features in SDK 7.0.

--vbr-quality <int> (NVEncC only)
It sets the target quality at the time of VBR mode use. (0-51, 0 = automatic)

--lookahead <int>
To enable the lookahead, to specify the target range by the number of frames. (0-32)
With help to improve the image quality, adaptive I, B frame insertion is enabled.

--no-i-apapt (NVEncC only)
lookahead to disable the adaptive I-frame insertion at the time of effectiveness.

--no-b-apapt (NVEncC only)
lookahead to disable the adaptive B-frames insertion at the time of effectiveness.

--strict-gop (NVEncC only)
To force a fixed GOP length.

--enable-ltr (NVEncC only)
LTR the (Long Term Reference pictures) to enable.

--aq
To enable the adaptive quantization of the frame (spatial direction). (Default: off)

--aq-temporal
To enable the adaptive quantization between the frame (time direction). (Default: off)

--aq-strength <int>
To specify the AQ strength. (1 (weak) to 15 (strong), 0 = automatic)
mcjordan is offline   Reply With Quote
Old 19th July 2016, 18:27   #1458  |  Link
JohnLai
Registered User
 
Join Date: Mar 2008
Posts: 448
Quote:
Originally Posted by mcjordan View Post
NVEnc v2.08 update by rigaya
---
Because finally NVENC SDK 7.0 has been published today, the implementation so that it can be used only part somehow in the rush job. So did not have time, please note that not be barely tested in the fullest only implementation.
Basically, should that become such Lookahead and AQ is available. The bottom line of the 10bit is there also implement the likely time-consuming...

---
And responding to NVENC SDK 7.0
Requires NVIDIA graphics driver 368.69 or later

- Added an option of additional features in SDK 7.0.

--vbr-quality <int> (NVEncC only)
It sets the target quality at the time of VBR mode use. (0-51, 0 = automatic)

--lookahead <int>
To enable the lookahead, to specify the target range by the number of frames. (0-32)
With help to improve the image quality, adaptive I, B frame insertion is enabled.

--no-i-apapt (NVEncC only)
lookahead to disable the adaptive I-frame insertion at the time of effectiveness.

--no-b-apapt (NVEncC only)
lookahead to disable the adaptive B-frames insertion at the time of effectiveness.

--strict-gop (NVEncC only)
To force a fixed GOP length.

--enable-ltr (NVEncC only)
LTR the (Long Term Reference pictures) to enable.

--aq
To enable the adaptive quantization of the frame (spatial direction). (Default: off)

--aq-temporal
To enable the adaptive quantization between the frame (time direction). (Default: off)

--aq-strength <int>
To specify the AQ strength. (1 (weak) to 15 (strong), 0 = automatic)
Well, the look-ahead option works in CQP mode for both HEVC and H264.

I tested HEVC encoding.

With lookahead 32
GOP length
Maximum GOP length 8000 msec (240 frames)
Minimum GOP length 400 msec (12 frames)
Median of GOP length 2800 msec (84 frames)
Standard deviation of GOP length 2491.28 msec (74.74 frames))

Without lookahead option, I-Frame is inserted every 240 frames.
GOP length
Maximum GOP length 8000 msec (240 frames)
Minimum GOP length 8000 msec (240 frames)
Median of GOP length 8000 msec (240 frames)
Standard deviation of GOP length 0.00 msec (0.00 frames)

Those who enables HEVC Long Term Reference pictures might wanna lower --ref by 1. Example, for 1920x1080, max ref for L4.1 is 5 frames. However, with LTF enabled, max ref will drop to 4 frames.

Edit: Enabling LTR and Look-Ahead 32 cause 20fps drop on GTX970....negligible ~.~

Last edited by JohnLai; 19th July 2016 at 18:33.
JohnLai is offline   Reply With Quote
Old 21st July 2016, 21:36   #1459  |  Link
Leo 69
Registered User
 
Join Date: Nov 2004
Posts: 227
Hi Stax,

Would you please add finesharp() to Avisynth+ default selection as you did it for two of other great filters (SMDegrain, LSFMod)? That would be fantastic.
Thanks a lot in advance.
Leo 69 is offline   Reply With Quote
Old 23rd July 2016, 11:40   #1460  |  Link
mcjordan
Registered User
 
Join Date: Nov 2010
Posts: 124
NVEnc 2.09 (updated by rigaya)
Before the zombies wandering in search of Pokemon and the time being, including the Pokemon GO, updated to allow up to 10bit encoder in the walk through Pascal. ;-)
HEVC 10bit encoding and HEVC YUV4:4:4 additional encoding.
However, 10bit encoding with the following limitations of NVEncC at present.
- Avcuvid leader is non-compliant
- The 10bit read non-compliant
Since doing the direct conversion of the NVEnc.auo of Aviutl from YC48 to 10bit, the accuracy of the loss is not.
mcjordan is offline   Reply With Quote
Reply


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 14:46.


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