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


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

Submitter:  Stroller <strolls>
Submitted:  Mon 14 Dec 2009 11:30:52 AM UTC
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup

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 Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-14 strolls Attached File- Added full get_iplayer - get_iplayer output.txt, #19257
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-599c.
    Corresponding source code