Re: Hardware acceleration / vaapi

2017-10-22 Thread Vincent Pinon
Many thanks for the status Bernd! Le dimanche 22 octobre 2017, 10:57:12 CEST B.M. a écrit : > Dear all, > > After some weeks I'm reporting back now concerning hardware accelerated > encoding on my Intel Haswell machine with HD 4600 graphics. > > Detailed testing shows that (at least on this lit

Re: Hardware acceleration / vaapi

2017-10-22 Thread B.M.
Dear all, After some weeks I'm reporting back now concerning hardware accelerated encoding on my Intel Haswell machine with HD 4600 graphics. Detailed testing shows that (at least on this little older CPU ( ~ 2013)): - hardware encoding with resizing is slower than software encoding, so I stay

Re: Hardware acceleration / vaapi

2017-08-11 Thread Vincent PINON
Hello, 'kdenlive_render' accepts the parameter: 'preargs="..."' to pass arguments to melt before any other (profile, consumer etc). you can also run trials with 'melt' command instead of 'kdenlive_render', which is just a wrapper to send progress info & controls to notifications, but is then a

Re: Hardware acceleration / vaapi

2017-08-11 Thread B.M.
Well, eventually I'd like to create a new render profile, but in order to find out how it works (more precisely: why it didn't work), I looked at the render scripts kdenlive creates; I thought it might be easier to learn it like that. Whatever, it doesn't work as you proposed :-( I think withou

Re: Hardware acceleration / vaapi

2017-08-10 Thread Evert Vorster
Hi there, Bernd. I am under the impression that you want to create a render profile in Kdenlive. If that is the case start with the example from the bug report: -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -i -an -c:v dnxhd If you have a look at all the other ren

Re: Hardware acceleration / vaapi

2017-08-10 Thread B.M.
1) Proxy clips -- done Proxy clips creation with hardware acceleration is working fine now, for the record: I use x264 with these settings (in ~/.local/share/kdenlive/ encodingprofiles.rc): x264_vaapi=-vaapi_device /dev/dri/renderD128 -i -vf format=nv12,hwupload,scale_vaapi=w=1280:h=720 -vcodec

Re: Hardware acceleration / vaapi

2017-08-10 Thread Evert Vorster
Hi there, Bernd Try again, but replace the "- $SOURCE_0 $TARGET_0" with "-i" Kind regards, -Evert- On 10 August 2017 at 13:37, B.M. wrote: > PS: I'm trying something like (render script) > > PARAMETERS_0="-kuiserver -pid:8839 in=0 out=1139 $MELT uhd_2160p_25 > 'avformat > vaapi_device=/dev/d

Re: Hardware acceleration / vaapi

2017-08-10 Thread B.M.
PS: I'm trying something like (render script) PARAMETERS_0="-kuiserver -pid:8839 in=0 out=1139 $MELT uhd_2160p_25 'avformat vaapi_device=/dev/dri/renderD128' - $SOURCE_0 $TARGET_0 properties=x264-medium f=mp4 vf='format=nv12,hwupload' vcodec=libx264_vaapi acodec=aac g=120 crf=23 ab=160k preset=

Re: Hardware acceleration / vaapi

2017-08-10 Thread B.M.
Hi, Foreword: I just did the upgrade to the testing package (17.04.3) to get this "bug fix". I'm really sorry, but I don't get it: What you've sent me is the rendering parameter, as set in the render dialog. You changed is from vcodec=hevc to vcodec_nvenc to get hardware encoding working with

Re: Hardware acceleration / vaapi

2017-08-09 Thread B.M.
Hi, Coming back regarding my attempts to get encoding using vaapi-hardware acceleration to work... First, Vincent, concerning your point of ffmpeg not being compiled with vaapi enabled in Debian - well, that's correct and not correct somehow: it's not compiled with enable-vaapi, but vaapi is s

Re: Hardware acceleration / vaapi

2017-08-08 Thread farid abdelnour
2017-08-08 9:31 GMT-03:00 Vincent Pinon : > > Evert, did you try to share your custom profiles using "HotNewStuff" > function in Kdenlive? ;) > +1 > > > Vincent > > > > Le mardi 8 août 2017, 12:47:31 CEST Evert Vorster a écrit : > > Hi there, Bernd. > > Kdenlive supports hardware encoding throu

Re: Hardware acceleration / vaapi

2017-08-08 Thread B.M.
Hi all, Well so I can expect hw accel for ENcoding to work. What's about DEcoding? Can that be enabled as well? Is it correct that direct raw copying (no de- and re-encoding) is not possible? Would be s nice (speedup & image quality) for all the clips which rest unchanged! I know that this

Re: Hardware acceleration / vaapi

2017-08-08 Thread Vincent Pinon
Hello, Note that you need to have FFmpeg built with vaapi or nvenc support, which is not the case of Debian package. I don't know what's needed for Intel, but for NVidia you have to download a SDK linked to closed-source driver, providing personal information: showstopper for me (and many packa

Re: Hardware acceleration / vaapi

2017-08-08 Thread Evert Vorster
Hi there, Bernd. Kdenlive supports hardware encoding through custom encoding profiles. This is my profile for hardware hevc encoding with nvidia: properties=x265-medium f=matroska vcodec=hevc_nvenc acodec=aac crf=%quality ab=%audiobitrate+'k' It would have been awesome if mlt and ffmpeg used th