Kodi Community Forum
Transcoding Support TVHeadend - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: Tvheadend (https://forum.kodi.tv/forumdisplay.php?fid=168)
+---- Thread: Transcoding Support TVHeadend (/showthread.php?tid=132506)

Pages: 1 2 3 4 5 6


RE: Transcoding Support TVHeadend - ThiasDE - 2014-11-13

Hi!

As this thread is the first search result when googling for "kodi tvheadend transcode" I just want to note that the built-in transcoding of Tvheadend is working quite fine now in combination with Kodi / XBMC. You just have to make sure to select MP2 as audio codec. (When transcoding to AAC or Vorbis there will be no sound yet in Kodi / XBMC.)

Here is an example that works over my WAN connection without stream stuttering:
(Of course you can decrease the resolution parameter to further reduce bandwidth usage!)
Image

Also editing of ./src/plumbing/transcoding.c is not necessary anymore. Instead you have to enable libav when compiling the source code:
Code:
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh -t <target>



RE: Transcoding Support TVHeadend - helio58 - 2014-12-01

I will try to use with 3G (UMTS) could you or someone recommend setting for low bandwidth usage.

Thanks


RE: Transcoding Support TVHeadend - ThiasDE - 2014-12-06

Hello helio58,

for lower bandwidth usage you can reduce the resolution value in your TVHeadend streaming profile and stream SD instead of HD channels.

Example (Resolution=240p):
Bandwith usage for a part of a movie on "arte HD": 0.7 .. 3.2 Mbit/s
Bandwith usage for same movie part on "arte SD": 0.3 .. 1.8 Mbit/s


RE: Transcoding Support TVHeadend - nonchiederci - 2014-12-12

hi, can someone tell me how add codec to tv-headend? i have only pass matrosk and another. Work only matroska but without audio.


RE: Transcoding Support TVHeadend - helio58 - 2014-12-12

Thanks ThiasDE


Re: Transcoding Support TVHeadend - User 157579 - 2014-12-18

Will libav be included in future pre-compiled (Ubuntu) releases?


RE: Transcoding Support TVHeadend - Prof Yaffle - 2014-12-18

@nonchiederci - sounds like you don't have transcoding enabled. If you do, you should have several default profiles that you can edit as needed:

Image

The codecs should be compiled in - if you build tvheadend as above, it pulls in a version of ffmpeg, so you get all the codec support that ffpeg has. And that's a lot.

@mjorud - the precompiled (unstable) Ubuntu releases should have this enabled already. That said, I'm aware that the Debian builds seem to not be including ffmpeg for some reason, but try the PPA and see what happens. Or build it yourself, it really is very straightforward.


RE: Transcoding Support TVHeadend - bema - 2014-12-20

When will it be possible to have HEVC (h265) ?


RE: Transcoding Support TVHeadend - Prof Yaffle - 2014-12-20

When it gets added :p

You could check to see if there's a feature request already open, and raise one if there isn't:

https://tvheadend.org/projects/tvheadend/issues

My suspicion is that you'd need a beast of a machine to transcode to HEVC in realtime - unless you're throwing away much of the information (e.g. downscaling), in which case H.264 or even MPEG-2 would probably do just as well. But the world is moving quickly, I know...


RE: Transcoding Support TVHeadend - nonchiederci - 2014-12-20

(2014-12-18, 21:52)Prof Yaffle Wrote: @nonchiederci - sounds like you don't have transcoding enabled. If you do, you should have several default profiles that you can edit as needed:

Image

The codecs should be compiled in - if you build tvheadend as above, it pulls in a version of ffmpeg, so you get all the codec support that ffpeg has. And that's a lot.

@mjorud - the precompiled (unstable) Ubuntu releases should have this enabled already. That said, I'm aware that the Debian builds seem to not be including ffmpeg for some reason, but try the PPA and see what happens. Or build it yourself, it really is very straightforward.

under "stream profile" tab i have only pass - matroska and htsp and all are enabled. i'm on openelec os. How can i compile and add codec? is there a tutorial or guide?


RE: Transcoding Support TVHeadend - Prof Yaffle - 2014-12-20

You'll need to obtain/compile a new version of the tvheadend addon for OpenElec. I don't know what version of tvh they're currently shipping (I thought they'd updated recently to 3.9.2xxx) or how it's built (i.e. whether or not they've included the ffmpeg libraries).

So... check your version of tvheadend and see if it's relatively recent; if not, update; if so, you'd need to look around and see if someone has built a version for your platform; if not, you're into (cross-)compiling your own.

EDIT

A quick Google turned this up:

http://openelec.tv/forum/79-tvheadend/73732-tvheadend-with-transcoding-support-build-inside


RE: Transcoding Support TVHeadend - User 157579 - 2014-12-30

(2014-12-18, 21:52)Prof Yaffle Wrote: @mjorud - the precompiled (unstable) Ubuntu releases should have this enabled already. That said, I'm aware that the Debian builds seem to not be including ffmpeg for some reason, but try the PPA and see what happens. Or build it yourself, it really is very straightforward.


@Prof Yaffle: I'm using the precompiled unstable Ubuntu releases (HTS Tvheadend 3.9.2303~gcde79eb~trusty) and from what I read around the net this release should have transcoding and its profiles enabled. Am I doing something wrong?


RE: Transcoding Support TVHeadend - Prof Yaffle - 2014-12-30

Those should have static ffmpeg included - I just checked the build logs for the last couple of compiles, and it all seems to be bundled. So if you're installing from the Ubuntu unstable PPA, you should have everything you need...


RE: Transcoding Support TVHeadend - User 157579 - 2014-12-30

I have "deb http://apt.tvheadend.org/unstable trusty main" in my sources.list. I assume that this is correct or are there other sources?
Will try to remove and re-install to see if that helps.

Edit: Under /home/hts/.hts/tvheadend/profile/ I only have three profiles (htsp, matroska, pass)


RE: Transcoding Support TVHeadend - ludespeedny - 2014-12-31

how do you add profiles with the options shown? This is all I see and the dropdown only lets me select existing profiles.
my build is 3.9.2303.

Image