Presentation is loading. Please wait.

Presentation is loading. Please wait.

SAMI Synchronized Accessible Media Interchange A way to produce CAPTIONS for VIDEO (Microsoft approach)

Similar presentations


Presentation on theme: "SAMI Synchronized Accessible Media Interchange A way to produce CAPTIONS for VIDEO (Microsoft approach)"— Presentation transcript:

1 SAMI Synchronized Accessible Media Interchange A way to produce CAPTIONS for VIDEO (Microsoft approach)

2 Example of SAMI file style statements A first caption A second caption Based on XML. Looks like HTML Head.. has definitions Body..has things to be displayed By defaults times are stated in milliseconds (Media Player won’t handle anything except defaults  ) This example: Displays “A first caption” from time = 0 Then displays “A second caption” to end of video

3 Two ways to get caption file to synchronise with media 1. Use REDIRECTION file 2. Use tag in HTML The next slides show each method

4 SAMI: Method 1 - Redirection file Captions will appear in extended area under the video. Screen-reader tools (eg for blind users) can access captions and read them aloud. http://aces.shu.ac.uk/multimedia/captions/pop-idols/pop-idols.wmx Use HTTP to open a REDIRECTION file. (asf or wmx). This then triggers the media and the captions together

5 SAMI: Method 1 - Redirection file Slight problem! Captions are not automatically displayed  User has to turn them on How do users know to do this??

6 SAMI: Method 2 - Within HTML page Include media player as object (see earlier classes) Extend Object call to also call SAMI file (see next slide) Author of HTLP page can choose where to display caption. Can even use Javascript to let user choose size / style etc Example working @ SHU: pop-idol.html See next page for code. You can also look at the source code of the pop-idol.html example

7 1. 2. 3. 4.<object 5. classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" 6. width=400 height=300 > 7. 8. 9. 10. 11. 12. 13. 14. 15.<p 16. id=cc 17. style="margin-top:3; width:400; height:100"> 18. 19. 20.

8 Redirection Files “Redirection File” : –doesn’t contain media file itself –Instead: contains pointers and controls to files that do contain media Redirection files not invented specifically for captioning … Other applications / advantages are On Demand TV –can serve sequence of files one after another (playlist) –can insert adverts before main file, or when triggered during main film –can make playlist time-sensitive (different files after midnight!) Load-balancing Server Farms –web server on one machine, media files on another (others) … But redirection is useful for captioning too

9 1. 2. Captioning Sample 3. 4.<ref href="http:// aces.shu.ac.uk/multimedia/captions/pop-idols /pop-idols.mpg? 5. sami=http:// aces.shu.ac.uk/multimedia/captions/pop-idols/ captions.smi" /> 6. ….. 7. ….. 8. Captioning Sample 9. 10. 11.<ref href="http://www.bbc.co.uk/testmatch.wmv? 12. sami=http://shu.ac.uk/drone.smi" /> 13. 14. 15.<ref href="http://whitehouse.com/reasons.wmv? 16. sami=http://restOfWorld.com/truth.smi" /> 17. 18. Spot the political sarcasm

10 ASX files This ASX example play a file at midday, starting 5 minutes into the recording, for one hour (less the 5 mins). If it receives an “adbreak” alert it plays an MP3 file, and resumes from where it left off afterwards. The full list of ASX commands is available herehere

11 Combining HTML, ASX, SAMI Easy! - See example @ shuexample @ shu Advantages of combined approach: –Media on one server, captions on another –Web author in control of set up –Captions accessible to reader tools


Download ppt "SAMI Synchronized Accessible Media Interchange A way to produce CAPTIONS for VIDEO (Microsoft approach)"

Similar presentations


Ads by Google