SlideShare a Scribd company logo
1 of 15
||
Stephen Marquard, University of Cape Town
@stephenmarquard
stephen.marquard@uct.ac.za
15/02/2018 1
Smart Workflows
||
 Recording locations
 Lecture theatres, Studio, Clinical setting
 Galicaster
 Presentation selection
 LectureSight metrics (https://www.slideshare.net/smarquard/lecturesight-is-awesome-and-getting-better)
 Who is the presenter?
 Opencast
 Track4K (https://www.slideshare.net/smarquard/track4k-in-production-at-the-university-of-cape-town)
 Timetabling
 Audio analysis
15/02/2018 2
Overview
||
 Which projector(s) is/are being used?
 0, 1 or 2
 If 2 projectors are being used, are they
projecting the same thing?
15/02/2018 3
Dual-projector venues
|| 15/02/2018 4
Presenter with 2 presentation streams
||
 Bitrate
 < 15 kbps is a black screen (maybe with a ”no signal” message): drop
 > 48.5 kbps is probably a presentation: keep
 > 15 kbps but < 48.5 kbps? Not sure…
 ffprobe blackdetect filter
 first scale video to 160px wide at 1fps
 Use filter to “detect video intervals that are (almost) completely black”
 Calculate percentage of video that is empty
 Drop the track if it’s > 90% empty
https://bitbucket.org/cilt/matterhorn_ansible/raw/master/templates/checkpresentations.py
https://bitbucket.org/cilt/matterhorn_ansible/raw/master/templates/videomatch.pl
15/02/2018 5
How can we tell if a presentation stream is “empty”?
||
 Bitrate
 Bitrates differ by < 1% : assume they are the same: drop one
 Bitrates differ by > 10% : assume they are different: keep both
 Bitrates differ by > 1% but < 10%? Not sure…
 ffmpeg signature filter
 Downscale both videos to 256px wide at 1fps
 Check to see if videos are binary-identical (md5 sum)
 If different, use the ffmpeg signature filter to establish a similarity percentage
 Drop one of the presentation streams if > 90% similar
ffmpeg -i video1.mp4 -i video2.mp4 -filter_complex "[0:v][1:v] signature=nb_inputs=2:detectmode=full" -map :v -f null -
https://trac.ffmpeg.org/ticket/6354 Sometimes ffmpeg will segfault with this filter
15/02/2018 6
How can we tell if two videos are “the same”?
||
Mostly self-service recording studio
 Set default username from venue booking calendar
(Office365 calendar)
 Type in username and metadata (on keyboard)
 RFID scanner (access card)
Clinical skills setting for Health Sciences
student assessments and instructional videos
 Touch screen: type in student ID (validated)
 Hold up student ID card to camera (OCR)
 RFID scanner
Auto-create a personal series for the user (download / edit)
15/02/2018 7
Galicaster: who is the presenter?
||
https://www.uct.ac.za/sites/default/files/image_tool/images/328/about/policies/Lecture_Recording_Policy_2017.pdf
15/02/2018 8
Timetabling
|| 15/02/2018 9
|| 15/02/2018 10
|| 15/02/2018 11
Create an appropriate comment
||
Goal: process recordings straight-through without human intervention, if:
• The recording is a timetabled course event
• Duration < 1 hour
• High confidence about trimming positions (“reasonable” start/end)
Existing Opencast silence detection workflow is not helpful for us, because all
venues have fall-back boundary microphones with DSPs for automatic fallback. So
there’s always an audio signal.
15/02/2018 12
Audio analysis
||
 Description in MH-11767 (initially Voice Activity Detection)
 Devan Govender trained an audio classifier (https://github.com/tyiannak/pyAudioAnalysis)
with speech and silence/noise from a set of existing UCT recordings
 With the model, the classifier distinguishes between lecturer speech and non-
speech
 So we can identify appropriate start and end trim points, and decide on a
confidence level for automatic trimming or manual trimming
15/02/2018 13
Distinguishing between speech and noise
|| 15/02/2018 14
||
Results of the audio analysis are placed into workflow properties:
audio_trim_duration=7200182
audio_trim_segments=0;3522000;3593000;4508000;4743000;5171000;5247000;5258000
audio_trim_segments_no=623
audio_trim_segments_speech_no=311
audio_trim_segments_speech_ms=2862000
audio_trim_segments_notspeech_no=312
audio_trim_segments_notspeech_ms=4338000
audio_trim_exec_time=110.916
The second workflow operation will create a SMIL file for editing or automatic
processing (skip editing but process with SMIL as if edited)
15/02/2018 15
Workflow operation results

More Related Content

Similar to Smart workflows for Opencast

showkat ali Process AE LITHO-SING (1) (3)
showkat ali Process AE LITHO-SING (1) (3)showkat ali Process AE LITHO-SING (1) (3)
showkat ali Process AE LITHO-SING (1) (3)mohammad showkat ali
 
Apache Beam (incubating)
Apache Beam (incubating)Apache Beam (incubating)
Apache Beam (incubating)Apache Apex
 
IRJET - Automated Fraud Detection Framework in Examination Halls
 IRJET - Automated Fraud Detection Framework in Examination Halls IRJET - Automated Fraud Detection Framework in Examination Halls
IRJET - Automated Fraud Detection Framework in Examination HallsIRJET Journal
 
Certified Penetration Testing Consultant (CPTC) - St. Pauls College
Certified Penetration Testing Consultant (CPTC) - St. Pauls CollegeCertified Penetration Testing Consultant (CPTC) - St. Pauls College
Certified Penetration Testing Consultant (CPTC) - St. Pauls CollegeSt. Pauls College
 
Big Data Expo 2015 - Anchormen Distributed video analysis
Big Data Expo 2015 - Anchormen Distributed video analysisBig Data Expo 2015 - Anchormen Distributed video analysis
Big Data Expo 2015 - Anchormen Distributed video analysisBigDataExpo
 
WebRTC Testing: State of the Art
WebRTC Testing: State of the ArtWebRTC Testing: State of the Art
WebRTC Testing: State of the ArtBoni García
 
Personal Research Overview presented at the KU-NAIST Research Meeting
Personal Research Overview presented at the KU-NAIST Research MeetingPersonal Research Overview presented at the KU-NAIST Research Meeting
Personal Research Overview presented at the KU-NAIST Research MeetingChawanat Nakasan
 
Procedure of Proactively Designing Products by Design for Manufacturability (...
Procedure of Proactively Designing Products by Design for Manufacturability (...Procedure of Proactively Designing Products by Design for Manufacturability (...
Procedure of Proactively Designing Products by Design for Manufacturability (...VayoInfo
 
Making Use of a Knowledgeable Design by Design for Manufacturing
Making Use of a Knowledgeable Design by Design for ManufacturingMaking Use of a Knowledgeable Design by Design for Manufacturing
Making Use of a Knowledgeable Design by Design for ManufacturingVayoInfo
 
Pivotal - Advanced Analytics for Telecommunications
Pivotal - Advanced Analytics for Telecommunications Pivotal - Advanced Analytics for Telecommunications
Pivotal - Advanced Analytics for Telecommunications Hortonworks
 
Drive Faster Quality Insights through Customized Test Automation
Drive Faster Quality Insights through Customized Test AutomationDrive Faster Quality Insights through Customized Test Automation
Drive Faster Quality Insights through Customized Test AutomationPerfecto by Perforce
 
Observability for Application Developers (1)-1.pptx
Observability for Application Developers (1)-1.pptxObservability for Application Developers (1)-1.pptx
Observability for Application Developers (1)-1.pptxOpsTree solutions
 
Lecture Capture at the University of Nottingham
Lecture Capture at the University of NottinghamLecture Capture at the University of Nottingham
Lecture Capture at the University of NottinghamMELSIG
 
台積電徵才
台積電徵才台積電徵才
台積電徵才Uiuc Tsa
 
Practicing Agile in Offshore Environment by Himanshu Seth & Imran Mir
Practicing Agile in Offshore Environment by Himanshu Seth & Imran MirPracticing Agile in Offshore Environment by Himanshu Seth & Imran Mir
Practicing Agile in Offshore Environment by Himanshu Seth & Imran MirXebia IT Architects
 
How to apply machine learning into your CI/CD pipeline
How to apply machine learning into your CI/CD pipelineHow to apply machine learning into your CI/CD pipeline
How to apply machine learning into your CI/CD pipelineAlon Weiss
 

Similar to Smart workflows for Opencast (20)

showkat ali Process AE LITHO-SING (1) (3)
showkat ali Process AE LITHO-SING (1) (3)showkat ali Process AE LITHO-SING (1) (3)
showkat ali Process AE LITHO-SING (1) (3)
 
Apache Beam (incubating)
Apache Beam (incubating)Apache Beam (incubating)
Apache Beam (incubating)
 
IRJET - Automated Fraud Detection Framework in Examination Halls
 IRJET - Automated Fraud Detection Framework in Examination Halls IRJET - Automated Fraud Detection Framework in Examination Halls
IRJET - Automated Fraud Detection Framework in Examination Halls
 
Certified Penetration Testing Consultant (CPTC) - St. Pauls College
Certified Penetration Testing Consultant (CPTC) - St. Pauls CollegeCertified Penetration Testing Consultant (CPTC) - St. Pauls College
Certified Penetration Testing Consultant (CPTC) - St. Pauls College
 
Big Data Expo 2015 - Anchormen Distributed video analysis
Big Data Expo 2015 - Anchormen Distributed video analysisBig Data Expo 2015 - Anchormen Distributed video analysis
Big Data Expo 2015 - Anchormen Distributed video analysis
 
WebRTC Testing: State of the Art
WebRTC Testing: State of the ArtWebRTC Testing: State of the Art
WebRTC Testing: State of the Art
 
Personal Research Overview presented at the KU-NAIST Research Meeting
Personal Research Overview presented at the KU-NAIST Research MeetingPersonal Research Overview presented at the KU-NAIST Research Meeting
Personal Research Overview presented at the KU-NAIST Research Meeting
 
Gajendra_RESUME
Gajendra_RESUMEGajendra_RESUME
Gajendra_RESUME
 
Procedure of Proactively Designing Products by Design for Manufacturability (...
Procedure of Proactively Designing Products by Design for Manufacturability (...Procedure of Proactively Designing Products by Design for Manufacturability (...
Procedure of Proactively Designing Products by Design for Manufacturability (...
 
Making Use of a Knowledgeable Design by Design for Manufacturing
Making Use of a Knowledgeable Design by Design for ManufacturingMaking Use of a Knowledgeable Design by Design for Manufacturing
Making Use of a Knowledgeable Design by Design for Manufacturing
 
Pivotal - Advanced Analytics for Telecommunications
Pivotal - Advanced Analytics for Telecommunications Pivotal - Advanced Analytics for Telecommunications
Pivotal - Advanced Analytics for Telecommunications
 
SWAD Timeline 4:3
SWAD Timeline 4:3SWAD Timeline 4:3
SWAD Timeline 4:3
 
Drive Faster Quality Insights through Customized Test Automation
Drive Faster Quality Insights through Customized Test AutomationDrive Faster Quality Insights through Customized Test Automation
Drive Faster Quality Insights through Customized Test Automation
 
Observability for Application Developers (1)-1.pptx
Observability for Application Developers (1)-1.pptxObservability for Application Developers (1)-1.pptx
Observability for Application Developers (1)-1.pptx
 
Lecture Capture at the University of Nottingham
Lecture Capture at the University of NottinghamLecture Capture at the University of Nottingham
Lecture Capture at the University of Nottingham
 
Swad Timeline
Swad TimelineSwad Timeline
Swad Timeline
 
Presentation
PresentationPresentation
Presentation
 
台積電徵才
台積電徵才台積電徵才
台積電徵才
 
Practicing Agile in Offshore Environment by Himanshu Seth & Imran Mir
Practicing Agile in Offshore Environment by Himanshu Seth & Imran MirPracticing Agile in Offshore Environment by Himanshu Seth & Imran Mir
Practicing Agile in Offshore Environment by Himanshu Seth & Imran Mir
 
How to apply machine learning into your CI/CD pipeline
How to apply machine learning into your CI/CD pipelineHow to apply machine learning into your CI/CD pipeline
How to apply machine learning into your CI/CD pipeline
 

More from Stephen Marquard

The implementation of an Opt-Out Lecture Recording Policy at the University o...
The implementation of an Opt-Out Lecture Recording Policy at the University o...The implementation of an Opt-Out Lecture Recording Policy at the University o...
The implementation of an Opt-Out Lecture Recording Policy at the University o...Stephen Marquard
 
Orchestrating Self-Service Video Workflows with Opencast
Orchestrating Self-Service Video Workflows with OpencastOrchestrating Self-Service Video Workflows with Opencast
Orchestrating Self-Service Video Workflows with OpencastStephen Marquard
 
LectureSight is awesome and getting better! 
LectureSight is awesome and getting better! LectureSight is awesome and getting better! 
LectureSight is awesome and getting better! Stephen Marquard
 
Track4K in production at the University of Cape Town
Track4K in production at the University of Cape TownTrack4K in production at the University of Cape Town
Track4K in production at the University of Cape TownStephen Marquard
 
Opencast Valencia 2017: Users, groups, roles, ACLs and providers
Opencast Valencia 2017: Users, groups, roles, ACLs and providersOpencast Valencia 2017: Users, groups, roles, ACLs and providers
Opencast Valencia 2017: Users, groups, roles, ACLs and providersStephen Marquard
 
LectureSight in Action (Opencast Community Summit 2016)
LectureSight in Action (Opencast Community Summit 2016)LectureSight in Action (Opencast Community Summit 2016)
LectureSight in Action (Opencast Community Summit 2016)Stephen Marquard
 
Why do students use lecture recordings?
Why do students use lecture recordings?Why do students use lecture recordings?
Why do students use lecture recordings?Stephen Marquard
 
Introduction to Opencast Matterhorn: Apereo 2014
Introduction to Opencast Matterhorn: Apereo 2014Introduction to Opencast Matterhorn: Apereo 2014
Introduction to Opencast Matterhorn: Apereo 2014Stephen Marquard
 
Introduction to Opencast Matterhorn, Apereo Mexico Conference, May 2014
Introduction to Opencast Matterhorn, Apereo Mexico Conference, May 2014Introduction to Opencast Matterhorn, Apereo Mexico Conference, May 2014
Introduction to Opencast Matterhorn, Apereo Mexico Conference, May 2014Stephen Marquard
 
Matterhorn 2014 Unconference: Ideas for automated post-recording video handling
Matterhorn 2014 Unconference: Ideas for automated post-recording video handlingMatterhorn 2014 Unconference: Ideas for automated post-recording video handling
Matterhorn 2014 Unconference: Ideas for automated post-recording video handlingStephen Marquard
 
Opencast Matterhorn at UCT
Opencast Matterhorn at UCTOpencast Matterhorn at UCT
Opencast Matterhorn at UCTStephen Marquard
 
Open Text: Speech recognition in Opencast Matterhorn
Open Text: Speech recognition in Opencast MatterhornOpen Text: Speech recognition in Opencast Matterhorn
Open Text: Speech recognition in Opencast Matterhorn Stephen Marquard
 
Wreck a nice beach: adventures in speech recognition
Wreck a nice beach: adventures in speech recognitionWreck a nice beach: adventures in speech recognition
Wreck a nice beach: adventures in speech recognitionStephen Marquard
 
Advancing Online Assessment in Medical Education
Advancing Online Assessment in Medical EducationAdvancing Online Assessment in Medical Education
Advancing Online Assessment in Medical EducationStephen Marquard
 
SMS, Q&A and Course Evaluations in Sakai
SMS, Q&A and Course Evaluations in SakaiSMS, Q&A and Course Evaluations in Sakai
SMS, Q&A and Course Evaluations in SakaiStephen Marquard
 
SMS, Q&A, Course Evaluation tools in Sakai
SMS, Q&A, Course Evaluation tools in SakaiSMS, Q&A, Course Evaluation tools in Sakai
SMS, Q&A, Course Evaluation tools in SakaiStephen Marquard
 
Sakai E Learning Update Sep09
Sakai E Learning Update Sep09Sakai E Learning Update Sep09
Sakai E Learning Update Sep09Stephen Marquard
 

More from Stephen Marquard (18)

The implementation of an Opt-Out Lecture Recording Policy at the University o...
The implementation of an Opt-Out Lecture Recording Policy at the University o...The implementation of an Opt-Out Lecture Recording Policy at the University o...
The implementation of an Opt-Out Lecture Recording Policy at the University o...
 
Orchestrating Self-Service Video Workflows with Opencast
Orchestrating Self-Service Video Workflows with OpencastOrchestrating Self-Service Video Workflows with Opencast
Orchestrating Self-Service Video Workflows with Opencast
 
LectureSight is awesome and getting better! 
LectureSight is awesome and getting better! LectureSight is awesome and getting better! 
LectureSight is awesome and getting better! 
 
Track4K in production at the University of Cape Town
Track4K in production at the University of Cape TownTrack4K in production at the University of Cape Town
Track4K in production at the University of Cape Town
 
Opencast Valencia 2017: Users, groups, roles, ACLs and providers
Opencast Valencia 2017: Users, groups, roles, ACLs and providersOpencast Valencia 2017: Users, groups, roles, ACLs and providers
Opencast Valencia 2017: Users, groups, roles, ACLs and providers
 
LectureSight in Action (Opencast Community Summit 2016)
LectureSight in Action (Opencast Community Summit 2016)LectureSight in Action (Opencast Community Summit 2016)
LectureSight in Action (Opencast Community Summit 2016)
 
Why do students use lecture recordings?
Why do students use lecture recordings?Why do students use lecture recordings?
Why do students use lecture recordings?
 
Introduction to Opencast Matterhorn: Apereo 2014
Introduction to Opencast Matterhorn: Apereo 2014Introduction to Opencast Matterhorn: Apereo 2014
Introduction to Opencast Matterhorn: Apereo 2014
 
Introduction to Opencast Matterhorn, Apereo Mexico Conference, May 2014
Introduction to Opencast Matterhorn, Apereo Mexico Conference, May 2014Introduction to Opencast Matterhorn, Apereo Mexico Conference, May 2014
Introduction to Opencast Matterhorn, Apereo Mexico Conference, May 2014
 
Matterhorn 2014 Unconference: Ideas for automated post-recording video handling
Matterhorn 2014 Unconference: Ideas for automated post-recording video handlingMatterhorn 2014 Unconference: Ideas for automated post-recording video handling
Matterhorn 2014 Unconference: Ideas for automated post-recording video handling
 
Opencast Matterhorn at UCT
Opencast Matterhorn at UCTOpencast Matterhorn at UCT
Opencast Matterhorn at UCT
 
Open Text: Speech recognition in Opencast Matterhorn
Open Text: Speech recognition in Opencast MatterhornOpen Text: Speech recognition in Opencast Matterhorn
Open Text: Speech recognition in Opencast Matterhorn
 
Wreck a nice beach: adventures in speech recognition
Wreck a nice beach: adventures in speech recognitionWreck a nice beach: adventures in speech recognition
Wreck a nice beach: adventures in speech recognition
 
Advancing Online Assessment in Medical Education
Advancing Online Assessment in Medical EducationAdvancing Online Assessment in Medical Education
Advancing Online Assessment in Medical Education
 
SMS, Q&A and Course Evaluations in Sakai
SMS, Q&A and Course Evaluations in SakaiSMS, Q&A and Course Evaluations in Sakai
SMS, Q&A and Course Evaluations in Sakai
 
SMS, Q&A, Course Evaluation tools in Sakai
SMS, Q&A, Course Evaluation tools in SakaiSMS, Q&A, Course Evaluation tools in Sakai
SMS, Q&A, Course Evaluation tools in Sakai
 
Sakai E Learning Update Sep09
Sakai E Learning Update Sep09Sakai E Learning Update Sep09
Sakai E Learning Update Sep09
 
Vula is my survival kit
Vula is my survival kitVula is my survival kit
Vula is my survival kit
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 

Smart workflows for Opencast

  • 1. || Stephen Marquard, University of Cape Town @stephenmarquard stephen.marquard@uct.ac.za 15/02/2018 1 Smart Workflows
  • 2. ||  Recording locations  Lecture theatres, Studio, Clinical setting  Galicaster  Presentation selection  LectureSight metrics (https://www.slideshare.net/smarquard/lecturesight-is-awesome-and-getting-better)  Who is the presenter?  Opencast  Track4K (https://www.slideshare.net/smarquard/track4k-in-production-at-the-university-of-cape-town)  Timetabling  Audio analysis 15/02/2018 2 Overview
  • 3. ||  Which projector(s) is/are being used?  0, 1 or 2  If 2 projectors are being used, are they projecting the same thing? 15/02/2018 3 Dual-projector venues
  • 4. || 15/02/2018 4 Presenter with 2 presentation streams
  • 5. ||  Bitrate  < 15 kbps is a black screen (maybe with a ”no signal” message): drop  > 48.5 kbps is probably a presentation: keep  > 15 kbps but < 48.5 kbps? Not sure…  ffprobe blackdetect filter  first scale video to 160px wide at 1fps  Use filter to “detect video intervals that are (almost) completely black”  Calculate percentage of video that is empty  Drop the track if it’s > 90% empty https://bitbucket.org/cilt/matterhorn_ansible/raw/master/templates/checkpresentations.py https://bitbucket.org/cilt/matterhorn_ansible/raw/master/templates/videomatch.pl 15/02/2018 5 How can we tell if a presentation stream is “empty”?
  • 6. ||  Bitrate  Bitrates differ by < 1% : assume they are the same: drop one  Bitrates differ by > 10% : assume they are different: keep both  Bitrates differ by > 1% but < 10%? Not sure…  ffmpeg signature filter  Downscale both videos to 256px wide at 1fps  Check to see if videos are binary-identical (md5 sum)  If different, use the ffmpeg signature filter to establish a similarity percentage  Drop one of the presentation streams if > 90% similar ffmpeg -i video1.mp4 -i video2.mp4 -filter_complex "[0:v][1:v] signature=nb_inputs=2:detectmode=full" -map :v -f null - https://trac.ffmpeg.org/ticket/6354 Sometimes ffmpeg will segfault with this filter 15/02/2018 6 How can we tell if two videos are “the same”?
  • 7. || Mostly self-service recording studio  Set default username from venue booking calendar (Office365 calendar)  Type in username and metadata (on keyboard)  RFID scanner (access card) Clinical skills setting for Health Sciences student assessments and instructional videos  Touch screen: type in student ID (validated)  Hold up student ID card to camera (OCR)  RFID scanner Auto-create a personal series for the user (download / edit) 15/02/2018 7 Galicaster: who is the presenter?
  • 11. || 15/02/2018 11 Create an appropriate comment
  • 12. || Goal: process recordings straight-through without human intervention, if: • The recording is a timetabled course event • Duration < 1 hour • High confidence about trimming positions (“reasonable” start/end) Existing Opencast silence detection workflow is not helpful for us, because all venues have fall-back boundary microphones with DSPs for automatic fallback. So there’s always an audio signal. 15/02/2018 12 Audio analysis
  • 13. ||  Description in MH-11767 (initially Voice Activity Detection)  Devan Govender trained an audio classifier (https://github.com/tyiannak/pyAudioAnalysis) with speech and silence/noise from a set of existing UCT recordings  With the model, the classifier distinguishes between lecturer speech and non- speech  So we can identify appropriate start and end trim points, and decide on a confidence level for automatic trimming or manual trimming 15/02/2018 13 Distinguishing between speech and noise
  • 15. || Results of the audio analysis are placed into workflow properties: audio_trim_duration=7200182 audio_trim_segments=0;3522000;3593000;4508000;4743000;5171000;5247000;5258000 audio_trim_segments_no=623 audio_trim_segments_speech_no=311 audio_trim_segments_speech_ms=2862000 audio_trim_segments_notspeech_no=312 audio_trim_segments_notspeech_ms=4338000 audio_trim_exec_time=110.916 The second workflow operation will create a SMIL file for editing or automatic processing (skip editing but process with SMIL as if edited) 15/02/2018 15 Workflow operation results