[rtmpdump] Rtmpdump play vod failed !!!!

LXH xiaohui.li at fulansoft.com
Thu Nov 15 06:59:37 CET 2012


Hi all,
   I used ffmpeg internal rtmp can play a rtmp vod ok! But I use the rtmpdump 2.3 as ffmpeg's external rtmp to play it failed!   It seems the "app" and "playpath" librtmp Parsed was wrong! But it also play failed when I set the app = "vod", playpath = "mp4:2012/09/18/1347937154200_2296.mp4" which is same to the ffmpeg internal rtmp. 

The following is log:

[ RTMP_SetupURL ][74] url = rtmp://172.100.100.50/vod/mp4:2012/09/18/1347937154200_2296.mp4
[ RTMP_ParseURL ][80]  protocol = 0 (rtmp)  host = 172.100.100.50 port = 0 app = vod/mp4:2012
[ RTMP_ParsePlaypath ][223]  in->av_val = 09/18/1347937154200_2296.mp4
[ RTMP_ParsePlaypath ][260] ext    = .mp4
[ RTMP_ParsePlaypath ][306] Playpath = mp4:09/18/1347937154200_2296
[ RTMP_SetupURL ][774] r->Link.tcUrl.av_val = rtmp://172.100.100.50/vod/mp4:2012 ,r->Link.port = 1935, r->Link.app.av_val = 

vod/mp4:2012, r->Link.playpath = mp4:09/18/1347937154200_2296 

[ RTMP_Connect ][957] Connect directly 

DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: RTMP_Connect1, handshaked
[ RTMP_Connect1 ][927] out ok
[ HandleInvoke ][2327] in
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
[ HandleInvoke ][2327] in
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
[ HandleInvoke ][2402] av_createStream
[ HandleInvoke ][2413] SendPlay
[ HandleInvoke ][2327] in
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.StreamNotFound
ERROR: Closing connection: NetStream.Play.StreamNotFound

I compiled the rtmpdump in rtmpdump directory like:  make SYS=posix XDEF=-DNO_SSL CROSS_COMPILE=sh4-linux- CRYPTO= SHARED=

Live rtmp play ok in the same server (url is "rtmp://172.100.100.50/live?4453D0ECE313A1639AF321E4A4DF5097/stream")
I don't know whether it is a bug of rtmpdump 2.3.

Does rtmpdump support rtmp vod ? Who can tell me why?  Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20121115/cffcef04/attachment.html>


More information about the rtmpdump mailing list