[FFmpeg-devel] [PATCH] RTMP client support for lavf
Kostya
kostya.shishkov
Wed Jul 29 08:28:59 CEST 2009
On Tue, Jul 28, 2009 at 07:22:02AM -0400, compn wrote:
> On Tue, 28 Jul 2009 09:27:11 +0300, Kostya wrote:
> >+/** maximum possible number of different RTMP channels */
> >+#define RTMP_CHANNELS 64
>
> according to this patch for rtmpdump, max channels should be increased:
> - RTMPPacket m_vecChannelsIn[64];
> - RTMPPacket m_vecChannelsOut[64];
> +// RTMPPacket m_vecChannelsIn[64];
> +// RTMPPacket m_vecChannelsOut[64];
> + RTMPPacket m_vecChannelsIn[65600];
> + RTMPPacket m_vecChannelsOut[65600];
>
> it fixed this rtmp stream for me.
> i've heard the spec uses a similar number, possibly 65599.
Unlike me you can read the spec (hint, hint). For me it seems to be
just unreasonably high.
> i think this one is channel 66:
> rtmpdump.exe --swfhash
> 1155163cece179766c97fedce8933ccfccb9a553e47c1fabbb5faeacc4e8ad70
> --swfsize 563963 --swfUrl
> "http://media.mtvnservices.com/player/release/?v=3.14.0" -r
> rtmpe://cp10740.edgefcs.net/ondemand/mtvcomstor/_!/mtv2.com/onair/legit/m2_2Legit071009_A6_172708_640x480_1600.mp4
> -o m2_2Legit071009_A6_172708_640x480_1600.mp4
>
> -compn
More information about the ffmpeg-devel
mailing list