This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

hi - encoding really slow
#26
(06.02.2018, 21:56)Selur Wrote:
Quote:i dont remember hwaccel initialization return error. where would i see this?
You would see them when calling the different ffmpeg calls I asked you to try.
In case they don't throw this error vpu decoding should be used.

Quote:any instructions how to setup and use  Avisynth and Vapoursynth with hybrid?
Vapoursynth will be used, when "Filtering->Support" is set to "Vapoursynth" and a Vapoursynth filter is used. Sadly there is no free VPU decoder for Vapoursynth. Hybrid does support using DGDecNV (associated files and the license.txt would need to be copied into the vsfilters/DGDecNV folder), but that isn't free.
Usage of Avisynth can be enforced using "Config->Internals->Avisynth->Always use Avisynth", when "Filtering->Support" is set to "Avisynth" and one could use FRIM as a free vpu decoder supported source filter by enabling "Filtering->Avisysnth->Misc->Support FRIM".
-> ARGH, just checked, FRIM doesn't support HEVC hardware decoding.

=> So the only way to get hardware hevc decoding is either through FFmpeg or DGDecNV.
Your best change is probably ffmpeg with "-hwaccel cuvid" (see: https://trac.ffmpeg.org/wiki/HWAccelIntro, which isn't supported atm. in Hybrid, but I could add support for it fairly easy), but that only makes sense if that works and helps. (posted an appropriate call above, btw. if you test those calls you can also check whether is helps if you remove the '-threads 1' part, which limits the software decoding threads)

Cu Selur
i just started encoding using "-hwaccel cuvid". i will report back if it helps.

Thanks

i noticed its not working right away. getting avg 13fps

  Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[AVHWFramesContext @ 0000026f7eef0440] Pixel format 'yuv420p10le' is not supported
[hevc @ 0000026f7ec4adc0] Error initializing a CUDA frame pool
cuvid hwaccel requested for input stream #0:0, but cannot be initialized.
[hevc @ 0000026f7ec4adc0] Error parsing NAL unit #10.
Error while decoding stream #0:0: Operation not permitted
[hevc @ 0000026f7ec4adc0] Could not find ref with POC 0
[yuv4mpegpipe @ 0000026f10174880] Warning: generating non standard YUV stream. Mjpegtools will not work.


same on another system with p4000 but getting better fps. I will test others. hwaccel cuvid seem very low speed
Reply


Messages In This Thread
hi - encoding really slow - by David408 - 01.01.2018, 00:10
RE: hi - by Selur - 01.01.2018, 03:27
RE: hi - by David408 - 01.01.2018, 04:05
RE: hi - by Selur - 01.01.2018, 10:50
RE: hi - by David408 - 01.01.2018, 23:47
RE: hi - by Selur - 02.01.2018, 05:49
RE: hi - by David408 - 02.01.2018, 06:09
RE: hi - by David408 - 02.01.2018, 22:19
RE: hi - by David408 - 03.01.2018, 01:42
RE: hi - encoding really slow - by Selur - 03.01.2018, 05:49
RE: hi - encoding really slow - by David408 - 03.01.2018, 06:57
RE: hi - encoding really slow - by David408 - 03.01.2018, 23:57
RE: hi - encoding really slow - by David408 - 04.01.2018, 22:12
RE: hi - encoding really slow - by x265 - 01.02.2018, 18:42
RE: hi - encoding really slow - by Selur - 01.02.2018, 19:09
RE: hi - encoding really slow - by hbb - 02.02.2018, 13:38
RE: hi - encoding really slow - by Selur - 02.02.2018, 14:42
RE: hi - encoding really slow - by hbb - 02.02.2018, 15:00
RE: hi - encoding really slow - by Selur - 02.02.2018, 17:06
RE: hi - encoding really slow - by hbb - 04.02.2018, 05:06
RE: hi - encoding really slow - by Selur - 04.02.2018, 09:49
RE: hi - encoding really slow - by hbb - 06.02.2018, 17:22
RE: hi - encoding really slow - by Selur - 06.02.2018, 19:09
RE: hi - encoding really slow - by hbb - 06.02.2018, 21:40
RE: hi - encoding really slow - by Selur - 06.02.2018, 21:56
RE: hi - encoding really slow - by hbb - 06.02.2018, 23:33
RE: hi - encoding really slow - by Selur - 07.02.2018, 06:14
RE: hi - encoding really slow - by hbb - 07.02.2018, 15:11
RE: hi - encoding really slow - by Selur - 07.02.2018, 17:27
RE: hi - encoding really slow - by hbb - 08.02.2018, 02:59
RE: hi - encoding really slow - by Selur - 08.02.2018, 06:03
RE: hi - encoding really slow - by hbb - 09.02.2018, 18:05
RE: hi - encoding really slow - by Selur - 09.02.2018, 18:44
RE: hi - encoding really slow - by hbb - 10.02.2018, 17:25
RE: hi - encoding really slow - by Selur - 10.02.2018, 18:31
RE: hi - encoding really slow - by Selur - 10.02.2018, 18:37

Forum Jump:


Users browsing this thread: 5 Guest(s)