W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: About video & audio elements

From: Nicolas LE GALL <me@neovov.com>
Date: Fri, 29 Aug 2008 14:52:43 +0200
Cc: public-html <public-html@w3.org>
Message-Id: <07EC4543-9597-4C1A-8ADC-7A02D4A3D514@neovov.com>
To: Maurice <maurice@thymeonline.com>

Le 29 août 08 à 00:25, Maurice a écrit :

> On Aug 25, at 7:48 AM, Ian Hickson wrote:
>> This is supported if the media format supports it. No API exists  
>> currently
>> to expose this to script, however.
> What about separate files for sub-titles? In the fan-subbing scene  
> it's common for videos to be distributed without any subtitles and  
> then many people around the world do their own translation and share  
> the text files with the web.

Yes. But if you want to save the video file on your computer ?
Which subtitle format to choose ?

>>>> - In a search engine way of thinking, and still for these multi- 
>>>> tracks
>>>> files, how could we parse an HTML document to get all the  
>>>> availables
>>>> tracks (maybe a available-audio attribute ?)
>>> Right now there is no way to do this other than actually examining  
>>> the
>>> media files.
> There are server side libraries for pulling all the info you could  
> ever want out of video and audio files. What would be the best way  
> to present this meta data for search engines?
> * attributes on the video tag?
> * <mediadetails> tag within the video tag?
> * some new microformat?

I think examining the media files will cause too much problems :

- Making an algorithm to parse the media header to retrieve the  
metadata (depending on the codec used the header can have a variable  
size — just presuming)
- For the media provider it will consume some brandwith which is the  
most expensive charge (at this moment)
- I think parsing a media file cost more computer resources than  
parsing an HTML document
- Need a soft to edit the data (OK, you definetly need a soft to  
encode... But if you made a mistake editing some HTML attributes/ 
elements is lighter than opening the media in a soft, editing it and  
uploading it again)

> What if I actually have a single video (no audio) and multiple audio  
> files, each in a different language.
> Could I somehow sync the video and selected audio file by having  
> them start playing simultaneously?

I think this is possible using the JS API.
And this touch the behavior, so couldn't be HTML attributes.

Nicolas LE GALL
FOAF : http://blog.neovov.com/foaf.rdf
Received on Friday, 29 August 2008 12:53:29 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:37 UTC