Jump to content

SoCs for multiple streams transcoding


Recommended Posts

Posted (edited)

Hello,

 

I am looking for a cheap SoC (less than 15$ per SoC) that has the most efficient HW based h.264 encoder. I want to transcode multiple 1080p (6-12 mbps bitrate source) TS streams. I will probably use couple of those SoC's.  I was reading about Allwinner V3S (~3$ per CPU) based SoCs but can't find any cheap one for sale based on that chip. Also I don't really know what kind of performance this cheap have for HW h.264 encoding.

 

Anyone have any experience with HW 1080p encoding on SoCs? Any suggestions?

Edited by k0los
Posted

If you find it, could you reply on your post ?

What i know:

In open IT:

Amlogic not complet

exynos not complet

Rockchip is the best soc i know for transcode ( https://github.com/rockchip-linux/mpp )

Allwinner the code is in progress ( https://bootlin.com/ )

for other or not free :

(the Amlogic, an other ) and broadcom , Hisilicon ...

 

i am shure this type of box : https://fr.aliexpress.com/item/Hot-Product-H264-H-264-H-264-HDMI-Encoder-HDMI-To-IP-Streaming-Hardware-Encoder-Decoder/32692916726.html?spm=a2g0w.search0204.3.1.89db7ab8VNVxzU&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_5016020_10843_10059_5015415_10696_100031_5015320_10084_10083_10103_451_10618_452_10304_10307_10820_5016115_10821_10302,searchweb201603_45,ppcSwitch_5_ppcChannel&algo_expid=9a785538-79e4-4c12-b96b-a54de1aa025d-0&algo_pvid=9a785538-79e4-4c12-b96b-a54de1aa025d&transAbTest=ae803_2&priceBeautifyAB=0

 

have a soc to make it, and i see some rack with a lot of card to transcode :

https://fr.aliexpress.com/item/HL-Free-Shipping-3U-Chassis-16-Channels-HDMI-Encoder-IPTV-H-265-H-264-Hardware-Encoder/32810708713.html?spm=a2g0w.search0204.3.20.341dac936Zly7c&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_5016020_10843_10059_5015415_10696_100031_5015320_10084_10083_10103_451_10618_452_10304_10307_10820_5016115_10821_10302,searchweb201603_45,ppcSwitch_5_ppcChannel&algo_expid=ac1f2053-740c-4988-a4f8-70082972fb8e-3&algo_pvid=ac1f2053-740c-4988-a4f8-70082972fb8e&transAbTest=ae803_2&priceBeautifyAB=0

 

 

 

Posted

hello martos, interesting links. Especially that kickstarter campaign, from what I see they need 11k euro more to start implementing h.264 encoding for Allwinner VPUs, Rockstar based android boxes look interesting and cheap, you could get board out of them, they are <15$. Wonder what kind of encoding performance do they have.

Posted

Sorry if I hijack the thread, I hesitated with creating another one.
I am still struggling with the OrangePi RK3399 regarding the h.264 encoding of the HDMI-IN and the camera.

For the time being, I use a hardware h.264 encoder (TBS2605), but still have the project to use ARM SoCs running Armbian.

I've seen other threads on other SoCs able to do hardware encoding, so I was wondering if we could make a table with all the information regarding h.264 encoding and transcoding on various SoCs and SBCs more or less handled by Armbian.

h.264 encoding boards
Name h.264 decoding h.264 encoding h.264 transcode Tests done on Armbian
OrangePi RK3399 Y N N N (OrangePi Debian)
         

 

What do you think of my proposal?
Thanks.

Posted
  On 10/20/2019 at 8:16 PM, gounthar said:

so I was wondering if we could make a table with all the information regarding h.264 encoding and transcoding on various SoCs and SBCs more or less handled by Armbian.

Expand  


That is a good idea but I comes with the burden of the maintenance. :)


Alternative option is that we add three badges H264D H264E H264T under "Specifications" at download pages and give you access that you can do that?

Posted
  On 10/20/2019 at 8:16 PM, gounthar said:

make a table with all the information regarding h.264 encoding and transcoding on various SoCs

Expand  

On imx6q SoC there is:

v4l2-ctl --device=/dev/video0 --all

  Reveal hidden contents

 v4l2-ctl --device=/dev/video1 --all

  Reveal hidden contents

v4l2-ctl --device=/dev/video10 --all

  Reveal hidden contents

/dev/video10 requires at least kernel 5.4.0-rc1 to work out of the box.
                  
gst-inspect-1.0 exposes:

  Quote

video4linux2:  v4l2h264enc: V4L2 H.264 Encoder
video4linux2:  v4l2mpeg4enc: V4L2 MPEG4 Encoder
video4linux2:  v4l2mpeg4dec: V4L2 MPEG4 Decoder
video4linux2:  v4l2mpeg2dec: V4L2 MPEG2 Decoder
video4linux2:  v4l2h264dec: V4L2 H264 Decoder
video4linux2:  v4l2convert: V4L2 Video Converter

Expand  

So hardware accelerated video pipelines can be composed in all flavors.

Posted
  On 10/25/2019 at 8:53 PM, martos said:

What is the device with imx6q SoC ?

Expand  

As the mentioned features are properties of the SoC it does not realy matter at which device the i.MX6 resides. Chose what fits your needs.

 

  On 10/25/2019 at 8:53 PM, martos said:

what is your linux ?

Expand  

As already stated to have all features out the box you need at least kernel 5.4.0-rc1. The rootfs distribution does not really matter as long as it provides software of the latest mainline releases.

I tinker with cubox-i and hummingboard and as I wanted all bells and whistles I chose the quad variant with 2GB ram for me.
This is working for me since round about fedora 26. OK, in the early days many of early adopter patches were required.
But nowadays only proper configuration is necessary.

Posted

Hello

this device :

https://www.ebay.fr/itm/HummingBoard-i2-i-MX6-Dual-Lite-1GHz-64bit-1Gb-RAM/182913801267?hash=item2a96831c33:g:fW4AAOSwCcZaEuT2

i.MX6 Dual Lite 1GHz

3D GPU GC880 OpenGL ES1.1,2.0

64bit 1Gb RAM

Standard micro USB connector 5V as a DC power

HDMI CEC 1080p

10/100Mbps Ethernet Connector

Powered 2xUSB 2.0 host ports

MIPI 2 Lane CSI-2

26 pin header compatible with the Raspberry pi header

Analog audio out (PWM based)

Coax SPDIF out for digital audio

LEDs

8 pin header for FlexCAN, system reset and 5V / GND pins

micro SD interface (for OS image and user data)

 

the transcode h264 HD to H264 low resolution could works ? (only one dual core and only 1gb )

Posted
  On 10/29/2019 at 10:31 AM, martos said:

the transcode h264 HD to H264 low resolution could works ?

Expand  

If I looked this up correctly from the i.MX 6Solo/6DualLite Applications Processor Reference Manual the VPU has this specs:
HW Decoder: H.264 Profile: BP/CBP/MP/HP Resolution: 1080 i/p, 30 fps Bitrate: 50 Mbps
HW Encoder: H.264 Profile: BP/CBP       Resolution: 1080p, 30 fps    Bitrate: 14 Mbps

  On 10/29/2019 at 10:31 AM, martos said:

(only one dual core and only 1gb )

Expand  

As the VPU is a dedicated IP the number of CPU cores does not matter for the codec performance and 1gb should suffice to provide the required buffer allocations for the intermediate frames.

 

Just composed my first transcode pipeline, see transcode-pipeline.pdf for reference. I do not really know what I am doing (google was my friend) and there are so much knobs for configuration and fine tuning so YMMV.

transcode-pipeline.pdfFetching info...

  • Werner locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines