helpflvstreamer - Support: sr #107171, All downloads fail if compiled...


sr #107171: All downloads fail if compiled with some CFLAGS

Submitted by:  Stroller <strolls>
Submitted on:  Mon 14 Dec 2009 11:30:52 AM UTC  
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 14 Dec 2009 11:30:52 AM UTC, original submission:

I have just encountered a problem where flvstreamer fails with:

ERROR: FillBuffer, recv returned -1. GetSockError(): 11
ERROR: ReadPacket, failed to read RTMP packet header

It turns out there's a Gentoo bug already open for this <> and that recompiling flvstreamer with different CFLAGS immediately solved the problem for me.

I am attaching a full copy of the get_iplayer / flvstreamer output. As I said, the problem is completely resolved for me now by adding "-fno-strict-aliasing -fno-schedule-insns" to my CFLAGS, however one reporter to the Gentoo bug observes that this works with -O2 but not -Os, so there may be additional flags which cause the problem.

I don't entirely know whether this is a problem with flvstreamer, upstream at rtmpdump, or with Gentoo's environment, but I report it here as an FYI, and to help anyone else who is searching with the same problem.

Stroller <strolls>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by strolls (Submitted the item)
  • -unavailable- added by strolls

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 14 Dec 2009 11:30:52 AM UTCstrollsAttached File-=>Added full get_iplayer - get_iplayer output.txt, #19257
      Carbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1