Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Weird RTMP behaviour between Windows and Ubuntu

(http://stream-recorder.com/forum/showthread.php?t=12089)

teedee 04-26-2012 12:57 PM

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.

KSV 04-26-2012 01:53 PM

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).

teedee 05-01-2012 12:00 PM

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

KSV 05-01-2012 11:46 PM

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.


All times are GMT -6. The time now is 01:29 PM.