如何使用 RTMP (FMS) 和 HTTP 在手机上播放 .3gp 视频?
我无法在 .3gp 容器和 H.263 / AMR_NB 编码的移动设备上播放视频。我只想在移动设备上播放我的网站视频,就像 youtube.com 一样。我想同时使用 RTMP 和 HTTP。我的要求如下-
哪种编解码器和容器最好?
我应该使用 FLV 在移动设备上播放视频吗?
需要RTSP还是可以使用RTMP?
Flash Lite Player 中的 NetStream 和 NetConnection 方法与 Flash Player 不同吗?
如何使用 RTMP 流播放 3gp 视频ns.play(“mp4:mobilevideo.3gp”, 0, -1, true) 可以吗还是还需要什么?
对于手机浏览器和电脑浏览器,我可以使用单个播放器还是必须为电脑浏览器和手机浏览器制作不同的播放器?
如果我可以用手机和电脑浏览器的单人游戏来完成,那就更好了。
测试所需的示例代码。如果可以的话。
我收到下面的文章,其中他们提到我们也可以在移动设备中播放视频 3gp 容器。请找到文章。
文章 URL -
http:// www.hsharma.com/tech/articles/flash-lite-30-video-formats-and-video-volume/ http://www.adobe.com/devnet/logged_in/dmotamedi_fms3.html
谢谢 苏尼尔·库马尔
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-
Which codec and container will be best?
Should I use FLV to play video on mobile device?
RTSP required or can be use RTMP?
Is NetStream and NetConnection methods different from Flash Player in Flash Lite Player?
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?
For mobile browser and computer browser, can I use single player or I have to make different player for computer browser and mobile browser?
It would be better if I can do it with single player for both mobile and computer browser.
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.
Articles URL-
http://www.hsharma.com/tech/articles/flash-lite-30-video-formats-and-video-volume/
http://www.adobe.com/devnet/logged_in/dmotamedi_fms3.html
Thanks
Sunil Kumar
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我们已经确定可以在 3gp 包装器中播放 mp4,但前提是该文件具有 mp4 扩展名,并且适用于 Flash 9 及以上版本。
请参阅http://www.adobe.com/eeurope/products/hdvideo/faq/< /a>
We've established that it's possible to play mp4 within a 3gp wrapper, but only if the file has an mp4 extension, and for Flash 9 onwards.
See http://www.adobe.com/eeurope/products/hdvideo/faq/
并非所有支持 FL 3.0 的设备都支持 .flv。请参阅诺基亚论坛中的以下主题:http: //discussion.forum.nokia.com/forum/showthread.php?p=731458#post731458 关于在 rtsp 服务器中使用的 3gp 转码。
您可以使用 http 来播放 flv。
我对此一无所知。
对于 rtsp,您需要设置 darwin 流媒体服务器,安装起来非常简单,然后将 3gp/mp4 文件放在那里。为此不需要 netstream 对象。您可以简单地对视频对象的实例使用“play”方法:
.play(<3gp_Or_mp4__file>);
没有任何线索。
.flv is not supported on all devices that support FL 3.0. Please refer to the following threads in the nokia discussion forum:http://discussion.forum.nokia.com/forum/showthread.php?p=731458#post731458 regarding transcoding in 3gp to be used in the rtsp server.
You can use http for flv.
I have no clue about this.
For the rtsp, you need to setup the darwin streaming server, which is pretty simple to install and then place your 3gp/mp4 files there. There is no need for a netstream object for this. You can simply use the 'play' method with the instance of the video object:
.play(<3gp_Or_mp4__file>);
No clue.
我建议您查看 3gp 玩家官方网站 http://www.3gp-player.com。
您可以阅读并获取有关在台式机/笔记本电脑和手机/移动设备上播放 3gp 视频文件的一些信息。
那里提供的大多数工具都是免费的,有关所有 3gp 播放器/转换器的信息也是免费的。
希望这对您有帮助。
I would recommend you to look at the 3gp players official website at http://www.3gp-player.com .
You can read and get some information about playing 3gp video files on both Desktop/Laptop computers, and cellphones/mobile devices.
Most of the tools offered there are free, and so is the information about all the 3gp player / converters.
Hope this helps you.