Kodi Community Forum
Streaming Playback Issue. Possible RTMP error? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: VideoPlayer InputStream (https://forum.kodi.tv/forumdisplay.php?fid=312)
+---- Thread: Streaming Playback Issue. Possible RTMP error? (/showthread.php?tid=110197)



Streaming Playback Issue. Possible RTMP error? - LAGMonkey - 2011-09-15

I've been banging my head against a brick wall for the passed two days and i really dont know what is happeneing with my system. I'm trying to stream the rugby from ITV using the ITV catchup addon. This works, however at random intervals the stream stops and I'm returned to the menu system. I switched to the PVR version of xbmc as apparently it has better cacheing but the problem continues to remain.
Below is the debug log, The video is supposed to be an hour and 43 mins. This capture was at the 10 min mark.

Is there a problem with my RTMP? its version 2.3.

Quote:20:32:49 T:139713177040832 M:301080576 DEBUG: Unloading: libcurl-gnutls.so.4
20:37:22 T:139712467564288 M:301137920 INFO: HandleCtrl, received ctrl. type: 6, len: 6
20:37:22 T:139712467564288 M:301137920 INFO: HandleCtrl, Ping 571327640
20:37:22 T:139712467564288 M:301137920 INFO: sending ctrl. type: 0x0007
20:37:51 T:139712467564288 M:301899776 INFO: ignoring too small audio packet: size: 0
20:37:51 T:139712467564288 M:301899776 INFO: RTMP_ClientPacket, received: notify 102 bytes
20:37:51 T:139712467564288 M:301899776 INFO: (object begin)
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: no-name., STRING: onPlayStatus>
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: no-name., OBJECT>
20:37:51 T:139712467564288 M:301899776 INFO: (object begin)
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: code, STRING: NetStream.Play.Complete>
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: level, STRING: status>
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: duration, NUMBER: 350.00>
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: bytes, NUMBER: 54564779.00>
20:37:51 T:139712467564288 M:301899776 INFO: (object end)
20:37:51 T:139712467564288 M:301899776 INFO: Previous line repeats 1 times.
20:37:51 T:139712467564288 M:301899776 INFO: HandleCtrl, received ctrl. type: 1, len: 6
20:37:51 T:139712467564288 M:301899776 INFO: HandleCtrl, Stream EOF 1
20:37:51 T:139712467564288 M:301899776 INFO: RTMP_ClientPacket, received: invoke 396 bytes
20:37:51 T:139712467564288 M:301899776 INFO: (object begin)
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: no-name., STRING: onStatus>
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: no-name., NUMBER: 0.00>
20:37:51 T:139712467564288 M:301899776 INFO: Property: NULL
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: no-name., OBJECT>
20:37:51 T:139712467564288 M:301899776 INFO: (object begin)
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: level, STRING: status>
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: code, STRING: NetStream.Play.Stop>
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: description, STRING: Stopped playing production/CATCHUP/fd678c80/0d8e/4989/9033/0$
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: details, STRING: production/CATCHUP/fd678c80/0d8e/4989/9033/06420ff70828/1-95$
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: clientid, STRING: MINQQqAo>
20:37:51 T:139712467564288 M:301899776 INFO: Property: <Name: reason, STRING: >
20:37:51 T:139712467564288 M:301899776 INFO: (object end)
20:37:51 T:139712467564288 M:301899776 INFO: Previous line repeats 1 times.
20:37:51 T:139712467564288 M:301899776 INFO: HandleInvoke, server invoking <onStatus>
20:37:51 T:139712467564288 M:301899776 INFO: HandleInvoke, onStatus: NetStream.Play.Stop
20:37:51 T:139712467564288 M:301899776 INFO: Invoking deleteStream
20:37:51 T:139712467564288 M:301899776 INFO: Got Play.Complete or Play.Stop from server. Assuming stream is complete
20:37:53 T:139712398030592 M:301899776 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_EOF
20:37:53 T:139712398030592 M:301899776 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:37:53 T:139712408520448 M:301899776 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:37:53 T:139712467564288 M:301899776 INFO: Process - eof reading from demuxer

My system is ubuntu 10.04.3 LTS with all the lates patches and updates (Kernel 2.6.32-33 generic) and is an ION system running NVIDIA drivers v 285.03 Beta.

Any help is appreciated, and i do understand that im running Beta software here but i was having the problem with Darhma before and decided to see if it was already fixed.

EDIT:: as of 16Sep11 i think i might have fixed it.


- LAGMonkey - 2011-09-16

Just to close this one out. I have since compliled v2.4 of rtmpdump from git and so far im not having any problems.

For those who dont know how to do this. I used the following code;

code Wrote:git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
make
sudo make install

check version by using
version Wrote:rtmpdump version
RTMPDump v2.4
© 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL

Mods, you can close out this thread if you wish.


- LAGMonkey - 2011-09-22

spoke too soon
still having issues with this using RTMP v2.4. Is there any way i can use NetStream.Play.Stop instead of NetStream.Play.complete?

Quote:18:22:49 T:140015019120384 M:188792832 DEBUG: CDVDPlayer::HandleMessages - player started 1
18:22:49 T:140014944663296 M:189014016 DEBUG: CPullupCorrection: detected pattern of length 1: 40000.00
18:25:10 T:140015019120384 M:188284928 DEBUG: Previous line repeats 1 times.
18:25:10 T:140015019120384 M:188284928 INFO: HandleCtrl, received ctrl. type: 6, len: 6
18:25:10 T:140015019120384 M:188284928 INFO: HandleCtrl, Ping 1168240537
18:25:10 T:140015019120384 M:188284928 INFO: sending ctrl. type: 0x0007
18:25:21 T:140015019120384 M:188850176 INFO: ignoring too small audio packet: size: 0
18:25:21 T:140015019120384 M:188850176 INFO: RTMP_ClientPacket, received: notify 102 bytes
18:25:21 T:140015019120384 M:188850176 INFO: (object begin)
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: no-name., STRING: onPlayStatus>
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: no-name., OBJECT>
18:25:21 T:140015019120384 M:188850176 INFO: (object begin)
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: code, STRING: NetStream.Play.Complete>
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: level, STRING: status>
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: duration, NUMBER: 169.00>
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: bytes, NUMBER: 27798739.00>
18:25:21 T:140015019120384 M:188850176 INFO: (object end)
18:25:21 T:140015019120384 M:188850176 INFO: Previous line repeats 1 times.
18:25:21 T:140015019120384 M:188850176 INFO: HandleCtrl, received ctrl. type: 1, len: 6
18:25:21 T:140015019120384 M:188850176 INFO: HandleCtrl, Stream EOF 1
18:25:21 T:140015019120384 M:188850176 INFO: RTMP_ClientPacket, received: invoke 396 bytes
18:25:21 T:140015019120384 M:188850176 INFO: (object begin)
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: no-name., STRING: onStatus>
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: no-name., NUMBER: 0.00>
18:25:21 T:140015019120384 M:188850176 INFO: Property: NULL
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: no-name., OBJECT>
18:25:21 T:140015019120384 M:188850176 INFO: (object begin)
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: level, STRING: status>
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: code, STRING: NetStream.Play.Stop>
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: description, STRING: Stopped playing production/CATCHUP/e77328d7/761c/4ce1/b7fa/e$
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: details, STRING: production/CATCHUP/e77328d7/761c/4ce1/b7fa/ea9dfc0c720f/1-95$
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: clientid, STRING: CIlYtPnI>
18:25:21 T:140015019120384 M:188850176 INFO: Property: <Name: reason, STRING: >
18:25:21 T:140015019120384 M:188850176 INFO: (object end)
18:25:21 T:140015019120384 M:188850176 INFO: Previous line repeats 1 times.
18:25:21 T:140015019120384 M:188850176 INFO: HandleInvoke, server invoking <onStatus>
18:25:21 T:140015019120384 M:188850176 INFO: HandleInvoke, onStatus: NetStream.Play.Stop
18:25:21 T:140015019120384 M:188850176 INFO: Invoking deleteStream
18:25:21 T:140015019120384 M:188850176 INFO: Got Play.Complete or Play.Stop from server. Assuming stream is complete
The Assumtion is wrong! Its a 1hr 40 mins stream and im only 3 mins into it.... why?

sorry for the desperation but i cant be the only person with this problem?