Orange Pi+ 2 & rpi-tv & hardware transcoding

Recommended Posts

In  a brainfart i thought the rpi gpio is compatible with most arm boards. so i took one witch i had laying around and i connected the Raspberry pi DVB-T HAT module (TV uHAT).


I checked if the SPI bus pins where compatible and with the help of the "Hardware_Allwinner_overlays guide" i created a overlay for the rpi-tv (used the original from the raspberry pi github).

to my surprise (after some struggle) it  work.


// rpi-tv HAT


/ {
	compatible = "allwinner,sun4i-a10", "allwinner,sun7i-a20", "allwinner,sun8i-h3", "allwinner,sun50i-a64", "allwinner,sun50i-h5";

	fragment@0 {
		target = <&spi0>;
		__overlay__ {
			/* needed to avoid dtc warning */
			#address-cells = <1>;
			#size-cells = <0>;

			status = "okay";

			cxd2880@0 {
				compatible = "sony,cxd2880";
				reg = <0>; /* CE0 */
				spi-max-frequency = <50000000>;
				status = "okay";

sudo armbian-add-overlay rpi-tv-overlay.dts

I quickly install tvheadend and went to watch some TV :p


Why i did this because the H3 GPU/CPU has h265 encoding (in the Nederlands tv is transmitted with the h265 1080p 50fps)

with the recent Sunxi-cedrus update libav can work with hardware encoding (in theory, i don't know it is fast enough )

But i can not find a proper recent guide the install then,  does any one installed the Sunxi-cedrus? And do i have to compile the complete  custom kernel to do this? or is this already in the main line?

onlything is can find is this: https://linux-sunxi.org/Sunxi-cedrus


ref: https://docs.armbian.com/Hardware_Allwinner_overlays/

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.