Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Weird RTMP behaviour between Windows and UbuntuSo 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. |
#2
|
|||
|
|||
Re: Weird RTMP behaviour between Windows and Ubuntufd 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).
|
#3
|
|||
|
|||
Re: Weird RTMP behaviour between Windows and UbuntuAny ideas what could be causing this behaviour?
http://pastebin.com/VJew6849 - Windows http://pastebin.com/32k5exZ4 - Ubuntu |
#4
|
|||
|
|||
Re: Weird RTMP behaviour between Windows and Ubuntuit 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.
|
Tags: rtmp ffmpeg librtmp |
Thread Tools | |
Display Modes | |
|
|