login|Register
Forum > Openelec
Post|
看29206|回10|Favorite
lymon 看全部
2016-7-31 13:08:28
Edited by lymon at 2016-7-31 15:15

I have also tried tvheadend + H264 transcoding on a OPI PC and results were disappointing, as you are left with SW encoding (as Jernej also points out) and the processing power of the OPI isn't all that great.
I personally use a Odroid C2 for this now, which is a lot faster and more suitable for tvheadend server + transcoding  (SW) H264 streams.
AFAIK the only boards that currently have/support (working) HW encoding are the RaspberryPi and Odroid U3, but all still a bit experimental and I never got tvheadend + (HW) transcoding working.

If you still want to give it a try on the OPI, you shouldn't use Openelec as a base, but better use a minimal headless server of some sort (eg. minimal debian Jessie) and build tvheadend from source with optimized parameters

NB: Not for the OPI, but for raspberryPi..you may also want to look into this: https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=123876der
It doesn't use tvheadend for transcoding, instead it uses mumudvb and HW encodes the raw TS-streams and you can then access the encoded stream via http

jernej 看全部
2016-7-31 18:14:55
Someone already done h264 encoding here: https://github.com/rosimildo/videoenc Although I'm pretty sure I saw completely opensource implementation too. So there is a way, if someone wants it badly enough and knows how to integrate it.
boria 看全部
2016-8-2 20:20:52
Nice! I'll try solution suggested by You guys ;) My wife won't be happy - another evening spent with cables I'll compile tvheadend and sources of videoenc on Jessie and post the results here. Anyway I would like people to became interested in tvheadend + transcoding as it gives great possibility of watching tv anywhere eg on mobile or tablet. It doesn't consume that much network bandwidth
boria 看全部
2016-8-20 14:51:00
Lymon, I just bought C2, launched ubuntu minimal, compiled tvheadend with transcoding enabled but still no success got freezing and slow motion instead of fluent stream. Could You pls gibe some more details about Your configuration?
lymon 看全部
2016-8-25 16:06:02
these are my stream profile settings. (tvheadend server > configuration > stream > stream profiles > webtv-h264-aac-matroska)



adjust to your liking and available bandwidth

Also very important: make sure the client uses this particular streaming profile !
For the newer kodi tvheadend clients you can set the streaming profile it needs to use in the addon settings. (enter the exact name of the profile as shown in the tvheadend server..eg. in this case: webtv-h264-aac-matroska)

check on the tvheadend server (status window/tab> subscriptions)  while streaming if the output kb/s is similar to the bitrate you have set in the streaming profile...if not, the client is not using the correct streaming profile.

Hope this helps





attachment: 您需要登录才可以下载或查看附件。没有账号?Register

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC