[vlc-devel] [PATCH] Integrate the RTMPdump library to play rtmp and rtmpe streams.

Daniel Tisza dadatis at gmail.com
Fri Jul 2 00:23:31 CEST 2010


Hi,

Thanks for testing.

>> Can be tested with the playlist from previous message.

Any luck with playing those two rtmp streams in the playlist?
They seem to work for me 99% of the time...

> Here's rtmpdump launch line:
>
> rtmpdump -r rtmp://fms031.lo1.hwcdn.net/a2f2q9i4/_definst_ --swfUrl
> http://play.freecaster.com/player/FCPlayer.swf --tcUrl
> 'rtmp://fms031.lo1.hwcdn.net/a2f2q9i4/_definst_' --pageUrl
> 'http://freecaster.tv/mx/1012443/mx3-wc-2010-round-of-greece' --playpath
> 'mp4:fms/replays/MX3_WC_Greece_2010.mov?doppl=30dd662a7cf1e8f3&dopsig=11b41a5faefae397169fbc0e3a649028'
> -o mx3-wc-2010-greece.flv

Which version of rtmpdump you have?
I can watch the stream on the web site, but my output from rtmpdump is
like this during the last few hours:
(Maybe my rtmpdump is messed up?)

$ rtmpdump -r rtmp://fms031.lo1.hwcdn.net/a2f2q9i4/_definst_ --swfUrl
http://play.freecaster.com/player/FCPlayer.swf --tcUrl
'rtmp://fms031.lo1.hwcdn.net/a2f2q9i4/_definst_' --pageUrl
'http://freecaster.tv/mx/1012443/mx3-wc-2010-round-of-greece'
--playpath 'mp4:fms/replays/MX3_WC_Greece_2010.mov?doppl=30dd662a7cf1e8f3&dopsig=11b41a5faefae397169fbc0e3a649028'
-o mx3-wc-2010-greece.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
$

> As a side note, when compiled with debug, VLC aborts on:
>
> c: misc/variables.c:787: var_GetChecked: Assertion `expected_type == 0 ||
> (p_var->i_type & 0x00f0) == expected_type' failed.
>
>
> Backtrace shows:
> #3  0xb768c65f in var_GetChecked (p_this=0x8280504, psz_name=0xb369d3f8
> "start-time", expected_type=48, p_val=0xb360deb4) at misc/variables.c:786

Fixed that, now ./configure --enable-rtmpdump --enable-debug and
compilation goes through.
Before I post the fixed patch I still try to fix that freecaster.tv streaming.



More information about the vlc-devel mailing list