Skip to main content
Sunil Kumar Sah
Inspiring
April 21, 2010
Question

How to play .3gp videos in mobile using RTMP (FMS) and HTTP?

  • April 21, 2010
  • 2 replies
  • 5764 views

Hi

     I am not able to play video on mobile device which is .3gp container and H.263 / AMR_NB encoded. I just want to play my website videos in mobile device also just like youtube.com. I want to use RTMP and HTTP both. My requirement is as follows -

  1. Which codec and container will be  best?
  2. Should I use FLV to play video on mobile  device?
  3. RTSP required or can be use  RTMP?
  4. Is NetStream and NetConnection methods  different from Flash Player in Flash Lite Player?
  5. How to play 3gp video using RTMP stream ie.  ns.play(“mp4:mobilevideo.3gp”, 0, -1, true) is it ok or any thing else required?
  6. For mobile browser and computer browser,  can I use single player or I have to make different player for computer browser  and mobile browser?
  7. It would be better if I can do it with  single player for both mobile and computer browser.
  8. Sample code required for testing. If you can.
I got below article in which they mention that we can play video 3gp container in mobile also. Please find the article.
    This topic has been closed for replies.

    2 replies

    April 23, 2010

    Hi Sunil,

    I spoke to the Mobile & Devices team and got some input. Please find the information inline. You could get more information by posting to http://forums.adobe.com/community/mobile_devices?view=overview .

    1. Which codec and container will be  best?
          FLV container would be best to use with On2 video codec as it is suported on most devices

      2. Should I use FLV to play video on mobile  device?
          same as above


      3. RTSP required or can be use  RTMP?

          RTMP is supported

      4. Is NetStream and NetConnection methods  different from Flash Player in Flash Lite Player?
         The NetConnection and NetStream methods would be similar in both FP and Flash Lite player

      5. How to play 3gp video using RTMP stream ie.  ns.play(“mp4:mobilevideo.3gp”, 0, -1, true) is it ok or any thing else required?
         Which device are you using? 3GP video may not be supported on all.

      6. For mobile browser and computer browser,  can I use single player or I have to make different player for computer browser  and mobile browser?
         If you are referring to the client app then the same code would work on a desktop as well as mobile browser.

      7. It would be better if I can do it with  single player for both mobile and computer browser.
         same as above
          
      8. Sample code required for testing. If you can.
         There is a sample code mentioned in the blog you referred to (

      http://www.hsharma.com/tech/articles/flash-lite-30-video-formats-and-video-volum e/)

      Thanks

      Mamata

      Asa_-_FMS
      Adobe Employee
      Adobe Employee
      April 22, 2010

      I can't comment on much here as I'm not the right source for your mobile needs - however your call to play for RTMP looks good, so no worries there.