• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 25
SiliconDust HDHomeRun Networked Digital Cable TV / HDTV Tuner support built-into XBMC
#91
T3CH build is out ! Big Grin
Reply
#92
nice, i'll try soon Big GrinBig GrinBig Grin by all means post ur results
Reply
#93
So we've gotten a lot further: It now tunes the HDHR. Playback is useless though, as it does 0.1 fps at best.

Here's some "highlights" from the debug log:

1. Launch ABC:

22:41:20 M: 39157760 DEBUG: CPlayerCoreFactor::GetPlayers(hdhomerun://1010E8C2/tuner0?channel=qam:114&program=4)
22:41:20 M: 38633472 INFO: mplayer play:hdhomerun://1010E8C2/tuner0?channel=qam:114&program=4 cachesize:2048


Image

2. After 2 1/2 minutes, cache has filled up and stream is detected:

22:43:52 M: 24928256 DEBUG: msg:
Cache fill: 18.75% (393216 bytes)
22:43:52 M: 24928256 DEBUG: msg: demux_open(00CD5010,0,-1,-1,-1)
22:43:52 M: 24928256 DEBUG: msg: TS file format detected.
22:43:52 M: 24928256 DEBUG: msg: DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
22:43:52 M: 24928256 DEBUG: msg: Checking for MPEG-TS...
22:43:52 M: 24928256 DEBUG: msg: TRIED UP TO POSITION 0, FOUND 47, packet_size= 188, SEEMS A TS? 1
22:43:52 M: 24928256 DEBUG: msg: GOOD CC: 27, BAD CC: 0
22:43:52 M: 24793088 DEBUG: msg: PROBING UP TO 2000000, PROG: 0
22:43:52 M: 24793088 DEBUG: msg: COLLECT_SECTION, start: 64, size: 184, collected: 0
22:43:52 M: 24793088 DEBUG: msg: SKIP: 0+1, TID: 0, TLEN: 13, COLLECTED: 184
22:43:52 M: 24793088 DEBUG: msg: PARSE_PAT: section_len: 13, section 0/0
22:43:52 M: 24793088 DEBUG: msg: PROG: 4 (1-th of 1), PMT: 57
22:43:52 M: 24793088 DEBUG: msg: COLLECT_SECTION, start: 64, size: 184, collected: 0
22:43:52 M: 24793088 DEBUG: msg: SKIP: 0+1, TID: 2, TLEN: 40, COLLECTED: 184
22:43:52 M: 24793088 DEBUG: msg: FILL_PMT(prog=4), PMT_len: 184, IS_START: 64, TS_PID: 57, SIZE=184, M=0, ES_CNT=0, IDX=0, PMT_PTR=011F8F20
22:43:52 M: 24793088 DEBUG: msg: PARSE_PMT(4 INDEX 0), STREAM: 0, FOUND pid=0xa40 (2624), type=0x10000002, ES_DESCR_LENGTH: 0, bytes left: 22
22:43:52 M: 24793088 DEBUG: msg: ...descr id: 0xa, len=4
22:43:52 M: 24793088 DEBUG: msg: Language Descriptor: eng
22:43:52 M: 24793088 DEBUG: msg: PARSE_PMT(4 INDEX 1), STREAM: 1, FOUND pid=0xa41 (2625), type=0x2000, ES_DESCR_LENGTH: 6, bytes left: 11
22:43:52 M: 24793088 DEBUG: msg: ...descr id: 0xa, len=4
22:43:52 M: 24793088 DEBUG: msg: Language Descriptor: spa
22:43:52 M: 24793088 DEBUG: msg: PARSE_PMT(4 INDEX 2), STREAM: 2, FOUND pid=0xa42 (2626), type=0x2000, ES_DESCR_LENGTH: 6, bytes left: 0
22:43:52 M: 24793088 DEBUG: msg: ----------------------------
22:43:52 M: 24793088 DEBUG: msg: ==> Found video stream: 0
22:43:52 M: 24793088 DEBUG: msg: ADDED VIDEO PID 2624, type: 10000002 stream n. 0
22:43:52 M: 24793088 DEBUG: msg: COLLECT_SECTION, start: 64, size: 184, collected: 184
22:43:52 M: 24793088 DEBUG: msg: SKIP: 0+1, TID: 0, TLEN: 13, COLLECTED: 184
22:43:52 M: 24793088 DEBUG: msg: PARSE_PAT: section_len: 13, section 0/0
22:43:52 M: 24793088 DEBUG: msg: PROG: 4 (1-th of 1), PMT: 57
22:43:52 M: 24793088 DEBUG: msg: COLLECT_SECTION, start: 64, size: 184, collected: 184
22:43:52 M: 24793088 DEBUG: msg: SKIP: 0+1, TID: 2, TLEN: 40, COLLECTED: 184
22:43:52 M: 24793088 DEBUG: msg: FILL_PMT(prog=4), PMT_len: 184, IS_START: 64, TS_PID: 57, SIZE=184, M=0, ES_CNT=3, IDX=0, PMT_PTR=011F8F20
22:43:52 M: 24793088 DEBUG: msg: PARSE_PMT(4 INDEX 0), STREAM: 0, FOUND pid=0xa40 (2624), type=0x10000002, ES_DESCR_LENGTH: 0, bytes left: 22
22:43:52 M: 24793088 DEBUG: msg: ...descr id: 0xa, len=4
22:43:52 M: 24793088 DEBUG: msg: Language Descriptor: eng
22:43:52 M: 24793088 DEBUG: msg: PARSE_PMT(4 INDEX 1), STREAM: 1, FOUND pid=0xa41 (2625), type=0x2000, ES_DESCR_LENGTH: 6, bytes left: 11
22:43:52 M: 24793088 DEBUG: msg: ...descr id: 0xa, len=4
22:43:52 M: 24793088 DEBUG: msg: Language Descriptor: spa
22:43:52 M: 24793088 DEBUG: msg: PARSE_PMT(4 INDEX 2), STREAM: 2, FOUND pid=0xa42 (2626), type=0x2000, ES_DESCR_LENGTH: 6, bytes left: 0
22:43:52 M: 24793088 DEBUG: msg: ----------------------------
22:43:52 M: 24793088 DEBUG: msg: ==> Found audio stream: 0
22:43:52 M: 24793088 DEBUG: msg: ADDED AUDIO PID 2625, type: 2000 stream n. 0
22:43:52 M: 24793088 DEBUG: msg: ==> Found audio stream: 1
22:43:52 M: 24793088 DEBUG: msg: ADDED AUDIO PID 2626, type: 2000 stream n. 1



3. 8 1/2 minutes later, a picture shows up on the screen (but notice the frames per second):

Image


22:52:13 M: 24793088 DEBUG: msg: PARSE_PMT(4 INDEX 2), STREAM: 2, FOUND pid=0xa42 (2626), type=0x2000, ES_DESCR_LENGTH: 6, bytes left: 0
22:52:13 M: 24793088 DEBUG: msg: ----------------------------
22:52:13 M: 24793088 DEBUG: msg: VIDEO MPEG2(pid=2624)
22:52:13 M: 24793088 DEBUG: msg: AUDIO A52(pid=2626)
22:52:13 M: 24793088 DEBUG: msg: NO SUBS (yet)!
22:52:13 M: 24793088 DEBUG: msg: PROGRAM N. 4
22:52:13 M: 24793088 DEBUG: msg: Opened TS demuxer, audio: 2000(pid 1), video: 10000002(pid 0)...POS=18800, PROBE=2000000
22:52:13 M: 24793088 DEBUG: msg: Searching for sequence header...
22:52:13 M: 24756224 DEBUG: msg: COLLECT_SECTION, start: 64, size: 184, collected: 0
22:52:13 M: 24756224 DEBUG: msg: SKIP: 0+1, TID: 0, TLEN: 13, COLLECTED: 184
22:52:13 M: 24756224 DEBUG: msg: PARSE_PAT: section_len: 13, section 0/0
22:52:13 M: 24756224 DEBUG: msg: PROG: 4 (1-th of 1), PMT: 57
22:52:13 M: 24756224 DEBUG: msg: COLLECT_SECTION, start: 64, size: 184, collected: 0
22:52:13 M: 24756224 DEBUG: msg: SKIP: 0+1, TID: 2, TLEN: 40, COLLECTED: 184
22:52:13 M: 24756224 DEBUG: msg: FILL_PMT(prog=4), PMT_len: 184, IS_START: 64, TS_PID: 57, SIZE=184, M=0, ES_CNT=3, IDX=0, PMT_PTR=011F8F20
22:52:13 M: 24756224 DEBUG: msg: PARSE_PMT(4 INDEX 0), STREAM: 0, FOUND pid=0xa40 (2624), type=0x10000002, ES_DESCR_LENGTH: 0, bytes left: 22
22:52:13 M: 24756224 DEBUG: msg: ...descr id: 0xa, len=4
22:52:13 M: 24756224 DEBUG: msg: Language Descriptor: eng
22:52:13 M: 24756224 DEBUG: msg: PARSE_PMT(4 INDEX 1), STREAM: 1, FOUND pid=0xa41 (2625), type=0x2000, ES_DESCR_LENGTH: 6, bytes left: 11
22:52:13 M: 24756224 DEBUG: msg: ...descr id: 0xa, len=4
22:52:13 M: 24756224 DEBUG: msg: Language Descriptor: spa
22:52:13 M: 24756224 DEBUG: msg: PARSE_PMT(4 INDEX 2), STREAM: 2, FOUND pid=0xa42 (2626), type=0x2000, ES_DESCR_LENGTH: 6, bytes left: 0
22:52:13 M: 24756224 DEBUG: msg: ----------------------------
22:52:13 M: 24719360 DEBUG: msg: OK!
22:52:13 M: 23666688 DEBUG: msg: VIDEO: MPEG2 528x480 (aspect 2) 29.970 fps 15000.0 kbps (1875.0 kbyte/s)
22:52:13 M: 23666688 DEBUG: msg: [V] filefmt:29 fourcc:0x10000002 size:528x480 fps:29.97 ftime:=0.0334
22:52:13 M: 23666688 DEBUG: msg: get_path('sub/') -> 'Q:\system\players\mplayer\sub/'
22:52:13 M: 23666688 DEBUG: msg: Starting lookup for subs
22:52:13 M: 23666688 DEBUG: msg: Global Subsize: 0 - VOBSUB: -1, DEMUX: -1, SUBS: -1
22:52:13 M: 23666688 DEBUG: msg: Global Subpos : -1
22:52:13 M: 23666688 DEBUG: msg: ==========================================================================
22:52:13 M: 23666688 DEBUG: msg: Opening audio decoder: [liba52] AC3 decoding with liba52
22:52:13 M: 23666688 DEBUG: msg: dec_audio: Allocating 3840 bytes for input buffer.
22:52:13 M: 23666688 DEBUG: msg: dec_audio: Allocating 18432 + 65536 = 83968 bytes for output buffer.
22:52:13 M: 23564288 DEBUG: No accelerated IMDCT transform found
22:52:13 M: 23470080 DEBUG: msg: The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
22:52:13 M: 23470080 DEBUG: msg: VDecoder init failed Sad
22:52:13 M: 23470080 DEBUG: msg: Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
22:52:13 M: 22220800 DEBUG: msg: Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
22:52:13 M: 22220800 DEBUG: msg: ==========================================================================
22:52:13 M: 22220800 DEBUG: msg: Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/6ch/16bit...
22:52:13 M: 22220800 DEBUG: msg: [libaf] Adding filter dummy
22:52:13 M: 22220800 DEBUG: msg: [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
22:52:13 M: 22220800 DEBUG: msg: AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
22:52:13 M: 22220800 DEBUG: msg: AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
22:52:13 M: 22200320 DEBUG: msg: AO: [win32] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
22:52:13 M: 22200320 DEBUG: msg: AO: Description: Windows waveOut audio output
AO: Author: SaschaSommer <[email protected]>
22:52:13 M: 22200320 DEBUG: msg: Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
22:52:13 M: 22200320 DEBUG: msg: [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
22:52:13 M: 22200320 DEBUG: msg: [dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
22:52:13 M: 22130688 DEBUG: msg: Starting playback...
tuner0?channel=qam:114&program=4)
Reply
#94
elupus, let me know if you want a full copy of the debug log. I tried including the essentials. The log for the session is around 70kB.
Reply
#95
try two things.. firstly don't enable debug log (ts files have a tendenecy to log a silly amount of data).

secondly give dvdplayer a go and see how that fairs.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#96
Hmm, how do I use DVDPlayer to play these ?
Reply
#97
sandman you seem to be getting further than i am getting, here is what i am doing,
In the media tab, under video
i have smb, replytv, video etc etc... i put the cursor on video select the white button and select edit, what I do after that is i add the following path:
hdhomerun://deviceid/tuner0?channel=qam:90&program=5, where 90 is the physical channel and 5 is the program, using this i still get Current stream N/A
Reply
#98
oh btw when you ar eon the stream select the white button and it will ask you to play with a certain player, you can select dvdplayer from here i believe
Reply
#99
That's what I tried first, but for some reason the white button now brings up a completely different submenu Sad

They say a picture says more than a thousand words, so let's try:

Image

In older builds, I get a submenu where I can choose mplayer, DVDPlayer, or PAPlayer.
Reply
inn0c3nt, I haven't tried adding them that way. Try creating a .strm file somewhere and put one line in it:

hdhomerun://deviceid/tuner0?channel=qam:90&program=5

And then play that file from the Videos selection. I'm not saying that will work for you, but it should get you to where I am at least :-)
Reply
It's because it's treating the playlist as a folder.

Turn off playlistsasfolders via advancedsettings.xml
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
Thanks for the reply. Could you be more specific please ? I see no reference to playlistsasfolders in the online manual, and the only forum hit was your post...
Reply
http://www.xboxmediacenter.com/wiki/inde...folders.3E
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
thanks again. I've moved this discussion to the Bug forum to keep this thread on topic.
Reply
Is there anything I can do to force dvdplayer as the default player in order to try to play the stream ? It'd be a shame if progress on the HDHR support will be halted due to this other bug...
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 25

Logout Mark Read Team Forum Stats Members Help
SiliconDust HDHomeRun Networked Digital Cable TV / HDTV Tuner support built-into XBMC1