[rtmpdump] Yet another "Received FLV packet before play()!"

Олег Г verdrehung at gmail.com
Mon Apr 4 08:27:59 CEST 2011


Now my questions is: could it be librtmp bug?
This ugly patch solved the problem for me (video downloaded and played
correctly):
$ svn diff
Index: librtmp/rtmp.c
===================================================================
--- librtmp/rtmp.c      (revision 565)
+++ librtmp/rtmp.c      (working copy)
@@ -995,6 +995,7 @@
              (packet.m_packetType == RTMP_PACKET_TYPE_VIDEO) ||
              (packet.m_packetType == RTMP_PACKET_TYPE_INFO))
            {
+             r->m_bPlaying = TRUE;
              RTMP_Log(RTMP_LOGWARNING, "Received FLV packet before play()!
Ignoring.");
              RTMPPacket_Free(&packet);
              continue;

Hi
> I am trying to download video steam from live broadcast on this site:
> http://smotri.com/broadcast/list/
> But all that I get is this warning message:
> WARNING: Received FLV packet before play()! Ignoring.
>
> I can't understand where is a problem. So, I made some script which
> generates
> rtmpdump command line for this site: http://paste.kde.org/8762/
> On my PC output looks like this: http://paste.kde.org/8763/
>
> Can anyone execute my test script and tell me where is a problem?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20110404/39cdbb5a/attachment.htm>


More information about the rtmpdump mailing list