Show HN: Forget Flash, Skip GIF, Control iOS
divergentmedia.com
divergentmedia.com
This basically means that on most mobile devices, instead of a hardware-accelerated decompressor, a slower, more CPU-consuming Javascript VM is in charge of video.
While technically impressive, I would much prefer the possibility of directly embedding (and controlling) real video.
- not allowing iOS to play videos in-DOM.
- deciding not to support WebM, so Firefox users can't see their videos.
And now others are following them by helping to dig deeper in a vastly inefficient way of displaying moving images ? What could previously be offloaded to dedicated engines is now going to burn the CPU via JS. Hum, now that's gonna work…
I can't believe it's not butter!
Funnily enough it's Flash which is the best performer out of those he lists. Attempting to mask and layer video in HTML5 is a painful scrapheap of half-baked canvas hacking and browser compatibility woes. And then it doesn't work very well anyway even when you finally get the canvas to kick in. Flash eats that kind of thing for breakfast, with easy alpha channels on video layers and so on.
I wish Flash would just make a comeback, improve itself as a mobile plugin for browsers, and we can all enjoy rights-restricted video playback in the browser (at least), and clever next gen web games without paying Apple 30%.
I don't see this as a MP4/WebM replacement (compared to which it is effectively inefficient) but a GIF replacement (plus it's scriptable and hackable in a number of interesting ways). I wish it were a real, self-contained file format, but APNG completely failed to displace GIF.
It's a hack, but it solves a real problem and it opens a venue for something less hackish.
Also, it's simple enough any developer can understand the algorithm, there's no patent looming over, no complex codec infrastructure (however layered away), and it's using only HTML/CSS/JS.
It's similar to this implementation, and his source is available on Github[2] (written in Python).
[1] http://www.sublimetext.com/~jps/animated_gifs_the_hard_way.h...
Otherwise, awesome app. I can definitely see myself using this to add short videos to my designs.
HTML 5 video: iOS devices won't play video tags in the
DOM, they instead open in a standardized player. Apple
also stops them from auto-playing on iPhone.
This is what makes Vine so useless on iOS outside of the native app. It makes it preferable to use GIF sans audio generally, whenever it's an option.I get where Apple is coming from, but this is definitely sorely needed for some use cases.
If you use, say, iCab, HTML5 video stays embedded in the page -- to a fault. Often you won't be able to full screen the video, you end up having to zoom the page.
Feedback: I didn't like that there isn't a nice way to put all of the Phosphorous code in a subfolder (warning my HTML isn't amazing, I do iOS.) without a find & replace and hunting for the things to change. Overall I'm a happy customer though! Good work guys.
As for your composition, I took a look and the atlas images seem large compared to what we tend to see. Perhaps try turning down the quality slider in the main page - all that affects is the post encoding jpg compression. 60-80% tends to look good.
But often you can't upload videos or javascript, but only a GIF, like on a github.com's README file.
For that scenario, I recently wrote up a quick tutorial on how to use Quicktime + FFmpeg + gifsice to easily create a short screencast and convert it into a GIF.
I had a few crashes with it this morning on a rMBP, what's the best route for support ? (your forums do not seem updated yet for phosphor)
That plus html5 audio could be a new low bandwidth way to stream movies in the future
Do you have plans for native ios and android views?
The general rule of thumb for file size is h264 is smaller than phosphor is smaller than gif.
-mike
-mike
I haven't checked yet, but I wonder how much of the JavaScript output by this app is identical to what Apple wrote.