Temporarily using jwplayer playlist format, but we'll have to switch to using our own format soon.
<rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/trac/" xmlns:media="http://search.yahoo.com/mrss/"> <channel> <title>RTMP Playlist</title> <item> <title>Big Buck Bunny Trailer</title> <description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation.</description> <media:content url="d8c96ff8-cac9-4715-9aee-d244166d4ec1/ed070222-fbc2-4b41-8588-efcd785eb33c/Cheerios1960_512kb.flv" /> <media:thumbnail url="http://localhost:3000/images/hydra/search-button.png" /> <jwplayer:provider>rtmp</jwplayer:provider> <jwplayer:streamer>rtmp://pawpaw.dlib.indiana.edu/matterhorn-engage/</jwplayer:streamer> <jwplayer:start>20</jwplayer:start> <jwplayer:duration>25</jwplayer:duration> </item> <item> <title>Sintel</title> <media:content url="cf117fdc-9e1c-4b8d-9b58-dcca4bec4ca9/5073f408-5279-4b87-96f6-712ab2d7e9fe/FelixGoldenGoose_qtp.flv" /> <media:thumbnail url="http://localhost:3000/images/hydra/search-button.png" /> <description>Sintel follows a girl who is searching for a baby dragon she calls Scales.</description> <jwplayer:provider>rtmp</jwplayer:provider> <jwplayer:streamer>rtmp://pawpaw.dlib.indiana.edu/matterhorn-engage/</jwplayer:streamer> <jwplayer:start>30</jwplayer:start> <jwplayer:duration>50</jwplayer:duration> </item> </channel> </rss>
This playlist could be used to create a mashup containing multiple videos played back to back seamlessly.
Here we can specify the start and end time of each video (only for RTMP streaming)
<jwplayer:start>20</jwplayer:start> <jwplayer:duration>25</jwplayer:duration>
"duration" actually means "end" here