HTML5 for video ..

Posted:
Thu Jun 21, 2012 8:38 am
by onemyndseye
OK... where are we on replacing Flash with HTML5? Seems flash support for android is petering out and iPhone has and never will have it. So to keep video streaming on Mobile we need a change on player very soon.
as far as I know Flash video playback is broken as of Android ICS (4.0+) on many devices already and Adobe seems to be standing firm on their position of discontinuing of android support.
With that in mind, can we expect a change in subsonic to reflect these changes in the near future? Any ideas on a ETA? Are there technical issues standing in the way? Anything the community can help with?
Thanks,
Re: HTML5 for video ..

Posted:
Fri Jun 29, 2012 12:38 pm
by c0bra99
As of Android 4.1 Adobe is officially not supporting it.
http://www.engadget.com/2012/06/28/adob ... droid-4-1/It would be really nice to either use HTML5 for the in browser player, and/or update the android app to stream the video inside of the app using xxxx (anything besides opening a browser and showing flash)
Re: HTML5 for video ..

Posted:
Fri Jun 29, 2012 3:02 pm
by nayab9
I have a post regarding X -> mp4 transcoding in case you are interested, I am trying to get this working, so that html5 video can be used in any mobile/desktop browser which supports the mp4 container. The same would apply for ogg/webm compatible browsers as well, as fallback for the ones that don't support mp4.
To use HTML5 for video, the transcode on-the-fly will need to be to whichever container and codecs the browser supports (instead of x -> flv).
I have attempted to do this, but unfortunately am unable to transcode to mp4 through subsonic. The issue does NOT seem to be a limitation of ffmpeg, as I can copy/paste the transcode command directly into a cmd prompt (using the same ffmpeg installed with subsonic), and successfully transcode & feed it directly into chrome html5 video element for streaming.
I haven't had time to understand what the issue is here, but I have posted logs of the error, and am hoping to invest some time in figuring it out.
EDIT: Just as an FYI, if the file stored on the subsonic server is ALREADY in the correct format to stream it in the html5 element, it does work already (this is what I do by default, I only fallback to flash if I have to). But to be universally html5, we will need the ability to transcode X -> mp4 (or ogg/webm).
Cheers,
Ben
Re: HTML5 for video ..

Posted:
Mon Jul 02, 2012 10:44 am
by diffy
There are clues all over the net on how to achieve this. But I am sure Sindre has something in the pipeline when it comes to HTML5.
for instance here:
http://allampersandall.blogspot.dk/2011 ... video.htmlhttp://stackoverflow.com/questions/3119 ... tml5-videohttp://johndyer.name/ffmpeg-settings-fo ... g-vp8webm/I for one, love using Flash on my Android as long as it lasts. It just works!
Re: HTML5 for video ..

Posted:
Tue Jul 03, 2012 1:57 pm
by nayab9
Unfortunately, the issue is not how to convert something to an html5 compatible format, but rather, getting it to transcode through subsonic.
By using the default X->FLV transcode line, one can simply replace the flv with mp4, and ffmpeg will happily convert it into an mp4 through the command line, but doing the same command through subsonic, it fails.
Logs can be found in the post here if interested:
viewtopic.php?f=2&t=9722Cheers,
Ben