I have a http streaming link which gives me .flv streaming feed. I want to convert that and access in my iPhone program. How can i do that? I want to have a desktop software like VLC and input this streaming feed URL and convert to iPhone supported and stream again to iPhone. I tried VLC with H.264 and Mpeg-1 audio, but seems to be it doesn't give the supported format, so as iPhone program doesn't play the video. Could someone please guide me how can i setup a desktop software which can stream iPhone supported file?
我有一个http流媒体链接,它给了我.flv流媒体源。我想转换它并在我的iPhone程序中访问。我怎样才能做到这一点?我希望有一个像VLC这样的桌面软件,输入这个流媒体源URL并转换为支持的iPhone并再次流式传输到iPhone。我尝试使用H.264和Mpeg-1音频的VLC,但似乎它没有给出支持的格式,因此iPhone程序不播放视频。有人可以指导我如何设置一个可以流式传输iPhone支持文件的桌面软件?
Thanks in advance.
提前致谢。
2 个解决方案
#1
0
I think even the great VLC can't convert FLV on the fly...(or even do anything with FLV). As far as streaming goes, you'll probably be limited to the local network (Wi-Fi). I'd start with the simple way—create an ad-hoc file server on the desktop, then use AVPlayer's initWithURL method to find that video.
我认为即使是伟大的VLC也无法动态转换FLV ......(甚至可以用FLV做任何事情)。就流媒体而言,您可能仅限于本地网络(Wi-Fi)。我将从简单的方式开始 - 在桌面上创建一个临时文件服务器,然后使用AVPlayer的initWithURL方法来查找该视频。
On the desktop, you could query the IP address of the computer, and ask the user to enter that URL (along with an optional port assignment and file component, like http://192.168.0.2:2234/streamingVideo.mp4) onto the iDevice, then convert to NSURL.
在桌面上,您可以查询计算机的IP地址,并要求用户输入该URL(以及可选的端口分配和文件组件,如http://192.168.0.2:2234/streamingVideo.mp4)到iDevice,然后转换为NSURL。
#2
0
What exactly is the http streaming link? This matters a lot as in order to stream to the iPhone you need to use HTTP Live Streaming which requires some different bits than a typical flash media, or more properly RTMP, server. Typically you need two different streaming architectures or some expensive boxes.
什么是http流媒体链接?这很重要,因为为了流式传输到iPhone,您需要使用HTTP Live Streaming,这需要比典型的Flash媒体或更合适的RTMP服务器不同的位。通常,您需要两种不同的流式架构或一些昂贵的盒子。
#1
0
I think even the great VLC can't convert FLV on the fly...(or even do anything with FLV). As far as streaming goes, you'll probably be limited to the local network (Wi-Fi). I'd start with the simple way—create an ad-hoc file server on the desktop, then use AVPlayer's initWithURL method to find that video.
我认为即使是伟大的VLC也无法动态转换FLV ......(甚至可以用FLV做任何事情)。就流媒体而言,您可能仅限于本地网络(Wi-Fi)。我将从简单的方式开始 - 在桌面上创建一个临时文件服务器,然后使用AVPlayer的initWithURL方法来查找该视频。
On the desktop, you could query the IP address of the computer, and ask the user to enter that URL (along with an optional port assignment and file component, like http://192.168.0.2:2234/streamingVideo.mp4) onto the iDevice, then convert to NSURL.
在桌面上,您可以查询计算机的IP地址,并要求用户输入该URL(以及可选的端口分配和文件组件,如http://192.168.0.2:2234/streamingVideo.mp4)到iDevice,然后转换为NSURL。
#2
0
What exactly is the http streaming link? This matters a lot as in order to stream to the iPhone you need to use HTTP Live Streaming which requires some different bits than a typical flash media, or more properly RTMP, server. Typically you need two different streaming architectures or some expensive boxes.
什么是http流媒体链接?这很重要,因为为了流式传输到iPhone,您需要使用HTTP Live Streaming,这需要比典型的Flash媒体或更合适的RTMP服务器不同的位。通常,您需要两种不同的流式架构或一些昂贵的盒子。