Kodi Community Forum

Full Version: pvr-testing2: channel can not be played
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello
I have a problem with pvr-testing2 branch. I am using VDR backend. EPG is working, i have my channel list, i even can play recordings, but when i switch to any channel, after several seconds information dialog is telling me that "channel can not be played" Sad
I am sure that vdr is working ok - i am using it for years, i can also watch mentioned channel in mplayer without any problem using this command:
Code:
mplayer http://localhost:3000/6
Please help... I'd really love to have TV in my XBMC Smile

here is what a log says when i hit enter on a channel:
Code:
16:28:51 T:3058280224 M:2833182720   DEBUG: OnKey: 61453 pressed, action is 7
16:28:51 T:3058280224 M:2833182720   DEBUG: new file set audiostream:0
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/all/6.pvr)
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
16:28:51 T:3058280224 M:2833182720   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
16:28:51 T:3058280224 M:2831970304  NOTICE: DVDPlayer: Opening: pvr://channels/tv/all/6.pvr
16:28:51 T:3058280224 M:2831970304 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:28:51 T:2941561744 M:2831970304   DEBUG: thread start, auto delete: 1
16:28:51 T:2930400144 M:2831970304   DEBUG: thread start, auto delete: 0
16:28:51 T:2930400144 M:2831970304  NOTICE: Creating InputStream
16:28:51 T:2930400144 M:2831970304   DEBUG: AddOnLog: PVRDLL/VDRClient: connection open
16:28:51 T:2930400144 M:2831970304   DEBUG: AddOnLog: PVRDLL/VDRClient: select said nothing happened
16:28:51 T:2930400144 M:2831970304   DEBUG: AddOnLog: PVRDLL/VDRClient: connection open
16:28:51 T:2930400144 M:2831970304   DEBUG: AddOnLog: PVRDLL/VDRClient: select said nothing happened
16:28:51 T:2930400144 M:2831970304   DEBUG: AddOnLog: PVRDLL/VDRClient: connection open
16:28:51 T:2930400144 M:2831970304   DEBUG: AddOnLog: PVRDLL/VDRClient: select said nothing happened
16:28:52 T:2930400144 M:2831982592   DEBUG: AddOnLog: PVRDLL/VDRClient: connection open
16:28:52 T:2930400144 M:2831982592   DEBUG: AddOnLog: PVRDLL/VDRClient: select said nothing happened
16:28:52 T:2930400144 M:2831982592   DEBUG: AddOnLog: PVRDLL/VDRClient: CVTPTransceiver::CreateDataConnection - local address 127.0.0.1:42664
16:28:52 T:2930400144 M:2831982592   DEBUG: AddOnLog: PVRDLL/VDRClient: CVTPTransceiver::OpenStreamSocket - listening on 0.0.0.0:24224
16:28:52 T:2879794064 M:2831982592   DEBUG: AddOnLog: PVRDLL/VDRClient: TS Live buffer thread started (pid=24821, tid=25238)
16:28:52 T:2930400144 M:2831982592   DEBUG: Open - TV Channel has started on filename pvr://channels/tv/all/6.pvr
16:28:52 T:2930400144 M:2831982592  NOTICE: Creating Demuxer
16:28:54 T:2941561744 M:2831753216    INFO: Loading skin file: DialogProgress.xml
16:28:54 T:2941561744 M:2831753216   DEBUG: Load DialogProgress.xml: 1.37ms
16:28:54 T:2941561744 M:2831753216   DEBUG: DialogProgress::StartModal called
16:28:54 T:2941561744 M:2831753216   DEBUG: ------ Window Init (DialogProgress.xml) ------
16:28:54 T:2941561744 M:2831753216   DEBUG: Alloc resources: 0.02ms (0.00 ms skin load)
16:28:56 T:2930400144 M:2831761408    INFO: AddOnLog: PVRDLL/VDRClient: No data in 3 seconds, queuing no signal image
16:28:56 T:2930400144 M:2831761408   DEBUG: Open - probing detected format [mpeg]
16:28:56 T:2930400144 M:2831761408   DEBUG: Open - av_find_stream_info starting
16:28:56 T:2930400144 M:2831753216   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:56 T:2930400144 M:2831753216   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:56 T:2930400144 M:2831753216   DEBUG: ffmpeg[AEAA5B90]: [mpeg] Could not find codec parameters (Video: 0x0000)
16:28:56 T:2930400144 M:2831753216   DEBUG: ffmpeg[AEAA5B90]: [mpeg] Estimating duration from bitrate, this may be inaccurate
16:28:56 T:2930400144 M:2831753216 WARNING: could not find codec parameters for pvr://channels/tv/all/6.pvr
16:28:56 T:2930400144 M:2831761408   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:56 T:2930400144 M:2831761408   ERROR: Open - error reading from input stream, pvr://channels/tv/all/6.pvr
16:28:57 T:2930400144 M:2831761408   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:57 T:2930400144 M:2831761408   ERROR: Open - error reading from input stream, pvr://channels/tv/all/6.pvr
16:28:57 T:2930400144 M:2831761408   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:57 T:2930400144 M:2831761408   ERROR: Open - error reading from input stream, pvr://channels/tv/all/6.pvr
16:28:57 T:2930400144 M:2831855616   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:57 T:2930400144 M:2831855616   ERROR: Open - error reading from input stream, pvr://channels/tv/all/6.pvr
16:28:57 T:2930400144 M:2831859712   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:57 T:2930400144 M:2831859712   ERROR: Open - error reading from input stream, pvr://channels/tv/all/6.pvr
16:28:58 T:2930400144 M:2831896576   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:58 T:2930400144 M:2831896576   ERROR: Open - error reading from input stream, pvr://channels/tv/all/6.pvr
16:28:58 T:2930400144 M:2831896576   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:58 T:2930400144 M:2831896576   ERROR: Open - error reading from input stream, pvr://channels/tv/all/6.pvr
16:28:58 T:2930400144 M:2831896576   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:58 T:2930400144 M:2831896576   ERROR: Open - error reading from input stream, pvr://channels/tv/all/6.pvr
16:28:58 T:2930400144 M:2831884288   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
16:28:58 T:2930400144 M:2831884288   ERROR: Open - error reading from input stream, pvr://channels/tv/all/6.pvr
16:28:58 T:2930400144 M:2831884288   ERROR: OpenDemuxStream - Error creating demuxer
16:28:58 T:2930400144 M:2831884288  NOTICE: CDVDPlayer::OnExit()
16:28:58 T:2930400144 M:2831884288  NOTICE: CDVDPlayer::OnExit() deleting input stream
16:28:58 T:2930400144 M:2831884288   DEBUG: AddOnLog: PVRDLL/VDRClient: connection open
16:28:58 T:2930400144 M:2831884288   DEBUG: AddOnLog: PVRDLL/VDRClient: select said nothing happened
16:28:58 T:2879794064 M:2831888384   ERROR: AddOnLog: PVRDLL/VDRClient: ERROR (client.cpp,126): Bad file descriptor
16:28:58 T:2879794064 M:2831888384   DEBUG: AddOnLog: PVRDLL/VDRClient: TS Live buffer thread ended (pid=24821, tid=25238)
16:28:59 T:2930400144 M:2831888384   DEBUG: AddOnLog: PVRDLL/VDRClient: buffer stats: 5076 (0%) used
16:28:59 T:2930400144 M:2831888384   DEBUG: Thread 2930400144 terminating
16:28:59 T:3058280224 M:2831888384   DEBUG: OnPlayBackStopped - Playback was stopped
16:28:59 T:3058280224 M:2831888384    INFO: Loading skin file: DialogOK.xml
16:28:59 T:3058280224 M:2831888384   DEBUG: Load DialogOK.xml: 1.03ms
16:28:59 T:3058280224 M:2831888384   DEBUG: ------ Window Init (DialogOK.xml) ------
16:28:59 T:3058280224 M:2831888384   DEBUG: Alloc resources: 0.01ms (0.00 ms skin load)
16:28:59 T:3058280224 M:2831888384  NOTICE: CDVDPlayer::CloseFile()
16:28:59 T:3058280224 M:2831888384 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:28:59 T:3058280224 M:2831888384  NOTICE: DVDPlayer: waiting for threads to exit
16:28:59 T:3058280224 M:2831888384  NOTICE: DVDPlayer: finished waiting
16:28:59 T:3058280224 M:2831888384   DEBUG: LinuxRendererGL: Cleaning up GL resources
16:28:59 T:3058280224 M:2832646144   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
16:28:59 T:2941561744 M:2832646144   DEBUG: Thread 2941561744 terminating (autodelete)
Yesterday i compiled pvr-testing2 and tested with vdr from the-vdr-team-ppa and can confirm the exact same behaviour.

EPG is there, channellist ist there, recordings are working but i can not watch tv. When i use mplayer i can watch tv via vdr and with tvheadend i can watch tv via xbmc ... but i'd prefer vdr because its more integrated into the gui incl. recording etc.

I hope the pvr branch will make it into the next version of xbmc, it's the ├Âlast thing i'm missing for a near-perfect media center solution.
It seems that we're not alone with this:
http://trac.xbmc.org/ticket/8392

ps. i am using revision 26307 from 2010-01-03
Weird according to the log on that ticket he is using revision 26177.
I am using revision 26177 on Archlinux 32-bit and i don't have this problem.
oops
you're right about that revision, decaturguy
according to trac:
http://trac.xbmc.org/browser/branches
the lastest revision is 26177 - and it is 7d old - so i definitely have that one
the command svnversion gives me wrong result, sorry
Hello.
First i was trying to revert to older revisions (about month old) - but with no luck: same behavior - channels cannot be played.
Finally i figured out what is going on. I run telnet to 2004 port on localhost, opened netcat on dataport and see what data is sent to data port when switching channels. Indeed - there was no data available - so xbmc logs tells the point. I also checked, that when i put "CAPS PES" i have data available. But xbmc doesn't play when data is not in TS. This leads me to the nature of a problem:
I have oldy DVB-S card (Technotrend 1.3) - and this hardware has a problem with selecting PIDs - in other words - there is limited bandwitch.
When i set hw_sections=0 i set hardware section filtering. Then - the xbmc was able to play channels! Smile
Finally i saw a channel in my xbmc Big Grin
Anyway - sometimes i have problem tuning to channel on different transponders.
So ... i need to buy SkyStar HD-2 earlier, than i was planning - and i think that hardware problems will gone... Smile
where this hw_section=0 is ? Is it module param or xbmc setting ?
BTW. I'm using SkyStar HD-2 and got this problem.

PS. As you can see the bug was closed and clasified as Invalid because of the fact it is testing branch... Sad

Regards
Janusz
janumix Wrote:where this hw_section=0 is ? Is it module param or xbmc setting ?
it is dvb_ttpci module parameter

janumix Wrote:PS. As you can see the bug was closed and clasified as Invalid because of the fact it is testing branch... Sad
oh yes - i don't like treating like this Sad