HTML5 for video ..

General discussions.

Moderator: moderators

HTML5 for video ..

Postby onemyndseye » Thu Jun 21, 2012 8:38 am

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,
onemyndseye
 
Posts: 3
Joined: Sun Mar 06, 2011 9:43 am

Re: HTML5 for video ..

Postby c0bra99 » Fri Jun 29, 2012 12:38 pm

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)
c0bra99
 
Posts: 2
Joined: Fri Jun 29, 2012 12:36 pm

Re: HTML5 for video ..

Postby nayab9 » Fri Jun 29, 2012 3:02 pm

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
nayab9
 
Posts: 14
Joined: Wed Jan 18, 2012 6:51 pm

Re: HTML5 for video ..

Postby diffy » Mon Jul 02, 2012 10:44 am

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.html

http://stackoverflow.com/questions/3119 ... tml5-video

http://johndyer.name/ffmpeg-settings-fo ... g-vp8webm/


I for one, love using Flash on my Android as long as it lasts. It just works!
diffy
 
Posts: 97
Joined: Fri Dec 30, 2011 11:28 pm
Location: Copenhagen, Denmark

Re: HTML5 for video ..

Postby nayab9 » Tue Jul 03, 2012 1:57 pm

diffy wrote: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.html

http://stackoverflow.com/questions/3119 ... tml5-video

http://johndyer.name/ffmpeg-settings-fo ... g-vp8webm/


I for one, love using Flash on my Android as long as it lasts. It just works!


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=9722

Cheers,
Ben
nayab9
 
Posts: 14
Joined: Wed Jan 18, 2012 6:51 pm


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests