Lca2009 Video A11y

1,207 views
1,143 views

Published on

Video is accessible when every person, no matter what limitations in language understanding, hearing, seeing, or other senses, can follow what is happening in a video and navigate it. Video accessibility is fundamentally about providing textual and other additional information about the video to help provide information in channels other than eyes and ears.
Captions and subtitles are only one type of accessibility features - there are also audio annotations for the blind, and many other text representations that are related. For years, people have been requesting a solution for Ogg content with subtitles/captions. So far, the main solution was to create a text file (e.g. a srt file) and load it together with the video file into a media player that was then able to do the subtitling ("soft subs"). Now that Firefox supports Ogg Theora/Vorbis out of the box, an encapsulated solution is required ("hard subs").
Silvia is working for Xiph and Mozilla on this and has recently proposed a generic mapping of "text codecs" into Ogg. This will encapsulate the W3C TimedText standard as well as your fansubber's typical formats.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,207
On SlideShare
0
From Embeds
0
Number of Embeds
50
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Lca2009 Video A11y

  1. 1. Video Accessibility Silvia Pfeiffer Annodex, Xiph, Mozilla
  2. 2. The HTML5 <video> tag Example: <video src=“http://example.com/video.ogg” poster=“http://example.com/video.jpg” controls autoplay> </video>
  3. 3. What about a11y? • Captions (deaf / loud environments) • Subtitles (i18n) http://au.youtube.com/watch?v=XblF3z-ST0Y • Sign Language http://www.ehow.com/video_4403510_sign-language- movies.html http://au.youtube.com/watch?v=RarMKnjqzZU http://www.vcom3d.com/vault_files/forest_asl/ • Audio annotations (blind / eyes-off) http://au.youtube.com/watch?v=i2VXp0s0BLw
  4. 4. Sign Language & Audio • Multiplex into Ogg – Multitrack Theora – Multitrack Vorbis • Challenge: Rendering defaults • Challenge: Content Selection / Adaptation
  5. 5. Alternative • Captions are an alternative to sign language • Textual audio annotations are an alternative to audio – Rendering via braille – Rendering via screen-readers - possibly mono on one ear only
  6. 6. Text is the Focus
  7. 7. Captions/Subtitles: srt example 0 00:00:01,120 --> 00:00:04,520 1 00:00:05,000 --> 00:00:07,440 In most countries on the continent 2 00:00:08,000 --> 00:00:12,720 There were princes, they were absolute regimes,
  8. 8. How to link srt to <video> • Ad-hoc: http://v2v.cc/~j/jquery.srt/ <script type=quot;text/javascriptquot; src=quot;jquery.jsquot;></script> <script type=quot;text/javascriptquot; src=quot;jquery.srt.jsquot;></script> <video src=quot;http://example.com/video.ogvquot; id=quot;videoquot; controls> <div class=quot;srtquot; data-video=quot;videoquot; data-srt=quot;http://example.com/video.srtquot; />
  9. 9. Out-of-band proposal with <video> <video src=quot;http://example.com/video.ogvquot; controls> <text category=quot;CCquot; lang=quot;enquot; src=quot;caption.srtquot;></text> <text category=quot;SUBquot; lang=quot;de” src=quot;german.dfxpquot;></text> <text category=quot;SUBquot; lang=quot;jp” src=quot;japanese.smilquot;></text> <text category=quot;SUBquot; lang=quot;fr” src=quot;translation_webservice/fr/caption.srtquot;></text> </video> http://metavid.org/w/extensions/MetavidWiki/skins/mv_embed/exampl e_usage/sample_timed_text.php
  10. 10. In-line in Ogg • Multi-track Ogg: – Theora – Vorbis – SRT • OggText / OggSRT mapping – http://wiki.xiph.org/index.php/OggText – http://wiki.xiph.org/index.php/OggSRT
  11. 11. But what about other text? • Lyrics • Karaoke • Ticker Text • Annotations • Transcripts • Linguistic markup • Metadata
  12. 12. Example .lrc file [ti:Let's Twist Again] [ar:Chubby Checker oppure Beatles, The] [au:Written by Kal Mann / Dave Appell, 1961] [al:Hits Of The 60's - Vol. 2 – Oldies] [00:12.00]Lyrics beginning ... [00:15.30]Some more lyrics ...
  13. 13. Example .kar file Karaoke file: (binary) midi - example
  14. 14. Example ticker text • AJAX XML ticker using .txt file <div class=quot;messagequot;> <a href=quot;http://www.javascriptkit.comquot; target=quot;_newquot;>JavaScript Kit</a><br />Comprehensive JavaScript tutorials and over 400+ free scripts! </div> <div class=quot;messagequot;> <a href=quot;http://www.codingforums.comquot;>Coding Forums 2</a><br />Web coding and development forums. </div> <div class=quot;messagequot;> <a href=quot;http://www.cssdrive.comquot;>CSS Drive</a><br/>Categorized CSS gallery and examples. </div>
  15. 15. Example .trs file <?xml version=quot;1.0quot; encoding=quot;ISO-8859-1quot;?> <!DOCTYPE Trans SYSTEM quot;trans-14.dtdquot;> <Trans scribe=quot;James Eaton-Leequot; audio_filename=quot;scl2007_eben_moglenquot; version=quot;9quot; version_date=quot;070701quot; xml:lang=quot;enquot;> <Topics> <Topic id=quot;to1quot; desc=quot;The Global Software Industry in Transformation: After GPLv3quot;/> </Topics> <Speakers> <Speaker id=quot;spk1quot; name=quot;Eben Moglenquot; check=quot;noquot; type=quot;malequot; dialect=quot;nativequot; accent=quot;American Englishquot; scope=quot;globalquot;/> </Speakers> <Episode program=quot;quot; air_date=quot;26/07/2007quot;> <Section type=quot;reportquot; startTime=quot;0quot; endTime=quot;4938.762quot; topic=quot;to1quot;> <Turn startTime=quot;0quot; endTime=quot;146.632quot; speaker=quot;spk2quot; mode=quot;plannedquot; fidelity=quot;highquot; channel=quot;studioquot;> <Sync time=quot;0quot;/> Good evening everybody, and welcome to the Scottish society for Computers and Law annual lecture for 2007. <Sync time=quot;14.574quot;/> And it's I think a testament to the drawing power of our speaker this evening that we've got such a great turnout and there's an enduring interest in the subject of course, and so we're very very pleased to see not only lawyers, but real people as well. <Sync time=quot;36.537quot;/>
  16. 16. And what about further text- based functions? • Active regions • Chapter markers / Cue points -> Hyperlinks
  17. 17. What is the best language for text and hyperlinks on the Web?
  18. 18. W3C Timed Text? • DFXP: Distribution Format Exchange Profile <tt xml:lang=quot;quot; xmlns=quot;http://www.w3.org/2006/10/ttaf1quot;> <head> <metadata/> <styling/> <layout/> </head> <body region=quot;subtitleAreaquot;> <div> <p xml:id=quot;subtitle1quot; begin=quot;0.76squot; end=quot;3.45squot;>It seems a paradox, does it not,</p> <p xml:id=quot;subtitle2quot; begin=quot;5.0squot; end=quot;10.0squot;>that the image formed on<br/>the Retina should be inverted?</p> </tt>
  19. 19. Why not just use HTML? • CSS for styling • Javascript for effects • Proposal: TDHT - Timed Divs HTML Body only has sequence of DIV tags with start and end attributes http://wiki.xiph.org/index.php/Timed_Divs _HTML
  20. 20. Next Steps • Build a collection of example files • Implement SRT support – Out-of-band – In-line • Implement TDHT support • Detailed Specification • Non-text codecs • Content selection / adaptation • Standardisation

×