SlideShare a Scribd company logo
CSN08704
Data, Audio, Video and Images
http://asecuritysite.com/comms
Telecommunications
Prof Bill Buchanan
Motion Video
Video (basically moving pictures)
Frame rate: Number of images per second
 Lots of redundancy. Very little changes between
frames.
 Eye does not perceive certain things ... such as fast
changes with the image.
MPEG Process
RGB to
YUV
DCT Quantisation
Variable
Length
Coding
Image MPEGImage
Pixel blocks (8x8 for U and
V, and 16x16 for Y)
Motion
Detection
Previous pixel block
Full Partial Partial Full
Segment into Slices and into Macroblocks
Slices used to
detect movement
(Only luminance
used for motion
detection)
Macroblocks
(16x16)
352x288 pixel
frame (101,376
pixels)
22 macroblocks
18 macroblocks
Motion Detection
• Megablocks for (0,0), (0,1) and (0,2) in the
current block are the same as in the
previous blocks. Thus they can be coded
simply with a reference to the previous
image.
• The (0,3) megablock is different to the
previous image, but the (0,3) block is
identical to the (0,2) block of the previous
image, thus a reference to this block is
made.
• This can continue, as most of the blocks in
the image are identical to the previous
image.
• The only other differences in the current
image are at (4,0) and (4,1); these blocks
can be stored in their entirety or specified
with their differences to a previous similar
block
Previous image
Current image
(0,0) (0,15)
(4,0) (4,15)
I-Frame, P-Frame and B-frame
• Intra frame (I-frame). A complete image and does not require any extra
information to be added to it to make it complete. No motion estimation
processing. Used as a starting point for other referenced frames, and is usually
the first frame to be sent.
• Predictive frame (P-frame). Uses the preceding I-frame as its reference and has
motion estimation processing. Each macroblock in this frame is supplied as
referenced to an I-frame as either a vector and difference.
• Bidirectional frame (B-frame). The bidirectional frame, or B-frame, is similar to
the P-frame except that it references frames to the nearest preceding or future I-
or P-frame.
I-Frame B-Frame B-Frame I-Frame
MPEG-2
Simple ( SP) Main (MP) SNR Spatial High
HIGH (HL) Illegal 1920 1152,
60 fps
Illegal Illegal 1920 1152,
60 fps
960 576,
30 fps
HIGH-1440
(H-14)
Illegal 1920 1152,
60 fps
Illegal 14401152,
60 fps
720 576,
30 fps
1440 1152,
60 fps
720 576,
30 fps
Main (ML) 720 576,
30 fps
720 576,
30 fps
720 576,
30 fps
Illegal 720 576,
30 fps
352288,
30 fps
Low (LL) Illegal 352288,
30 fps
352288,
30 fps
Illegal Illegal
Frame rate 25 frames/sec
Encoded bitstream 150 KB/sec
Maximum P frame motion vectors 32, 32
Maximum B frame motion vectors 16, 16
Number of P frames 3
Number of B frames 2 (between P frames)
Audio stream bitstream 64 Kbps (mono)/128 Kbps (stereo)
MPEG-2 profile Main profile (see Table 11.1)
MPEG-2 level Main level (see Table 11.1)
Format YUV 4:2:2
MPEG-4/H264
• H.264 or MPEG-4 Part 10, Advanced Video
Coding (MPEG-4 AVC) defines standard for
video production.
• Has block-oriented motion-compression.
• Developed by ITU-T Video Coding Experts
Group (VCEG) and ISO/IEC JTC1 Moving
Picture Experts Group (MPEG).
• H.264 used with Blu-ray Disc players and
now used by streaming video for Vimeo,
YouTube, and HDTV broadcasts.
• Lossy compression but eye does not see the
losses.
• Covered by patents and licenced by MPEG
LA. Commercial use pays royalties for H.264
MPEG LA.
• Free to end users for streaming.
Previous image
Current image
(0,0) (0,15)
(4,0) (4,15)
Sample MP4 file > ffmpeg -i 1mb.mp4
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.24.2
Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr,
12800 tbn, 50 tbc (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000
Hz, 5.1, fltp, 384 kb/s (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
At least one output file must be specified
Link
MP4 Extract (Frames per second)
ffmpeg -i file.mp4 -r 1/4 filename%03d.jpg
Link
CSN08704
Data, Audio, Video and Images
http://asecuritysite.com/comms
Telecommunications
Prof Bill Buchanan
MP4 Magic Number
MP4 Magic Number (and other formats)
[00000000] 00 00 00 18 66 74 79 70 6D 70 34 32 00 00 00 01 ....ftypmp42....
[00000016] 6D 70 34 32 6D 70 34 31 00 00 0B E6 6D 6F 6F 76 mp42mp41....moov
[00000032] 00 00 00 6C 6D 76 68 64 00 00 00 00 BF 88 14 86 ...lmvhd........
[00000048] BF 88 14 86 00 00 02 58 00 00 0B A4 00 01 00 00 .......X........
00 00 00 18 66 74 79 70 6D 70 34 32
Link
AVI video file .avi 52 49 46 46 [RIFF]
Flash Shockwave .swf 46 57 53 [FWS]
Flash Video .flv 46 4C 56 [FLV]
Mpeg 4 video file .mp4 00 00 00 ..34 32 [....ftypmp42]
MOV video file .mov 6D 6F 6F 76 [....moov]
Windows Video file .wmv 30 26 B2 75 8E 66 CF
Link
CSN08704
Data, Audio, Video and Images
http://asecuritysite.com/comms
Telecommunications
Prof Bill Buchanan
Motion Video

More Related Content

Similar to Telecommunications: Motion Video

Mini proj i question and solution design
Mini proj i question and solution designMini proj i question and solution design
Mini proj i question and solution design
Haowei Jiang
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
Godo Dodo
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding Standard
Videoguy
 
lect10-mpeg1.ppt
lect10-mpeg1.pptlect10-mpeg1.ppt
lect10-mpeg1.ppt
ssuser6606eb
 
85 videocompress
85 videocompress85 videocompress
85 videocompress
Pptblog Pptblogcom
 
Mmclass5b
Mmclass5bMmclass5b
Mmclass5b
Hassan Dar
 
Barcelona keynote web
Barcelona keynote webBarcelona keynote web
Barcelona keynote web
Pptblog Pptblogcom
 
Ds 2 cd3643g1-izs bullet
Ds 2 cd3643g1-izs bulletDs 2 cd3643g1-izs bullet
Ds 2 cd3643g1-izs bullet
JeanCarloRosalesGarc
 
S5L2010 datasheet
S5L2010 datasheetS5L2010 datasheet
S5L2010 datasheet
dreamerchant
 
Compression2011
Compression2011Compression2011
Compression2011
AVLM_2011
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
Videoguy
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
VijayKumarArya
 
Jpeg and mpeg ppt
Jpeg and mpeg pptJpeg and mpeg ppt
Jpeg and mpeg ppt
siddharth rathore
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video Encoding
Christian Kehl
 
PPT
PPTPPT
Mm01 a vformat
Mm01 a vformatMm01 a vformat
Mm01 a vformat
gotovikas
 
Sony α7 III (ILCE-7M3) Full Frame Mirror-less Camera
Sony α7 III (ILCE-7M3) Full Frame Mirror-less CameraSony α7 III (ILCE-7M3) Full Frame Mirror-less Camera
Sony α7 III (ILCE-7M3) Full Frame Mirror-less Camera
Aggarwal Color Lab (Sirsa)
 
เทคโนโลยีคอมพิวเตอร์เพื่อการเรียนรู้
เทคโนโลยีคอมพิวเตอร์เพื่อการเรียนรู้เทคโนโลยีคอมพิวเตอร์เพื่อการเรียนรู้
เทคโนโลยีคอมพิวเตอร์เพื่อการเรียนรู้
yotikul
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
Tong Teerayuth
 
Canon eos c100 dual pixel cmos af camera body
Canon eos c100 dual pixel cmos af camera bodyCanon eos c100 dual pixel cmos af camera body
Canon eos c100 dual pixel cmos af camera body
Electronic Bazaar
 

Similar to Telecommunications: Motion Video (20)

Mini proj i question and solution design
Mini proj i question and solution designMini proj i question and solution design
Mini proj i question and solution design
 
Compression presentation 415 (1)
Compression presentation 415 (1)Compression presentation 415 (1)
Compression presentation 415 (1)
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding Standard
 
lect10-mpeg1.ppt
lect10-mpeg1.pptlect10-mpeg1.ppt
lect10-mpeg1.ppt
 
85 videocompress
85 videocompress85 videocompress
85 videocompress
 
Mmclass5b
Mmclass5bMmclass5b
Mmclass5b
 
Barcelona keynote web
Barcelona keynote webBarcelona keynote web
Barcelona keynote web
 
Ds 2 cd3643g1-izs bullet
Ds 2 cd3643g1-izs bulletDs 2 cd3643g1-izs bullet
Ds 2 cd3643g1-izs bullet
 
S5L2010 datasheet
S5L2010 datasheetS5L2010 datasheet
S5L2010 datasheet
 
Compression2011
Compression2011Compression2011
Compression2011
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
 
Jpeg and mpeg ppt
Jpeg and mpeg pptJpeg and mpeg ppt
Jpeg and mpeg ppt
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video Encoding
 
PPT
PPTPPT
PPT
 
Mm01 a vformat
Mm01 a vformatMm01 a vformat
Mm01 a vformat
 
Sony α7 III (ILCE-7M3) Full Frame Mirror-less Camera
Sony α7 III (ILCE-7M3) Full Frame Mirror-less CameraSony α7 III (ILCE-7M3) Full Frame Mirror-less Camera
Sony α7 III (ILCE-7M3) Full Frame Mirror-less Camera
 
เทคโนโลยีคอมพิวเตอร์เพื่อการเรียนรู้
เทคโนโลยีคอมพิวเตอร์เพื่อการเรียนรู้เทคโนโลยีคอมพิวเตอร์เพื่อการเรียนรู้
เทคโนโลยีคอมพิวเตอร์เพื่อการเรียนรู้
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
 
Canon eos c100 dual pixel cmos af camera body
Canon eos c100 dual pixel cmos af camera bodyCanon eos c100 dual pixel cmos af camera body
Canon eos c100 dual pixel cmos af camera body
 

More from Napier University

Intrusion Detection Systems
Intrusion Detection SystemsIntrusion Detection Systems
Intrusion Detection Systems
Napier University
 
Networks
NetworksNetworks
Memory, Big Data and SIEM
Memory, Big Data and SIEMMemory, Big Data and SIEM
Memory, Big Data and SIEM
Napier University
 
What is Cyber Data?
What is Cyber Data?What is Cyber Data?
What is Cyber Data?
Napier University
 
Open Source Intelligence
Open Source IntelligenceOpen Source Intelligence
Open Source Intelligence
Napier University
 
10. Data to Information: NumPy and Pandas
10. Data to Information: NumPy and Pandas10. Data to Information: NumPy and Pandas
10. Data to Information: NumPy and Pandas
Napier University
 
2. Defence Systems
2. Defence Systems2. Defence Systems
2. Defence Systems
Napier University
 
1. Cyber and Intelligence
1. Cyber and Intelligence1. Cyber and Intelligence
1. Cyber and Intelligence
Napier University
 
The Road Ahead for Ripple, Marjan Delatinne
The Road Ahead for Ripple, Marjan DelatinneThe Road Ahead for Ripple, Marjan Delatinne
The Road Ahead for Ripple, Marjan Delatinne
Napier University
 
Delivering The Tel Aviv Stock Exchange Securities, Duncan Johnston-Watt
 Delivering The Tel Aviv Stock Exchange Securities, Duncan Johnston-Watt Delivering The Tel Aviv Stock Exchange Securities, Duncan Johnston-Watt
Delivering The Tel Aviv Stock Exchange Securities, Duncan Johnston-Watt
Napier University
 
ARTiFACTS, Emma Boswood
ARTiFACTS, Emma BoswoodARTiFACTS, Emma Boswood
ARTiFACTS, Emma Boswood
Napier University
 
RMIT Blockchain Innovation Hub, Chris Berg
RMIT Blockchain Innovation Hub, Chris BergRMIT Blockchain Innovation Hub, Chris Berg
RMIT Blockchain Innovation Hub, Chris Berg
Napier University
 
Keynote, Naseem Naqvi
Keynote, Naseem Naqvi Keynote, Naseem Naqvi
Keynote, Naseem Naqvi
Napier University
 
Browser-based Crypto M, C. F Mondschein
Browser-based Crypto M, C. F MondscheinBrowser-based Crypto M, C. F Mondschein
Browser-based Crypto M, C. F Mondschein
Napier University
 
Should we transform or adapt to blockchain - a public sector perspective?, Al...
Should we transform or adapt to blockchain - a public sector perspective?, Al...Should we transform or adapt to blockchain - a public sector perspective?, Al...
Should we transform or adapt to blockchain - a public sector perspective?, Al...
Napier University
 
IoT device attestation system using blockchain, Alistair Duke
IoT device attestation system using blockchain, Alistair DukeIoT device attestation system using blockchain, Alistair Duke
IoT device attestation system using blockchain, Alistair Duke
Napier University
 
Robust Programming of Smart Contracts in Solidity+, RK Shyamasundar
Robust Programming of Smart Contracts in Solidity+, RK ShyamasundarRobust Programming of Smart Contracts in Solidity+, RK Shyamasundar
Robust Programming of Smart Contracts in Solidity+, RK Shyamasundar
Napier University
 
Using Blockchain for Evidence Purpose, Rafael Prabucki
Using Blockchain for Evidence Purpose, Rafael PrabuckiUsing Blockchain for Evidence Purpose, Rafael Prabucki
Using Blockchain for Evidence Purpose, Rafael Prabucki
Napier University
 
Cryptocurrencies and cyberlaundering- the need for regulation, Gian Marco Bov...
Cryptocurrencies and cyberlaundering- the need for regulation, Gian Marco Bov...Cryptocurrencies and cyberlaundering- the need for regulation, Gian Marco Bov...
Cryptocurrencies and cyberlaundering- the need for regulation, Gian Marco Bov...
Napier University
 
Emerging Regulatory Approaches to Blockchain-based Token Economy, Agata Fereirra
Emerging Regulatory Approaches to Blockchain-based Token Economy, Agata FereirraEmerging Regulatory Approaches to Blockchain-based Token Economy, Agata Fereirra
Emerging Regulatory Approaches to Blockchain-based Token Economy, Agata Fereirra
Napier University
 

More from Napier University (20)

Intrusion Detection Systems
Intrusion Detection SystemsIntrusion Detection Systems
Intrusion Detection Systems
 
Networks
NetworksNetworks
Networks
 
Memory, Big Data and SIEM
Memory, Big Data and SIEMMemory, Big Data and SIEM
Memory, Big Data and SIEM
 
What is Cyber Data?
What is Cyber Data?What is Cyber Data?
What is Cyber Data?
 
Open Source Intelligence
Open Source IntelligenceOpen Source Intelligence
Open Source Intelligence
 
10. Data to Information: NumPy and Pandas
10. Data to Information: NumPy and Pandas10. Data to Information: NumPy and Pandas
10. Data to Information: NumPy and Pandas
 
2. Defence Systems
2. Defence Systems2. Defence Systems
2. Defence Systems
 
1. Cyber and Intelligence
1. Cyber and Intelligence1. Cyber and Intelligence
1. Cyber and Intelligence
 
The Road Ahead for Ripple, Marjan Delatinne
The Road Ahead for Ripple, Marjan DelatinneThe Road Ahead for Ripple, Marjan Delatinne
The Road Ahead for Ripple, Marjan Delatinne
 
Delivering The Tel Aviv Stock Exchange Securities, Duncan Johnston-Watt
 Delivering The Tel Aviv Stock Exchange Securities, Duncan Johnston-Watt Delivering The Tel Aviv Stock Exchange Securities, Duncan Johnston-Watt
Delivering The Tel Aviv Stock Exchange Securities, Duncan Johnston-Watt
 
ARTiFACTS, Emma Boswood
ARTiFACTS, Emma BoswoodARTiFACTS, Emma Boswood
ARTiFACTS, Emma Boswood
 
RMIT Blockchain Innovation Hub, Chris Berg
RMIT Blockchain Innovation Hub, Chris BergRMIT Blockchain Innovation Hub, Chris Berg
RMIT Blockchain Innovation Hub, Chris Berg
 
Keynote, Naseem Naqvi
Keynote, Naseem Naqvi Keynote, Naseem Naqvi
Keynote, Naseem Naqvi
 
Browser-based Crypto M, C. F Mondschein
Browser-based Crypto M, C. F MondscheinBrowser-based Crypto M, C. F Mondschein
Browser-based Crypto M, C. F Mondschein
 
Should we transform or adapt to blockchain - a public sector perspective?, Al...
Should we transform or adapt to blockchain - a public sector perspective?, Al...Should we transform or adapt to blockchain - a public sector perspective?, Al...
Should we transform or adapt to blockchain - a public sector perspective?, Al...
 
IoT device attestation system using blockchain, Alistair Duke
IoT device attestation system using blockchain, Alistair DukeIoT device attestation system using blockchain, Alistair Duke
IoT device attestation system using blockchain, Alistair Duke
 
Robust Programming of Smart Contracts in Solidity+, RK Shyamasundar
Robust Programming of Smart Contracts in Solidity+, RK ShyamasundarRobust Programming of Smart Contracts in Solidity+, RK Shyamasundar
Robust Programming of Smart Contracts in Solidity+, RK Shyamasundar
 
Using Blockchain for Evidence Purpose, Rafael Prabucki
Using Blockchain for Evidence Purpose, Rafael PrabuckiUsing Blockchain for Evidence Purpose, Rafael Prabucki
Using Blockchain for Evidence Purpose, Rafael Prabucki
 
Cryptocurrencies and cyberlaundering- the need for regulation, Gian Marco Bov...
Cryptocurrencies and cyberlaundering- the need for regulation, Gian Marco Bov...Cryptocurrencies and cyberlaundering- the need for regulation, Gian Marco Bov...
Cryptocurrencies and cyberlaundering- the need for regulation, Gian Marco Bov...
 
Emerging Regulatory Approaches to Blockchain-based Token Economy, Agata Fereirra
Emerging Regulatory Approaches to Blockchain-based Token Economy, Agata FereirraEmerging Regulatory Approaches to Blockchain-based Token Economy, Agata Fereirra
Emerging Regulatory Approaches to Blockchain-based Token Economy, Agata Fereirra
 

Recently uploaded

The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
Amin Marwan
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 

Recently uploaded (20)

The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 

Telecommunications: Motion Video

  • 1. CSN08704 Data, Audio, Video and Images http://asecuritysite.com/comms Telecommunications Prof Bill Buchanan Motion Video
  • 2. Video (basically moving pictures) Frame rate: Number of images per second  Lots of redundancy. Very little changes between frames.  Eye does not perceive certain things ... such as fast changes with the image.
  • 3. MPEG Process RGB to YUV DCT Quantisation Variable Length Coding Image MPEGImage Pixel blocks (8x8 for U and V, and 16x16 for Y) Motion Detection Previous pixel block Full Partial Partial Full
  • 4. Segment into Slices and into Macroblocks Slices used to detect movement (Only luminance used for motion detection) Macroblocks (16x16) 352x288 pixel frame (101,376 pixels) 22 macroblocks 18 macroblocks
  • 5. Motion Detection • Megablocks for (0,0), (0,1) and (0,2) in the current block are the same as in the previous blocks. Thus they can be coded simply with a reference to the previous image. • The (0,3) megablock is different to the previous image, but the (0,3) block is identical to the (0,2) block of the previous image, thus a reference to this block is made. • This can continue, as most of the blocks in the image are identical to the previous image. • The only other differences in the current image are at (4,0) and (4,1); these blocks can be stored in their entirety or specified with their differences to a previous similar block Previous image Current image (0,0) (0,15) (4,0) (4,15)
  • 6. I-Frame, P-Frame and B-frame • Intra frame (I-frame). A complete image and does not require any extra information to be added to it to make it complete. No motion estimation processing. Used as a starting point for other referenced frames, and is usually the first frame to be sent. • Predictive frame (P-frame). Uses the preceding I-frame as its reference and has motion estimation processing. Each macroblock in this frame is supplied as referenced to an I-frame as either a vector and difference. • Bidirectional frame (B-frame). The bidirectional frame, or B-frame, is similar to the P-frame except that it references frames to the nearest preceding or future I- or P-frame. I-Frame B-Frame B-Frame I-Frame
  • 7. MPEG-2 Simple ( SP) Main (MP) SNR Spatial High HIGH (HL) Illegal 1920 1152, 60 fps Illegal Illegal 1920 1152, 60 fps 960 576, 30 fps HIGH-1440 (H-14) Illegal 1920 1152, 60 fps Illegal 14401152, 60 fps 720 576, 30 fps 1440 1152, 60 fps 720 576, 30 fps Main (ML) 720 576, 30 fps 720 576, 30 fps 720 576, 30 fps Illegal 720 576, 30 fps 352288, 30 fps Low (LL) Illegal 352288, 30 fps 352288, 30 fps Illegal Illegal Frame rate 25 frames/sec Encoded bitstream 150 KB/sec Maximum P frame motion vectors 32, 32 Maximum B frame motion vectors 16, 16 Number of P frames 3 Number of B frames 2 (between P frames) Audio stream bitstream 64 Kbps (mono)/128 Kbps (stereo) MPEG-2 profile Main profile (see Table 11.1) MPEG-2 level Main level (see Table 11.1) Format YUV 4:2:2
  • 8. MPEG-4/H264 • H.264 or MPEG-4 Part 10, Advanced Video Coding (MPEG-4 AVC) defines standard for video production. • Has block-oriented motion-compression. • Developed by ITU-T Video Coding Experts Group (VCEG) and ISO/IEC JTC1 Moving Picture Experts Group (MPEG). • H.264 used with Blu-ray Disc players and now used by streaming video for Vimeo, YouTube, and HDTV broadcasts. • Lossy compression but eye does not see the losses. • Covered by patents and licenced by MPEG LA. Commercial use pays royalties for H.264 MPEG LA. • Free to end users for streaming. Previous image Current image (0,0) (0,15) (4,0) (4,15)
  • 9. Sample MP4 file > ffmpeg -i 1mb.mp4 Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.24.2 Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: creation_time : 1970-01-01 00:00:00 handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default) Metadata: creation_time : 1970-01-01 00:00:00 handler_name : SoundHandler At least one output file must be specified Link
  • 10. MP4 Extract (Frames per second) ffmpeg -i file.mp4 -r 1/4 filename%03d.jpg Link
  • 11. CSN08704 Data, Audio, Video and Images http://asecuritysite.com/comms Telecommunications Prof Bill Buchanan MP4 Magic Number
  • 12. MP4 Magic Number (and other formats) [00000000] 00 00 00 18 66 74 79 70 6D 70 34 32 00 00 00 01 ....ftypmp42.... [00000016] 6D 70 34 32 6D 70 34 31 00 00 0B E6 6D 6F 6F 76 mp42mp41....moov [00000032] 00 00 00 6C 6D 76 68 64 00 00 00 00 BF 88 14 86 ...lmvhd........ [00000048] BF 88 14 86 00 00 02 58 00 00 0B A4 00 01 00 00 .......X........ 00 00 00 18 66 74 79 70 6D 70 34 32 Link AVI video file .avi 52 49 46 46 [RIFF] Flash Shockwave .swf 46 57 53 [FWS] Flash Video .flv 46 4C 56 [FLV] Mpeg 4 video file .mp4 00 00 00 ..34 32 [....ftypmp42] MOV video file .mov 6D 6F 6F 76 [....moov] Windows Video file .wmv 30 26 B2 75 8E 66 CF Link
  • 13. CSN08704 Data, Audio, Video and Images http://asecuritysite.com/comms Telecommunications Prof Bill Buchanan Motion Video