TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do you deal with encoding HTML5 videos?

4 点作者 cvalleskey大约 11 年前
I&#x27;m working on an iOS app that lets you record video and share it with friends. The videos are currently encoded as MP4 files, which means they play in Chrome and Safari. However, this leaves us with the issue of them not playing in Firefox or other browsers which don&#x27;t support MP4.<p>My question is this: How do you deal with this problem? Do you re-encode the videos on the server into a format that works in Firefox&#x2F;other browsers? Or is there a better way to get more support without having multiple copies of each video?

2 条评论

NicoJuicy大约 11 年前
Actually, i use Azure Media Streaming services.. (i&#x27;m BizSpark), but i suppose AWS has the same services, you just need to include a link, and the service will automaticly encode it into the correct format (don&#x27;t specify the filetype).<p><a href="http://azure.microsoft.com/en-us/services/media-services/" rel="nofollow">http:&#x2F;&#x2F;azure.microsoft.com&#x2F;en-us&#x2F;services&#x2F;media-services&#x2F;</a><p><a href="https://aws.amazon.com/digital-media/" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;digital-media&#x2F;</a><p><a href="https://www.google.be/search?q=encode+media+&amp;oq=encode+media+&amp;aqs=chrome..69i57j0l5.3400j0j4&amp;sourceid=chrome&amp;es_sm=122&amp;ie=UTF-8#q=encode+media+stream" rel="nofollow">https:&#x2F;&#x2F;www.google.be&#x2F;search?q=encode+media+&amp;oq=encode+media...</a>
评论 #7628348 未加载
jason_slack大约 11 年前
I use Handbrake and I also wrote a bash script that uses ffMpeg and ffMpeg2Theora and some other items to produce mp4, webm, ogv and flv fallback.