SlideShare ist ein Scribd-Unternehmen logo
1 von 23
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

Weitere ähnliche Inhalte

Was ist angesagt?

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 ModelYao Yao
 
In dash dvd gps navigation system
In dash dvd gps navigation systemIn dash dvd gps navigation system
In dash dvd gps navigation systempanatron
 
Audio Essentials for Broadcast and Multiscreen
Audio Essentials for Broadcast and MultiscreenAudio Essentials for Broadcast and Multiscreen
Audio Essentials for Broadcast and MultiscreenEllis Reid
 
Sound recording glossary imporved version
Sound recording glossary imporved versionSound recording glossary imporved version
Sound recording glossary imporved versionAidenKelly
 
Protocol For Streaming Media
Protocol For Streaming MediaProtocol For Streaming Media
Protocol For Streaming MediaKaniska Mandal
 
Streaming Media Protocols
Streaming Media ProtocolsStreaming Media Protocols
Streaming Media Protocolssanjoysanyal
 
2012 djb software_features & topology
2012 djb software_features & topology2012 djb software_features & topology
2012 djb software_features & topologyDJBSoftware
 
Aac nero compression optimization
Aac nero compression optimizationAac nero compression optimization
Aac nero compression optimizationSevana Oü
 
H.264 nal and RTP
H.264 nal and RTPH.264 nal and RTP
H.264 nal and RTPYoss Cohen
 
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
 
Raisul Islam 063441556
Raisul Islam 063441556Raisul Islam 063441556
Raisul Islam 063441556mashiur
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overviewOded Ben-Dori
 

Was ist angesagt? (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
 

Ähnlich wie Mpeg For The Media Sonic Players

presentation
presentationpresentation
presentationVideoguy
 
Encoding for i devices
Encoding for i devicesEncoding for i devices
Encoding for i devicescakogal
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding StandardVideoguy
 
Introduction to Gstreamer
Introduction to GstreamerIntroduction to Gstreamer
Introduction to GstreamerRand 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
 
2005 06-12-vitale-emgsession-videopreservation
2005 06-12-vitale-emgsession-videopreservation2005 06-12-vitale-emgsession-videopreservation
2005 06-12-vitale-emgsession-videopreservationPptblog Pptblogcom
 
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 CodecsDr. 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 LearningNick 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, NHKFIAT/IFTA
 
Research on Audio and Video Streaming
Research on Audio and Video StreamingResearch on Audio and Video Streaming
Research on Audio and Video StreamingNyros Technologies
 
02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreamingtarensi
 
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 & IntroductionChamp Yen
 
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
 

Ähnlich wie 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 ...
 

Mehr von guest78aa88

Nice Product Road Map May99
Nice Product Road Map May99Nice Product Road Map May99
Nice Product Road Map May99guest78aa88
 
Nice Pm Introduction Cert
Nice Pm Introduction CertNice Pm Introduction Cert
Nice Pm Introduction Certguest78aa88
 
Nice Flow Charts Prof Servs
Nice Flow Charts Prof ServsNice Flow Charts Prof Servs
Nice Flow Charts Prof Servsguest78aa88
 
Mileage Log 2009
Mileage Log 2009Mileage Log 2009
Mileage Log 2009guest78aa88
 
Mid Level Architecture
Mid Level ArchitectureMid Level Architecture
Mid Level Architectureguest78aa88
 
Overcoming Imposible Projects
Overcoming Imposible ProjectsOvercoming Imposible Projects
Overcoming Imposible Projectsguest78aa88
 
Problem Log Sw Resolution
Problem Log Sw ResolutionProblem Log Sw Resolution
Problem Log Sw Resolutionguest78aa88
 
Information Tech & Heavy Industry
Information Tech & Heavy IndustryInformation Tech & Heavy Industry
Information Tech & Heavy Industryguest78aa88
 
Experience Of The Day Cpmmx Rev
Experience Of The Day Cpmmx RevExperience Of The Day Cpmmx Rev
Experience Of The Day Cpmmx Revguest78aa88
 
Marketing And Business Planning
Marketing And Business PlanningMarketing And Business Planning
Marketing And Business Planningguest78aa88
 
Business Case Studies
Business Case StudiesBusiness Case Studies
Business Case Studiesguest78aa88
 

Mehr von 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
 

Kürzlich hochgeladen

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Kürzlich hochgeladen (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

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