Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Any interest in html5's <video> tag in mythweb?

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


ajayrockrock at gmail

Nov 10, 2009, 2:23 PM

Post #1 of 4 (852 views)
Permalink
Any interest in html5's <video> tag in mythweb?

Hello,

I was thinking about replacing the flash player in mythweb with the new
<video> element. I searched the myth-users and -dev lists and didn't really
see much about it other then, "it's not widely supported". Which is
understandable, but I think it should be an option at least.

Last night I was messing around with ffmpeg2theora and was able to convert a
couple of .nuv's into .ogv's and was able to display them in a browser. It
was surprisingly straightforward.

So I'm thinking about making a patch to mythweb where if you have a
supported browser, the right codec, and the actual .ogv file, then use the
<video> tag, otherwise fallback to the flash methods.

Just wondering if there's any interest in this as there are still a couple
of issues. I think the .flv conversion happens on-the-fly when you load up
the video. ffmpeg2theora is kinda slow and I'm not sure if it can happen in
real-time. Creating a user-job to run ffmpeg2theora on every video will
solve this but then you're going to basically have a bunch of .ogv files
lying around... I figured I'd get the <video> tag to show up first and
then worry about the long-term issues later.

--Ajay


tom_a_sparks at yahoo

Nov 10, 2009, 7:52 PM

Post #2 of 4 (826 views)
Permalink
Re: Any interest in html5's <video> tag in mythweb? [In reply to]

--- On Wed, 11/11/09, Ajay Sharma <ajayrockrock [at] gmail> wrote:
> Hello,
hello,
>
> I was thinking about replacing the flash player in mythweb
> with the new <video> element.  I searched the
> myth-users and -dev lists and didn't really see much
> about it other then, "it's not widely
> supported".  Which is understandable, but I think it
> should be an option at least.
>
>
> Last night I was messing around with ffmpeg2theora and was
> able to convert a couple of .nuv's into .ogv's and
> was able to display them in a browser.  It was surprisingly
> straightforward.
I hope you are using the newest version from http://v2v.cc/~j/ffmpeg2theora/
>
> So I'm thinking about making a patch to mythweb where
> if you have a supported browser, the right codec, and the
> actual .ogv file, then use the <video> tag, otherwise
> fallback to the flash methods.
>
>
> Just wondering if there's any interest in this as there
> are still a couple of issues.  I think the .flv conversion
> happens on-the-fly when you load up the video. 
> ffmpeg2theora is kinda slow and I'm not sure if it can
> happen in real-time.  Creating a user-job to run
> ffmpeg2theora on every video will solve this but then
> you're going to basically have a bunch of .ogv files
> lying around...   I figured I'd get the <video>
> tag to show up first and then worry about the long-term
> issues later. 
I have done it with Mv-embed http://metavid.org/w/index.php/Mv_embed

<script type="text/javascript" src="http://mythwebsite.com/mwEmbed/mv_embed.js"></script>

<video thumbnail="myimage.png" poster="myimage.png">
<source type="video/ogg" src="mymovie.ogg" />
<source type="" src="mymovie.flv
</video>

tom sparks


__________________________________________________________________________________
Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7.
Enter now: http://au.docs.yahoo.com/homepageset/
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


xavier.hervy at bluebottle

Nov 11, 2009, 1:52 AM

Post #3 of 4 (823 views)
Permalink
Re: Any interest in html5's <video> tag in mythweb? [In reply to]

Ajay Sharma wrote:
> Hello,
>
> I was thinking about replacing the flash player in mythweb with the
> new <video> element. I searched the myth-users and -dev lists and
> didn't really see much about it other then, "it's not widely
> supported". Which is understandable, but I think it should be an
> option at least.
>
> Last night I was messing around with ffmpeg2theora and was able to
> convert a couple of .nuv's into .ogv's and was able to display them in
> a browser. It was surprisingly straightforward.
>
> So I'm thinking about making a patch to mythweb where if you have a
> supported browser, the right codec, and the actual .ogv file, then use
> the <video> tag, otherwise fallback to the flash methods.
>
> Just wondering if there's any interest in this as there are still a
> couple of issues. I think the .flv conversion happens on-the-fly when
> you load up the video. ffmpeg2theora is kinda slow and I'm not sure
> if it can happen in real-time. Creating a user-job to run
> ffmpeg2theora on every video will solve this but then you're going to
> basically have a bunch of .ogv files lying around... I figured I'd
> get the <video> tag to show up first and then worry about the
> long-term issues later.
>
> --Ajay
>
>
I suppose mythbackend should have something to handle conversion and
expiracy ...
I am using my n95 to play recording video from myth using the Video Center.
This require the video to be reencoded and it can not be done on the fly.
My script make sure the transcoded video is deleted if it does not exist
anymore in myth, but it would be nice if we add a program to do this one
for all.
Xavier
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 11, 2009, 10:45 AM

Post #4 of 4 (783 views)
Permalink
Re: Any interest in html5's <video> tag in mythweb? [In reply to]

On 11/11/2009 04:52 AM, xavier hervy wrote:
> Ajay Sharma wrote:
>> I was thinking about replacing the flash player in mythweb with the
>> new <video> element. I searched the myth-users and -dev lists and
>> didn't really see much about it other then, "it's not widely
>> supported". Which is understandable, but I think it should be an
>> option at least.
>>
>> Last night I was messing around with ffmpeg2theora and was able to
>> convert a couple of .nuv's into .ogv's and was able to display them
>> in a browser. It was surprisingly straightforward.
>> So I'm thinking about making a patch to mythweb where if you have a
>> supported browser, the right codec, and the actual .ogv file, then
>> use the <video> tag, otherwise fallback to the flash methods.
>>
>> Just wondering if there's any interest in this as there are still a
>> couple of issues. I think the .flv conversion happens on-the-fly
>> when you load up the video. ffmpeg2theora is kinda slow and I'm not
>> sure if it can happen in real-time. Creating a user-job to run
>> ffmpeg2theora on every video will solve this but then you're going to
>> basically have a bunch of .ogv files lying around... I figured I'd
>> get the <video> tag to show up first and then worry about the
>> long-term issues later.
> I suppose mythbackend should have something to handle conversion and
> expiracy ...
> I am using my n95 to play recording video from myth using the Video
> Center.
> This require the video to be reencoded and it can not be done on the fly.
> My script make sure the transcoded video is deleted if it does not
> exist anymore in myth, but it would be nice if we add a program to do
> this one for all.

That is /exactly/ why the Flash implementation in MythWeb is considered
a proof of concept and is not supported. Until we don't need to run
ffmpeg on the MythWeb host, all solutions are just broken.

There is some work happening to allow Myth to manage multiple files for
recordings and to transcode to various formats. Until that's done,
changes to the proof-of-concept Flash streaming stuff are very unlikely.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.