by 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