澳门银河网上官方赌场_老品牌值得信赖

ITKeyword,专注技术干货聚合推荐

注册 | 登录

解决ios - How can I convert iPhone-captured-video to HTTP Live Streaming files?

itPublisher 分享于

2020腾讯云双十一活动,全年最低!!!(领取3500元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1073

【阿里云】双十一活动,全年抄底价,限时3天!(老用户也有),
入口地址https://www.aliyun.com/1111/home

推荐:iphone ios HTTP Live Streaming

以下大家友情支持一下: 做了一个产品,需要人气支持一下,android和iphone上91市场搜索#super junior粉丝团#,或者直接到页面下载http://m.ixingji.com/m.html

I have an iOS app and Django backend on Amazon Web Services EC2/S3. Current process:

  1. The iOS app captures video using UIImagePickerController which outputs an MP4.
  2. The MP4 gets uploaded to my EC2 (Ubuntu) server running Django.
  3. Django reads the file and uploads to S3 for storage.
  4. Now, the iOS app can access the S3 movie to watch at a later time. This uses progressive streaming (i.e. fake streaming, just plays while it downloads).

Goal: My goal is to utilize HTTP Live Streaming (HLS) here.

Can someone offer suggestions on how to alter my current workflow to get HLS files (.M3U8 and .TS) on S3 to allow streaming? Thanks.

ios video-streaming http-live-streaming
|
  this question
asked Aug 7 '12 at 15:50 Ryan 1,116 2 17 34

 | 

1 Answers
1

解决方法

The question is really old and I guess you have moved on...

But just for the sake of completeness - you have at least two options:

a. Convert the files just ONCE to the HLS format with all required bitrates, host the converted files in S3.

推荐:IOS:http-live-streaming DRM 实现方案

文档主要分为两部分 l?? IOS对HLS DRM的支持情况 l?? 具体实现办法 IOS对HLS DRM的支持情况 HTTP流媒体直播允许从一个普通的web服务器发送live的或预先录好的音

You can do this using a 3rd party encoding service like Encoding.com or Zencoder, deploy your own stack using a platform like Kaltura (there are quite a few other platforms I can't recall instantly) or roll your own transcoding server with ffmpeg.


b. Use a media server that can transcode from the MP4 you already have, to the format of choice on the fly (depending on the requesting client).

Wowza Media Server is a great example of this. Microsoft's IIS Media Services, and Adobe's Flash Media Server are also widely used for delivering to iOS PLUS several other platforms. There are literally endless options here, all you have to do is configure each server correctly for HLS. Google can easily find the right samples for you.


In both cases, you can setup CloudFront to then read the files from S3 or from the media server of your choice. The latter is relatively harder and I haven't done it, so unfortunately I don't have useful links for you.



|
  this answer
answered Mar 31 '13 at 10:18 Dev Kanchen 1,192 16 38

 | 

推荐:HTTP Live Streaming直播(iOS直播)技术分析与实现

HTTP Live Streaming直播(iOS直播)技术分析与实现 ?  不经意间发现,大半年没写博客了,自觉汗颜。实则2012后半年,家中的事一样接着一样发生,实在是没有时间


相关阅读排行


相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。

澳门银河网上官方赌场