SlideShare a Scribd company logo
A Division of Electrosonic
         MPEG for the MediaSonic Players




Orlando Moreno
omoreno@hotmail.com
408.656.2498
Only what you need to know!




                  Equation 1: Forward Discrete Cosine Transform




omoreno@hotmail.com               408.656.2498
MPEG only what you need to know!

• MPEG is a compression standard, currently we
  use MPEG2 on the Players.
• An MPEG file contains Video and Audio in
  discrete streams called ELEMENTARY streams.
  Time stamps are used to synchronize the
  streams.
• These streams are MULTIPLEXED together
  either as a PROGRAM or TRANSPORT stream.
• This is all bad news!

omoreno@hotmail.com   408.656.2498
Program / Transport

• Electrosonic SD Player uses MPEG2
  Program Streams that are designed for
  storage and playback from disk.
• MediaSonic DTV Players use MPEG2
  Transport Streams designed for
  transmission over communication systems
  like ATM and broadcast. They are
  designed to recover from error not perfect
  playback!

omoreno@hotmail.com         408.656.2498
MPEG Encoder



    Audio Data        Mpeg Encode                  Audio PES
                                                    Packet
                                                               Multiplexer   Multiplexed
                                                                              Stream

                                                   Video PES
    Video Data        Mpeg Encode
                                                     Packet




                                    System Clock




omoreno@hotmail.com                           408.656.2498
Hardware MPEG Video Encoder




                      HDSDI
 4.2.2 @ 10bit                   4.2.0 @ 8bit     DCT




         D5 is 4.2.2 – 10 bit
        HDCAM is 3.1.1 - 8 bit
omoreno@hotmail.com                408.656.2498
Color Sampling Standards
                  P              P                   P           P
Line 1           PR B           PR B                PR B        PR B
           Y         Y      Y       Y           Y       Y   Y       Y

                  P              P                   P           P
Line 2           PR B           PR B                PR B        PR B
           Y         Y      Y       Y           Y       Y   Y       Y

                                   4.2.2

Line 1
           Y            Y   Y      Y            Y      Y    Y      Y
                  P              P                   P           P
                 PR B           PR B                PR B        PR B

Line 2     Y            Y   Y      Y            Y      Y    Y      Y

                                   4.2.0
  omoreno@hotmail.com            408.656.2498
Video Compression

                                           P Frames



                                                 B Frames



                                                      I Frame




   Group of Pictures in
   Encoder Sequence

omoreno@hotmail.com         408.656.2498
Headers




 Sequence
                      Group of Pictures
   Header


             GOP
            Header

omoreno@hotmail.com              408.656.2498
Video - Things to remember.

• GOP is usually half a second long, so 15
  frames for NTSC and 12 for PAL.
• A ‘Closed’ GOP is better for random
  access and synchronous files.
• Each GOP should contain a Sequence
  header.
• Files should start on a Sequence header.

omoreno@hotmail.com   408.656.2498
Audio Compression

• MediaSonic currently only support Dolby
  AC3 Audio streams.
• The standard allows for other types of
  audio including MPEG layer 2 audio that is
  created by some software encoders
  (Heuris).
• AC3 packets are 32msec long.


omoreno@hotmail.com         408.656.2498
AC3 Audio

• A compression scheme that can carry
  anything from mono to 5.1 surround
  sound. We typically use it in either stereo
  or 5.1.
• The stereo output plays back a mix of the
  AC, although we usually only encode
  stereo since HW encoders don’t support
  surround sound.

omoreno@hotmail.com     408.656.2498
Audio – Things to remember.
• AC3 is the only supported
  audio format.
• Audio needs to be encoded
  at 384kbits.
• Audio needs to be sampled
  at 48kHzs.
• AC3 can only exist as
  complete packets of 32
  msecs.
omoreno@hotmail.com   408.656.2498
Multiplexing

  • Wraps the audio and video into a single
    stream, in our case a Transport stream.


      Audio
 Elementary


     Video
Elementary




                           Time


  omoreno@hotmail.com      408.656.2498
Multiplexing
• Data is packed into 188 byte packets each
  starting with a h47.
• A well made file should start and end on packet
  boundaries.
• Files can be viewed with a Hex viewer to check.
            Start of packet

     47 40 11 11 00 00 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF FF FF FF 00
     00 01 B3 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF FF FF FF 00 13 3B F4
     EB E6 F1 1B F4 EB 9F 00 01 B3 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF
     FF FF FF 00 13 3B F4 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF FF FF FF 00 00 01
     B3 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF FF FF FF 00 13 3B F4 EB E6
     F1 1B F4 EB 9F 00 01 B3 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 FF FF 01 B5 20 1E 47 00 11 12

               Start of Seq. head
                                                           End of packet


omoreno@hotmail.com                         408.656.2498
Mux – Things to remember.

• Mux is Transport and uses 188 byte
  packets.
• Mux data rate must allow for the Video +
  Audio + Overhead.
• Audio should be shorter than video.
• File should and start and end on packet
  boundaries.

omoreno@hotmail.com   408.656.2498
Software Encoders
• There are two prominent encoders available
     – PixleTools - MPEGRepair.
          •   Picture only.
          •   Takes 24 bit/pixel graphic files only (BMP or TGA).
          •   Easy to use & reliable.
          •   Makes 4.2.0 or 4.2.2 files (our player auto detect and play).
          •   Has a ‘bug’ that adds a stream terminator incorrectly in the
              built in multiplexer (used to make video only transport
              streams).
     – Heuris - MPP2.
          •   Picture only or + MPEG audio (unsupported).
          •   Takes AVI and QuickTime files (with audio).
          •   Can window into source image.
          •   Can take images directly from film scanners.
omoreno@hotmail.com               408.656.2498
Software Encoders

• Make files with clean start. They include a
  Sequence header and first frame is always an I
  frame.
• Make files with clean end. It is possible to make
  clean looping files.
    – Frame count = (GOP size) x N for clean looping files.
• Very good for 3D work.
• MPEGRepair video only files must be trimmed
  before use!

omoreno@hotmail.com         408.656.2498
Real-time Encoders

• Designed to stream ASI data to a
  transmission system.
• Data can be captured asynchronously but
  will need ‘trimmed’ for quality playback.
• Some can be switched from ‘Video Off’ to
  ‘Video On’ creating a Sequence header
  and predictable I frame.
• Can make AC3 & MPEG2 audio.
    – Typically Left & Right + back up L & R.
omoreno@hotmail.com         408.656.2498
Software Multiplexers

• Manzaneta - MP2TSME
    – Very flexible DOS based tool. A b**** to use.
• PixelTools – Transmux
    – Easy Windows tool but no video only option.


• Both use the same Manzanita engine for
  Transport streams.

omoreno@hotmail.com          408.656.2498
MPEG for Large Screens

• MPEG uses motion prediction in B and P
  frames!
• MPEG encoding looses high frequencies!
• 4.2.0 can resolve horizontal color if there
  are 2+ similar colored pixels in a row and
  vertical color if there are 2+ pixels in a
  column!


omoreno@hotmail.com    408.656.2498
MPEG for Large Screens

• SD can be up-res’d to HD giving a better
  image than SD alone.
• This allows higher bitrates than the current
  SD Players.
• Allows for small GOP’s that better deal
  with fast motion vectors.



omoreno@hotmail.com    408.656.2498
Orlando Moreno
omoreno@hotmail.com
408.656.2498




 omoreno@hotmail.com   408.656.2498

More Related Content

What's hot

Audio Separation Comparison: Clustering Repeating Period and Hidden Markov Model
Audio Separation Comparison: Clustering Repeating Period and Hidden Markov ModelAudio Separation Comparison: Clustering Repeating Period and Hidden Markov Model
Audio Separation Comparison: Clustering Repeating Period and Hidden Markov Model
Yao Yao
 
In dash dvd gps navigation system
In dash dvd gps navigation systemIn dash dvd gps navigation system
In dash dvd gps navigation system
panatron
 
A glance-at-voip
A glance-at-voipA glance-at-voip
A glance-at-voip
Nicola Marinelli
 
Audio Essentials for Broadcast and Multiscreen
Audio Essentials for Broadcast and MultiscreenAudio Essentials for Broadcast and Multiscreen
Audio Essentials for Broadcast and Multiscreen
Ellis Reid
 
MMC MPEG4
MMC MPEG4MMC MPEG4
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
ryanmtucker1998
 
Sound recording glossary imporved version
Sound recording glossary imporved versionSound recording glossary imporved version
Sound recording glossary imporved version
AidenKelly
 
Protocol For Streaming Media
Protocol For Streaming MediaProtocol For Streaming Media
Protocol For Streaming Media
Kaniska Mandal
 
Streaming Media Protocols
Streaming Media ProtocolsStreaming Media Protocols
Streaming Media Protocols
sanjoysanyal
 
2012 djb software_features & topology
2012 djb software_features & topology2012 djb software_features & topology
2012 djb software_features & topology
DJBSoftware
 
Aac nero compression optimization
Aac nero compression optimizationAac nero compression optimization
Aac nero compression optimization
Sevana Oü
 
H.264 nal and RTP
H.264 nal and RTPH.264 nal and RTP
H.264 nal and RTP
Yoss Cohen
 
Topfield
TopfieldTopfield
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Generic Video Adaptation Framework Towards Content – and Context Awareness in...Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Alpen-Adria-Universität
 
Dvbviewer
DvbviewerDvbviewer
Raisul Islam 063441556
Raisul Islam 063441556Raisul Islam 063441556
Raisul Islam 063441556
mashiur
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overview
Oded Ben-Dori
 

What's hot (17)

Audio Separation Comparison: Clustering Repeating Period and Hidden Markov Model
Audio Separation Comparison: Clustering Repeating Period and Hidden Markov ModelAudio Separation Comparison: Clustering Repeating Period and Hidden Markov Model
Audio Separation Comparison: Clustering Repeating Period and Hidden Markov Model
 
In dash dvd gps navigation system
In dash dvd gps navigation systemIn dash dvd gps navigation system
In dash dvd gps navigation system
 
A glance-at-voip
A glance-at-voipA glance-at-voip
A glance-at-voip
 
Audio Essentials for Broadcast and Multiscreen
Audio Essentials for Broadcast and MultiscreenAudio Essentials for Broadcast and Multiscreen
Audio Essentials for Broadcast and Multiscreen
 
MMC MPEG4
MMC MPEG4MMC MPEG4
MMC MPEG4
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
 
Sound recording glossary imporved version
Sound recording glossary imporved versionSound recording glossary imporved version
Sound recording glossary imporved version
 
Protocol For Streaming Media
Protocol For Streaming MediaProtocol For Streaming Media
Protocol For Streaming Media
 
Streaming Media Protocols
Streaming Media ProtocolsStreaming Media Protocols
Streaming Media Protocols
 
2012 djb software_features & topology
2012 djb software_features & topology2012 djb software_features & topology
2012 djb software_features & topology
 
Aac nero compression optimization
Aac nero compression optimizationAac nero compression optimization
Aac nero compression optimization
 
H.264 nal and RTP
H.264 nal and RTPH.264 nal and RTP
H.264 nal and RTP
 
Topfield
TopfieldTopfield
Topfield
 
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Generic Video Adaptation Framework Towards Content – and Context Awareness in...Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
 
Dvbviewer
DvbviewerDvbviewer
Dvbviewer
 
Raisul Islam 063441556
Raisul Islam 063441556Raisul Islam 063441556
Raisul Islam 063441556
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overview
 

Similar to Mpeg For The Media Sonic Players

presentation
presentationpresentation
presentation
Videoguy
 
Encoding for i devices
Encoding for i devicesEncoding for i devices
Encoding for i devices
cakogal
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding Standard
Videoguy
 
Introduction to Gstreamer
Introduction to GstreamerIntroduction to Gstreamer
Introduction to Gstreamer
Rand Graham
 
PySynth : A toy pure python software synthesizer.
PySynth : A toy pure python software synthesizer.PySynth : A toy pure python software synthesizer.
PySynth : A toy pure python software synthesizer.
Ransui Iso
 
How does Netflix Get Built and Triumphed?
How does Netflix Get Built and Triumphed?How does Netflix Get Built and Triumphed?
How does Netflix Get Built and Triumphed?
Shuen-Huei Guan
 
Bigger Hard Drive Jamie Lean
Bigger Hard Drive Jamie LeanBigger Hard Drive Jamie Lean
Bigger Hard Drive Jamie Lean
Future Perfect 2012
 
2005 06-12-vitale-emgsession-videopreservation
2005 06-12-vitale-emgsession-videopreservation2005 06-12-vitale-emgsession-videopreservation
2005 06-12-vitale-emgsession-videopreservation
Pptblog Pptblogcom
 
Mmclass5b
Mmclass5bMmclass5b
Mmclass5b
Hassan Dar
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Dr. Mohieddin Moradi
 
Intro to Compression: Audio and Video Optimization for Learning
Intro to Compression: Audio and Video Optimization for LearningIntro to Compression: Audio and Video Optimization for Learning
Intro to Compression: Audio and Video Optimization for Learning
Nick Floro
 
Consideration of issues for archiving of 4K/8K. Arai Hirokazu, NHK
Consideration of issues for archiving of 4K/8K. Arai Hirokazu, NHKConsideration of issues for archiving of 4K/8K. Arai Hirokazu, NHK
Consideration of issues for archiving of 4K/8K. Arai Hirokazu, NHK
FIAT/IFTA
 
Research on Audio and Video Streaming
Research on Audio and Video StreamingResearch on Audio and Video Streaming
Research on Audio and Video Streaming
Nyros Technologies
 
02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming
tarensi
 
85 videocompress
85 videocompress85 videocompress
85 videocompress
Pptblog Pptblogcom
 
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
Preserving Audiovisual Materials (LIS 198-Digital Preservation)Preserving Audiovisual Materials (LIS 198-Digital Preservation)
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
Roy Santos Necesario
 
Video Compression Standards - History & Introduction
Video Compression Standards - History & IntroductionVideo Compression Standards - History & Introduction
Video Compression Standards - History & Introduction
Champ Yen
 
Jpeg and mpeg ppt
Jpeg and mpeg pptJpeg and mpeg ppt
Jpeg and mpeg ppt
siddharth rathore
 
A Progressive Approach to the Past: Ensuring Backwards Compatability Through ...
A Progressive Approach to the Past: Ensuring Backwards Compatability Through ...A Progressive Approach to the Past: Ensuring Backwards Compatability Through ...
A Progressive Approach to the Past: Ensuring Backwards Compatability Through ...
Derek Buitenhuis
 
【Specification】Geniatech APC390R Android Embedded ARM based Mini PC designed ...
【Specification】Geniatech APC390R Android Embedded ARM based Mini PC designed ...【Specification】Geniatech APC390R Android Embedded ARM based Mini PC designed ...
【Specification】Geniatech APC390R Android Embedded ARM based Mini PC designed ...
Geniatech
 

Similar to Mpeg For The Media Sonic Players (20)

presentation
presentationpresentation
presentation
 
Encoding for i devices
Encoding for i devicesEncoding for i devices
Encoding for i devices
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding Standard
 
Introduction to Gstreamer
Introduction to GstreamerIntroduction to Gstreamer
Introduction to Gstreamer
 
PySynth : A toy pure python software synthesizer.
PySynth : A toy pure python software synthesizer.PySynth : A toy pure python software synthesizer.
PySynth : A toy pure python software synthesizer.
 
How does Netflix Get Built and Triumphed?
How does Netflix Get Built and Triumphed?How does Netflix Get Built and Triumphed?
How does Netflix Get Built and Triumphed?
 
Bigger Hard Drive Jamie Lean
Bigger Hard Drive Jamie LeanBigger Hard Drive Jamie Lean
Bigger Hard Drive Jamie Lean
 
2005 06-12-vitale-emgsession-videopreservation
2005 06-12-vitale-emgsession-videopreservation2005 06-12-vitale-emgsession-videopreservation
2005 06-12-vitale-emgsession-videopreservation
 
Mmclass5b
Mmclass5bMmclass5b
Mmclass5b
 
Video Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video CodecsVideo Compression, Part 3-Section 2, Some Standard Video Codecs
Video Compression, Part 3-Section 2, Some Standard Video Codecs
 
Intro to Compression: Audio and Video Optimization for Learning
Intro to Compression: Audio and Video Optimization for LearningIntro to Compression: Audio and Video Optimization for Learning
Intro to Compression: Audio and Video Optimization for Learning
 
Consideration of issues for archiving of 4K/8K. Arai Hirokazu, NHK
Consideration of issues for archiving of 4K/8K. Arai Hirokazu, NHKConsideration of issues for archiving of 4K/8K. Arai Hirokazu, NHK
Consideration of issues for archiving of 4K/8K. Arai Hirokazu, NHK
 
Research on Audio and Video Streaming
Research on Audio and Video StreamingResearch on Audio and Video Streaming
Research on Audio and Video Streaming
 
02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming
 
85 videocompress
85 videocompress85 videocompress
85 videocompress
 
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
Preserving Audiovisual Materials (LIS 198-Digital Preservation)Preserving Audiovisual Materials (LIS 198-Digital Preservation)
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
 
Video Compression Standards - History & Introduction
Video Compression Standards - History & IntroductionVideo Compression Standards - History & Introduction
Video Compression Standards - History & Introduction
 
Jpeg and mpeg ppt
Jpeg and mpeg pptJpeg and mpeg ppt
Jpeg and mpeg ppt
 
A Progressive Approach to the Past: Ensuring Backwards Compatability Through ...
A Progressive Approach to the Past: Ensuring Backwards Compatability Through ...A Progressive Approach to the Past: Ensuring Backwards Compatability Through ...
A Progressive Approach to the Past: Ensuring Backwards Compatability Through ...
 
【Specification】Geniatech APC390R Android Embedded ARM based Mini PC designed ...
【Specification】Geniatech APC390R Android Embedded ARM based Mini PC designed ...【Specification】Geniatech APC390R Android Embedded ARM based Mini PC designed ...
【Specification】Geniatech APC390R Android Embedded ARM based Mini PC designed ...
 

More from guest78aa88

Nice Product Road Map May99
Nice Product Road Map May99Nice Product Road Map May99
Nice Product Road Map May99
guest78aa88
 
Nice Pm Introduction Cert
Nice Pm Introduction CertNice Pm Introduction Cert
Nice Pm Introduction Cert
guest78aa88
 
Nice Flow Charts Prof Servs
Nice Flow Charts Prof ServsNice Flow Charts Prof Servs
Nice Flow Charts Prof Servs
guest78aa88
 
Minutes Unitel
Minutes UnitelMinutes Unitel
Minutes Unitel
guest78aa88
 
Mileage Log 2009
Mileage Log 2009Mileage Log 2009
Mileage Log 2009
guest78aa88
 
Mid Level Architecture
Mid Level ArchitectureMid Level Architecture
Mid Level Architecture
guest78aa88
 
Overcoming Imposible Projects
Overcoming Imposible ProjectsOvercoming Imposible Projects
Overcoming Imposible Projects
guest78aa88
 
Problem Log Sw Resolution
Problem Log Sw ResolutionProblem Log Sw Resolution
Problem Log Sw Resolution
guest78aa88
 
Information Tech & Heavy Industry
Information Tech & Heavy IndustryInformation Tech & Heavy Industry
Information Tech & Heavy Industry
guest78aa88
 
Informatica
InformaticaInformatica
Informatica
guest78aa88
 
Influenza
InfluenzaInfluenza
Influenza
guest78aa88
 
Global Sales
Global SalesGlobal Sales
Global Sales
guest78aa88
 
Experience Of The Day Cpmmx Rev
Experience Of The Day Cpmmx RevExperience Of The Day Cpmmx Rev
Experience Of The Day Cpmmx Rev
guest78aa88
 
Marketing And Business Planning
Marketing And Business PlanningMarketing And Business Planning
Marketing And Business Planning
guest78aa88
 
Business Case Studies
Business Case StudiesBusiness Case Studies
Business Case Studies
guest78aa88
 

More from guest78aa88 (15)

Nice Product Road Map May99
Nice Product Road Map May99Nice Product Road Map May99
Nice Product Road Map May99
 
Nice Pm Introduction Cert
Nice Pm Introduction CertNice Pm Introduction Cert
Nice Pm Introduction Cert
 
Nice Flow Charts Prof Servs
Nice Flow Charts Prof ServsNice Flow Charts Prof Servs
Nice Flow Charts Prof Servs
 
Minutes Unitel
Minutes UnitelMinutes Unitel
Minutes Unitel
 
Mileage Log 2009
Mileage Log 2009Mileage Log 2009
Mileage Log 2009
 
Mid Level Architecture
Mid Level ArchitectureMid Level Architecture
Mid Level Architecture
 
Overcoming Imposible Projects
Overcoming Imposible ProjectsOvercoming Imposible Projects
Overcoming Imposible Projects
 
Problem Log Sw Resolution
Problem Log Sw ResolutionProblem Log Sw Resolution
Problem Log Sw Resolution
 
Information Tech & Heavy Industry
Information Tech & Heavy IndustryInformation Tech & Heavy Industry
Information Tech & Heavy Industry
 
Informatica
InformaticaInformatica
Informatica
 
Influenza
InfluenzaInfluenza
Influenza
 
Global Sales
Global SalesGlobal Sales
Global Sales
 
Experience Of The Day Cpmmx Rev
Experience Of The Day Cpmmx RevExperience Of The Day Cpmmx Rev
Experience Of The Day Cpmmx Rev
 
Marketing And Business Planning
Marketing And Business PlanningMarketing And Business Planning
Marketing And Business Planning
 
Business Case Studies
Business Case StudiesBusiness Case Studies
Business Case Studies
 

Recently uploaded

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 

Recently uploaded (20)

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 

Mpeg For The Media Sonic Players

  • 1. A Division of Electrosonic MPEG for the MediaSonic Players Orlando Moreno omoreno@hotmail.com 408.656.2498
  • 2. Only what you need to know! Equation 1: Forward Discrete Cosine Transform omoreno@hotmail.com 408.656.2498
  • 3. MPEG only what you need to know! • MPEG is a compression standard, currently we use MPEG2 on the Players. • An MPEG file contains Video and Audio in discrete streams called ELEMENTARY streams. Time stamps are used to synchronize the streams. • These streams are MULTIPLEXED together either as a PROGRAM or TRANSPORT stream. • This is all bad news! omoreno@hotmail.com 408.656.2498
  • 4. Program / Transport • Electrosonic SD Player uses MPEG2 Program Streams that are designed for storage and playback from disk. • MediaSonic DTV Players use MPEG2 Transport Streams designed for transmission over communication systems like ATM and broadcast. They are designed to recover from error not perfect playback! omoreno@hotmail.com 408.656.2498
  • 5. MPEG Encoder Audio Data Mpeg Encode Audio PES Packet Multiplexer Multiplexed Stream Video PES Video Data Mpeg Encode Packet System Clock omoreno@hotmail.com 408.656.2498
  • 6. Hardware MPEG Video Encoder HDSDI 4.2.2 @ 10bit 4.2.0 @ 8bit DCT D5 is 4.2.2 – 10 bit HDCAM is 3.1.1 - 8 bit omoreno@hotmail.com 408.656.2498
  • 7. Color Sampling Standards P P P P Line 1 PR B PR B PR B PR B Y Y Y Y Y Y Y Y P P P P Line 2 PR B PR B PR B PR B Y Y Y Y Y Y Y Y 4.2.2 Line 1 Y Y Y Y Y Y Y Y P P P P PR B PR B PR B PR B Line 2 Y Y Y Y Y Y Y Y 4.2.0 omoreno@hotmail.com 408.656.2498
  • 8. Video Compression P Frames B Frames I Frame Group of Pictures in Encoder Sequence omoreno@hotmail.com 408.656.2498
  • 9. Headers Sequence Group of Pictures Header GOP Header omoreno@hotmail.com 408.656.2498
  • 10. Video - Things to remember. • GOP is usually half a second long, so 15 frames for NTSC and 12 for PAL. • A ‘Closed’ GOP is better for random access and synchronous files. • Each GOP should contain a Sequence header. • Files should start on a Sequence header. omoreno@hotmail.com 408.656.2498
  • 11. Audio Compression • MediaSonic currently only support Dolby AC3 Audio streams. • The standard allows for other types of audio including MPEG layer 2 audio that is created by some software encoders (Heuris). • AC3 packets are 32msec long. omoreno@hotmail.com 408.656.2498
  • 12. AC3 Audio • A compression scheme that can carry anything from mono to 5.1 surround sound. We typically use it in either stereo or 5.1. • The stereo output plays back a mix of the AC, although we usually only encode stereo since HW encoders don’t support surround sound. omoreno@hotmail.com 408.656.2498
  • 13. Audio – Things to remember. • AC3 is the only supported audio format. • Audio needs to be encoded at 384kbits. • Audio needs to be sampled at 48kHzs. • AC3 can only exist as complete packets of 32 msecs. omoreno@hotmail.com 408.656.2498
  • 14. Multiplexing • Wraps the audio and video into a single stream, in our case a Transport stream. Audio Elementary Video Elementary Time omoreno@hotmail.com 408.656.2498
  • 15. Multiplexing • Data is packed into 188 byte packets each starting with a h47. • A well made file should start and end on packet boundaries. • Files can be viewed with a Hex viewer to check. Start of packet 47 40 11 11 00 00 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF FF FF FF 00 00 01 B3 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF FF FF FF 00 13 3B F4 EB E6 F1 1B F4 EB 9F 00 01 B3 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF FF FF FF 00 13 3B F4 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF FF FF FF 00 00 01 B3 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 EB 9F BD FF FF FF FF FF FF FF FF 00 13 3B F4 EB E6 F1 1B F4 EB 9F 00 01 B3 E4 00 00 84 C0 13 3B F4 EB E6 F1 1B F4 FF FF 01 B5 20 1E 47 00 11 12 Start of Seq. head End of packet omoreno@hotmail.com 408.656.2498
  • 16. Mux – Things to remember. • Mux is Transport and uses 188 byte packets. • Mux data rate must allow for the Video + Audio + Overhead. • Audio should be shorter than video. • File should and start and end on packet boundaries. omoreno@hotmail.com 408.656.2498
  • 17. Software Encoders • There are two prominent encoders available – PixleTools - MPEGRepair. • Picture only. • Takes 24 bit/pixel graphic files only (BMP or TGA). • Easy to use & reliable. • Makes 4.2.0 or 4.2.2 files (our player auto detect and play). • Has a ‘bug’ that adds a stream terminator incorrectly in the built in multiplexer (used to make video only transport streams). – Heuris - MPP2. • Picture only or + MPEG audio (unsupported). • Takes AVI and QuickTime files (with audio). • Can window into source image. • Can take images directly from film scanners. omoreno@hotmail.com 408.656.2498
  • 18. Software Encoders • Make files with clean start. They include a Sequence header and first frame is always an I frame. • Make files with clean end. It is possible to make clean looping files. – Frame count = (GOP size) x N for clean looping files. • Very good for 3D work. • MPEGRepair video only files must be trimmed before use! omoreno@hotmail.com 408.656.2498
  • 19. Real-time Encoders • Designed to stream ASI data to a transmission system. • Data can be captured asynchronously but will need ‘trimmed’ for quality playback. • Some can be switched from ‘Video Off’ to ‘Video On’ creating a Sequence header and predictable I frame. • Can make AC3 & MPEG2 audio. – Typically Left & Right + back up L & R. omoreno@hotmail.com 408.656.2498
  • 20. Software Multiplexers • Manzaneta - MP2TSME – Very flexible DOS based tool. A b**** to use. • PixelTools – Transmux – Easy Windows tool but no video only option. • Both use the same Manzanita engine for Transport streams. omoreno@hotmail.com 408.656.2498
  • 21. MPEG for Large Screens • MPEG uses motion prediction in B and P frames! • MPEG encoding looses high frequencies! • 4.2.0 can resolve horizontal color if there are 2+ similar colored pixels in a row and vertical color if there are 2+ pixels in a column! omoreno@hotmail.com 408.656.2498
  • 22. MPEG for Large Screens • SD can be up-res’d to HD giving a better image than SD alone. • This allows higher bitrates than the current SD Players. • Allows for small GOP’s that better deal with fast motion vectors. omoreno@hotmail.com 408.656.2498