Datta321 | 1 Jun 2010 15:12

Browser compatibility for SMIL scripts. Does it work with Firefox ?

Can aynone let me know whether the following SMIL script, which runs in IE will have probelms when run in Firefox (Mozilla) ?

xmlns:t="urn:schemas-microsoft-com:time">
Datta321 | 1 Jun 2010 16:15

How does one update live streams in SMIL and buffer it ?

Is anyone by chance aware of how live streams, referenced in a SMIL file, be updated ? (i.e insert advertisements in this stream such as clips or jpegs locally, for viewing and buffering the same ?). Is it possible to stream out videos other than the .rm files used by Real player ? If so, is there any mechanism used for buffering the video stream and playback after an advertisement has been inserted into the same ?

View this message in context: How does one update live streams in SMIL and buffer it ?
Sent from the w3.org - www-smil mailing list archive at Nabble.com.
Jack Jansen | 2 Jun 2010 22:07
Picon
Picon
Favicon

Re: Browser compatibility for SMIL scripts. Does it work with Firefox ?


On 1 jun 2010, at 15:12, Datta321 wrote:

> Can aynone let me know whether the following SMIL script, which runs in IE will have probelms when run in
Firefox (Mozilla) ?

Explorer is the only browser (as far as I'm aware) that supports XHTML+SMIL. That's also why the spec for it
is still in w3c-standards-limbo, because a second implementation never materialized.
--
Jack Jansen, <Jack.Jansen <at> cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman

Jonathan Chetwynd | 27 Jun 2010 19:46
Gravatar

script to rewind?

script to rewind?

is there a way perhaps using ecmascript to move, for instance an  
animation** to its start position?

Whilst a user might have buttons to play pause and rewind, but where  
one or more individuals and or services which may be  remote, is a  
means provide for them to engage?

regards

Jonathan Chetwynd

** the  attached file is  in SVG by way of illustration.
what is sought  is  a way to emulate one and only one of the  buttons  
through script.

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
    width="100%"
    height="100%"
 >

	<title>Script should over-ride set attributeName="fill" testcase</ 
title>

    <text x="20" y="20" >Wait for animation, then click on the green  
circle, then click the green rectangle</text>

<g id="neutral" fill="#cca" >
<set attributeName="fill"  from="#cca" to="green"  
begin="fillGreen.click"  end="fillNeutral.click" />
     <rect x="16" y="38" width="150" height="21"  rx='4' ry='4'/>
</g>

     <rect x="176" y="38" width="50" height="21"  rx='4' ry='4'   
fill="green"  pointer-events="fill" cursor="pointer" id="fillGreen"/>

     <rect x="176" y="78" width="50" height="21"  rx='4' ry='4'   
fill="#cca" pointer-events="fill" cursor="pointer" id="fillNeutral"/>

</svg>

Jonathan Chetwynd | 27 Jun 2010 20:05
Gravatar

Re: script to rewind?


attachment title should read:

	<title>Click  on the green button  then the grey button</title>

as below:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
    width="100%"
    height="100%"
 >

	<title>Click  on the green button  then the grey button</title>

    <text x="20" y="20" >Wait for animation, then click on the green  
circle, then click the green rectangle</text>

<g id="neutral" fill="#cca" >
<set attributeName="fill"  from="#cca" to="green"  
begin="fillGreen.click"  end="fillNeutral.click" />
     <rect x="16" y="38" width="150" height="21"  rx='4' ry='4'/>
</g>

     <rect x="176" y="38" width="50" height="21"  rx='4' ry='4'   
fill="green"  pointer-events="fill" cursor="pointer" id="fillGreen"/>

     <rect x="176" y="78" width="50" height="21"  rx='4' ry='4'   
fill="#cca" pointer-events="fill" cursor="pointer" id="fillNeutral"/>

</svg>

On 27 Jun 2010, at 18:46, Jonathan Chetwynd wrote:

> script to rewind?
>
> is there a way perhaps using ecmascript to move, for instance an  
> animation** to its start position?
>
> Whilst a user might have buttons to play pause and rewind, but where  
> one or more individuals and or services which may be  remote, is a  
> means provide for them to engage?
>
> regards
>
> Jonathan Chetwynd
>
> ** the  attached file is  in SVG by way of illustration.
> what is sought  is  a way to emulate one and only one of the   
> buttons through script.
>
>
> <?xml version="1.0" encoding="utf-8" standalone="no"?>
> <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
>   width="100%"
>   height="100%"
> >
>
> 	<title>Script should over-ride set attributeName="fill" testcase</ 
> title>
>
>
>   <text x="20" y="20" >Wait for animation, then click on the green  
> circle, then click the green rectangle</text>
>
> <g id="neutral" fill="#cca" >
> <set attributeName="fill"  from="#cca" to="green"  
> begin="fillGreen.click"  end="fillNeutral.click" />
>    <rect x="16" y="38" width="150" height="21"  rx='4' ry='4'/>
> </g>
>
>    <rect x="176" y="38" width="50" height="21"  rx='4' ry='4'   
> fill="green"  pointer-events="fill" cursor="pointer" id="fillGreen"/>
>
>    <rect x="176" y="78" width="50" height="21"  rx='4' ry='4'   
> fill="#cca" pointer-events="fill" cursor="pointer" id="fillNeutral"/>
>
> </svg>

Datta321 | 28 Jun 2010 10:27

Require syntax for Media marker "Clip-Begin" for SMIL 2.0/3.0


 I am facing some problem while trying to read a "media" file with "markers"
using Ambulant player. Please see the smil file below.

 It so happens, that the 1st .mp4 file, namely "Gorill2.mp4" plays well, in
Ambulant player 2.0.2 using clipBegin element with absolute time. However,
the Ambulant player complains of "Cannot parse clipBegin" and "Cannot parse
clipEnd" when it tries to read Movie2.flv, which is a .mp4 file with cue
points "Begin" and "End" in a separate file, namely "movie2.txt", the
contents of which are listed below the smil file.
The movie2.flv is created unsing Flash 8 encoder.

 Am I going wrong in somewhere ? Also, is there an alternative way of
marking cue points to a .mp4 file, to be read from a SMIL file ? 

<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0"
baseProfile="Language">
<body>
    <par>    
      <video src="Gorill2.mp4" clipBegin="npt=4s" clipEnd="npt=8s"/>
 <!--
   <video src="Movie2.flv" clipBegin="marker=movie2.txt#Begin"
clipEnd="marker=movie2.txt#End"/>	    	     -->
    </par>
</body>
</smil>

===============================================================================

 movie2.txt
 -----------
 Begin=34&End=24

===============================================================================
--

-- 
View this message in context: http://old.nabble.com/Require-syntax-for-Media-marker-%22Clip-Begin%22-for-SMIL-2.0-3.0-tp29008514p29008514.html
Sent from the w3.org - www-smil mailing list archive at Nabble.com.

Jack Jansen | 28 Jun 2010 11:09
Picon
Picon
Favicon

Re: Require syntax for Media marker "Clip-Begin" for SMIL 2.0/3.0

Your problem is implementation, not standardisation.

The construct you use is correct according to the SMIL 3.0 spec. But: I know of no SMIL players that actually
implement the 
clipBegin="marker=#foo" functionality. In addition, the SMIL spec is vague (and intentionally so) as to
what the external
representation of markers is.

Ambulant has some minimal support for markers, but (a) only for markers defined in SmilText files, and (b)
only for used
in event-based timing.

Adding support to Ambulant for markers in the way you sketch shouldn't be too hard: the infrastructure is
all in place.
But: we (the CWI ambulant team) don't have the time for this, and no compelling use case right now that will
let us
make time. But if you have the developer capabilities yourself we are (as always) more than willing to help.

On 28 jun 2010, at 10:27, Datta321 wrote:

> 
> 
> I am facing some problem while trying to read a "media" file with "markers"
> using Ambulant player. Please see the smil file below.
> 
> It so happens, that the 1st .mp4 file, namely "Gorill2.mp4" plays well, in
> Ambulant player 2.0.2 using clipBegin element with absolute time. However,
> the Ambulant player complains of "Cannot parse clipBegin" and "Cannot parse
> clipEnd" when it tries to read Movie2.flv, which is a .mp4 file with cue
> points "Begin" and "End" in a separate file, namely "movie2.txt", the
> contents of which are listed below the smil file.
> The movie2.flv is created unsing Flash 8 encoder.
> 
> Am I going wrong in somewhere ? Also, is there an alternative way of
> marking cue points to a .mp4 file, to be read from a SMIL file ? 
> 
> <smil xmlns="http://www.w3.org/ns/SMIL" version="3.0"
> baseProfile="Language">
> <body>
>    <par>    
>      <video src="Gorill2.mp4" clipBegin="npt=4s" clipEnd="npt=8s"/>
> <!--
>   <video src="Movie2.flv" clipBegin="marker=movie2.txt#Begin"
> clipEnd="marker=movie2.txt#End"/>	    	     -->
>    </par>
> </body>
> </smil>
> 
> ===============================================================================
> 
> movie2.txt
> -----------
> Begin=34&End=24
> 
> ===============================================================================
> -- 
> View this message in context: http://old.nabble.com/Require-syntax-for-Media-marker-%22Clip-Begin%22-for-SMIL-2.0-3.0-tp29008514p29008514.html
> Sent from the w3.org - www-smil mailing list archive at Nabble.com.
> 
> 

--
Jack Jansen, <Jack.Jansen <at> cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman

Datta321 | 28 Jun 2010 14:57

Require examples of SmilText as External format + A tool to mark cue points.


I am in need of the following items.

a)Links to examples, related to SmilText being used as External Format.
b)Any tool, which I can use, to mark Cue Points, on .mp4 format files,
(other than Flash) which can be played in SMIL, using media markers.

I anyone is aware of them, please let me know.
--

-- 
View this message in context: http://old.nabble.com/Require-examples-of-SmilText-as-External-format-%2B-A-tool-to-mark-cue-points.-tp29008557p29008557.html
Sent from the w3.org - www-smil mailing list archive at Nabble.com.

Jonathan Chetwynd | 29 Jun 2010 07:31
Gravatar

SMIL and script

SMIL and script

is there a way perhaps using ecmascript to move, for instance an animation** to its start position?

Whilst a user might have buttons to play pause and rewind, but where one or more individuals and or services which may be  remote, is a means provide for them to engage?

regards

Jonathan Chetwynd

** the  attached file is  in SVG by way of illustration.
what is sought  is  a way to emulate one and only one of the  buttons through script.


<?xml version="1.0" encoding="utf-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
  width="100%"
  height="100%"
>

<title>Click  on the green button  then the grey button</title>


  <text x="20" y="20" >Wait for animation, then click on the green circle, then click the green rectangle</text>

<g id="neutral" fill="#cca" >
<set attributeName="fill"  from="#cca" to="green" begin="fillGreen.click"  end="fillNeutral.click" />
   <rect x="16" y="38" width="150" height="21"  rx='4' ry='4'/>
</g>

   <rect x="176" y="38" width="50" height="21"  rx='4' ry='4'  fill="green"  pointer-events="fill" cursor="pointer" id="fillGreen"/>

   <rect x="176" y="78" width="50" height="21"  rx='4' ry='4'  fill="#cca" pointer-events="fill" cursor="pointer" id="fillNeutral"/>

</svg>
Datta321 | 29 Jun 2010 10:14

Require syntax/method of executing SMIL file with <param> element.


 Is anyone aware of calling a smil file with paramaters at runtime ? I
require the syntax of the call along with parameters.

  i.e given the SMIL file test.smil. 

 a)How do I run it in browser along with parameters ? i.e
http://localhost/test.smil  ?  ? (parameters)
 b)How do pass parameters to a smil file when run in any Media Player

Test.smil
<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0"
baseProfile="Language">
    <head>
       <layout type="text/smil-basic-layout">
         <region id="r1" top="0px" left="0px" height="400" width="400"
backgroundColor="red"/>
       </layout>
    </head>

    <body>
        <par>
              ../images/smile.jpg 

                 
             </img>
        </par>
    </body>
</smil>
--

-- 
View this message in context: http://old.nabble.com/Require-syntax-method-of-executing-SMIL-file-with-%3Cparam%3E-element.-tp29021246p29021246.html
Sent from the w3.org - www-smil mailing list archive at Nabble.com.


Gmane