Debugging inputstream.rtmp
#1
I am not sure this the correct place for this question, but since it s a binarry addon here goes my question.

When i provide --swfhash, --swfsize manually to rtmpdump, it ignores size verification
But when i provide same data with -x, -w rtmpdump succesfully does the verification

i think this is a problem somewhere in rtmpdump, ir i am doing something really stupid.

The same problem also happening when i pipe same arguments to kodi, stream does not play also.

i want to know is there anyway to debug this problem, and get to the bottleneck of it.

The reason i am manually giving hash and size is, swf file is lzma compressed, by downloading file it cant verify size correctly.

i can not use wireshark to check whats going on, because it is an rtmpe, encrypted stream.

İ am using 17.3 krypton on windows.

Thanjs.
Reply
#2
i found out that ffmpeg port of rtmplib does not have swfhash switch, this is the reason kodi rtmp input stream does not connect to rtmp stream.

If you have compressed swf file problems, best approach i could find is,

download swf file,
decompress it (lzma/zip),
upload to a web server,
and point to swfurl switch to the new uploaded uncompressed swf file.

hacky but it works.

Code:
00:02:00 T:3184   ERROR: Unknown option swfhash
00:02:00 T:3184   ERROR: Valid RTMP options are:
00:02:00 T:3184   ERROR:      socks string   Use the specified SOCKS proxy
00:02:00 T:3184   ERROR:        app string   Name of target app on server
00:02:00 T:3184   ERROR:      tcUrl string   URL to played stream
00:02:00 T:3184   ERROR:    pageUrl string   URL of played media's web page
00:02:00 T:3184   ERROR:     swfUrl string   URL to player SWF file
00:02:00 T:3184   ERROR:   flashver string   Flash version string (default WIN 10,0,32,18)
00:02:00 T:3184   ERROR:       conn AMF      Append arbitrary AMF data to Connect message
00:02:00 T:3184   ERROR:   playpath string   Path to target media on server
00:02:00 T:3184   ERROR:   playlist boolean  Set playlist before play command
00:02:00 T:3184   ERROR:       live boolean  Stream is live, no seeking possible
00:02:00 T:3184   ERROR:  subscribe string   Stream to subscribe to
00:02:00 T:3184   ERROR:        jtv string   Justin.tv authentication token
00:02:00 T:3184   ERROR:      token string   Key for SecureToken response
00:02:00 T:3184   ERROR:     swfVfy boolean  Perform SWF Verification
00:02:00 T:3184   ERROR:     swfAge integer  Number of days to use cached SWF hash
00:02:00 T:3184   ERROR:      start integer  Stream start position in milliseconds
00:02:00 T:3184   ERROR:       stop integer  Stream stop position in milliseconds
00:02:00 T:3184   ERROR:     buffer integer  Buffer time in milliseconds
00:02:00 T:3184   ERROR:    timeout integer  Session timeout in seconds
00:02:00 T:3184   ERROR:    pubUser string   Publisher username
00:02:00 T:3184   ERROR:  pubPasswd string   Publisher password
Reply

Logout Mark Read Team Forum Stats Members Help
Debugging inputstream.rtmp0