anxdpanic / plugin.video.twitch

Watch your favorite gaming streams on Kodi
https://twitchaddon.page.link/forum
271 stars 79 forks source link

Plays Stream suddenly breaks and can't restart or only sluggish #16

Closed IrealiTY closed 11 years ago

IrealiTY commented 11 years ago

Hello, I'm using your plugin on an OpenElec RaspberryPi System. When I first run the addon after installing it plays my stream normaly (eventhough the previews / thumbnails are not loading) After around 1h of watching is stopped and I could not restart the stream, it keeps loading and then just stops.

here's the log from01_xbmc.log

16:31:37 T:2788439136  NOTICE: Previous line repeats 6 times.
16:31:37 T:2788439136  NOTICE: Thread XBPyThread start, auto delete: false
16:31:38 T:2788439136  NOTICE: -->Python Interpreter Initialized<--
16:31:38 T:2788439136  NOTICE: [xbmcswift2] Request for "/playLive/riotgames/" matches rule for function "playLive"
16:31:43 T:2788439136 WARNING: Attempt to use invalid handle 11
16:31:43 T:3043168256  NOTICE: COMXPlayer: Opening: rtmp://justintvlivefs.fplive.net/justintv1live-live/stream_live_user_riotgames jtv=b6d0a3b6eae469891cc579986b846d8390f4639c:{\22swfDomains\22:\20[\22justin.tv\22,\20\22jtvx.com\22,\20\22xarth.com\22,\20\22twitchtv.com\22,\20\22twitch.tv\22,\20\22newjtv.com\22,\20\22jtvnw.net\22,\20\22wdtinc.com\22,\20\22imapweather.com\22,\20\22facebook.com\22,\20\22starcrafting.com\22],\20\22streamName\22:\20\22stream_live_user_riotgames\22,\20\22expiration\22:\201366558302.8441279,\20\22server\22:\20\22l3\22} swfUrl=http://www-cdn.jtvnw.net/widgets/live_embed_player.r154a38b5596f3b2e3663fb83bea6c0fd8aebfa49.swf?channel=riotgames&referer=http://www.justin.tv/riotgames&userAgent=Mozilla/5.0%20(Windows%20NT%206.1;%20WOW64;%20rv:6.0)%20Gecko/20100101%20Firefox/6.0&channel=riotgames swfVfy=1 live=true Pageurl=http://www.justin.tv/riotgames
16:31:43 T:3043168256 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:31:43 T:3043168256  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
16:31:43 T:2754884704  NOTICE: Thread COMXPlayer start, auto delete: false
16:31:43 T:2754884704  NOTICE: Creating InputStream
16:31:44 T:2754884704   ERROR: rtmp server sent error
16:31:44 T:2754884704  NOTICE: Creating Demuxer
16:31:44 T:2754884704  NOTICE: Metadata:
16:31:44 T:2754884704  NOTICE:   duration              0.00
16:31:44 T:2754884704  NOTICE:   width                 1280.00
16:31:44 T:2754884704  NOTICE:   height                720.00
16:31:44 T:2754884704  NOTICE:   videodatarate         390.62
16:31:44 T:2754884704  NOTICE:   framerate             1000.00
16:31:44 T:2754884704  NOTICE:   videocodecid          7.00
16:31:44 T:2754884704  NOTICE:   audiodatarate         93.75
16:31:44 T:2754884704  NOTICE:   audiosamplerate       44100.00
16:31:44 T:2754884704  NOTICE:   audiosamplesize       16.00
16:31:44 T:2754884704  NOTICE:   stereo                TRUE
16:31:44 T:2754884704  NOTICE:   audiocodecid          10.00
16:31:44 T:2754884704  NOTICE:   author
16:31:44 T:2754884704  NOTICE:   copyright
16:31:44 T:2754884704  NOTICE:   description
16:31:44 T:2754884704  NOTICE:   keywords
16:31:44 T:2754884704  NOTICE:   rating
16:31:44 T:2754884704  NOTICE:   title
16:31:44 T:2754884704  NOTICE:   presetname            Custom
16:31:44 T:2754884704  NOTICE:   creationdate          Sun Apr 21 13:43:58 2013
16:31:44 T:2754884704  NOTICE:   videodevice           XSplitBroadcaster
16:31:44 T:2754884704  NOTICE:   avclevel              31
16:31:44 T:2754884704  NOTICE:   avcprofile            100
16:31:44 T:2754884704  NOTICE:   videokeyframe_frequency0
16:31:44 T:2754884704  NOTICE:   audiodevice           VHAudioCustom
16:31:44 T:2754884704  NOTICE:   audiochannels         2
16:31:44 T:2754884704  NOTICE:   audioinputvolume      100
16:31:44 T:2754884704  NOTICE:   bufferSize            1300k
16:31:44 T:2754884704  NOTICE:   maxBitrate            2300k
16:31:44 T:2754884704  NOTICE:   xsplitBroadcasterVersion1.3.0.90
16:31:44 T:2754884704  NOTICE:   xsplitCoreVersion     1.2.1301.2501 Version 1.2
16:31:44 T:2754884704  NOTICE:   xsplitGameSourceVersion1.1.1.29
16:31:44 T:2754884704  NOTICE:   xsplitMediaLibVersion 2.0.0.200
16:31:44 T:2754884704  NOTICE:   encoder               Lavf54.59.106
16:31:44 T:2754884704  NOTICE:   filesize              0.00
16:31:58 T:2754884704  NOTICE: Opening video stream: 0 source: 256
16:31:58 T:2754884704  NOTICE: OMXClock using video as reference
16:31:58 T:2754884704  NOTICE: Creating video thread
16:31:58 T:2738107488  NOTICE: Thread COMXPlayerVideo start, auto delete: false
16:31:58 T:2754884704  NOTICE: Opening audio stream: 1 source: 256
16:31:58 T:2754884704  NOTICE: Creating audio thread
16:31:58 T:2788439136  NOTICE: Thread COMXPlayerAudio start, auto delete: false
16:31:58 T:2738107488   ERROR: Output - renderer not started
16:31:59 T:2788439136  NOTICE: OMXClock using audio as reference
16:31:59 T:2738107488   ERROR: Output - renderer not started
16:31:59 T:2738107488   ERROR: Previous line repeats 6 times.
16:31:59 T:2738107488  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (16)
16:31:59 T:2738107488  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
16:31:59 T:2771661920  NOTICE: Thread Jobworker start, auto delete: true
16:31:59 T:3043168256  NOTICE: Using GL_TEXTURE_2D
16:31:59 T:3043168256  NOTICE: GL: Using BYPASS render method
16:31:59 T:3043168256  NOTICE: GL: NPOT texture support detected
16:33:28 T:2754884704   ERROR: WriteN, RTMP send error 32 (46 bytes)
16:33:28 T:2754884704   ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 816874
16:33:29 T:2754884704  NOTICE: COMXPlayer::OnExit()
16:33:29 T:2754884704  NOTICE: OMXPlayer: eof, waiting for queues to empty
16:33:29 T:2754884704  NOTICE: OMXPlayer: closing audio stream
16:33:29 T:2754884704  NOTICE: Closing audio stream
16:33:29 T:2754884704  NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
16:33:29 T:2788439136  NOTICE: thread end: OMXPlayerAudio::OnExit()
16:33:29 T:2754884704  NOTICE: OMXClock using video as reference
16:33:29 T:2754884704  NOTICE: OMXPlayer: closing video stream
16:33:29 T:2754884704  NOTICE: Closing video stream
16:33:29 T:2754884704  NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
16:33:29 T:2738107488   ERROR: OMXPlayerVideo: Got MSGQ_IS_ERROR(-1) Aborting
16:33:29 T:2738107488  NOTICE: thread end: video_thread
16:33:29 T:2754884704  NOTICE: OMXClock using video as reference
16:33:29 T:2754884704  NOTICE: COMXPlayer::OnExit() deleting demuxer
16:33:29 T:2754884704  NOTICE: COMXPlayer::OnExit() deleting input stream
16:33:29 T:2754884704  NOTICE: Thread Background Loader start, auto delete: false
16:33:29 T:2738107488  NOTICE: Thread Jobworker start, auto delete: true
16:33:30 T:3043168256  NOTICE: Previous line repeats 1 times.
16:33:30 T:3043168256  NOTICE: OMXClock using video as reference
16:33:36 T:2754884704  NOTICE: Previous line repeats 1 times.
16:33:36 T:2754884704  NOTICE: Thread XBPyThread start, auto delete: false
16:33:37 T:2754884704  NOTICE: -->Python Interpreter Initialized<--
16:33:38 T:2754884704  NOTICE: [xbmcswift2] Request for "/playLive/riotgames/" matches rule for function "playLive"
16:33:39 T:3043168256   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.twitch/playLive/riotgames/]
16:33:43 T:2754884704  NOTICE: Thread XBPyThread start, auto delete: false
16:33:44 T:2754884704  NOTICE: -->Python Interpreter Initialized<--
16:33:44 T:2754884704  NOTICE: [xbmcswift2] Request for "/playLive/riotgames/" matches rule for function "playLive"
16:33:46 T:3043168256   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.twitch/playLive/riotgames/]
16:34:04 T:2738107488  NOTICE: Thread XBPyThread start, auto delete: false
16:34:04 T:2738107488  NOTICE: -->Python Interpreter Initialized<--
16:34:05 T:2738107488  NOTICE: [xbmcswift2] Request for "/playLive/riotgames/" matches rule for function "playLive"
16:34:06 T:3043168256   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.twitch/playLive/riotgames/]
16:34:10 T:2738107488  NOTICE: Thread Background Loader start, auto delete: false
16:34:10 T:2788439136  NOTICE: Thread Jobworker start, auto delete: true
elcado commented 11 years ago

Hi,

I found this issue by googling about "OMXPlayerVideo: Got MSGQ_IS_ERROR(-1) Aborting"... I don't know if it can help, or even if it is related, but I have this error with one of my mkv file...

Cheers

ccaspers commented 11 years ago

Probably not plugin-related. The plugin only resolves the URL to the requested stream and sends it to xbmc to play. Might have to do with the xbmc-player or librtmp.