Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 04-26-2012, 01:57 PM
teedee teedee is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
teedee is on a distinguished road
Default

Weird RTMP behaviour between Windows and Ubuntu


So I've been using one of Zeranoe FFmpeg to try to stream to FMS. The FFmpeg that was compiled had librtmp enabled and was using it to send packets. However, when I use use the binary in Windows I get really low FPS output. But when using the same windows binary in Ubuntu (with Wine) I get almost perfect output.

So I decided to check the log trying to stream the exact same file. I noticed a key difference, which was "RTMP_SendPacket: fd=436, size=308" in Windows and "RTMP_SendPacket: fd=5, size=308" in Ubuntu. I tried to read the rtmp.c file and it seems like "fd=" is some sort of socket of some kind. The higher value, the lower the FPS output. I'm kind of stumped right now to figure out what exactly this is.

If anyone has any idea on this, I would greatly appreciate if you could shed some light one this.
Reply With Quote
  #2  
Old 04-26-2012, 02:53 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Weird RTMP behaviour between Windows and Ubuntu


fd is file descriptor (socket handle). it's number is allocated by system. it has nothing to do with your problem as you can see the data output size is same (308).
Reply With Quote
  #3  
Old 05-01-2012, 01:00 PM
teedee teedee is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
teedee is on a distinguished road
Default

Re: Weird RTMP behaviour between Windows and Ubuntu


Any ideas what could be causing this behaviour?

http://pastebin.com/VJew6849 - Windows

http://pastebin.com/32k5exZ4 - Ubuntu
Reply With Quote
  #4  
Old 05-02-2012, 12:46 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Weird RTMP behaviour between Windows and Ubuntu


it seems that your windows machine isn't fast enough to decode HD video or some other software is interfering with it (Antivirus, Firewall etc.) . try outputting the stream to another file instead of rtmp and check what fps you got? also try with another low resolution video.
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:12 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons