OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.6k stars 888 forks source link

LiveTV Buffering/Playing popup #2994

Closed blgblade closed 9 years ago

blgblade commented 10 years ago

Hello, i'm using OpenELEC 4.0 Beta 1 on my Raspberry Pi my LiveTV backend is DVBViewer/DVB Recording Service.

The playback works without a problem but the buffering popup is still on top and switch between buffering and playing. i dont have any laggs or something else, just the popup :) sometimes it dissappear after a while. i dont find any option to disable the popup.

can it be a to small buffer for livetv ?

i found in the release comments some comments with the same problem: "I'm running on the raspberry pi and have the already mentioned issue with Live TV. The bar with Buffering... Playing pops up rather often and also my HD44780 LCD blinks on and off when that happens. Read here it was fixed, but don't know if the fix is already available anywhere to test."

but i found no ticket here, so i hope it is ok :)

stefansaraev commented 10 years ago

hey. provide some debug logs or use forum/irc/xbmc forum/xbmc trac

blgblade commented 10 years ago

oh sry, here is a part (i hope i found the right position

18:57:55 T:2675962960 DEBUG: pcm->ePCMMode : 0 18:57:55 T:2675962960 DEBUG: pcm->nChannels : 2 18:57:55 T:2675962960 DEBUG: pcm->nSamplingRate : 48000 18:57:55 T:2675962960 DEBUG: OMX_AUDIO_ChannelLF 18:57:55 T:2675962960 DEBUG: OMX_AUDIO_ChannelRF 18:57:55 T:2675962960 DEBUG: COMXAudio::Initialize device passthrough 0 hwdecode 0 18:57:55 T:2675962960 INFO: Audio codec channels 2 samplerate 48000 bitspersample 16 18:57:55 T:2675962960 DEBUG: COMXAudio::Decode ADec : setStartTime 78187.460938 18:57:55 T:2675962960 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_mixer input port 232 output port 231 m_handle 0x31ff690 18:57:55 T:2675962960 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0x31b9280 18:57:55 T:2675962960 INFO: COMXAudio::ApplyVolume - Volume=1.00 (* 1.00 * 1.00) 18:57:55 T:2675962960 DEBUG: COMXAudio::PortSettingsChanged - Output bps 16 samplerate 48000 channels 2 buffer size 576000 bytes per second 192000 18:57:55 T:2675962960 DEBUG: pcm->direction : output 18:57:55 T:2675962960 DEBUG: pcm->nPortIndex : 231 18:57:55 T:2675962960 DEBUG: pcm->eNumData : 0 18:57:55 T:2675962960 DEBUG: pcm->eEndian : 1 18:57:55 T:2675962960 DEBUG: pcm->bInterleaved : 1 18:57:55 T:2675962960 DEBUG: pcm->nBitPerSample : 16 18:57:55 T:2675962960 DEBUG: pcm->ePCMMode : 0 18:57:55 T:2675962960 DEBUG: pcm->nChannels : 2 18:57:55 T:2675962960 DEBUG: pcm->nSamplingRate : 48000 18:57:55 T:2675962960 DEBUG: OMX_AUDIO_ChannelLF 18:57:55 T:2675962960 DEBUG: OMX_AUDIO_ChannelRF 18:57:55 T:2675962960 DEBUG: COMXAudio::PortSettingsChanged - bits:32 mode:0 channels:2 srate:48000 nopassthrough 18:57:55 T:3059871744 NOTICE: Using GL_TEXTURE_2D 18:57:55 T:3059871744 DEBUG: GL: Requested render method: 0 18:57:55 T:3059871744 NOTICE: GL: Using BYPASS render method 18:57:55 T:3059871744 NOTICE: GL: NPOT texture support detected 18:57:55 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started RESET 18:57:55 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started 1 (tpa:0,a:1,v:1) 18:57:55 T:3059871744 DEBUG: dest_rect.x_offset 923 dest_rect.y_offset 128 dest_rect.width 780 dest_rect.height 585 18:57:55 T:2567619664 DEBUG: audio stream stalled. start buffering 18:57:55 T:2567619664 DEBUG: COMXPlayer::SetCaching - caching state 2 18:57:55 T:2567619664 DEBUG: OMXClock::OMXSetSpeed(0.00) pause_resume:1 18:57:55 T:2675962960 DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_SETSPEED 0 18:57:55 T:2675962960 DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_STARTED 1 18:57:55 T:2684351568 DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_SETSPEED 0 18:57:55 T:2684351568 DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_STARTED 1 18:57:55 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started RESET 18:57:55 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started 1 (tpa:0,a:1,v:1) 18:57:55 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started RESET 18:57:55 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started 2 (tpa:0,a:1,v:1) 18:57:55 T:2567619664 DEBUG: Resume 1.06,1.50 (A:01 V:01) EOF:0 FULL:0 T:0.20 18:57:55 T:2567619664 DEBUG: OMXClock::OMXSetSpeed(1.00) pause_resume:1 18:57:55 T:3059871744 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------ 18:57:55 T:3059871744 DEBUG: ------ Window Init (DialogSeekBar.xml) ------ 18:57:56 T:2567619664 DEBUG: set caching from pvr to done. audio (1) = 11. video (1) = 11 18:57:56 T:2567619664 INFO: COMXAudio::ApplyVolume - Volume=1.00 (* 1.00 * 1.00) 18:57:56 T:2567619664 DEBUG: COMXPlayer::SetCaching - caching state 0 18:57:56 T:2675962960 DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_SETSPEED 1000 18:57:56 T:2684351568 DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_SETSPEED 1000 18:57:56 T:2567619664 DEBUG: audio stream stalled. start buffering 18:57:56 T:2567619664 DEBUG: COMXPlayer::SetCaching - caching state 2 18:57:56 T:2567619664 DEBUG: OMXClock::OMXSetSpeed(0.00) pause_resume:1 18:57:56 T:2675962960 DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_SETSPEED 0 18:57:56 T:2675962960 DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_STARTED 1 18:57:56 T:2684351568 DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_SETSPEED 0 18:57:56 T:2684351568 DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_STARTED 1 18:57:56 T:2567619664 DEBUG: Resume 1.07,1.52 (A:01 V:01) EOF:0 FULL:0 T:0.20 18:57:56 T:2567619664 DEBUG: OMXClock::OMXSetSpeed(1.00) pause_resume:1 18:57:56 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started RESET 18:57:56 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started 1 (tpa:0,a:1,v:1) 18:57:56 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started RESET 18:57:56 T:2567619664 DEBUG: COMXPlayer::HandleMessages - player started 2 (tpa:0,a:1,v:1) 18:57:56 T:3059871744 DEBUG: ------ Window Init (DialogSeekBar.xml) ------ 18:57:57 T:2567619664 DEBUG: set caching from pvr to done. audio (1) = 11. video (1) = 8 18:57:57 T:2567619664 INFO: COMXAudio::ApplyVolume - Volume=1.00 (* 1.00 * 1.00) 18:57:57 T:2567619664 DEBUG: COMXPlayer::SetCaching - caching state 0 18:57:57 T:2675962960 DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_SETSPEED 1000 18:57:57 T:2684351568 DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_SETSPEED 1000

btw: i used xbian before (but killed my installation yesterday -_-) with the latest updates/nightly and livetv worked without this bug. but i prefer openelec :)

stefansaraev commented 10 years ago

ok. multiple "audio stream stalled. start buffering" here. maybe c8bf6a17b4143fbf580f32322ead57c6320257a1 could help (wait for next beta and report back). or it is some weird networking issue. not using wifi right?

blgblade commented 10 years ago

ok will wait for next beta, thank you. i dont use wifi on my rpi

blgblade commented 10 years ago

i compiled a nightly from the source, but the error is still there, log is identical. later i tested a build from milhousevh and no error, all is working fine. i don't know what modifications he did but it works.with his build.

schumi2004 commented 10 years ago

I'm having the same thing using tvh and a hdhomerun.

popcornmix commented 10 years ago

Can you try latest Milhouse build. It was reported as fixing an issue like this: http://forum.xbmc.org/showthread.php?tid=184866&pid=1646050#pid1646050

schumi2004 commented 10 years ago

confirmed

codesnake commented 10 years ago

It seems that the issue is caused by xbmc-xbmc-999.80.010-omxplayer-Allow_small_audio_packets_to_be_concatenated_to_make_better_use_of_audio_fifo.patch. Simply removing the patch fixes the issue.

stefansaraev commented 9 years ago

cleaning up. please test OE 5.0 rc1 and if it's still an issue, open a new ticket. make sure to read our guidelines for contributing first. thanks.