boxee overview for hackers spring 2010

24
BOXEE OVERVIEW www.boxee.tv For Hackers Spring 2010

Upload: hilary-hudson

Post on 12-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEEOVERVIEW

www.boxee.tv

For Hackers

Spring 2010

Page 2: BOXEE OVERVIEW  For Hackers Spring 2010

HI

Page 3: BOXEE OVERVIEW  For Hackers Spring 2010
Page 4: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: introduction

• Open Source / Open Platform• Social• Media Center

Page 5: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: charmingly simple

Page 6: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: tons o’ media

• Container formats: AVI, MPEG, WMV, ASF, FLV, MKV, MOV, MP4, M4A, AAC, NUT, Ogg, OGM, RealMedia RAM/RM/RV/RA/RMVB, 3gp, VIVO, PVA, NUV, NSV, NSA, FLI, FLC, and DVR-MS (beta support)

• Video codecs: MPEG-1, MPEG-2, MPEG-4 (SP and ASP, including DivX, XviD, 3ivx, DV, H.263), MPEG-4 AVC (H.264, including Nero Digital), HuffYUV, Indeo, MJPEG, RealVideo, QuickTime, Sorenson, WMV, Cinepak

• Audio codecs: AIFF, WAV/WAVE, MP2, MP3, AAC, AACplus, AC3, DTS, ALAC, AMR, FLAC, Monkey's Audio (APE), RealAudio, SHN, WavPack, MPC/Musepack/Mpeg+, Speex, Ogg Vorbis and WMA.

• Digital picture/image formats: BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX and Targa/TGA

• Subtitle formats: AQTitle, ASS/SSA, CC, JACOsub, MicroDVD, MPsub, OGM, PJS, RT, SMI, SRT, SUB, VOBsub, VPlayer

Page 7: BOXEE OVERVIEW  For Hackers Spring 2010

what does Boxee run on?

• Windows• Mac• Linux• AppleTV• Boxee Box

Page 8: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: totally social

Page 9: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: open source / open platform

• Open Source: Boxee originally a fork of XBMC

• Open Platform: Any one can develop and publish apps

Page 10: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: open source / open platform

• Open Source: Boxee originally a fork of XBMC

• Open Platform: Any one can develop and publish apps

Page 11: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: developing

•GUI: XML defined

•API: Python

Page 12: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: GUI

<?xml version="1.0"?> <window type="window" id="14000"> <defaultcontrol always="true">100</defaultcontrol>

<allowoverlay>no</allowoverlay> <controls>

<control type="group"> <control type="image">

<posx>0</posx> <posy>0</posy> <width>1280</width> <height>720</height> <texture>lolcat.png</texture>

</control> </control>

</controls> </window>

Page 13: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: OMG controls!

•Buttons•Input•Labels / Images•Toggle / Radio• Scrollbar• List Containers• Visualization / Video

Page 14: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: logic events

•onload•onunload•onfocus•onclick• directional (up up, down down, etc.)

Page 15: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: example!

<control type="button" id="1000"> <width>88</width> <height>39</height> <label>Example! LOL</label> <align>center</align> <textcolor>ffffffff</textcolor>

<texturefocus>menuitem_on.png</texturefocus> <texturenofocus>-</texturenofocus> <onclick lang="python"> <![CDATA[

mc.ShowDialogNotification('You pressed a button!') ]]> </onclick> </control>

Page 16: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: API

• Python• Executed through events• import ftw!

• Super simple

Page 17: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: Classes

• App• Window• Controls (e.g. button / image / edit)• Playlist• Player

Page 18: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: player object

• Play (local and Internet, files and Flash)• Playlists (audio and video)• VCR controls (ff, next, back, etc)• Scrubber• Checks (IsPlaying, IsPaused, etc)

Page 19: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: another example!

<onclick lang="python"><![CDATA[if mc.GetPlayer().IsPlaying():

mc.GetPlayer().Stop()

items = mc.GetActiveWindow().GetList(120).GetItems()n = mc.GetActiveWindow().GetList(120).GetFocusedItem()item = items[n]

mc.GetPlayer().Play( item )]]></onclick>

Page 20: BOXEE OVERVIEW  For Hackers Spring 2010

Now on a Box near you

HTML5

Page 21: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: resources

http://developer.boxee.tv

Page 22: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: prize

Page 23: BOXEE OVERVIEW  For Hackers Spring 2010

BOXEE: join the crew

Page 24: BOXEE OVERVIEW  For Hackers Spring 2010

THANK YOU