![Raspberry pi codecs](https://knopkazmeya.com/11.png)
![raspberry pi codecs raspberry pi codecs](https://ae01.alicdn.com/kf/HTB1soyucBCw3KVjSZFuq6AAOpXag/WM8960-Hi-Fi-Sound-Card-HAT-for-Raspberry-Pi-Stereo-CODEC-Play-Record.jpg)
I'am currently working on it with the raspbian distribution provided by the raspberrypi Foundation. Also, h264_omx is a ffmpeg profile, so why the profile should be disabled in transcoding.c?
![raspberry pi codecs raspberry pi codecs](https://luckyretail.com/Uploadfile/202006122/418446/418446-4.jpg)
#Raspberry pi codecs code
I have also installed libomxil-bellagio-devĬompilation worked fine, the deb package is marked "dirty", installed it, but in the transcoding profile I still not see any h264_omx, this is what I can see in stream:Īpparently I see nvenc profile (which I had not when compiling without -enable-ffmpeg-static)Īctually I don't know if tvheadend polls from ffmpeg the available codecs/profile or if this are statically set in the tvheadend code (and if ffmpeg check the hardware capabilities before reporting if omx is available or not). configure -prefix=/ffmpeg -enable-static -disable-shared -enable-mmal -enable-omx-rpi PKG_CONFIG=$(ROOTDIR)/support/pkg-config.ffmpeg \ enable-hdhomerun_client -enable-ffmpeg -enable-libffmpeg_static". I have used this autobuild options: AUTOBUILD_CONFIGURE_EXTRA="-disable-libvpx -prefix=/usr -disable-libvpx_static -disable-bintray_cache Is still valid with latest git? Can you share the patch?Ģ) I have compiled a trial tvheadend on a bananapi (compatible CPU but no hardware support for omx). Still I have some questionsġ) Alexander, you wrote that you had to alter transcoding.c since h264_omx doesn't support profile. I have read this topic and seems that Alexander make it. I'm trying to setup a live transconding on a RPi3. I set the profile in the plugin settings to custom webtv-h264_omx-aac-mpegts but I don't get any video - just black screen and high load on client side. I could need some help in getting live transcoding to work with Kodi / Tvheadend plugin. Tzap -p -c /home/alarm/build-repos/tvheadend-git/src/dvb-scan-tables/channels-conf/dvb-t/de-Berlin -o - zdf | ffmpeg -i pipe:0 -codec:v h264_omx -b:v 1m -codec:a aac -b:a 192k -muxrate 1m zdf.mp4 The following command show 80% cpu load of ffmpeg: Playing the recording with Kodi 16.1 / Tvheadend plugin works also.
#Raspberry pi codecs software
Tvheadend consumes ~140% cpu where software transcoding with libx264 consumes ~400%. I also need to alter tvheadend's plumbing/transcoding.c as h264_omx does not support the profile option. I rebuild ffmpeg with -enable-mmal and -enable-omx-rpi (since ffmpeg 3.1 laplace) in PKGBUILD which results in h264_omx encoder available so I can select it in tvheadend's stream tab.
![Raspberry pi codecs](https://knopkazmeya.com/11.png)