Kodi Community Forum

Full Version: [OLD] HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
xbmcuser2000 Wrote:Thank you very much.

Big Grin

I just asked for space on my ppa. I will upload lucid version when it is approved.
Gujs Wrote:I just asked for space on my ppa. I will upload lucid version when it is approved.

I see you have added libva and vdpau-backend.. can you maybe explain how it works? just installing those PPA's and your XBMC-PVR2 should work?

VAAPI will be used on live tv? Smile

Thanks!
Not yet. I am still testing this. I hope I will get it to work during this weekend.
Ive been successful in putting the tvheadend web server behind apache with the following .conf

Code:
ProxyRequests Off

ProxyPass /tvheadend/ http://localhost:PORT/

<Proxy *>
  Order deny,allow
  Allow from all
</Proxy>

ProxyPassReverse /tvheadend/ /

However this means I need to type in
Code:
http://domain.com/tvheadend/
I'd rather not have to put in the trailing slash, however when I edit the trailing slash out of the above code, when i login in it tries to go here:
Code:
http://domain.com/tvheadendextjs.html
Has anyone achieved this?
I managed to get it working with VAAPI. But deinterlacing is not working now. You can try it with instaling xbmc from my repo. You also need package vdpau-video installed, which you also get in my repository.

Then you can select in XBMC settings -> Video -> Playback what you want to use for hardware acceleration.

I hope they will add deinterlacing soon.
Firstly great job on the ppa!

I am not able to start a VDPAU mpeg2 stream

FactoryCodec - Video: - Opening
CDVDVideoCodecFFmpeg::Open() Creating VDPAU(0x0, 2)
(VDPAU) no width/height available, can't init
CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
(VDPAU) Close
CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
FactoryCodec - Video: ff-mpeg2video - Opened
Creating video thread

I have Nvidia ION is this known limitation? Looks likv TVHeadend is not correctly reporting the size? I am watching 1920x1080i content through hts-tvheaded (from the ppa). As result the play back is choppy on my box.

The same file when recorded and them played back as MKV works with VDPAU. Any ideas?
is cccam (capmt) working without problems for anyone? only 2.0.9 works for me, and even with that it eventually stops working. CCcam.log is full of gibberish when it stops working. The guy who added the capmt plugin seems to have disappeared off the face of the earth unfortunately.
vajonam Wrote:Firstly great job on the ppa!

I am not able to start a VDPAU mpeg2 stream

FactoryCodec - Video: - Opening
CDVDVideoCodecFFmpeg::Open() Creating VDPAU(0x0, 2)
(VDPAU) no width/height available, can't init
CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
(VDPAU) Close
CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
FactoryCodec - Video: ff-mpeg2video - Opened
Creating video thread

I have Nvidia ION is this known limitation? Looks likv TVHeadend is not correctly reporting the size? I am watching 1920x1080i content through hts-tvheaded (from the ppa). As result the play back is choppy on my box.

The same file when recorded and them played back as MKV works with VDPAU. Any ideas?

its a known bug: http://trac.xbmc.org/ticket/8615
I figured out the following theorie: streams usualy do not start with an i-frame and as these are the only frame types from which correct picture dimensions can be obtained. Imho for the playback of a stream all frames are beeing disarded until the first i-frame is found. So xbmc should discard any other frames for streams, than determine the pic size and than start the playback.
Cccam is still working for me but only the old 2.09 version
I'm looking at changing to newcs but looks harder to sort
vajonam Wrote:Firstly great job on the ppa!

I am not able to start a VDPAU mpeg2 stream

FactoryCodec - Video: - Opening
CDVDVideoCodecFFmpeg::Open() Creating VDPAU(0x0, 2)
(VDPAU) no width/height available, can't init
CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
(VDPAU) Close
CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
FactoryCodec - Video: ff-mpeg2video - Opened
Creating video thread

I have Nvidia ION is this known limitation? Looks likv TVHeadend is not correctly reporting the size? I am watching 1920x1080i content through hts-tvheaded (from the ppa). As result the play back is choppy on my box.

The same file when recorded and them played back as MKV works with VDPAU. Any ideas?

Same here.
I've Nvidia ION (Asus AT3N7A-I), xbmc, tvheadend taken from your repo. My TV is 720p

21:39:58 T:2984967024 M:1606209536 NOTICE: Opening video stream: 0 source: 256
21:39:58 T:2984967024 M:1606209536 NOTICE: Creating video codec with codec id: 2
21:39:58 T:2984967024 M:1606209536 DEBUG: CDVDFactoryCodec: compiled in hardware support: Crystal HD:yes VDPAU:yes VAAPI:yes
21:39:58 T:2984967024 M:1606209536 DEBUG: FactoryCodec - Video: - Opening
21:39:58 T:2984967024 M:1606209536 DEBUG: SECTION:LoadDLL(special://xbmc/system/players/dvdplayer/avutil-50-i486-linux.so)
21:39:58 T:2984967024 M:1606209536 DEBUG: Loading: /usr/share/xbmc/system/players/dvdplayer/avutil-50-i486-linux.so
21:39:58 T:2984967024 M:1606082560 DEBUG: SECTION:LoadDLL(special://xbmc/system/players/dvdplayer/avcodec-52-i486-linux.so)
21:39:58 T:2984967024 M:1606082560 DEBUG: Loading: /usr/share/xbmc/system/players/dvdplayer/avcodec-52-i486-linux.so
21:39:58 T:2984967024 M:1602527232 DEBUG: SECTION:LoadDLL(special://xbmc/system/players/dvdplayer/swscale-0.6.1-i486-linux.so)
21:39:58 T:2984967024 M:1602527232 DEBUG: Loading: /usr/share/xbmc/system/players/dvdplayer/swscale-0.6.1-i486-linux.so
21:39:58 T:2984967024 M:1602322432 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(0x0, 2)
21:39:58 T:2984967024 M:1602322432 WARNING: (VDPAU) no width/height available, can't init
21:39:58 T:2984967024 M:1602322432 NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
21:39:58 T:2984967024 M:1602322432 NOTICE: (VDPAU) Close
21:39:58 T:2984967024 M:1602322432 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
21:39:58 T:2984967024 M:1602322432 DEBUG: FactoryCodec - Video: ff-mpeg2video - Opened

21:40:53 T:2984967024 M:1597804544 NOTICE: Opening video stream: 1 source: 256
21:40:53 T:2984967024 M:1597804544 NOTICE: Creating video codec with codec id: 28
21:40:53 T:2984967024 M:1597804544 DEBUG: CDVDFactoryCodec: compiled in hardware support: Crystal HD:yes VDPAU:yes VAAPI:yes
21:40:53 T:2984967024 M:1597804544 DEBUG: FactoryCodec - Video: - Opening
21:40:53 T:2984967024 M:1597804544 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(0x0, 28)
21:40:53 T:2984967024 M:1597804544 WARNING: (VDPAU) no width/height available, can't init
21:40:53 T:2984967024 M:1597804544 NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
21:40:53 T:2984967024 M:1597804544 NOTICE: (VDPAU) Close
21:40:53 T:2984967024 M:1597804544 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
21:40:53 T:2984967024 M:1597804544 DEBUG: FactoryCodec - Video: ff-h264 - Opened

I can give you any further information Smile
Hi, have Tvheadend support for Analog TV card Hauppauge PVR 150/250/350/500 ?

thanks
RoboSK Wrote:Hi, have Tvheadend support for Analog TV card Hauppauge PVR 150/250/350/500 ?

thanks

Yes it does. At least the last version. You just manually have to enter the frequencies and do all the service/xmltv mapping by hand

br hw
thanks and next /last Smile/ question is:

"classic" (DVB-S/2) sattelite have function to remember selected audio/subtitle track - have this feature XBMC/Tvheadend ? - example - i have 2 programs

a) with "en" audio
b) with "en,de,sk" audio

is possible select audio into "b" to "sk", then switch to "a" and then back to "b" with automatic selected "sk" audio ?

-same question to subtitle...

thanks
can anyone tell me what is happening here?

using capmt and lot of the channels wont open and the ones that dont work report something like this in the log (I put in the X's!)



18:30:43.085 CCcam: found nds caid: 0x961 ecmpid: 0x500 id: 0x0
18:30:43.085 CCcam: cam[0] set PMT for sid=2581
18:30:43.086 CCcam: start EMM
18:30:43.180 CCcam: remote ecm -> XXX.XXX.X.XX:XXXXX 0x961(0x000)
18:30:43.243 CCcam: EMM demux 1 set
18:30:43.243 CCcam: ignore pid for 960:000000
18:30:43.243 CCcam: EMM: not interested in 0960:000000
18:30:43.243 CCcam: EMM: not interested in 0961:000000
18:30:43.243 CCcam: EMM: start filter on nds emmpid: 0xc0 caid: 0x963 id: 0x0
18:30:43.370 CCcam: remote ecm <- XXX.XXX.X.XX:XXXXX error
18:30:43.370 CCcam: cam[0] ecm odd nok caid:0x961 id:0x0 pid:0x500 BSkyB (28E) (NDS)
18:30:43.379 CCcam: remote ecm -> XXX.XXX.X.XX:XXXXX 0x961(0x000)
18:30:43.380 CCcam: remote ecm <- XXX.XXX.X.XX:XXXXX failure from cache
18:30:43.380 CCcam: cam[0] ecm odd nok caid:0x961 id:0x0 pid:0x500 BSkyB (28E) (NDS)
18:30:43.481 CCcam: remote ecm -> XXX.XXX.X.XX:XXXXX 0x961(0x000)
18:30:43.481 CCcam: remote ecm <- XXX.XXX.X.XX:XXXXX failure from cache
18:30:43.481 CCcam: cam[0] ecm odd nok caid:0x961 id:0x0 pid:0x500 BSkyB (28E) (NDS)
Hi,

i really like the combination of tvheadend and XBMC.
After using the htsp://... method i now changed to
pvr-testing2 to get a full epg.
This also works fine, but i have a problem sorting the channels.
When useing htsp:// the channellist is like i defined it in tvheadend.
But when im useing the liveTv module in pvr-testing2 all channels are sortet alphabetical.

Is there any chance to sort these channels correct?

greets anguser