2018-11-19, 00:35
Hi,
Kodi 18RC1 on raspberrypi 3b, 32bit Gentoo Linux. HEVC hardware decoding inside kodi works fine.
ffmpeg-4.0.3 is installed systemwide including the hevc patches from newclock5 to allow for stream transcoding. This also works fine.
ffmpeg is built with:
--enable-mmal --enable-omx --enable-omx-rpi --enable-rpi
for HW HEVC/H265 decoding(hevc_rpi decoder) and HW encoding (h264_omx encoder). Works like a charm, however a few side effects/defects are observed:
1.) While transcoding (hevc->h264) the video output shows the stream being transcoded. See image. Can this be avoided? Say, use a different video device/buffer/display or get a settable option to not output to screen from ffmpeg? I was not able to find a suitable decoder or encoder option for this from the list of currently existing.
2.) While a single ffmpeg HEVC decoding is in progress, a second one cannot be started, starting a second one generates the following error and blocks ffmpeg:
gpuserv: vc_gpuserv_init: starting initialisation
gpuserv: vc_gpuserv_init: could not open vchiq service: -1
gpuserv: vc_gpuserv_execute_code: called without calling vc_gpuserv_init
gpuserv: vc_gpuserv_execute_code: vchiq service not initialised
If this is worth becoming a feature request or a bug report, let me know where is the best place to file it.
Kodi can play hevc streams at all times, it is not dependant on ffmpeg decoding in the background.
Thanks for the awesome work for raspberrypi!
-Nikolay
Kodi 18RC1 on raspberrypi 3b, 32bit Gentoo Linux. HEVC hardware decoding inside kodi works fine.
ffmpeg-4.0.3 is installed systemwide including the hevc patches from newclock5 to allow for stream transcoding. This also works fine.
ffmpeg is built with:
--enable-mmal --enable-omx --enable-omx-rpi --enable-rpi
for HW HEVC/H265 decoding(hevc_rpi decoder) and HW encoding (h264_omx encoder). Works like a charm, however a few side effects/defects are observed:
1.) While transcoding (hevc->h264) the video output shows the stream being transcoded. See image. Can this be avoided? Say, use a different video device/buffer/display or get a settable option to not output to screen from ffmpeg? I was not able to find a suitable decoder or encoder option for this from the list of currently existing.
2.) While a single ffmpeg HEVC decoding is in progress, a second one cannot be started, starting a second one generates the following error and blocks ffmpeg:
gpuserv: vc_gpuserv_init: starting initialisation
gpuserv: vc_gpuserv_init: could not open vchiq service: -1
gpuserv: vc_gpuserv_execute_code: called without calling vc_gpuserv_init
gpuserv: vc_gpuserv_execute_code: vchiq service not initialised
If this is worth becoming a feature request or a bug report, let me know where is the best place to file it.
Kodi can play hevc streams at all times, it is not dependant on ffmpeg decoding in the background.
Thanks for the awesome work for raspberrypi!
-Nikolay