RTMP Streaming Flash Lite Problems

View: New views
4 Messages — Rating Filter:   Alert me  

RTMP Streaming Flash Lite Problems

by M.Barros :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

I'm trying to streaming to a mobile (Flash Lite 3.0) using RC1 0.9 red5 and i'm having some problems. The image freeze every 2 seconds. I think the problem is in the streaming that red5 is doing.

Can any body knows if is possible to define the size of RTMP packets?

I test with adobe FMS and the freeze does not exists.

The RC2 0.9 red5, resolve the this problem? 

Thank you very much for the attention and for the answers.

Best Regards,

Miguel

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: RTMP Streaming Flash Lite Problems

by Walter Tak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
What bitrate do you use ? Mobile devices don't really have much cpu power to decode incoming packets, especially if you use heavier codecs like VP6.
 
Are you sending 1-on-1 pixel size video or are you downscaling on the client ?
 
Does your mobile device have enough sustainable/stable bandwidth, i.e. even a 1800 kbit HSDPA connection does not mean you can actually use 1800 kbit for a stream , half of that is more likely and then only if you have a high quality link.
 
W.
----- Original Message -----
Sent: Monday, 09 November 2009 20:30
Subject: [Red5] RTMP Streaming Flash Lite Problems

Hi!

I'm trying to streaming to a mobile (Flash Lite 3.0) using RC1 0.9 red5 and i'm having some problems. The image freeze every 2 seconds. I think the problem is in the streaming that red5 is doing.

Can any body knows if is possible to define the size of RTMP packets?

I test with adobe FMS and the freeze does not exists.

The RC2 0.9 red5, resolve the this problem? 

Thank you very much for the attention and for the answers.

Best Regards,

Miguel


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: RTMP Streaming Flash Lite Problems

by M.Barros :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

Many thanks for your response Walter. Let me explain in more detail the problem.

I have one file .flv, that is codified  in H263 Soreson (aka FLV1)

Duration: 00:02:38.87, start: 0.000000, bitrate: 32 kb/s
    Stream #0.0: Video: flv, yuv420p, 128x96, 20 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 11025 Hz, stereo, s16, 32 kb/s

So 32kb/s i think (correct me if I'm wrong) is a low bitrate for a video file.

If i put this file in the red5 directory webapps/<project>/streams and access with a flash client (using flash lite 3.0.1) the image have a freeze every 2 seconds.

If i put the same file in Adobe FMS, the image flows normal.

The problem is the different way that red5 and Adobe FMS send the audio and video date. If you make a cap. with wireshark you will see that the format of the packets are different. Other difference is the way that red5 and FMS send the packets. The red5 is sending packets constantly, but the Adobe FMS send X packets, wait +/- 10 seconds, and send again.

I think this is a issue to red5. This not a bug, because if try to play the video in PC using the Adobe Flash Player the video flows normal.

FOR RED5 developers: Do you know if is this very difficult to resolve? I'm interesting to streaming from red5 to flash lite player. How i can collaborate?

Many thanks.

Miguel 

2009/11/9 Walter Tak <walter@...>
What bitrate do you use ? Mobile devices don't really have much cpu power to decode incoming packets, especially if you use heavier codecs like VP6.
 
Are you sending 1-on-1 pixel size video or are you downscaling on the client ?
 
Does your mobile device have enough sustainable/stable bandwidth, i.e. even a 1800 kbit HSDPA connection does not mean you can actually use 1800 kbit for a stream , half of that is more likely and then only if you have a high quality link.
 
W.
----- Original Message -----
Sent: Monday, 09 November 2009 20:30
Subject: [Red5] RTMP Streaming Flash Lite Problems

Hi!

I'm trying to streaming to a mobile (Flash Lite 3.0) using RC1 0.9 red5 and i'm having some problems. The image freeze every 2 seconds. I think the problem is in the streaming that red5 is doing.

Can any body knows if is possible to define the size of RTMP packets?

I test with adobe FMS and the freeze does not exists.

The RC2 0.9 red5, resolve the this problem? 

Thank you very much for the attention and for the answers.

Best Regards,

Miguel


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: RTMP Streaming Flash Lite Problems

by Walter Tak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
The specs of the video:
 
Duration: 00:02:38.87, start: 0.000000, bitrate: 32 kb/s
    Stream #0.0: Video: flv, yuv420p, 128x96, 20 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 11025 Hz, stereo, s16, 32 kb/s
 
look a bit slim for the video ; just 1 kbit/sec while you allocate 32 kbit for audio and , as you write , the total bitrate is also 32 kbit.
 
I'm not too sure how much data one image of 128x96 pixel eats with Sorenson but it might be more than 1 kbit if you try to stream 10-15 fps.
 
Try lowering the audio to say mono 11 Khz and give video at least 8-16 kbit/sec space.
 
Is the little stream fluent/steady if you play it on a normal client ?
 
W.
----- Original Message -----
Sent: Tuesday, 10 November 2009 13:33
Subject: Re: [Red5] RTMP Streaming Flash Lite Problems

Hi everyone,

Many thanks for your response Walter. Let me explain in more detail the problem.

I have one file .flv, that is codified  in H263 Soreson (aka FLV1)

Duration: 00:02:38.87, start: 0.000000, bitrate: 32 kb/s
    Stream #0.0: Video: flv, yuv420p, 128x96, 20 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 11025 Hz, stereo, s16, 32 kb/s

So 32kb/s i think (correct me if I'm wrong) is a low bitrate for a video file.

If i put this file in the red5 directory webapps/<project>/streams and access with a flash client (using flash lite 3.0.1) the image have a freeze every 2 seconds.

If i put the same file in Adobe FMS, the image flows normal.

The problem is the different way that red5 and Adobe FMS send the audio and video date. If you make a cap. with wireshark you will see that the format of the packets are different. Other difference is the way that red5 and FMS send the packets. The red5 is sending packets constantly, but the Adobe FMS send X packets, wait +/- 10 seconds, and send again.

I think this is a issue to red5. This not a bug, because if try to play the video in PC using the Adobe Flash Player the video flows normal.

FOR RED5 developers: Do you know if is this very difficult to resolve? I'm interesting to streaming from red5 to flash lite player. How i can collaborate?

Many thanks.

Miguel 

2009/11/9 Walter Tak <walter@...>
What bitrate do you use ? Mobile devices don't really have much cpu power to decode incoming packets, especially if you use heavier codecs like VP6.
 
Are you sending 1-on-1 pixel size video or are you downscaling on the client ?
 
Does your mobile device have enough sustainable/stable bandwidth, i.e. even a 1800 kbit HSDPA connection does not mean you can actually use 1800 kbit for a stream , half of that is more likely and then only if you have a high quality link.
 
W.
----- Original Message -----
Sent: Monday, 09 November 2009 20:30
Subject: [Red5] RTMP Streaming Flash Lite Problems

Hi!

I'm trying to streaming to a mobile (Flash Lite 3.0) using RC1 0.9 red5 and i'm having some problems. The image freeze every 2 seconds. I think the problem is in the streaming that red5 is doing.

Can any body knows if is possible to define the size of RTMP packets?

I test with adobe FMS and the freeze does not exists.

The RC2 0.9 red5, resolve the this problem? 

Thank you very much for the attention and for the answers.

Best Regards,

Miguel


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org