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

Konstantin Pavlov thresh at altlinux.ru
Fri Jul 2 07:57:59 CEST 2010


On Fri, Jul 02, 2010 at 01:23:31AM +0300, Daniel Tisza wrote:
> 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...

They work fine here too.

> > 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'm using 2.3.

> 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
> $

Weird, maybe you need some new doppl=, dopsig? you can get those from xml
file http://hwcdn.net/a2f2q9i4/fms/replays/MX3_WC_Greece_2010.mov.smil

Worked here just now.

also, see http://wiki.videolan.org/User:Thresh

> > 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.

Nice.

-- 
Хватит! Хватит обещать народу! Ему столько не выполнить.
		-- Евгений Кащеев
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100702/4db3923b/attachment.sig>


More information about the vlc-devel mailing list