0

I am looking for an alternative method for playing a DVB-T stream from TvHeadend on my Rasbpian (Jessie) system without Kodi.

I have tried the how to play mjpeg stream with omxplayer fifo method for omxplayer, but it doesn't seem to work for TvHeadend.

1 Answer 1

1

I know I'm a bit late but I don't see any other answers on the web. I've just managed to achieve what you wanted and you were on the right track. The only thing you may have missed out was that you need your tvheadend username and password to be able to download the tv channel stream. First obtain a playlist from tvheadend.

wget http://<tvheadend IP addr>:9981/playlist --http-user=<tvheadend username> --http-password=<tvheadend password>

The downloaded file will contain http addresses for accessing each channel.

Now create a FIFO

mkfifo /tmp/tvpipe

Now use wget to place data into FIFO

wget '<http address for chosen channel>' --http-user=<tvheadend username> --http-password=<tvheadend password> -O /tmp/tvpipe &

Make sure to put the & on the end so that it runs in the background. Also the channels http address should be surrounded by the single quote marks.

Now use omxplayer to play the FIFO data

omxplayer /tmp/tvpipe
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.