SlideShare a Scribd company logo
3D Video
for
Android
          Yossi Cohen

                        1
Content
 Intro to 3D Video
 3D Video in H.264
 3D Video in HDMI 1.4a
 Android 3D Video encoding
  TI OMAP4 Configuration
  Qualcomm Configuration




                              2
3
What is 3D Video
 3d content is made by showing a separate image (video) to
 each eye.
 3D Glasses based technologies:
  ANAGLYPH
  POLARIZATION
  ECLIPSE METHOD
 3D Glass-free technologies:
  GUIDED LIGHT
  LENTICULAR SCREEN
  PARALLAX BARRIER
 This presentation does not discuss the presentation
 technologies, ,instead we focus on how to compress and
 deliver the video to the screen.

                                                              4
5
Legacy 3D Video Delivery
 Different devices delivered 3D Video as one video
 stream with the two R/L screens merged into one
 rectangle:
 1. DirectTV uses Side-by-Side layout

 2. PlayStation uses Top-Bottom layout

 3. Blue-Ray Player FULL-HD Side-by-Side

 User should manually set the TV to 3D
 and Configure the right packing mode


                                                      6
Side-by-Side 3D Example
 BlueRay video with Full HD SBS
 Resolution is 3840X1280




                                   7
3D Video in HDMI 1.3
 Delivery of 3D Video in packing of
 1 and 2 was possible in HDMI:
 Side-by-Side 3D in HDMI



 Top-Bottom 3D in HDMI
 Problems
 User should manually configure
 TV to the correct mode

 3D is not viewed as Full-HD. Each eye receives “Half-HD”
  Quality.
 Duo to Bandwidth constraints no support for 3D-Full-HD     8
3D in HDMI 1.4a and HDMI 2+
 In Advance HDMI standards, HDMI include Header fields
 which signals the frame packing mode




 Example: 3D SBS transmission in HDMI 1.4

                                                          9
10
H.264 3D Profiles
 Encoding of one stream video slices halved into
  R/L screens can be done in ANY H.264 Profile.
 Alternative encoding are:
  MVC
  Stereo-High




                                                    11
H.264 AVC 3D encoding mode
 There are two options for 3D H.264 AVC encoding:
 Regular encoding of a single video stream with
 two L/R frames packed into one Frame
  Codec is unaware that the video is 3D
  No signaling information is sent
 Informing the Encoder the video is 3D
  Encoder will insert Frame-Packing information
  TV / Sink should switch automatically to 3D correct frame
   packing according to signaled information




                                                               12
H.264 3D Signaling
 H264 Signals 3D Video and the type of Frame
  Packing (Side-by-Side, Top-Bottom, Interlaced…)
  by Frame Packing Arrangement structure
 FPA is an optional message inside the SEI NAL
 Frame Packing Agreement structure was added to
  the standard in 2010.
 A device receiving H.264 stream with SEI-FPA
  could automatically change its mode to the correct
  3D Mode (if it understands those headers and has
  3D capabilities).


                                                       13
Example of 3D Configuration
 There are two types of FPA extensions 2004 & 2010
 2004 states the frame arrangement SBS, Top-Bottom etc
 2010 is more detailed as described below




                                                          14
MVC – Multi View Coding
 MVC is a standard for compression of multiple
  video streams into one encoded streams
 All streams are encoded as differences (deltas)
  from the first stream (like SVC)
 MVC with 2 video streams is 3D stereo




                                                    15
H.264 Stereo Mode
 H.264 Stereo Mode is like MVC with only two
 cameras.




                                                16
Wireless 3D Video transmission
                                          Automatic 3D Video




    H.264                            3D Video
   Encoder                           over HDMI
                                     1.4a

                           Wireless Dongle
                           H.264                 HDMI
                           Decoder           Converter
      H.264 with SEI FPA
      over Wireless
                                                         17
3D VIDEO COMPRESSION ON
ANDROID




                          18
TI 3D Configuration
 For all platforms (Nvidia, TI, QCOM), in the Encoder OMX
 input pin configuration add the appropriate code according
 to the processor




                                                             19
TI 3D Configuration

OMX_TI_VIDEO_PARAM_AVCENC_FRAMEPACKINGINFO2010 FramePacking2010;
FILL_OMX_VERSION(FramePacking2010 ,OMX_TI_VIDEO_PARAM_AVCENC_FRAMEPACKINGINFO2010);
FramePacking2010.nPortIndex = OMX_PORT_INDEX_INPUT;
FramePacking2010.eFramePackingType = OMX_TI_Video_FRAMEPACK_SIDE_BY_SIDE;
FramePacking2010.nFrame0PositionX = 0;
FramePacking2010.nFrame0PositionY = 0;
FramePacking2010.nFrame1PositionX = 0;
FramePacking2010.nFrame1PositionY = 0
OMX_CALL( SetParameter, (OMX_INDEXTYPE) OMX_TI_IndexParamStereoFramePacking2010Settings,
&FramePacking2010 );
OMX_TI_VIDEO_PARAM_FRAMEDATACONTENTTYPE FrameData;
FILL_OMX_VERSION(FrameData ,OMX_TI_VIDEO_PARAM_FRAMEDATACONTENTTYPE);
FrameData.nPortIndex = OMX_PORT_INDEX_INPUT;
eContentType = OMX_TI_Video_AVC_2010_StereoFramePackingType;
OMX_CALL( SetParameter,(OMX_INDEXTYPE)OMX_TI_IndexParamVideoFrameDataContentSettings,
&FrameData );

                                                                                           20
Qualcomm Configuration


Unfortunately couldn’t find a method for this on
Qualcomm processors. If you know please email me
or comment and I’ll update this presentation




                                              21
Thank you!
More About me:
 Video Expert
                                       Yossi Cohen
 Lectures on Video / Android / VoIP
                                       yossicohen19@gmail.com
 Android Native Developer             http://www.mobilevideotech.com
                                       +972-545-313092




                                                                        22
Resources
 Overview of the Stereo and Multiview Video Coding Extensions of the
  H.264/MPEG-4 AVC Standard
 http://www.practical-home-theater-guide.com/3d-tv-formats.html
 High-Definition Multimedia Interface Specification Version 1.4a Extraction of 3D
  Signaling Portion




                                                                                 23

More Related Content

PPT
Web video standards
PPT
Introduction to HEVC
PDF
Presentazione Broadcast H.265 & H.264 Sematron Italia - Maggio 2016
PPTX
A short history of video coding
PPTX
Subjective quality evaluation of the upcoming HEVC video compression standard
PPT
HEVC Definitions and high-level syntax
PPTX
H.264 vs HEVC
PDF
Deblocking_Filter_v2
Web video standards
Introduction to HEVC
Presentazione Broadcast H.265 & H.264 Sematron Italia - Maggio 2016
A short history of video coding
Subjective quality evaluation of the upcoming HEVC video compression standard
HEVC Definitions and high-level syntax
H.264 vs HEVC
Deblocking_Filter_v2

What's hot (20)

PDF
Feature hevc
PPT
H.263 Video Codec
PDF
The H.265/MPEG-HEVC Standard
PPTX
An Overview of High Efficiency Video Codec HEVC (H.265)
PDF
HEVC overview main
PDF
HEVC VIDEO CODEC By Vinayagam Mariappan
PPT
H.264 video standard
PDF
H264 final
PDF
HEVC intra coding
PPT
HEVC / H265 Hands-On course
PPT
H263.ppt
PDF
Development of a 4K H.265/ HEVC HW Encoder
PDF
Applied technology
PPTX
High Efficiency Video Codec
PDF
H.264 nal and RTP
PPTX
Video coding standards ppt
PPTX
H.265ImprovedCE_over_H.264-HarmonicMay2014Final
PDF
h.264 video compression standard.
PDF
LDI 2012 System Integration
PDF
Next generation video compression
Feature hevc
H.263 Video Codec
The H.265/MPEG-HEVC Standard
An Overview of High Efficiency Video Codec HEVC (H.265)
HEVC overview main
HEVC VIDEO CODEC By Vinayagam Mariappan
H.264 video standard
H264 final
HEVC intra coding
HEVC / H265 Hands-On course
H263.ppt
Development of a 4K H.265/ HEVC HW Encoder
Applied technology
High Efficiency Video Codec
H.264 nal and RTP
Video coding standards ppt
H.265ImprovedCE_over_H.264-HarmonicMay2014Final
h.264 video compression standard.
LDI 2012 System Integration
Next generation video compression
Ad

Viewers also liked (7)

PPTX
Delta++ Reducing The Size Of Android Application Updates
PPTX
Step by Step Mobile Optimization
PPT
Android Media Player Development
PPTX
Types Of Sentences Ppt
PPT
Sentence Structure Ppt
PPT
Sentence structure powerpoint
PPT
Types Of Sentences
Delta++ Reducing The Size Of Android Application Updates
Step by Step Mobile Optimization
Android Media Player Development
Types Of Sentences Ppt
Sentence Structure Ppt
Sentence structure powerpoint
Types Of Sentences
Ad

Similar to 3D Video Programming for Android (20)

PDF
Basics of Mpeg 4 3D Graphics Compression
PDF
GPU - HD Video White Paper
PDF
Video Compression Technology
PPTX
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
PDF
Tutorial MPEG 3D Graphics
DOCX
Worksheet 1
PDF
1-MIV-tutorial-part-1.pdf
PDF
MJPEG MPEG4 H.264
PDF
MJPEG MPEG4 H.264
DOCX
Motion Graphics and Compositing Video Analysis Worksheet
PPT
Introduction to Video Compression Techniques - Anurag Jain
DOCX
Greenstreeet
PDF
3D Video: From Stereo to Multi-View
PPT
Video Coding Standard
PDF
Multimedia Services: Video
PPT
MPEG4 vs H.264
PPTX
Scct2013 topic4 video
PDF
3-D Video Formats and Coding- A review
PDF
3-D Video Formats and Coding- A review
DOCX
Greenstreeet
Basics of Mpeg 4 3D Graphics Compression
GPU - HD Video White Paper
Video Compression Technology
Generic Video Adaptation Framework Towards Content – and Context Awareness in...
Tutorial MPEG 3D Graphics
Worksheet 1
1-MIV-tutorial-part-1.pdf
MJPEG MPEG4 H.264
MJPEG MPEG4 H.264
Motion Graphics and Compositing Video Analysis Worksheet
Introduction to Video Compression Techniques - Anurag Jain
Greenstreeet
3D Video: From Stereo to Multi-View
Video Coding Standard
Multimedia Services: Video
MPEG4 vs H.264
Scct2013 topic4 video
3-D Video Formats and Coding- A review
3-D Video Formats and Coding- A review
Greenstreeet

More from Yoss Cohen (20)

PPTX
Underwater robotics simulation with isaac sim
PPTX
Infrared simulation and processing on Nvidia platforms
PPTX
open platform for swarm training
PDF
Deep Learning - system view
PDF
Dspip deep learning syllabus
PPT
IoT consideration selection
PPT
IoT evolution
DOC
Nvidia jetson nano bringup
PPT
Autonomous car teleportation architecture
PPT
Motion estimation overview
PPT
Computer Vision - Image Filters
PPT
Intro to machine learning with scikit learn
PPT
DASH and HTTP2.0
PPT
FFMPEG on android
PDF
Hands-on Video Course - "RAW Video"
PDF
Video quality testing
PDF
Product wise computer vision development
PDF
Analog Video
PPTX
WiFi Display
DOC
Video optimization for android - Part I
Underwater robotics simulation with isaac sim
Infrared simulation and processing on Nvidia platforms
open platform for swarm training
Deep Learning - system view
Dspip deep learning syllabus
IoT consideration selection
IoT evolution
Nvidia jetson nano bringup
Autonomous car teleportation architecture
Motion estimation overview
Computer Vision - Image Filters
Intro to machine learning with scikit learn
DASH and HTTP2.0
FFMPEG on android
Hands-on Video Course - "RAW Video"
Video quality testing
Product wise computer vision development
Analog Video
WiFi Display
Video optimization for android - Part I

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Approach and Philosophy of On baking technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
Teaching material agriculture food technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Review of recent advances in non-invasive hemoglobin estimation
20250228 LYD VKU AI Blended-Learning.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Cloud computing and distributed systems.
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
MYSQL Presentation for SQL database connectivity
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
Digital-Transformation-Roadmap-for-Companies.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Diabetes mellitus diagnosis method based random forest with bat algorithm
Unlocking AI with Model Context Protocol (MCP)
Approach and Philosophy of On baking technology
The AUB Centre for AI in Media Proposal.docx
Teaching material agriculture food technology

3D Video Programming for Android

  • 1. 3D Video for Android Yossi Cohen 1
  • 2. Content  Intro to 3D Video  3D Video in H.264  3D Video in HDMI 1.4a  Android 3D Video encoding  TI OMAP4 Configuration  Qualcomm Configuration 2
  • 3. 3
  • 4. What is 3D Video  3d content is made by showing a separate image (video) to each eye.  3D Glasses based technologies:  ANAGLYPH  POLARIZATION  ECLIPSE METHOD  3D Glass-free technologies:  GUIDED LIGHT  LENTICULAR SCREEN  PARALLAX BARRIER  This presentation does not discuss the presentation technologies, ,instead we focus on how to compress and deliver the video to the screen. 4
  • 5. 5
  • 6. Legacy 3D Video Delivery  Different devices delivered 3D Video as one video stream with the two R/L screens merged into one rectangle: 1. DirectTV uses Side-by-Side layout 2. PlayStation uses Top-Bottom layout 3. Blue-Ray Player FULL-HD Side-by-Side  User should manually set the TV to 3D and Configure the right packing mode 6
  • 7. Side-by-Side 3D Example  BlueRay video with Full HD SBS  Resolution is 3840X1280 7
  • 8. 3D Video in HDMI 1.3  Delivery of 3D Video in packing of 1 and 2 was possible in HDMI:  Side-by-Side 3D in HDMI  Top-Bottom 3D in HDMI  Problems  User should manually configure TV to the correct mode  3D is not viewed as Full-HD. Each eye receives “Half-HD” Quality.  Duo to Bandwidth constraints no support for 3D-Full-HD 8
  • 9. 3D in HDMI 1.4a and HDMI 2+  In Advance HDMI standards, HDMI include Header fields which signals the frame packing mode  Example: 3D SBS transmission in HDMI 1.4 9
  • 10. 10
  • 11. H.264 3D Profiles  Encoding of one stream video slices halved into R/L screens can be done in ANY H.264 Profile.  Alternative encoding are:  MVC  Stereo-High 11
  • 12. H.264 AVC 3D encoding mode  There are two options for 3D H.264 AVC encoding:  Regular encoding of a single video stream with two L/R frames packed into one Frame  Codec is unaware that the video is 3D  No signaling information is sent  Informing the Encoder the video is 3D  Encoder will insert Frame-Packing information  TV / Sink should switch automatically to 3D correct frame packing according to signaled information 12
  • 13. H.264 3D Signaling  H264 Signals 3D Video and the type of Frame Packing (Side-by-Side, Top-Bottom, Interlaced…) by Frame Packing Arrangement structure  FPA is an optional message inside the SEI NAL  Frame Packing Agreement structure was added to the standard in 2010.  A device receiving H.264 stream with SEI-FPA could automatically change its mode to the correct 3D Mode (if it understands those headers and has 3D capabilities). 13
  • 14. Example of 3D Configuration  There are two types of FPA extensions 2004 & 2010  2004 states the frame arrangement SBS, Top-Bottom etc  2010 is more detailed as described below 14
  • 15. MVC – Multi View Coding  MVC is a standard for compression of multiple video streams into one encoded streams  All streams are encoded as differences (deltas) from the first stream (like SVC)  MVC with 2 video streams is 3D stereo 15
  • 16. H.264 Stereo Mode  H.264 Stereo Mode is like MVC with only two cameras. 16
  • 17. Wireless 3D Video transmission Automatic 3D Video H.264 3D Video Encoder over HDMI 1.4a Wireless Dongle H.264 HDMI Decoder Converter H.264 with SEI FPA over Wireless 17
  • 18. 3D VIDEO COMPRESSION ON ANDROID 18
  • 19. TI 3D Configuration  For all platforms (Nvidia, TI, QCOM), in the Encoder OMX input pin configuration add the appropriate code according to the processor 19
  • 20. TI 3D Configuration OMX_TI_VIDEO_PARAM_AVCENC_FRAMEPACKINGINFO2010 FramePacking2010; FILL_OMX_VERSION(FramePacking2010 ,OMX_TI_VIDEO_PARAM_AVCENC_FRAMEPACKINGINFO2010); FramePacking2010.nPortIndex = OMX_PORT_INDEX_INPUT; FramePacking2010.eFramePackingType = OMX_TI_Video_FRAMEPACK_SIDE_BY_SIDE; FramePacking2010.nFrame0PositionX = 0; FramePacking2010.nFrame0PositionY = 0; FramePacking2010.nFrame1PositionX = 0; FramePacking2010.nFrame1PositionY = 0 OMX_CALL( SetParameter, (OMX_INDEXTYPE) OMX_TI_IndexParamStereoFramePacking2010Settings, &FramePacking2010 ); OMX_TI_VIDEO_PARAM_FRAMEDATACONTENTTYPE FrameData; FILL_OMX_VERSION(FrameData ,OMX_TI_VIDEO_PARAM_FRAMEDATACONTENTTYPE); FrameData.nPortIndex = OMX_PORT_INDEX_INPUT; eContentType = OMX_TI_Video_AVC_2010_StereoFramePackingType; OMX_CALL( SetParameter,(OMX_INDEXTYPE)OMX_TI_IndexParamVideoFrameDataContentSettings, &FrameData ); 20
  • 21. Qualcomm Configuration Unfortunately couldn’t find a method for this on Qualcomm processors. If you know please email me or comment and I’ll update this presentation 21
  • 22. Thank you! More About me:  Video Expert Yossi Cohen  Lectures on Video / Android / VoIP yossicohen19@gmail.com  Android Native Developer http://www.mobilevideotech.com +972-545-313092 22
  • 23. Resources  Overview of the Stereo and Multiview Video Coding Extensions of the H.264/MPEG-4 AVC Standard  http://www.practical-home-theater-guide.com/3d-tv-formats.html  High-Definition Multimedia Interface Specification Version 1.4a Extraction of 3D Signaling Portion 23