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:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating 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 <http://bugs.gentoo.org/291967> 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:
   
   
Comment:
   

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
  •  

    Do you think this task is very important?
    If so, you can 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
    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.3