Joe-Palmer / rtmplite

Automatically exported from code.google.com/p/rtmplite
0 stars 0 forks source link

Cannot open source #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I got the following error:

D:\rtmplite>rtmpclient.py -d 
"rtmp://mp4-es-500-str.tv3.cat/ondemand/mp4:g/tvcatalunya/0/8/1330011513580.mp4"
 "./video.flv"
result (False, "Cannot open source 
'rtmp://mp4-es-500-str.tv3.cat/ondemand/mp4:g/tvcatalunya/0/8/1330011513580.mp4'
")

This URL works with "rtmpdump" binary. I don't understand this requirement: Use 
"id" to specify stream name, e.g., rtmp://localhost/myapp?id=user1

Kind regards

(Excuse me for my poor english)

Original issue reported on code.google.com by sabaku...@gmail.com on 24 Feb 2012 at 11:45

GoogleCodeExporter commented 9 years ago
Hey,

1) rtmpclient.py does not understand mp4 format. It only understands FLV format.

2) the "id" attribute is the stream name. In rtmpdump I believe the URL is like 
rtmp://server/app/path where path is the stream name. So in this case you would 
use "rtmp://mp4..../ondemand?id=g/tvcatalunya/0/8/13300..."

Hope this helps!

Original comment by kundan10 on 25 Feb 2012 at 2:14