View Single Post
  #5  
Old 02-07-2011, 07:44 PM
Elliott Tong Elliott Tong is offline
Junior Member
 
Join Date: Feb 2011
Posts: 2
Elliott Tong is on a distinguished road
Default

Re: Problems using rtmpsuck & rtmpsrv as RTMP server for streaming H.264 .FLV files


Hi There,

I think I got the similar problem here.

I compiled rtmpdump 2.3 under Windows, and created a RTMP server based on its rtmpsvr sample to forward the video from FMS.

I found the FLV Player 2.0 build 25 can't play the video streamed out from this server if the video is H.264 encoded. However, if I changed the video encoding to VP6, the video can be played normally.

I can sure that the Metadata and the H.264 header(which is the packet followed by the Metadata packet) are sent to the player before the video stearm.

I tried to use rtmpdump to dump the video from this server to a flv file, and video can be played successfully afterward, no matter it is H264 or VP6. But just can't play it on the fly.

And also, the debug log from rtmpdump seems no big different between connected to this server and the FMS (except 1) Error respond to FCSubscribe, 2) Haven't invoke onBWDone, 3) Haven't invoke _onbwcheck, and 4) Haven't send flow control commands, Stream Begin & BufferEmpty).


Hope there is anybody can give me a hand on this. Thank you very much in advance!!

Cheers,
Elliott
Reply With Quote