Application Engineering and Development 
Topic: Video and Sound 
Topic Number: 8
Key topics / learning outcomes 
of this lecture 
• Learn about video, compression and 
file size 
• Learn about digital audio, sample 
rate and open source software for 
recording 
2
Video for Android 
• What is a video? 
– a series of images that display in sequence to create 
movement in time with the real world; 
– images are called ‘frames’ in video; 
• How many images make a video? 
– a motion picture film will typically have 24 frames 
display every one second; 
– early silent films had frame rates between 26 – 24 
frames per second; 
• cameras were manually managed by turning a wheel holding 
the film, so the camera manager could slow the frame rate 
down, to match the film mood!
Importance of frame rate 
• 48 fps is currently being trialled in the film 
industry: 
– this will reduce flicker; 
– this will reduce motion blur 
• motion blur occurs when images being filmed move faster in 
the real world than the frame rate being captured; 
• 300 fps has been tested by BBC research for use 
in sports broadcasts: 
– 300 fps can be converted to both 50 and 60 fps 
transmission formats without major issues 
B4004A L1 4
Image size / resolution 
B4004A L1 5
In photoshop, inspect the element 
Image size: 
850.8K 
Width 710 px 
Height 409 px 
B4004A L1 6
Image compression 
• This image was possibly originally around 3MB 
when it was first taken; 
• It has been compressed to achieve an image size 
of 850.8KB: 
– this is still quite a high KB size, it could be reduced a 
lot further, making transmission faster as there are 
less bits; 
– the image could be compressed further, by running 
further jpeg (or other) compression algorithms on the 
content to reduce the size; 
– the image can be made physically smaller, this will 
reduce the file size also; 
B4004A L1 7
Video Compression 
Year Standard Publisher Popular Implementations 
1984 H.120 ITU-T 
1988 H.261 ITU-T Videoconferencing, Videotelephony 
1993 MPEG-1 Part 2 ISO, IEC Video-CD 
1995 H.262/MPEG-2 Part 2 ISO, IEC, ITU-T 
DVD Video, Blu-ray, Digital Video 
Broadcasting, SVCD 
1996 H.263 ITU-T 
Videoconferencing, Videotelephony, Video on 
Mobile Phones (3GP) 
1999 MPEG-4 Part 2 ISO, IEC Video on Internet (DivX, Xvid ...) 
2003 H.264/MPEG-4 AVC 
Sony, Panasonic, Sam 
sung,ISO, IEC, ITU-T 
Blu-ray, HD DVD Digital Video 
Broadcasting,iPod Video, Apple TV, 
2009 VC-2 (Dirac) SMPTE Video on Internet, HDTV broadcast, UHDTV 
2013 H.265 ISO, IEC, ITU-T 
B4004A L1 8
YouTube use H.264 codec 
B4004A L1 9
Video - Flash Player 
• There is no longer support for Flash Player as 
it is very processor consumptive and drains 
battery. 
• Avoid designing with Flash until the issues are 
resolved. 
B4004A L1 10
Tips to reduce video file size 
• Keep the video short in terms of time; 
• Keep the video camera completely still where 
possible, when actually filming content 
– compression will be more efficient if the background 
of the subject remains still; 
• Reduce the physical size of the video before 
filming, whilst keeping the aspect ratio 
• Run the video through a good quality and 
appropriate compression technique. 
B4004A L1 11
Embed Video within Android App 
• Put the final video into the app resources, the 
res/raw folder. 
• use Java to code 
or 
• use the YouTube 
Player API 
for Android 
B4004A L1 12
… end of Video section… 
… next is Audio … 
B4004A L1 13
What is Audio 
Audio used to be created by recording sound waves; 
B4004A L1 14 
Digital audio 
takes those 
sound waves 
and reproduces 
them digitally.
Sampling (signal processing) 
• A sound wave is a continuous signal 
• A sample refers to a set of values at a given 
point 
• this is one cycle; 
• this = 1hz; 
• this equals 
1 hz per second; 
B4004A L1 15
Sound Hz (Hertz) 
• The more hertz, the different the sound, 
known also as the pitch; 
Voice Frequency 
Male 85 – 180 Hz 
Female 165 – 255 Hz 
B4004A L1 16
Sample rate 
• Sample rate for a CD is 44,100 samples from 
the sound wave per second; 
B4004A L1 17
Decibels (Loudness) 
Noise Decibels 
Whisper in quiet library at 6 feet 30dB 
Normal conversation at 3 feet 60dB 
Normal piano practice 70dB 
Loud rock concert 115dB 
Jet engine at 100 feet 140dB 
Death of hearing tissue 180dB 
Loudest sound possible 194dB 
B4004A L1 18
Creating and recording sound 
Copyright issues 
• when using existing sounds, ensure there are 
no copyright issues’ 
• generally, any music that was published 75 
years ago becomes copyright free; 
• a small sound loop of less than 3 seconds is 
allowed to be made from published sound 
which is not yet copyright free; 
B4004A L1 19
Audacity 
• well known open source software for sound 
manipulation: 
B4004A L1 20
Audacity setup 
• Facility to 
– connect a microphone (if required); 
– set up an audio host and playback device; 
– select input; 
– make a test recording; 
– edit the recording; 
– save the recording in the appropriate file format; 
B4004A L1 21
Using Audio with Android 
Starting an Activity - request audio focus 
B4004A L1 22
Essential work for next week 
• Please consult the OLE for details of: 
– Essential readings* 
– Seminar/workshop preparation work* 
– Recommended further readings 
– Any additional learning 
* Essential readings and preparation work must always be completed in time 
for the next session 
23
End of presentation 
© Pearson College 2013

More Related Content

PPTX
Lecture 8 video_sound
ODP
English14
PDF
Intro to Compression: Audio and Video Optimization for Learning
PPTX
Video standard
PPTX
PPT
Audio Compression
PPTX
H.265 RTSP Streaming to VLC + NewTek NDI Plugin
PPT
Terminologies of script writing
Lecture 8 video_sound
English14
Intro to Compression: Audio and Video Optimization for Learning
Video standard
Audio Compression
H.265 RTSP Streaming to VLC + NewTek NDI Plugin
Terminologies of script writing

What's hot (19)

PPT
PPTX
Videoconference introduction
PDF
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
PPS
Matching the Right IP Solution to Your Business/Organisation Requirements
PPT
Video tech final
PDF
Analog Digital Video
PPTX
Intro to Video Production
PDF
Video formats guide
PPT
Presentation NEW
PPTX
Video formats
PPTX
Microphones, Recorders and Sound Effects
PPT
Audio and video streaming
PPT
Digitizing and Delivering Audio and Video
PPTX
Samsung cctv presentation
PPT
Streaming Overview Final.ppt
PPT
Digital Video
PDF
Ministry and Media Technologies - Pro Tips
PDF
Tutorial about how to convert powerpoint to dvd
Videoconference introduction
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
Matching the Right IP Solution to Your Business/Organisation Requirements
Video tech final
Analog Digital Video
Intro to Video Production
Video formats guide
Presentation NEW
Video formats
Microphones, Recorders and Sound Effects
Audio and video streaming
Digitizing and Delivering Audio and Video
Samsung cctv presentation
Streaming Overview Final.ppt
Digital Video
Ministry and Media Technologies - Pro Tips
Tutorial about how to convert powerpoint to dvd
Ad

Similar to Lecture 8 video_sound (20)

PPTX
simple video compression
PDF
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
PPTX
VTU V SEM CNS Module 1 PPT 2018 Batch students
PPTX
Chapter 1 Video
PDF
Training Videovigilancia IP: What, Why, When and How
PPT
2005 06-12-vitale-emgsession-videopreservation
PPT
Mpeg4copy 120428133000-phpapp01
PDF
Bonni Graham LavaCon 2010 - Creating High-Quality Videos
PPTX
02.m3 cms sys-req4mediastreaming
PPTX
Design in Motion: Video Production Workflow
PPT
mpeg4copy-120428133000-phpapp01.ppt
PPT
Chapter 6
PPT
Chapter 6 : VIDEO
PDF
Compressing Audio and Video for Desktop and Mobile Delivery
PPT
MPEG4 vs H.264
PDF
Video-Design-meeting-Video-Design-meeting
PPTX
EMC 3130/2130 Lecture One - Image Digital
PPTX
Multimedia networks
PPTX
EMC 3130 Spring 2012 Lecture One Image Digital
simple video compression
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
VTU V SEM CNS Module 1 PPT 2018 Batch students
Chapter 1 Video
Training Videovigilancia IP: What, Why, When and How
2005 06-12-vitale-emgsession-videopreservation
Mpeg4copy 120428133000-phpapp01
Bonni Graham LavaCon 2010 - Creating High-Quality Videos
02.m3 cms sys-req4mediastreaming
Design in Motion: Video Production Workflow
mpeg4copy-120428133000-phpapp01.ppt
Chapter 6
Chapter 6 : VIDEO
Compressing Audio and Video for Desktop and Mobile Delivery
MPEG4 vs H.264
Video-Design-meeting-Video-Design-meeting
EMC 3130/2130 Lecture One - Image Digital
Multimedia networks
EMC 3130 Spring 2012 Lecture One Image Digital
Ad

More from moduledesign (20)

PPT
Bm512 b525 t1_s_v002
PPT
Bm512 b525 t5_l_v002
PPT
Bm509 b519 t1_l_v002
PPT
Corporate reporting and finance lecture 1
PPTX
Af502 b523 t1_l1_v002
PPT
B515 lecture 1 edited_mr
PPT
B502 ethics lecture t005_rf
PPT
B526 ops pm lecture_t001b_with notes
PPT
B526 ops pm lecture_t009_rf
PPTX
Pearson principles of business implementing strategy lecture 2
PPTX
Generic lecture 4 research design (1)
PPTX
Generic lecture 3 literature review tutor
PPTX
Generic lecture 2 research proposal student
PPTX
Tutor version slides seminar 9 implementing knowledge management
PPTX
Tutor version slides eminar 2 the nature of knowing
PPTX
Tutor version slides seminar 10 assignment support
PPTX
Tutor version slides seminar 5 the learning organisation
PPTX
Tutor version slides seminar 1 introduction to knowledge management
PPTX
Tutor version slides seminar 4 organisational learning
PPTX
Tutor version slides seminar 7 digital knowledge managment
Bm512 b525 t1_s_v002
Bm512 b525 t5_l_v002
Bm509 b519 t1_l_v002
Corporate reporting and finance lecture 1
Af502 b523 t1_l1_v002
B515 lecture 1 edited_mr
B502 ethics lecture t005_rf
B526 ops pm lecture_t001b_with notes
B526 ops pm lecture_t009_rf
Pearson principles of business implementing strategy lecture 2
Generic lecture 4 research design (1)
Generic lecture 3 literature review tutor
Generic lecture 2 research proposal student
Tutor version slides seminar 9 implementing knowledge management
Tutor version slides eminar 2 the nature of knowing
Tutor version slides seminar 10 assignment support
Tutor version slides seminar 5 the learning organisation
Tutor version slides seminar 1 introduction to knowledge management
Tutor version slides seminar 4 organisational learning
Tutor version slides seminar 7 digital knowledge managment

Recently uploaded (20)

PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
advance database management system book.pdf
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PDF
Hazard Identification & Risk Assessment .pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
HVAC Specification 2024 according to central public works department
PPTX
Introduction to pro and eukaryotes and differences.pptx
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Weekly quiz Compilation Jan -July 25.pdf
advance database management system book.pdf
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Uderstanding digital marketing and marketing stratergie for engaging the digi...
Hazard Identification & Risk Assessment .pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Cambridge-Practice-Tests-for-IELTS-12.docx
AI-driven educational solutions for real-life interventions in the Philippine...
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
HVAC Specification 2024 according to central public works department
Introduction to pro and eukaryotes and differences.pptx
History, Philosophy and sociology of education (1).pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf

Lecture 8 video_sound

  • 1. Application Engineering and Development Topic: Video and Sound Topic Number: 8
  • 2. Key topics / learning outcomes of this lecture • Learn about video, compression and file size • Learn about digital audio, sample rate and open source software for recording 2
  • 3. Video for Android • What is a video? – a series of images that display in sequence to create movement in time with the real world; – images are called ‘frames’ in video; • How many images make a video? – a motion picture film will typically have 24 frames display every one second; – early silent films had frame rates between 26 – 24 frames per second; • cameras were manually managed by turning a wheel holding the film, so the camera manager could slow the frame rate down, to match the film mood!
  • 4. Importance of frame rate • 48 fps is currently being trialled in the film industry: – this will reduce flicker; – this will reduce motion blur • motion blur occurs when images being filmed move faster in the real world than the frame rate being captured; • 300 fps has been tested by BBC research for use in sports broadcasts: – 300 fps can be converted to both 50 and 60 fps transmission formats without major issues B4004A L1 4
  • 5. Image size / resolution B4004A L1 5
  • 6. In photoshop, inspect the element Image size: 850.8K Width 710 px Height 409 px B4004A L1 6
  • 7. Image compression • This image was possibly originally around 3MB when it was first taken; • It has been compressed to achieve an image size of 850.8KB: – this is still quite a high KB size, it could be reduced a lot further, making transmission faster as there are less bits; – the image could be compressed further, by running further jpeg (or other) compression algorithms on the content to reduce the size; – the image can be made physically smaller, this will reduce the file size also; B4004A L1 7
  • 8. Video Compression Year Standard Publisher Popular Implementations 1984 H.120 ITU-T 1988 H.261 ITU-T Videoconferencing, Videotelephony 1993 MPEG-1 Part 2 ISO, IEC Video-CD 1995 H.262/MPEG-2 Part 2 ISO, IEC, ITU-T DVD Video, Blu-ray, Digital Video Broadcasting, SVCD 1996 H.263 ITU-T Videoconferencing, Videotelephony, Video on Mobile Phones (3GP) 1999 MPEG-4 Part 2 ISO, IEC Video on Internet (DivX, Xvid ...) 2003 H.264/MPEG-4 AVC Sony, Panasonic, Sam sung,ISO, IEC, ITU-T Blu-ray, HD DVD Digital Video Broadcasting,iPod Video, Apple TV, 2009 VC-2 (Dirac) SMPTE Video on Internet, HDTV broadcast, UHDTV 2013 H.265 ISO, IEC, ITU-T B4004A L1 8
  • 9. YouTube use H.264 codec B4004A L1 9
  • 10. Video - Flash Player • There is no longer support for Flash Player as it is very processor consumptive and drains battery. • Avoid designing with Flash until the issues are resolved. B4004A L1 10
  • 11. Tips to reduce video file size • Keep the video short in terms of time; • Keep the video camera completely still where possible, when actually filming content – compression will be more efficient if the background of the subject remains still; • Reduce the physical size of the video before filming, whilst keeping the aspect ratio • Run the video through a good quality and appropriate compression technique. B4004A L1 11
  • 12. Embed Video within Android App • Put the final video into the app resources, the res/raw folder. • use Java to code or • use the YouTube Player API for Android B4004A L1 12
  • 13. … end of Video section… … next is Audio … B4004A L1 13
  • 14. What is Audio Audio used to be created by recording sound waves; B4004A L1 14 Digital audio takes those sound waves and reproduces them digitally.
  • 15. Sampling (signal processing) • A sound wave is a continuous signal • A sample refers to a set of values at a given point • this is one cycle; • this = 1hz; • this equals 1 hz per second; B4004A L1 15
  • 16. Sound Hz (Hertz) • The more hertz, the different the sound, known also as the pitch; Voice Frequency Male 85 – 180 Hz Female 165 – 255 Hz B4004A L1 16
  • 17. Sample rate • Sample rate for a CD is 44,100 samples from the sound wave per second; B4004A L1 17
  • 18. Decibels (Loudness) Noise Decibels Whisper in quiet library at 6 feet 30dB Normal conversation at 3 feet 60dB Normal piano practice 70dB Loud rock concert 115dB Jet engine at 100 feet 140dB Death of hearing tissue 180dB Loudest sound possible 194dB B4004A L1 18
  • 19. Creating and recording sound Copyright issues • when using existing sounds, ensure there are no copyright issues’ • generally, any music that was published 75 years ago becomes copyright free; • a small sound loop of less than 3 seconds is allowed to be made from published sound which is not yet copyright free; B4004A L1 19
  • 20. Audacity • well known open source software for sound manipulation: B4004A L1 20
  • 21. Audacity setup • Facility to – connect a microphone (if required); – set up an audio host and playback device; – select input; – make a test recording; – edit the recording; – save the recording in the appropriate file format; B4004A L1 21
  • 22. Using Audio with Android Starting an Activity - request audio focus B4004A L1 22
  • 23. Essential work for next week • Please consult the OLE for details of: – Essential readings* – Seminar/workshop preparation work* – Recommended further readings – Any additional learning * Essential readings and preparation work must always be completed in time for the next session 23
  • 24. End of presentation © Pearson College 2013