<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Are Sensory Effects Ready for the World Wide Web?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Christian Timmerer</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Markus Waltl</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hermann Hellwagner</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Klagenfurt University, Multimedia Communication Group</institution>
          ,
          <addr-line>Universitätsstrasse 65-67, 9020 Klagenfurt</addr-line>
          ,
          <country country="AT">Austria</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The World Wide Web (WWW) is one of the main entry points to access and consume Internet content in various forms. In particular, the Web browser is used to access different types of media (i.e., text, image, audio, and video) and on some platforms is the only way to access the vast amount of information on the Web. Recently, it has been proposed to stimulate also other senses than vision or audition while consuming multimedia content through socalled sensory effects, with the aim to increase the user's Quality of Experience (QoE). The effects are represented as Sensory Effects Metadata (SEM) which is associated to traditional multimedia content and is rendered (synchronized with the media) on sensory devices like fans, vibration chairs, lamps, etc. In this paper we provide a principal investigation of whether the sensory effects are ready for the WWW and, in anticipation of the result, we propose how to embed sensory effect metadata within Web content and the synchronized rendering thereof.</p>
      </abstract>
      <kwd-group>
        <kwd>MPEG-V</kwd>
        <kwd>Sensory Effects</kwd>
        <kwd>Quality of Experience</kwd>
        <kwd>World Wide Web</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        In recent publications, it was proposed [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ][
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] to annotate multimedia content (i.e.,
videos) with a so-called Sensory Effect Metadata (SEM) description that can be used
to stimulate also other senses than vision or audition, e.g., olfaction,
mechanoreception, or thermoception which shall lead to an enhanced, unique user
experience. That is, the actual video content is rendered on traditional devices (e.g.,
TV screens) and the sensory effects (i.e., described via SEM and synchronized with
the video) are rendered on sensory devices like fans, vibration chairs, lamps,
perfumer, etc. The concept of this approach is depicted in Figure 1 with the aim to
provide an enhanced, unique, and worthwhile user experience. Note that the SEM is
currently being standardized within Part 3 of MPEG-V Media Context and Control
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] we present promising results regarding the usage of sensory effects in
conjunction with video content. However, current implementations primarily focus on
video content. In this paper we argue that this could be easily extended to Web
content, of course including videos also. Therefore, in Section 2 we propose an
approach on how to embed SEM descriptions into Web content (i.e., (X)HTML) and
the processing thereof as a browser plug-in based on an MPEG Extensible
Middleware (MXM) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] engine capable of parsing the SEM description. To the best
of our knowledge, this is the first attempt trying to bring sensory effects to the World
Wide Web. The conclusions and future work are outlined in Section 3.
2
      </p>
      <p>Proposed Approach for Integrating Sensory Effects within
Web Content
The preferred way to link resources such as a SEM description to a Web document –
herein after referred to as document – is the link element. An example usage of the
link element to reference a SEM description is shown in Listing 1.</p>
      <p>
        Listing 1. Example usage of the link element to reference a SEM description.
&lt;link rel="alternate" type="text/xml" title="SEM description"
href="http://server.org/sem.xml" media="light, wind, vibration"/&gt;
The attributes type, title, and href are used as specified by HTML. The rel
attribute indicates that the SEM description provides an alternate representation of
the current document which, in our view, conforms with the concept of sensory
effects as depicted above. In particular, if used in conjunction with the media
attribute, the ref attribute indicates that the referenced SEM description is intended
for use with the media specified. Please note that the media attribute must support
some version of the media query language [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Currently, the following media types
are defined: ‘aural’, ‘braille’, ‘handheld’, ‘print’, ‘projection’, ‘screen’, ‘tty’, ‘tv’. As
none of them match with the concept of sensory effects we propose adding new media
types corresponding to the sensory effects as defined in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], e.g., ‘light, wind,
vibration’ as shown in Listing 1.
      </p>
      <p>
        Based on the information in the link element, the SEM description could be
parsed either directly via JavaScript or within a browser plug-in utilizing an MXM
engine as proposed in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The SEM MXM Engine – part of the MPEG-V reference
software – is used to access and parse the data within the SEM description and used to
control the actual rendering devices (e.g., fans, vibration chairs, lamps). Therefore,
the corresponding application programming interfaces (APIs) of the rendering devices
must be accessed from within the Web application/browser. In case of the JavaScript
solution, this might be an issue but for the browser plug-in the rendering devices
could be accessed directly from within the plug-in.
      </p>
      <p>
        However, the main issue is the synchronization with possible multimedia resources
included within the document such as video or audio content. Therefore, it is required
to access the current playback position of the actual multimedia resources which is
provided thanks to HTML5’s video and audio elements and corresponding DOM
attributes [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. In particular, the currentTime DOM attribute provides the current
playback position in seconds that can be used for synchronization with the sensory
effects. Additionally, the timeupdate event indicates that the current playback
position changed as part of normal playback which also serves the synchronization
purpose. Listing 2 shows an excerpt of how to use the timeupdate event and
currentTime attribute for the synchronization of the video content with the sensory
effects.
      </p>
      <p>Listing 2. Usage of timeupdate and currentTime for synchronization of video
content with sensory effects.
&lt;script&gt;
...
function time_update() {
var vid = document.querySelector('video');
var now = vid.currentTime;
// note: sem holds sensory effects information previously parsed
for (var i=0; i&lt;sem.length; i++ {
if (now &gt;= sem[i].start &amp;&amp; now &lt;= sem[i].end) {
update_sensory_devices(sem[i]);
break;
} } } // end function time_update()
...
&lt;/script&gt;
...
&lt;video src="http://server.org/video.mp4" ontimeupdate="time_update()"
autobuffer controls&gt;</p>
      <p>
        Finally, in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] we presented means for the automatic extraction of color
information from the video frames in order to control additional light sources, e.g.,
placed behind or next to the TV screen. In particular, we evaluated a choice of
algorithms within different color spaces (average color: RGB; dominant color: RGB,
HSV, HMMD). However, in all cases we need to access the content of the frame
which is not possible within HTML5 as something like currentFrame does not exist
and is not foreseen. On the other hand, the canvas element allows for manipulating
the display’s content (examples can be found in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]) and can be used for this purpose.
In particular, the canvas element is used to extract the pixel information from the
display and, consequently, this information is used for extracting the color
information. For the actual color extraction and its usage the interested reader is
referred to [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
In this paper we proposed an approach that brings sensory effects to the World Wide
Web. In particular, it provides a conceptual answer to the question raised in the title of
this paper. That is, yes, sensory effects are ready for the World Wide Web but this
approach requires some implementation work to be done as part of our future work.
Furthermore, currently it is not clear how these sensory effects are perceived by the
users of the Web content which calls for formal subjective quality assessments.
Finally, we would like to study how to apply sensory effects for the whole Web
site/content instead of only focusing on audio and video parts.
      </p>
      <p>Acknowledgments. This work was supported in part by the European Commission in the
context of the NoE INTERMEDIA (NoE 038419), the P2P-Next project (FP7-ICT-216217),
and the ALICANTE project (FP7-ICT-248652).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Waltl</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Timmerer</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hellwagner</surname>
          </string-name>
          , H.:
          <article-title>A Test-Bed for Quality of Multimedia Experience Evaluation of Sensory Effects</article-title>
          ,
          <source>In: 1st Int'l. Workshop on Quality of Multimedia Experience (QoMEX'09)</source>
          , San Diego, USA (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Choi</surname>
            ,
            <given-names>B. S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joo</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          :
          <article-title>Sensory Effect Metadata for SMMD Media Service</article-title>
          ,
          <source>In: 4th Int'l Conf. on Internet and Web Applications and Services (ICIW'09)</source>
          , pp.
          <fpage>649</fpage>
          -
          <lpage>654</lpage>
          , Venice/Mestre, Italy (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. ISO/IEC 25005-3
          <string-name>
            <surname>FCD</surname>
          </string-name>
          : Information technology -
          <source>Media context and control - Sensory Information, ISO/IEC JTC 1/SC 29/WG 11/N10987</source>
          , Xi'an,
          <string-name>
            <surname>China</surname>
          </string-name>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Waltl</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Timmerer</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hellwagner</surname>
          </string-name>
          , H.:
          <article-title>Increasing the User Experience of Multimedia Presentations with Sensory Effects</article-title>
          ,
          <source>In: 11th Int'l. Workshop on Image Analysis for Multimedia Interactive Services (WIAMIS'10)</source>
          ,
          <source>Desenzano del Garda</source>
          ,
          <source>Italy</source>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Timmerer</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chiariglione</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Preda</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rodriguez-Doncel</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Accelerating Media Business Developments with the MPEG Extensible Middleware</article-title>
          ,
          <source>In: FIA Valencia Book</source>
          <year>2010</year>
          , IOS Press (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Lie</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Çelik</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Glazman</surname>
          </string-name>
          , D., van
          <string-name>
            <surname>Kesteren</surname>
            ,
            <given-names>A</given-names>
          </string-name>
          . (eds): Media Queries, Candidate Recommendation,
          <source>W3C</source>
          (
          <year>2009</year>
          ), http://www.w3.org/TR/2009/CR-css3-mediaqueries20090915/
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Hickson</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hyatt</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          : HTML5,
          <string-name>
            <surname>Working</surname>
            <given-names>Draft</given-names>
          </string-name>
          ,
          <source>W3C</source>
          (
          <year>2009</year>
          ), http://www.w3.org/TR/2009/WD-html5-20090825/
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <article-title>Manipulating video using canvas</article-title>
          , https://developer.mozilla.org/En/Manipulating_video_using_canvas
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>