xmbc-pvr + tvheadend = no crystalhd

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mythboy Offline
Junior Member
Posts: 37
Joined: May 2011
Reputation: 0
Post: #1
Hi all,

I have an Atom 330 dual-core 1.6Ghz mobo. It came with a minipcie slot for the wireless card (which is pretty useless in Ubuntu 10.10).

As an experiment I put a Broadcom CrystalHD card in the minipcie slot to see if video performance would be better than the embedded nvidia chipset. To my surprise the Broadcom chip performed slightly better. I played back my movies in XBMC and 1080p/720p was slightly smoother and slightly sharper than the nvidia chip.

So far so good right?

Well once I tuned into tvheadend from xbmc, all the channels would not use the chd-h264 driver but instead use the ff-h264 driver causing a lot of jitter.

When I switch back to the ndvpau driver, I see the tvheadend channels properly use the ndvpau-264 drivers.

Is crystalhd not supported in tvheadend? Are there any plans for support?
find quote
chrisjunkie Offline
Junior Member
Posts: 27
Joined: Feb 2011
Reputation: 0
Post: #2
I had similar problems.

Press i while trying to play live-tv - what is the audio codec?

Here in New Zealand it's AAC-LATM and the ffmpeg integrated with XBMC currently doesn't like it at all (completely unsupported as far as crystal HD is concerned) so therefore defaults back to ff-h264.

Cheers
Chris
find quote
mythboy Offline
Junior Member
Posts: 37
Joined: May 2011
Reputation: 0
Post: #3
the codec used is ff-h264. Movies, Youtube, all play chd-h264 (the crystal hd decoder) but tvheadend does not seem to support it.
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,224
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #4
please pastebin a full debug log. crystalhd should be included in the builds. did you enable it in the video playback settings?

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
mythboy Offline
Junior Member
Posts: 37
Joined: May 2011
Reputation: 0
Post: #5
Hi dushmaniac,

real dumb question but how do I find the tvheadend debug log file. All I can find is the xbmc.log in ~/.xbmc/temp/xbmc.log
find quote
RoboSK Offline
Junior Member
Posts: 47
Joined: Apr 2010
Reputation: 0
Post: #6
http://trac.xbmc.org/ticket/11496

+ "new" info (old 3 months) - it seem as problem with deinterlace, if i recording HD channel with Tvh and then running (.mkv) into Windows+Media Player Classic H.C. then no video,only audio - normal 720/1080 rips works with cHD perfect...

edit: Linux+cHD+XBMC+HD rip -> perfect
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,224
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #7
mythboy Wrote:Hi dushmaniac,

real dumb question but how do I find the tvheadend debug log file. All I can find is the xbmc.log in ~/.xbmc/temp/xbmc.log
I didn't mean tvheadend's debug log, I mean the one you posted Smile

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
jjhdtv Offline
Junior Member
Posts: 4
Joined: Nov 2010
Reputation: 0
Post: #8
I'm having the same problems using live PVR with TvHeadend serving a HDhomerun.

Standard definition stations play fine, High-Def do not. I'm using an apple TV with the crystalubunutu image.

The *.strm HD channels from the HDHomerun play perfectly.


Is there solution/ work around for this issue. thanks.
find quote
Gfunk117 Offline
Junior Member
Posts: 42
Joined: Jun 2011
Reputation: 0
Post: #9
jjhdtv Wrote:I'm having the same problems using live PVR with TvHeadend serving a HDhomerun.

Standard definition stations play fine, High-Def do not. I'm using an apple TV with the crystalubunutu image.

The *.strm HD channels from the HDHomerun play perfectly.


Is there solution/ work around for this issue. thanks.


One of the major letdowns the pvr addons have with crystalbuntu/ubuntu atm is that Live TV will NOT use your Broadcom cHD for hardware decoding, at least this is my case with addons xvdr and vnsiserver for a vdr master backend. Right now the only HD 1080 support is ffmpeg software decoding and this is not possible only 720p is possible but very high pc usage (90-100% in most cases). SD is just fine with a low pc usage deinterlaceer like "Blend"

I believe NA Satellite Streams are in MPEG-4 Part 10 or AVC and the Crystal HD SHOULD support this format but it all comes down to the BCM Driver lacking implementation at the moment.

Crystal HD codec specs:

- H.264/AVC High Profile@Level 4.2 up to 40 Mbps (NA Satellite Stream Codec)

- VC-1 Advanced Profile@Level 3 up to 45 Mbps

- VC-1 MP@HL, VC-1 SP@ML, WMV9

- MPEG-2 MP@LL, ML and HL at up to 80 Mbps

- DivX 3.11, 4.1, 5.X, 6.X, XviD

- MPEG-4 Part 2 SP & ASP

- AVS1-P2 Jizhun Profile, Level 6.0
find quote
ankn Offline
Junior Member
Posts: 17
Joined: Nov 2010
Reputation: 0
Post: #10
The exact used codec should not matter: xbmc-pvr is able to exploit the crystal hd card playing the recordings of the vdr backend.
find quote
Gfunk117 Offline
Junior Member
Posts: 42
Joined: Jun 2011
Reputation: 0
Post: #11
Now if we could get ffmpeg-crystalhd compiled (ffmpeg's make currently errors out for me at /usr/include/libcrystalhd/bc_dts_types.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘bc_bool_t’ with kernel 2.6.32-24-generic) then we could build xbmc-pvr with --external-ffmpeg. I have submitted an issue over at FFmpeg Github. If anyone can solve the make issue please post the fix.

Github issue link with full error log:

https://github.com/FFmpeg/FFmpeg/issues/1
(This post was last modified: 2011-08-29 20:42 by Gfunk117.)
find quote
cwalker Offline
Junior Member
Posts: 11
Joined: Feb 2009
Reputation: 0
Post: #12
Gfunk117 Wrote:Now if we could get ffmpeg-crystalhd compiled (ffmpeg's make currently errors out for me at /usr/include/libcrystalhd/bc_dts_types.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘bc_bool_t’ with kernel 2.6.32-24-generic) then we could build xbmc-pvr with --external-ffmpeg. I have submitted an issue over at FFmpeg Github. If anyone can solve the make issue please post the fix.

Github issue link with full error log:

https://github.com/FFmpeg/FFmpeg/issues/1

May be try ffmpeg-crystalhd from philipl ?
https://github.com/philipl/ffmpeg-crystalhd
find quote
Gfunk117 Offline
Junior Member
Posts: 42
Joined: Jun 2011
Reputation: 0
Post: #13
cwalker Wrote:May be try ffmpeg-crystalhd from philipl ?
https://github.com/philipl/ffmpeg-crystalhd

Tried many times and make will error out. I submitted an issue days ago with no response. Davilla is gonna give it a shot tomorrow and help me debug the code. http://forum.xbmc.org/showthread.php?p=8...post878622
find quote
mythboy Offline
Junior Member
Posts: 37
Joined: May 2011
Reputation: 0
Post: #14
Hi Gfunk,

Have you gotten a working build? I've recently placed with the openelec with pvr suport and those do have crystalhd support, but only for playback of videos. Livetv via tvheadend still use the ff-264-mpeg decoder not the crystalhd.
find quote
mythboy Offline
Junior Member
Posts: 37
Joined: May 2011
Reputation: 0
Post: #15
Any updates on this?
find quote
Post Reply