W3C home > Mailing lists > Public > www-smil@w3.org > July to September 2007

Re: [SMIL30 LC comment] Additional attributes

From: Daniel Weck <daniel.weck@gmail.com>
Date: Wed, 18 Jul 2007 23:11:41 +0100
Message-Id: <BE7D01A2-8A27-4537-8B4E-3FEACB668DFE@gmail.com>
Cc: www-smil@w3.org
To: Jason Player <jcplayer@MIT.EDU>

Hi Jason,

Based on the following assumptions:

1) the video clip is intrinsically linear of known duration and is  
"flat" (no internal table of content).
2) the table of content is metadata (external to the video clip)  
specified statically at authoring time.

...here's how I would do it (I omitted the regions on purpose):

<!-- below is the table of contents -->
<a href="#link_video_intro">
	<text src="data:,INTRO"/>
<a href="#link_video_chapter-1">
	<text src="data:,CHAPTER 1"/>
<a href="#link_video_credits">
	<text src="data:,CREDITS"/>
<!-- below is the structured video -->
<video src="video.mpeg">
	<a id="link_video_intro" end="10s"/>
	<a id="link_video_chapter-1" begin="10mn" end="20mn"/>
	<a id="link_video_credits" begin="45mn"/>

I hope this helps.

On 18 Jul 2007, at 16:39, Jason Player wrote:
> Dear Working Group Members,
> I am currently having problems creating what I feel should be an  
> easy SMIL. I need control of some basic parameters at the start of  
> a SMIL file and some for the linking of files.
> Here is what I am trying to do:
> I have a series of video lectures that we are trying to reference  
> for a course. Ideally we want to show a small piece of the full  
> lecture but in context of the full lecture. This way a student can  
> watch the snippet and if they are interested, the can either drag  
> the playback head to just before the piece for more context or  
> click on one of the hyperlinks in the index and jump to that topic.
> The problem:
> I can get close to the desired behavior by first linking to a SMIL  
> file with a video with a beginClip and an endClip. But the problem  
> is that I don't have the full clip there so a person can't see the  
> context without first clicking a hyperlink to a SMIL file with the  
> full version of the video with a complete index, and then clicking  
> on a hyperlink.
> Here's what I think I need:
> The ability to seek to a specific time- either as a Linking  
> attribute (6.7 of the spec) or as part of the Media Objects as an  
> initial attribute (7.x.x ??). Sort of a bookmark feature (or named  
> anchor in HTML). Basically on clicking of a link go to this file  
> and advance to a specific time while maintaining the full length of  
> the file (unlike clipBegin, clipEnd which clips the file), e.g.
> <a href="7.013-S06-VL19-0317-0729.smil" seek/advance/goto/ 
> bookmark="30s"> Overview</a>
> and/or
> <video src="ocw-7.013-24mar2006-220k.rm" region="video" seek/ 
> advance/goto/bookmark="3:07" />
> *** The key is that it is only activated once. This way a person  
> can interact with the full video clip at anytime after the video/ 
> media object seeks to a particular time.
> The extra credit version would be to make a seekBegin and seekEnd  
> attribute, which would play set time while displaying the full time  
> line.  Also, the seekBegin  and seekEnd would be deactivated if the  
> video's current playing time was outside the range specified. The  
> problem with this is that I'm not sure what should happen after the  
> seekEnd time is reached. I don't believe it is possible to pause a  
> content region??If you can think of the appropriate behavior, by  
> all means feel free to spec it.
> I am welcome to hear any feedback. Who knows- maybe it can already  
> be done this way and I don't know what I'm talking about.
> Best regards,
> Jason Player
> ____________________________
> Jason Player
> Web Production Specialist
> MIT OpenCourseWare
> One Broadway, 8th Floor
> Cambridge, MA  02139
> P 617-324-6044
> F 617-253-2115
> jcplayer@mit.edu
> http://ocw.mit.edu/
Received on Wednesday, 18 July 2007 22:12:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:27 UTC