SlideShare a Scribd company logo
1 of 56
MULTIPLE STILL GENERATION IN MEDIAMOSA Peter Forgacs, Madcap English presentation
Introduction Who am I? Software developer at Madcap A developer of MediaMosa Hobby: Internet, Music, Game development
Introduction: MediaMosa Connection between assets and videos.
Introduction: MediaMosa Asset is a container. Asset
Introduction: MediaMosa Asset may have title, description etc. Asset Title Description DC, QDC fields
Introduction: MediaMosa Asset may have mediafiles. Asset Title Description Mediafile
Introduction: MediaMosa A mediafile may have a video. Asset Title Description Mediafile: Video (codec, filesize)
Introduction: MediaMosa We can transcode a mediafile to an other format. Asset Title Description Mediafile: Video (Original) Mediafile: Video (Transcoded)
Introduction: MediaMosa We can create an another mediafile (with video). Asset Title Description Mediafile: Video (Original) Mediafile: Video (Transcoded) Mediafile: Video (Original)
Introduction: MediaMosa Every mediafile may have still images. Asset Title Description Mediafile: Video (Original) Mediafile: Video (Transcoded) Mediafile: Video (Original)
Introduction: MediaMosa The asset has a default still (if there is any). Asset Title Description Mediafile: Video (Original) Mediafile: Video (Transcoded) Mediafile: Video (Original)
Introduction: MediaMosa A video sites has assets with default stills. Asset  Title Desc. Asset  Title Desc. Asset  Title Desc. Asset  Title Desc.
Introduction: MediaMosa A video page has an asset with video(s) and still(s). Asset Title Description
Main points Generate still Generate multiple stills Upload still Working with multiple stills
Introduction WLE WLE (White Label Ega) is a client side application for testing. We will use this software in this presentation.
A word without still images
A video without still images
People without faces The still images are the face of the videos.
Still type NONE
Still type NONE
REST interface, REST calls The REST interface is a communication channel between the client application and the MediaMosa. A REST call request can be GET or POST (PUT). - GET is for getting data from MediaMosa. - POST (PUT) is for changing data (eg. file upload). The response is an XML about the status and the data.
WLE REST interface
MediaMosa.org API page REST call: Parameters, Response fields, Examples http://mediamosa.org/api
MediaMosa.org API page REST call: Parameters, Response fields, Examples http://mediamosa.org/api
Still type NONE REST call mediafile/$mediafile_id/still/create POST: still_type=NONE (This is the default value)
Black still? Is it possible?
Black still? Is it possible? No, it isn't.
Black still? MediaMosa try to avoid unicolor (black, white, pink ...) images.
Black still - NO!
Multiple stills One still good, multiple stills are better. Types - Normal (creating N stills from a video) - Second (creating stills in every N second) - Scene (creating stills, when the video has a scene change)
Still type NORMAL mediamosa/$mediafile_id/still/create [POST] still_type=NORMAL&still_per_mediafile=3
Black still check?
Black still check? Just for still type NONE.
Still type SECOND mediamosa/$mediafile_id/still/create still_type=SECOND&still_every_second=5
Padding Still default size, padding (YES, NO). still_type=NONE&h_padding=0&v_padding=15&size=352x288
Scene stills Create stills on the video scene changes. Requirements: - Patch ffmpeg (NORMAL, SCENE too) - lav2yuv: * Part of MJPEG Tools * apt-get install mjpegtools * MediaMosa status page
Still type SCENE mediamosa/$mediafile_id/still/create still_type=SCENE
I, robot It is not easy to decide what is a scene change. The computer is not human. Is it a perfect tool? No, it doesn't. Accuracy ~70%. With our fixes ~80%. It is useful, if we know the advantages and disadvantages of scene stills.
Still type SCENE result
Uploading still images asset/$asset_id/still/upload mediafile_id=$mediafile_id
Uploading still result
Working with multiple stills Ordering Make default Delete
Ordering stills asset/$asset_id/still/order mediafile_id=$mediafile_id &still_id=$still_id &order=-3
Ordering stills
Make still as default asset/$asset_id/still/default mediafile_id=$mediafile_id &still_id=$still_id
Make still as default
Delete still Deleting from asset, from mediafile, or delete a unique still asset/$asset_id/still/delete POST: <nothing> or mediafile_id or still_id
Delete still
FFmpeg tricks Creating multiple stills without using MediaMosa (and without patching ffmpeg). For extracting images from a video: ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-%03d.jpeg This will extract one video frame per second from the video and will output them in files named foo-001.jpeg, foo-002.jpeg, etc. Images will be rescaled to fit the new WxH values.
Summary Generate still Generate multiple stills * Normal * Second * Scene Upload still Working with multiple stills * Order * Set default * Delete
Videos with stills
Videos with stills
 
 
 
Questions? Thank you! Peter Forgacs [email_address]

More Related Content

Similar to Madcap mediamosa still_generation

A R T D M171 Week14 Multimedia
A R T D M171  Week14  MultimediaA R T D M171  Week14  Multimedia
A R T D M171 Week14 MultimediaGilbert Guerrero
 
Creating Flash Content for Multiple Screens
Creating Flash Content for Multiple ScreensCreating Flash Content for Multiple Screens
Creating Flash Content for Multiple Screenspaultrani
 
Make your PWA feel more like an app
Make your PWA feel more like an appMake your PWA feel more like an app
Make your PWA feel more like an appÖnder Ceylan
 
Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.Joseph Labrecque
 
Standardize Your Flash with Adobe OSMF (0.9)
Standardize Your Flash with Adobe OSMF (0.9)Standardize Your Flash with Adobe OSMF (0.9)
Standardize Your Flash with Adobe OSMF (0.9)rblank9
 
Introduction to directshow II
Introduction to directshow IIIntroduction to directshow II
Introduction to directshow IIYoss Cohen
 
yapi.js introduction (mopcon 2016 version)
yapi.js introduction (mopcon 2016 version)yapi.js introduction (mopcon 2016 version)
yapi.js introduction (mopcon 2016 version)Jesse (Chien Chen) Chen
 
'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020
'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020
'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020OdessaJS Conf
 
Tools for A Preservation Ready Web
Tools for A Preservation Ready WebTools for A Preservation Ready Web
Tools for A Preservation Ready WebMichael Nelson
 
2012 04-19 theory-of_operation
2012 04-19 theory-of_operation2012 04-19 theory-of_operation
2012 04-19 theory-of_operationbobwolff68
 
Pose Extraction for Real-Time Workout Assistant: Milestone 3
Pose Extraction for Real-Time Workout Assistant: Milestone 3Pose Extraction for Real-Time Workout Assistant: Milestone 3
Pose Extraction for Real-Time Workout Assistant: Milestone 3Zachary Christmas
 
MediaMosa + blackboard + android
MediaMosa  + blackboard + androidMediaMosa  + blackboard + android
MediaMosa + blackboard + androidMediaMosa
 
What's new in android 2018 (dev fest)
What's new in android 2018 (dev fest)What's new in android 2018 (dev fest)
What's new in android 2018 (dev fest)Shady Selim
 
Getting Started with Adobe AIR 1.5
Getting Started with Adobe AIR 1.5Getting Started with Adobe AIR 1.5
Getting Started with Adobe AIR 1.5Elad Elrom
 

Similar to Madcap mediamosa still_generation (20)

Software and its types
Software and its typesSoftware and its types
Software and its types
 
Demystifying Maven
Demystifying MavenDemystifying Maven
Demystifying Maven
 
A R T D M171 Week14 Multimedia
A R T D M171  Week14  MultimediaA R T D M171  Week14  Multimedia
A R T D M171 Week14 Multimedia
 
Creating Flash Content for Multiple Screens
Creating Flash Content for Multiple ScreensCreating Flash Content for Multiple Screens
Creating Flash Content for Multiple Screens
 
Adobe MAX Recap
Adobe MAX RecapAdobe MAX Recap
Adobe MAX Recap
 
Make your PWA feel more like an app
Make your PWA feel more like an appMake your PWA feel more like an app
Make your PWA feel more like an app
 
OneTeam Media Server
OneTeam Media ServerOneTeam Media Server
OneTeam Media Server
 
Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.
 
Mashup Y! widget
Mashup Y! widgetMashup Y! widget
Mashup Y! widget
 
Standardize Your Flash with Adobe OSMF (0.9)
Standardize Your Flash with Adobe OSMF (0.9)Standardize Your Flash with Adobe OSMF (0.9)
Standardize Your Flash with Adobe OSMF (0.9)
 
Lecture 22
Lecture 22Lecture 22
Lecture 22
 
Introduction to directshow II
Introduction to directshow IIIntroduction to directshow II
Introduction to directshow II
 
yapi.js introduction (mopcon 2016 version)
yapi.js introduction (mopcon 2016 version)yapi.js introduction (mopcon 2016 version)
yapi.js introduction (mopcon 2016 version)
 
'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020
'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020
'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020
 
Tools for A Preservation Ready Web
Tools for A Preservation Ready WebTools for A Preservation Ready Web
Tools for A Preservation Ready Web
 
2012 04-19 theory-of_operation
2012 04-19 theory-of_operation2012 04-19 theory-of_operation
2012 04-19 theory-of_operation
 
Pose Extraction for Real-Time Workout Assistant: Milestone 3
Pose Extraction for Real-Time Workout Assistant: Milestone 3Pose Extraction for Real-Time Workout Assistant: Milestone 3
Pose Extraction for Real-Time Workout Assistant: Milestone 3
 
MediaMosa + blackboard + android
MediaMosa  + blackboard + androidMediaMosa  + blackboard + android
MediaMosa + blackboard + android
 
What's new in android 2018 (dev fest)
What's new in android 2018 (dev fest)What's new in android 2018 (dev fest)
What's new in android 2018 (dev fest)
 
Getting Started with Adobe AIR 1.5
Getting Started with Adobe AIR 1.5Getting Started with Adobe AIR 1.5
Getting Started with Adobe AIR 1.5
 

More from MediaMosa

Drupalcafe meets MediaMosa - 17 october 2013, Utrecht
Drupalcafe meets MediaMosa  - 17 october 2013, UtrechtDrupalcafe meets MediaMosa  - 17 october 2013, Utrecht
Drupalcafe meets MediaMosa - 17 october 2013, UtrechtMediaMosa
 
To be continued... Completing the lifecycle of innovation - TNC2013, 5 june 2013
To be continued... Completing the lifecycle of innovation - TNC2013, 5 june 2013To be continued... Completing the lifecycle of innovation - TNC2013, 5 june 2013
To be continued... Completing the lifecycle of innovation - TNC2013, 5 june 2013MediaMosa
 
MediaMosa Foundation - Webstroom 15 april 2013
MediaMosa Foundation - Webstroom  15 april 2013MediaMosa Foundation - Webstroom  15 april 2013
MediaMosa Foundation - Webstroom 15 april 2013MediaMosa
 
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012 - Pitch prese...
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012 - Pitch prese...MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012 - Pitch prese...
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012 - Pitch prese...MediaMosa
 
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012MediaMosa
 
Inuits en RUG - MediaSalsa - Video Vendor Event 19 juni 2012 - Short
Inuits en RUG - MediaSalsa - Video Vendor Event 19 juni 2012 - ShortInuits en RUG - MediaSalsa - Video Vendor Event 19 juni 2012 - Short
Inuits en RUG - MediaSalsa - Video Vendor Event 19 juni 2012 - ShortMediaMosa
 
A new approach for adding metadata to online Media - TNC2012
A new approach for adding metadata to online Media - TNC2012A new approach for adding metadata to online Media - TNC2012
A new approach for adding metadata to online Media - TNC2012MediaMosa
 
Videoservices via SURFconext - 29 maart 2012
Videoservices via SURFconext  - 29 maart 2012Videoservices via SURFconext  - 29 maart 2012
Videoservices via SURFconext - 29 maart 2012MediaMosa
 
MediaMosa – BasicLTI Provider - Community day - 8 december 2011
MediaMosa – BasicLTI Provider - Community day - 8 december 2011MediaMosa – BasicLTI Provider - Community day - 8 december 2011
MediaMosa – BasicLTI Provider - Community day - 8 december 2011MediaMosa
 
MediaMosa 3.x Release 
& Transcripting Project - Community day - 8 december ...
MediaMosa 3.x Release 
& Transcripting Project  - Community day - 8 december ...MediaMosa 3.x Release 
& Transcripting Project  - Community day - 8 december ...
MediaMosa 3.x Release 
& Transcripting Project - Community day - 8 december ...MediaMosa
 
MediaMosa Future - Community day 8 december 2011
MediaMosa Future - Community day 8 december 2011MediaMosa Future - Community day 8 december 2011
MediaMosa Future - Community day 8 december 2011MediaMosa
 
Rich Media Extra - MediaMosa Ingestor
Rich Media Extra - MediaMosa IngestorRich Media Extra - MediaMosa Ingestor
Rich Media Extra - MediaMosa IngestorMediaMosa
 
WCAG compliancy for MediaMosa
WCAG compliancy for MediaMosaWCAG compliancy for MediaMosa
WCAG compliancy for MediaMosaMediaMosa
 
Using OpenSource LCMS Chamilo 2.0 with MediaMosa
Using OpenSource LCMS Chamilo 2.0 with MediaMosaUsing OpenSource LCMS Chamilo 2.0 with MediaMosa
Using OpenSource LCMS Chamilo 2.0 with MediaMosaMediaMosa
 
Media & Learning Brussels 24 November 2011
Media & Learning Brussels 24 November 2011Media & Learning Brussels 24 November 2011
Media & Learning Brussels 24 November 2011MediaMosa
 
MediaMosa Player v2_0 - OPEN SOURCE HTML5 WEBLECTURES PLAYER
MediaMosa Player v2_0 - OPEN SOURCE HTML5 WEBLECTURES PLAYERMediaMosa Player v2_0 - OPEN SOURCE HTML5 WEBLECTURES PLAYER
MediaMosa Player v2_0 - OPEN SOURCE HTML5 WEBLECTURES PLAYERMediaMosa
 
Seminar 20111122 - MediaMosa projects
Seminar 20111122 - MediaMosa projectsSeminar 20111122 - MediaMosa projects
Seminar 20111122 - MediaMosa projectsMediaMosa
 
Norwegian studietur MediaMosa 22 november 2011
Norwegian studietur MediaMosa   22 november 2011Norwegian studietur MediaMosa   22 november 2011
Norwegian studietur MediaMosa 22 november 2011MediaMosa
 
Rondetafel bijeenkomst MediaMosa -17 november 2011
Rondetafel bijeenkomst MediaMosa -17 november 2011Rondetafel bijeenkomst MediaMosa -17 november 2011
Rondetafel bijeenkomst MediaMosa -17 november 2011MediaMosa
 
SURFacademy Webinar2011 - Maak kennis met MediaMosa - 11 november 2011
SURFacademy Webinar2011 - Maak kennis met MediaMosa - 11 november 2011SURFacademy Webinar2011 - Maak kennis met MediaMosa - 11 november 2011
SURFacademy Webinar2011 - Maak kennis met MediaMosa - 11 november 2011MediaMosa
 

More from MediaMosa (20)

Drupalcafe meets MediaMosa - 17 october 2013, Utrecht
Drupalcafe meets MediaMosa  - 17 october 2013, UtrechtDrupalcafe meets MediaMosa  - 17 october 2013, Utrecht
Drupalcafe meets MediaMosa - 17 october 2013, Utrecht
 
To be continued... Completing the lifecycle of innovation - TNC2013, 5 june 2013
To be continued... Completing the lifecycle of innovation - TNC2013, 5 june 2013To be continued... Completing the lifecycle of innovation - TNC2013, 5 june 2013
To be continued... Completing the lifecycle of innovation - TNC2013, 5 june 2013
 
MediaMosa Foundation - Webstroom 15 april 2013
MediaMosa Foundation - Webstroom  15 april 2013MediaMosa Foundation - Webstroom  15 april 2013
MediaMosa Foundation - Webstroom 15 april 2013
 
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012 - Pitch prese...
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012 - Pitch prese...MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012 - Pitch prese...
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012 - Pitch prese...
 
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012
MediaSalsa - Inuits and RUG - Video Vendor Event - 19 juni 2012
 
Inuits en RUG - MediaSalsa - Video Vendor Event 19 juni 2012 - Short
Inuits en RUG - MediaSalsa - Video Vendor Event 19 juni 2012 - ShortInuits en RUG - MediaSalsa - Video Vendor Event 19 juni 2012 - Short
Inuits en RUG - MediaSalsa - Video Vendor Event 19 juni 2012 - Short
 
A new approach for adding metadata to online Media - TNC2012
A new approach for adding metadata to online Media - TNC2012A new approach for adding metadata to online Media - TNC2012
A new approach for adding metadata to online Media - TNC2012
 
Videoservices via SURFconext - 29 maart 2012
Videoservices via SURFconext  - 29 maart 2012Videoservices via SURFconext  - 29 maart 2012
Videoservices via SURFconext - 29 maart 2012
 
MediaMosa – BasicLTI Provider - Community day - 8 december 2011
MediaMosa – BasicLTI Provider - Community day - 8 december 2011MediaMosa – BasicLTI Provider - Community day - 8 december 2011
MediaMosa – BasicLTI Provider - Community day - 8 december 2011
 
MediaMosa 3.x Release 
& Transcripting Project - Community day - 8 december ...
MediaMosa 3.x Release 
& Transcripting Project  - Community day - 8 december ...MediaMosa 3.x Release 
& Transcripting Project  - Community day - 8 december ...
MediaMosa 3.x Release 
& Transcripting Project - Community day - 8 december ...
 
MediaMosa Future - Community day 8 december 2011
MediaMosa Future - Community day 8 december 2011MediaMosa Future - Community day 8 december 2011
MediaMosa Future - Community day 8 december 2011
 
Rich Media Extra - MediaMosa Ingestor
Rich Media Extra - MediaMosa IngestorRich Media Extra - MediaMosa Ingestor
Rich Media Extra - MediaMosa Ingestor
 
WCAG compliancy for MediaMosa
WCAG compliancy for MediaMosaWCAG compliancy for MediaMosa
WCAG compliancy for MediaMosa
 
Using OpenSource LCMS Chamilo 2.0 with MediaMosa
Using OpenSource LCMS Chamilo 2.0 with MediaMosaUsing OpenSource LCMS Chamilo 2.0 with MediaMosa
Using OpenSource LCMS Chamilo 2.0 with MediaMosa
 
Media & Learning Brussels 24 November 2011
Media & Learning Brussels 24 November 2011Media & Learning Brussels 24 November 2011
Media & Learning Brussels 24 November 2011
 
MediaMosa Player v2_0 - OPEN SOURCE HTML5 WEBLECTURES PLAYER
MediaMosa Player v2_0 - OPEN SOURCE HTML5 WEBLECTURES PLAYERMediaMosa Player v2_0 - OPEN SOURCE HTML5 WEBLECTURES PLAYER
MediaMosa Player v2_0 - OPEN SOURCE HTML5 WEBLECTURES PLAYER
 
Seminar 20111122 - MediaMosa projects
Seminar 20111122 - MediaMosa projectsSeminar 20111122 - MediaMosa projects
Seminar 20111122 - MediaMosa projects
 
Norwegian studietur MediaMosa 22 november 2011
Norwegian studietur MediaMosa   22 november 2011Norwegian studietur MediaMosa   22 november 2011
Norwegian studietur MediaMosa 22 november 2011
 
Rondetafel bijeenkomst MediaMosa -17 november 2011
Rondetafel bijeenkomst MediaMosa -17 november 2011Rondetafel bijeenkomst MediaMosa -17 november 2011
Rondetafel bijeenkomst MediaMosa -17 november 2011
 
SURFacademy Webinar2011 - Maak kennis met MediaMosa - 11 november 2011
SURFacademy Webinar2011 - Maak kennis met MediaMosa - 11 november 2011SURFacademy Webinar2011 - Maak kennis met MediaMosa - 11 november 2011
SURFacademy Webinar2011 - Maak kennis met MediaMosa - 11 november 2011
 

Madcap mediamosa still_generation

Editor's Notes

  1. 09/06/10 09/06/10
  2. 09/06/10 09/06/10
  3. 09/06/10 09/06/10
  4. 09/06/10 09/06/10
  5. 09/06/10 09/06/10
  6. 09/06/10 09/06/10
  7. 09/06/10 09/06/10
  8. 09/06/10 09/06/10
  9. 09/06/10 09/06/10
  10. 09/06/10 09/06/10
  11. 09/06/10 09/06/10
  12. 09/06/10 09/06/10
  13. 09/06/10 09/06/10
  14. 09/06/10 09/06/10
  15. 09/06/10 09/06/10
  16. 09/06/10 09/06/10
  17. 09/06/10 09/06/10
  18. 09/06/10 09/06/10
  19. 09/06/10 09/06/10
  20. 09/06/10 09/06/10
  21. 09/06/10 09/06/10
  22. 09/06/10 09/06/10
  23. 09/06/10 09/06/10
  24. 09/06/10 09/06/10
  25. 09/06/10 09/06/10
  26. 09/06/10 09/06/10
  27. 09/06/10 09/06/10
  28. 09/06/10 09/06/10
  29. 09/06/10 09/06/10
  30. 09/06/10 09/06/10
  31. 09/06/10 09/06/10
  32. 09/06/10 09/06/10
  33. 09/06/10 09/06/10
  34. 09/06/10 09/06/10
  35. 09/06/10 09/06/10
  36. 09/06/10 09/06/10
  37. 09/06/10 09/06/10
  38. 09/06/10 09/06/10
  39. 09/06/10 09/06/10
  40. 09/06/10 09/06/10
  41. 09/06/10 09/06/10
  42. 09/06/10 09/06/10
  43. 09/06/10 09/06/10
  44. 09/06/10 09/06/10
  45. 09/06/10 09/06/10
  46. 09/06/10 09/06/10
  47. 09/06/10 09/06/10
  48. 09/06/10 09/06/10
  49. 09/06/10 09/06/10
  50. 09/06/10 09/06/10
  51. 09/06/10 09/06/10
  52. 09/06/10 09/06/10
  53. 09/06/10 09/06/10
  54. 09/06/10 09/06/10
  55. 09/06/10 09/06/10
  56. 09/06/10 09/06/10