Hello Stax and others. I haven't used StaxRip in a while. I want to use it for re-encoding of TV recordings an I really like the QTGMC deinterlacer, but... it seems to bring in Audio delays and I think even more with more cutpoints. I also can see that Staxrip is not using the CPU fully. I wonder why this is. Never the less, great program and nice that you still keeping it up stax.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 181 to 210 of 683
Thread
-
-
Hi Stax,
I have two questions for you and I hope you help me.
I've encoded a video with NVIDIA H.265 (GFX 1050) in the Staxrip program and the results are as in the image
The format profile is: Main 10@L5.1@Main, it is possible to encode with high profile? --> Main 10@L5.1@High
Second question: why in Mediainfo do not appear "Encoding settings" ??
Thx -
a) Is it necessary to have a "High Profile" result? This doesn't increase the encoding efficiency very obviously; it mainly decreases the playback compatibility as it demands a more powerful minimum decoder feature set. I would be glad that the encoder decided: A Main Profile compatible decoder is sufficient to play this result.
b) An auxiliary encoder settings string is stored by x265. Possibly not by NVENC. -
-
For best quality, I would not recommend using NVENC at all; x265 will be superior in many cases.
I, personally, can't use NVENC anyway, I do not own any suitable luxury hardware. -
x265 will be superior in many cases.
There is no encoding setting because all you setting up in NVENC is 1. quality (HQ, LQ ...) and average bitrate and max bitrate. That is all. No bframes are there.
Bernix -
-
Hi,
no, because there is disadvantage of using more cores in compression. Don't know exact number, but ?36? and more (now just guessing). It is same in Cuda, there is plenty of units. Check this site for disadvantage to convert to x264/x265 with high numbers of cores even if is using b-frames. It wouldn't be hard to find this topic.
Bernix -
-
Hi,
it depends on your opinion. Just at same bitrate you cant compare nvenc265 and x265. Nvenc is used mainly for streaming video. It is very fast and quality/bitrate is for computer and internet speed very very reasonable. You can see it also in OBS studio for capture video and stream it also. But in quality (if you are not using 35MB/s for 720p video) I mean that if you do not spend a lot of unreasonable bitrate to video, so Nvenc cant competite with x265 quality. You can use x265 on slower computer too. With reasonable settings and resolution. My friend convert Full HD 1920x1080 on core i7 with speed 4 frames per second. He has a nvidia 1080 graphic card to add, but dont use it to encode video. This settings is unacceptable for slower computer.
But I have to repeat, if you are satisfied with nvenc result size and quality, everything is o.k. Just saying you can get same quality with much less bitrate in x265. Or at same size with much different quality (at reasonable bitrate).
I also used NVENC 265 for encoding very long video with resolution 720p, got smaller file than original video very fast and quality was acceptable. Maybe because source was AVC and it was not real life video. But I believe I can get much smaller size using x265. At the plenty of time penalty.
Edit Obs studio is using only nvenc 264
BernixLast edited by Bernix; 25th Oct 2017 at 10:58.
-
I believe the best recommendation to speed up x265 is not to slow it down unnecessarily... A fast CPU may help, AVX2 support will help as well; but most important, don't use a too slow preset from the beginning. Enough bitrate will preserve quality better than more efforts to diminish the loss of too little.
-
Hello guys,
Im trying to find a solution for my needs of not having to edit the code manually every time in the DGSource filter.
This is where I have to edit the code manually every time.
https://imgur.com/9jNVGyw
What I want to accomplish is deleting the following from the code
SelectEven().AssumeFPS(25)
So the final result I want is this
https://forum.videohelp.com/images/imgfiles/kLI6qkSh.jpg
I have tried to edit the profile (by right-clicking and selecting profiles) but no changes seem to be applied.
I assume that the following lines are the ones that I should edit, but still now changes are made.
Code:AssumeFPS Source File = AssumeFPS(%media_info_video:FrameRate%) AssumeFPS... = AssumeFPS($select:msg:Select a frame rate;24000/1001|24000, 1001;24;25;30000/1001|30000, 1001;30;50;60000/1001|60000, 1001;60$) SelectEven = SelectEven()
Thanks! -
i hope someone can help,as this is doing my head in - how can i keep hdr when encoding my 4k hdr files - all encode fine just no hdr when done :/
-
Getting an error using NVEncc with StaxRip
Error
avs: invalid colorformat.
Failed to open input file.
LoadPlugin("C:\Program Files (Portable)\dgdecnv\x64 Binaries\DGDecodeNV.dll")
DGSource("I:\xxxxx.dgi", fieldop=0, fulldepth=true)
"C:\Program Files (Portable)\StaxRip\Apps\NVEnc\NVEncC64.exe" --vbrhq 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --gop-len 24 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 25 --aq --cuda-schedule auto --colormatrix bt2020nc --colorprim bt2020 --transfer bt2020-10 --mv-precision q-pel --cabac -i -o W:\TEMP\%source_name%_temp\_out.h265
Can any one see where I went wrong? -
-
Already did at his GitHub
Changed over to Vapoursynth and still no go
I'll bring it up at the NVEncC github post -
"still no go"
When you provide no useful data, there can be no useful response. -
Using Vapoursynth to try to process a UHD video
script is
import vapoursynth as vs
core = vs.get_core()
core.avs.LoadPlugin(r'C:\Program Files (Portable)\dgdecnv\x64 Binaries\DGDecodeNV.dll')
clip = core.avs.DGSource(r'D:\#TEMP\xxxx.dgi', fieldop=0, fulldepth=True)
clip.set_output()
Code:Error Video encoding using NVEnc 3.23 (1.7.0.4) Video encoding using NVEnc 3.23 failed with exit code: -1073741819 (0xC0000005) The exit code might be a system error code: The instruction at 0xp referenced memory at 0xp. The memory could not be s. ------------------- Video encoding using NVEnc 3.23 ------------------- "C:\Program Files (Portable)\StaxRip\Apps\NVEnc\NVEncC64.exe" --vbrhq 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --gop-len 24 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 25 --aq --cuda-schedule auto --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --mv-precision q-pel --cabac -i "W:\TEMP\KONG SKULL ISLAND_temp\KONG SKULL ISLAND.vpy" -o "W:\TEMP\KONG SKULL ISLAND_temp\KONG SKULL ISLAND_out.h265" StaxRip.ErrorAbortException: Video encoding using NVEnc 3.23 failed with exit code: -1073741819 (0xC0000005) The exit code might be a system error code: The instruction at 0xp referenced memory at 0xp. The memory could not be s. ------------------- Video encoding using NVEnc 3.23 ------------------- "C:\Program Files (Portable)\StaxRip\Apps\NVEnc\NVEncC64.exe" --vbrhq 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --gop-len 24 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 25 --aq --cuda-schedule auto --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --mv-precision q-pel --cabac -i "W:\TEMP\KONG SKULL ISLAND_temp\KONG SKULL ISLAND.vpy" -o "W:\TEMP\KONG SKULL ISLAND_temp\KONG SKULL ISLAND_out.h265" at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 338 at StaxRip.NVEnc.Encode() in D:\Projekte\VS\VB\StaxRip\Encoding\NVEnc.vb:line 82 at StaxRip.GlobalClass.ProcessVideo() in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 225 at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at StaxRip.GlobalClass.ProcessJob(String jobPath) in D:\Projekte\VS\VB\StaxRip\General\GlobalClass.vb:line 137
"C:\Program Files (Portable)\StaxRip\Apps\NVEnc\NVEncC64.exe" --vbrhq 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --gop-len 24 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 25 --aq --cuda-schedule auto --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --mv-precision q-pel --cabac -i "W:\TEMP\KONG SKULL ISLAND_temp\KONG SKULL ISLAND.vpy" -o "W:\TEMP\KONG SKULL ISLAND_temp\KONG SKULL ISLAND_out.h265"
Any ideas? -
It all works fine for me with:
import vapoursynth as vs
core = vs.get_core()
core.avs.LoadPlugin(r'D:\Don\Programming\C++\DGDecNV\DGDecodeNV\x64\Release\DGDecodeNV.dll')
clip = core.avs.DGSource(r'D:\tmp\gonca\clip.dgi', fieldop=0, fulldepth=True)
clip.set_output()
NVEncC64.exe --vbrhq 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --gop-len 24 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 25 --aq --cuda-schedule auto --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --mv-precision q-pel --cabac -i "clip.vpy" -o "clip.265"
You must have some path problem or something missing. Check it all again. -
I checked the vapoursynth script with Vapoursynth Editor
Test the script and it reports it is good
Tried its preview player and it plays fine.
I might be reaching a bit but do you have a 4k display hooked up to your computer?
I wonder if the fact that I have a 1080p display on the computer might be affecting NVEncC
Edit
I tried a 1080p file with a vpy script and it works properly.
Its only when I try to use the 4k file that I have problems -
I tried a 1080p file with a vpy script and it works properly.
Its only when I try to use the 4k file that I have problems
import vapoursynth as vs
core = vs.get_core()
core.avs.LoadPlugin(r'C:\Program Files (Portable)\dgdecnv\x64 Binaries\DGDecodeNV.dll')
clip = core.avs.DGSource(r'D:\#TEMP\KONG SKULL ISLAND.dgi', fieldop=0, fulldepth=True, resize_w=1920, resize_h=1080)
clip.set_output() -
Should be neither
GTX1080Ti
and 32 GB of system Ram
Without resizing the encode will not start -
This script uses the highest res I can get
import vapoursynth as vs
core = vs.get_core()
core.avs.LoadPlugin(r'C:\Program Files (Portable)\dgdecnv\x64 Binaries\DGDecodeNV.dll')
clip = core.avs.DGSource(r'D:\#TEMP\KONG SKULL ISLAND.dgi', fieldop=0, fulldepth=True, resize_w=3836, resize_h=2158)
clip.set_output() -
Working fine here with 4K resolution. No 4K monitor.
You are just running NVEncC64 without staxrip, right? Keep it simple for now. So doing that, specifically, what error message does NVEncC64 give you. Show us the entire text.
Also, what versions of Vapoursynth and NVEncC64 do you have?
Here's what I get:
NVEncC (x64) 3.25 (r683) by rigaya, Nov 26 2017 20:23:22 (VC 1900/Win/avx2)
OS Version Windows 10 x64 (16299)
CPU Intel Core i7-7700K @ 4.20GHz [TB: 4.41GHz] (4C/8T)
GPU #0: GeForce GTX 1080 Ti (28 EU) @ 1582 MHz (388.31)
NVENC / CUDA NVENC API 8.0, CUDA 9.1, schedule mode: auto
Input Buffers CUDA, 36 frames
Input Info VapourSynthMT r40(yv12(16bit))->p010 [AVX2], 3840x2160, 24000/1001 fpsLast edited by videoh; 14th Dec 2017 at 12:23.
-
Would be a shame if there was a bug in the decoder just even not supporting optimal resolutions. Some revisions of Nvidia PureVideo chipsets had such issues in the past...
__
I am convinced now that this was simply a wrong speculation. In no way was it intended as insult against Nvidia.Last edited by LigH.de; 18th Dec 2017 at 00:46.
-
Updated to version 3.23 and it seems to be working fine now
Running test encode to make sure it all works fine
The version I was using, 3.22, was the first to have the import VUI feature for HDR
Upon looking over the GitHub it seems there were some issues, some being finally resolved in latest version 3.26
Thank you everyone that helped -
Read the info for a change
There is no Dec bug
Rewrite of history complete Baldrick?
A neutral Swede helping a German
History (WWII) repeats itself
Gonna ban me too?Last edited by gonca; 24th Dec 2017 at 10:37.
-
Hi,
I have strange problems encoding Nero AAC 5.1 (with eac3to). 9 of 10 the result is OK bit approx. every 10th mediainfo shows random nonsense channel mapping like
Channel(s) : 2 channels / 6 channels / 6 channels
Channel positions : Front: L R / , Side: 5, Back: C / , Side: 5, Back: C
instead of normal 5.1 mapping:
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
sometimes encode again helps at 1st time, sometimes I had to reencode 3-5times to get good results.
Any idea?
Similar Threads
-
Staxrip: DirectoryNotFoundException
By hisaishi in forum EditingReplies: 2Last Post: 1st Jul 2019, 13:25 -
StaxRip AudioTrim
By aradmey in forum EditingReplies: 7Last Post: 23rd Jun 2019, 11:24 -
StaxRip and A/V desync
By Krasnal82 in forum Blu-ray RippingReplies: 0Last Post: 21st May 2018, 12:00 -
StaxRip 1.7.0.0 with Vapoursynth ?
By locky in forum Video ConversionReplies: 6Last Post: 24th Jan 2018, 18:08 -
Where is 'sharpen' in new Staxrip?
By The.King in forum Video ConversionReplies: 0Last Post: 2nd Sep 2015, 06:44