Transcoding Support TVHeadend
#31
I'd also like to know that. TNX
Reply
#32
From https://tvheadend.org/projects/tvheadend/wiki/Building do:
git clone https://github.com/tvheadend/tvheadend.git

From this thread do:
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh -t <target>

Read about target here:
https://tvheadend.org/projects/tvheadend/wiki/Packaging

Then install the package.
Reply
#33
I have compiled them like you said and there are still no options for selecting streams and the size of transcoding streams. There are just three stream profiles and that is it.
Reply
#34
@illiac4 try with a clean profile (rename .hts/tvheadend temporarily) and see if they get generated, if not then you either didn't build correctly or you didn't install the generated packages or something.
Reply
#35
I only had htsp, mastroska and pass at first. I've done a "./configure --prefix=/var/local/tvh-master--disable-v4l --enable-libffmpeg_static; make; make install" and now I have 3 more:
webtv-h264-aac-matroska
webtv-h264-aac-mpegts
webtv-vp8-vorbis-webm

Still less than ThiasDe shown in his printscreen.
I tried all 3 of them and playback is extremely bad, with lots of errors and stuttering.
Client is Rpi running Openelec 5.0 (Kodi Helix) with pvr.tvh 0.9.8 - I doubt there's any setting to be done on the client side, right?
Reply
#36
(2015-01-24, 23:42)negge Wrote: @illiac4 try with a clean profile (rename .hts/tvheadend temporarily) and see if they get generated, if not then you either didn't build correctly or you didn't install the generated packages or something.

I did this:
Code:
# Building
# https://tvheadend.org/projects/tvheadend/wiki/Building
cd /tmp
sudo aptitude install libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev build-essential git pkg-config libssl-dev bzip2 wget
git clone https://github.com/tvheadend/tvheadend.git
cd tvheadend
./configure
sudo make install
# Packaging
# https://tvheadend.org/projects/tvheadend/wiki/Packaging
# Note: Although the scripts are named precise (for Ubuntu 12.04) they will work just fine with most recent versions of Debian/Ubuntu.
# Note: the generated deb will be in the directory above (/tmp) that containing Autobuild.sh (i.e. outside of the tvheadend directory).
# Note: the -dbg package contains debug symbols, generally you won't need these.
sudo aptitude install  debhelper libcurl4-gnutls-dev liburiparser-dev
AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh -t precise-amd64
cd /tmp
sudo dpkg -i name_of_deb.deb

Also created clean profile and still no options.
Reply
#37
Do you see it building ffmpeg when you run "make"?
Reply
#38
Quote:sudo make install

That's probably your problem, you should never run "sudo make install" if you're going to use the .deb archives. Uninstall all .deb archives then run "sudo make uninstall", then run "make clean" and just the Autobuild.sh command again (no ./configure and make at all).
Reply
#39
TNX have tried now with --enable-libffmpeg_static and the stream options are there now. Also it works the transcoding on my 1037u very good for live tv.
One thing: how can i define the stream on other xbmc to use the stream with the transcoding profile or. how is it possible to use that transcoding profile on other machine?
I have tested it with built in tvheadend player over web interface.

tnx
Reply
#40
(2015-02-01, 15:44)illiac4 Wrote: TNX have tried now with --enable-libffmpeg_static and the stream options are there now. Also it works the transcoding on my 1037u very good for live tv.
One thing: how can i define the stream on other xbmc to use the stream with the transcoding profile or. how is it possible to use that transcoding profile on other machine?
I have tested it with built in tvheadend player over web interface.

tnx

What stream options do you have? Please post a print screen. I've done the .deb steps and I still got only 3 extra options, all of them crashing tvheadend when I start the stream on kodi.


EDIT
nvm I've disabled all default streams and added another one with matroska mkv built-in container, libvpx VP8 video codec and mp2 audio codec and traffic has dropped from 200-300kbytes/s to 20-40kbytes/sec. That's exactly what I was aiming for.
But video on Kodi or TVHClient (android) still stutter, certainly can't be a traffic problem anymore. So playback stops for 10-20 seconds, like it would be buffering, and then plays for a few seconds, again stops..
/doing these tests over WAN/
Reply
#41
Well it depends of the server side. It it does not have enough horsepower then it will lag every few seconds. If you check it with top command you will see how much cpu is used. Also wan is the other thing to check. You can do that with speedtest site.
Reply
#42
Has anybody has any success in getting a RPi2 to transcode and stream through a VPN or normal WiFi?

I can get it to stream to my phone (using Kodi) through HTSP perfectly fine.. but as soon as I try playing with the settings in the transcode.. I get jumpy buffering even on the normal WiFi network.
Reply
#43
A Raspberry Pi most definitely doesn't have enough power to do any transcoding, especially not over a VPN.
Reply
#44
are you talking about the RPi or the RPi2 ?
Reply
#45
Both.
Reply

Logout Mark Read Team Forum Stats Members Help
Transcoding Support TVHeadend0