TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

4 pointsby cvalleskeyabout 11 years ago
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 comments

NicoJuicyabout 11 years ago
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_slackabout 11 years ago
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.