简体   繁体   English

哪里可以从诺基亚的相机示例应用程序获取流媒体(实时)视频和音频?

[英]Where to get streaming (live) video and audio from camera example app for Nokia?

Where to get streaming (live) video and audio from camera example for Nokia (5800 for ex)? 诺基亚(5800 for ex)从相机示例获取流媒体(实时)视频和音频的位置?

Suppose I want to create some live video streaming service app so I'll have some cool server at the back end. 假设我想创建一些实时视频流服务应用程序,所以我会在后端有一些很酷的服务器。 And I know how to do that part. 我知道该怎么做。 Suppose I have some stand alone app for PCs now I want to go on to mobile devices. 假设我现在有一些独立的PC应用程序,我想继续使用移动设备。 So I decided to start from Nokia because I have it and can do with it what I want (Nokia 5800 XpressMusic). 所以我决定从诺基亚开始,因为我拥有它并且能够做到我想要的(诺基亚5800 XpressMusic)。 So I want to see some sample app grabing audio and video streams from Phone, Synchronizing them, and sending LIVE stream to server. 所以我想看一些示例应用程序从电话中获取音频和视频流,同步它们,并将LIVE流发送到服务器。 I need any OpenSource sample (JAVA or C or C++) that ll do this or something like this. 我需要任何OpenSource示例(JAVA或C或C ++)来执行此操作或类似的操作。 Where can I get one? 我在哪里可以买一个?

A forum discussion of people failing to do the same thing, suggests using the Camcorder Media Recorder API , and another discussion includes details of succeeding in creating a sink to receive the H263 encoded audio and video from their phone's camera, which that user then saves in a 3gp file, but you'd send to your server. 有关人们未能做同样事情的论坛讨论建议使用摄像机媒体录制器API另一个讨论包括成功创建接收sink以接收来自其手机摄像头的H263编码音频和视频的详细信息,然后该用户将其保存在一个3gp的文件,但你要发送到你的服务器。

Another forum discussion includes a MIDlet example obtaining the stream in an OutputStream, which you could override to redirect to your server. 另一个论坛讨论包括一个MIDlet示例 ,它在OutputStream中获取流,您可以覆盖该流以重定向到您的服务器。

Do you already know network protocols used to stream media content, like RTSP? 您是否已经知道用于流媒体内容的网络协议,如RTSP?

If not, you probably need to start with that. 如果没有,你可能需要从那开始。

You should find good code to start with in the Helix source code . 你应该在Helix源代码中找到好的代码

You may face the usual issue of your network mobile operator filtering out anything but HTTP, which is not a very practical protocol for what you want to do. 您可能会面临网络移动运营商过滤除HTTP之外的任何问题,这对于您想要做的事情来说并不是一个非常实用的协议。

I wouldn't advise using Java as simply synchronizing audio and video capture will be a nightmare and I wouldn't rely on being able to open a GCF streaming connection. 我不建议使用Java,因为简单地同步音频和视频捕获将是一场噩梦,我不会依赖于能够打开GCF流连接。

For Symbian OS C++, I would suggest starting with the multimedia example code from the Quick Recipes book then iterating through the Media Framework plugins installed on your device to see whether one of them can stream video. 对于Symbian OS C ++,我建议从Quick Recipes一书中的多媒体示例代码开始,然后遍历设备上安装的Media Framework插件,看看其中一个插件是否可以流式传输视频。

If your handset doesn't already have a Media Framework plugin that can do this, you will probably want to give up once you realize that you basically need the handset manufacturer to sign any additional plugin you might want to develop yourself. 如果您的手机还没有可以执行此操作的Media Framework插件,那么一旦您意识到您基本上需要手机制造商签署您可能想要自己开发的任何其他插件,您可能会想放弃。

At this point, it would be worth going through the Qt documentation and example code since Qt has decent multimedia capability and was first developed with desktop computers in mind. 此时,由于Qt具有良好的多媒体功能并且最初是在考虑台式计算机的情况下开发的,因此值得通过Qt文档和示例代码

Video streaming from a mobile phone might also be a bad idea in and of itself, considering the reliance on good network bandwidth to upload lots of data very quickly and the fact that moving the handset while it records video tends to produce bad video quality because of the high video compression used to keep bitrates at a minimum. 考虑到依靠良好的网络带宽来快速上传大量数据以及在录制视频时移动手机的事实往往会产生糟糕的视频质量,因此手机视频流本身也可能是个坏主意。高视频压缩用于将比特率保持在最低限度。

This question on the Nokia forum should get you started : 诺基亚论坛上的这个问题可以帮助您入门

http://discussion.forum.nokia.com/forum/showthread.php?t=155355 http://discussion.forum.nokia.com/forum/showthread.php?t=155355

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM