SlideShare a Scribd company logo
1 of 40
Download to read offline
Low cost wireless laptop link to
              TV

             Anish Sane
            Deepak Malani

         Guided by : TVP, NVCR
         Sponsored by: Philips
User Scenario



• Aim - Display laptop screen contents onto Television, with
  wireless connectivity

• Applications
   – Home use                          (one source, one destination)
   – Conference room with Digital projector
                                         (n sources, one destination)
   – Multicast streaming at gatherings
                                         (one source, n destinations)
Target Specifications
Features                       Specifications

Video resolution               1280x720

Frames per second              30

Colour Resolution              24-bit True Colour

Video Interfaces               Digital: DVI

OS on Laptop                   Linux

OS on Board                    Linux

Distance between Laptop & TV   10m (30ft)

Power Supply                   5V Adapter
System Overview
                                                                            Television


Video Memory                                                               DVI Encoder IC




Grabbing                                                               Decoding


                                     Streaming


USB Port          USB Wi-Fi dongle               USB Wi-Fi dongle          Beagle Board




      Laptop Side (Tx)                                      TV Side (Rx)
Part I

Content Generation (Laptop side)
   Content Display (TV side)
Video data rate
• Video frame grabbing
• Raw data rate
  (1280x720) x 30 fps x 24bits/frame = 663.5 Mb/s
• Throughput offered by 802.11g devices =
  22Mbps
• Hence necessity for video compression
  – Compression ratio (>30)
1. Content Generation
• Initial Approach – Framebuffer (/dev/fb)
  – Grab RGB pixel data
  – RGB to YUV transcode with 4:2:0 subsampling
  – YUV to MPEG-2 stream using libavcodec (open-
    source)
• Performance
  – 640x480@3fps
• Evaluation
  – Device file read takes 200ms/frame
Video display mechanism (Laptop)
                        Video Grabbing
                          Application



                    Frame Buffer
                    /dev/fb

Graphics Display            XShared
  Application               Memory
                                                            Display
                                                           hardware
                                    No


                            Hardware            Graphics
 Video Display             Acceleration
  Application                                   Adapter
                            Required ?    Yes
Content Generation
• Approach 2:
  – Grab from Xshared Memory (XShm)
• APIs from open source
  – XShmGetImage()
• Performance
  – 1280x720@30fps
  – MPEG-2 compression using ffmpeg (based on
    libavcodec)
Compression schemes
                      MPEG-2    MPEG-4     H.264 (MPEG-4/AVC)
 Compression Ratio      x        1.2x              2x
Computation Time        y        1-1.4y          4y-6y
 (for various video
      bit-rates)



• Compression Ratio
   x = 60-300
• Computation time (PC) for encoding
   y = 1 second for 2.6 seconds of video
Bottleneck Diagram

PC/Laptop
                                                  TV side
   side




     11Mbps             6Mbps              2 Mbps            5.5 Mbps




 Content Generation   Content Streaming     Content Displaying
     HD Quality            HD720p             HD, 1280x720
  1280x720@30fps                          framedrop if > 2 Mbps
Generated Data Rate (after compression)

   • DCT Quantization scale v/s bitrate

                 12000

                             11036 (2)
                 10000



                 8000

Bitrate (kbps)
                 6000            5531.6 (4)

                 4000
                                         3139.5 (8)

                 2000                                         2100.3 (14)
                                                                                      984.7 (31)

                     0
                         0       5            10         15         20      25   30            35

                                                      Qscale (2-31)
Qscale=4
Qscale=14
2. Content Decoding on TV side
• BeagleBoard
• Processor – OMAP3530
  – 600MHz ARM Cortex core
  – NEON SIMD Coprocessor (advantageous for video
    applications)
  – C64x+ DSP
• Interfaces
  – USB for Wifi device
  – Digital Video Interface (DVI) for TV
  – SDIO for filesystem and storage
Software on Board
• 2.6.28 kernel
• Video Decoder
• Mplayer
  – Uses libavcodec
  – Uses NEON acceleration
DSP Acceleration
• Gstreamer multimedia framework which uses
  DSP/BIOS Link
• Pipeline based application
  – filesrc | demux | codec | sink
• Codec
  – ffdec_mpeg2video
  – TI evaluation codecs
  – No HD codecs for 720p yet for DSP
Video Decode Performance on Board
• Resolution: 1280x720
• Frame rate: 24 (streaming videos)
               30 (captured videos)
• Video fidelity: 2 Mbps
  – At higher bit rates, frame rate decreases
• Comparison of video fidelity (pictures)
• Power consumption=2W (0.4amp, 5VDC)
True HD
On OMAP
System Overview
 XSharedMemory
                                                                                       Television


Grab continuously
                                                                                      DVI Encoder IC

   Transcoding                                                                         framebuffer
software to stitch     Grabbing                                    Decoding
 into raw video

                                                                                 Mpeg decode with
    Compression                                                                   DSP Accerlation
   software using
ffmpeg video codec                        Streaming
      libraries                     compressed_video.mpeg                             Buffer memory



   USB Port           USB Wi-Fi dongle                      USB Wi-Fi dongle          Beagle Board




          Laptop Side (Tx)                                             TV Side (Rx)
Part II

Content Streaming
 and Automation
Objectives
•   Wireless connectivity between laptop and
    TV
•   Automatic detection and pairing of two
    devices
•   Selectivity among multiple streams
Wireless Solutions
•   802.11g Netgear WG111GE (Realtek)
•   Super-G TP-link (Atheros)
•   802.11n Star-king (Atheros)
•   D-link DWA110 (Ralink)
Wireless Connectivity
• Wi-Fi Dongle (802.11g)
D-link DWA110 (rt73 based):
  – Driver support : kernel.org
     • rt73usb
  – Modes supported: infrastructure(managed), ad-
    hoc, monitor
  – We are using ad-hoc mode for point-to-point
    communication
  – Data rate: 5Mbps-16Mbps
(More data rate when better S/N ratio)
Ad-hoc mode
• For point-to-point connection, no necessity of
  having an access point
• No time/bandwidth overhead for data going
  via an AP (as in infrastructure mode)
• No consumption of bandwidth due to beacons
  from AP
• The laptop and the board can use channels
  with mutual understanding & independent of
  AP's channel
Alternate to Ad-hoc mode
• Using one side in managed mode &
  attaching an AP on other (over wired link)
• Was thought to be useful when the
  dongles/driver do not support ad-hoc
  mode
   – Netgear WG111GE (RTL8187B)
• Gives about same speed as ad-hoc
Protocol used
• TCP:
  – Error control & retransmission on error
• UDP:
  – Assumes error control at the application
    layer
  – No implicit retransmission at protocol
    level
Protocol used
• We are using HTTP+TCP
  • Packet drops are severe when UDP is used
    (over Wi-Fi)
    •   Motion vector errors

  • Retransmission can increase the lag between
    captured & played video
  • Data rate requirement can be satisfied, even
    with retransmission
• Over wired link UDP packet drops are not
  so significant
Bottleneck Diagram

PC/Laptop
                                                  TV side
   side




     11Mbps             6Mbps              2 Mbps            5.5 Mbps




 Content Generation   Content Streaming     Content Displaying
     HD Quality            HD720p             HD, 1280x720
  1280x720@30fps                          framedrop if > 2 Mbps
Automation - Networking
Create Network on Laptop


      Board Boots up

                                                 Start DHCP Server on board

     Search For network        No         Yes

                                                     Laptop asks for IP,
                                                     Board provides IP
                           mode,essid,cell
      Network Found?          match?
No
               Yes

                           Verify connectionNo
 Connect to the network    (mode,essid,cell)       Connection Established
Automation – Streaming
• Laptop side
Streaming server
Grabbing application (ffmpeg)
• Board side
   – Streaming client
   – Media Player (mplayer or gstreamer)
• Data transfer between applications
   – This is done using named pipes i.e. FIFOs
User interface
• Reconnect
  – If the network gets disconnected, the user can use
    this button to reconnect
• Select Stream
  – When there are multiple sources, this control can
    be used to switch between them
• Reset
  – If the device freezes completely
Demo Plan
• Real-time screen capture on laptop and
  stream to television, over Wi-Fi
• Video file streaming from laptop to TV on Wi-
  Fi
• Resolution: 1280x720
Appendix
User-space & kernel space switching
Gstreamer framework (using DSP/BIOS Link)
BeagleBoard
Screen Capture
With and without acceleration
Product Comparison
Features             Our Product   Hauppauge         Addlogix
                                                     InternetVue
Resolution           1280x720      720x576           1024x768 (graphics)
                     (video)                         640x480 (video)
Video Ports          DVI/HDMI      S-video,          DVI, VGA
                                   C-video
File Support         Any type      Limited to MPEG, Any type
                                   JPEG, MP3, DivX
Screen        Capture Yes          No                Yes
Mode
Cost                 $150 (BOM)    $149              $229


Wireless             802.11b/g/n 802.11g             802.11g
Connectivity
Ethernet             Yes           Yes               Yes
Connectivity

More Related Content

What's hot

video_compression_2004
video_compression_2004video_compression_2004
video_compression_2004aniruddh Tyagi
 
Flash Live Video Streaming Software
Flash Live Video Streaming SoftwareFlash Live Video Streaming Software
Flash Live Video Streaming SoftwareVideoguy
 
Commercial Off the Shelf Solutions
Commercial Off the Shelf SolutionsCommercial Off the Shelf Solutions
Commercial Off the Shelf SolutionsIvan Klugman
 
Avlm 2009 Compression Erik Luyten
Avlm 2009  Compression   Erik LuytenAvlm 2009  Compression   Erik Luyten
Avlm 2009 Compression Erik Luytenavlm2009avnet
 
Image Access by PrintLAT
Image Access by PrintLATImage Access by PrintLAT
Image Access by PrintLATPrintLAT
 
Technical Aspects of Digital Video
Technical Aspects of Digital VideoTechnical Aspects of Digital Video
Technical Aspects of Digital VideoWatson Leese
 
XLcloud 3-d remote rendering
XLcloud 3-d remote renderingXLcloud 3-d remote rendering
XLcloud 3-d remote renderingMarius Preda PhD
 
Video Compression Standards - History & Introduction
Video Compression Standards - History & IntroductionVideo Compression Standards - History & Introduction
Video Compression Standards - History & IntroductionChamp Yen
 
GY-HM750E
GY-HM750EGY-HM750E
GY-HM750EAVNed
 
Bridging the gap between web and television
Bridging the gap between web and televisionBridging the gap between web and television
Bridging the gap between web and televisionMarius Preda PhD
 
Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Videoguy
 
Augmented Reality: Connecting physical and digital worlds
Augmented Reality: Connecting physical and digital worldsAugmented Reality: Connecting physical and digital worlds
Augmented Reality: Connecting physical and digital worldsMarius Preda PhD
 
Application Brief
Application BriefApplication Brief
Application BriefVideoguy
 
Qt Experiences on NXP's Connetcted TV Platforms
Qt Experiences on NXP's Connetcted TV PlatformsQt Experiences on NXP's Connetcted TV Platforms
Qt Experiences on NXP's Connetcted TV Platformsaccount inactive
 
Iain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video CompressionIain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video CompressionIain Richardson
 
Video streaming
Video streamingVideo streaming
Video streamingVideoguy
 
Multimedia presentation video compression
Multimedia presentation video compressionMultimedia presentation video compression
Multimedia presentation video compressionLaLit DuBey
 

What's hot (20)

video_compression_2004
video_compression_2004video_compression_2004
video_compression_2004
 
Flash Live Video Streaming Software
Flash Live Video Streaming SoftwareFlash Live Video Streaming Software
Flash Live Video Streaming Software
 
Commercial Off the Shelf Solutions
Commercial Off the Shelf SolutionsCommercial Off the Shelf Solutions
Commercial Off the Shelf Solutions
 
Avlm 2009 Compression Erik Luyten
Avlm 2009  Compression   Erik LuytenAvlm 2009  Compression   Erik Luyten
Avlm 2009 Compression Erik Luyten
 
3DgraphicsAndAR
3DgraphicsAndAR3DgraphicsAndAR
3DgraphicsAndAR
 
Image Access by PrintLAT
Image Access by PrintLATImage Access by PrintLAT
Image Access by PrintLAT
 
Technical Aspects of Digital Video
Technical Aspects of Digital VideoTechnical Aspects of Digital Video
Technical Aspects of Digital Video
 
Tutorial MPEG 3D Graphics
Tutorial MPEG 3D GraphicsTutorial MPEG 3D Graphics
Tutorial MPEG 3D Graphics
 
XLcloud 3-d remote rendering
XLcloud 3-d remote renderingXLcloud 3-d remote rendering
XLcloud 3-d remote rendering
 
Video Compression Standards - History & Introduction
Video Compression Standards - History & IntroductionVideo Compression Standards - History & Introduction
Video Compression Standards - History & Introduction
 
GY-HM750E
GY-HM750EGY-HM750E
GY-HM750E
 
Bridging the gap between web and television
Bridging the gap between web and televisionBridging the gap between web and television
Bridging the gap between web and television
 
Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...
 
Augmented Reality: Connecting physical and digital worlds
Augmented Reality: Connecting physical and digital worldsAugmented Reality: Connecting physical and digital worlds
Augmented Reality: Connecting physical and digital worlds
 
H263.ppt
H263.pptH263.ppt
H263.ppt
 
Application Brief
Application BriefApplication Brief
Application Brief
 
Qt Experiences on NXP's Connetcted TV Platforms
Qt Experiences on NXP's Connetcted TV PlatformsQt Experiences on NXP's Connetcted TV Platforms
Qt Experiences on NXP's Connetcted TV Platforms
 
Iain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video CompressionIain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video Compression
 
Video streaming
Video streamingVideo streaming
Video streaming
 
Multimedia presentation video compression
Multimedia presentation video compressionMultimedia presentation video compression
Multimedia presentation video compression
 

Viewers also liked

Тайный посетитель ресепшн
Тайный посетитель ресепшнТайный посетитель ресепшн
Тайный посетитель ресепшнOfficeNEXT
 
Presentation: Learn by playing #rict1314.
Presentation: Learn by playing  #rict1314. Presentation: Learn by playing  #rict1314.
Presentation: Learn by playing #rict1314. Laura Clemente
 
Level-Accurate Peak Activity Estimation in Combinational Circuit Using BILP
Level-Accurate Peak Activity Estimation in Combinational Circuit Using BILPLevel-Accurate Peak Activity Estimation in Combinational Circuit Using BILP
Level-Accurate Peak Activity Estimation in Combinational Circuit Using BILPDeepak Malani
 
Wageningen UR Geoportal: RAF Aerial Photographs(Luchtfoto's uit 1943-1947)
Wageningen UR Geoportal: RAF Aerial Photographs(Luchtfoto's uit 1943-1947)Wageningen UR Geoportal: RAF Aerial Photographs(Luchtfoto's uit 1943-1947)
Wageningen UR Geoportal: RAF Aerial Photographs(Luchtfoto's uit 1943-1947)Wageningen UR
 
Itsp inauguration-may2015-v2
Itsp inauguration-may2015-v2Itsp inauguration-may2015-v2
Itsp inauguration-may2015-v2Deepak Malani
 
Новый формат для бизнеса: клубный офис
Новый формат для бизнеса: клубный офисНовый формат для бизнеса: клубный офис
Новый формат для бизнеса: клубный офисOfficeNEXT
 
ILP Based Approach for Input Vector Controlled (IVC) Toggle Maximization in C...
ILP Based Approach for Input Vector Controlled (IVC) Toggle Maximization in C...ILP Based Approach for Input Vector Controlled (IVC) Toggle Maximization in C...
ILP Based Approach for Input Vector Controlled (IVC) Toggle Maximization in C...Deepak Malani
 
Klassifikaciya ofisnoy nedvizhimosti_2006_rus_kf
Klassifikaciya ofisnoy nedvizhimosti_2006_rus_kfKlassifikaciya ofisnoy nedvizhimosti_2006_rus_kf
Klassifikaciya ofisnoy nedvizhimosti_2006_rus_kfOfficeNEXT
 
Oil painting - Ya'akov Boussidan
Oil painting - Ya'akov Boussidan Oil painting - Ya'akov Boussidan
Oil painting - Ya'akov Boussidan Ya'akov Boussidan
 
RU GBC presentation
RU GBC presentationRU GBC presentation
RU GBC presentationOfficeNEXT
 
Особенности выбора места для офиса с учетом специфики бизнеса компании
Особенности выбора места для офиса с учетом специфики бизнеса компанииОсобенности выбора места для офиса с учетом специфики бизнеса компании
Особенности выбора места для офиса с учетом специфики бизнеса компанииOfficeNEXT
 
RD Construction Management presentation
RD Construction Management presentationRD Construction Management presentation
RD Construction Management presentationOfficeNEXT
 
Desalination Using Charcoal
Desalination Using CharcoalDesalination Using Charcoal
Desalination Using CharcoalDeepak Malani
 

Viewers also liked (18)

Viroc catalogue
Viroc catalogueViroc catalogue
Viroc catalogue
 
Тайный посетитель ресепшн
Тайный посетитель ресепшнТайный посетитель ресепшн
Тайный посетитель ресепшн
 
Presentation: Learn by playing #rict1314.
Presentation: Learn by playing  #rict1314. Presentation: Learn by playing  #rict1314.
Presentation: Learn by playing #rict1314.
 
Level-Accurate Peak Activity Estimation in Combinational Circuit Using BILP
Level-Accurate Peak Activity Estimation in Combinational Circuit Using BILPLevel-Accurate Peak Activity Estimation in Combinational Circuit Using BILP
Level-Accurate Peak Activity Estimation in Combinational Circuit Using BILP
 
Wageningen UR Geoportal: RAF Aerial Photographs(Luchtfoto's uit 1943-1947)
Wageningen UR Geoportal: RAF Aerial Photographs(Luchtfoto's uit 1943-1947)Wageningen UR Geoportal: RAF Aerial Photographs(Luchtfoto's uit 1943-1947)
Wageningen UR Geoportal: RAF Aerial Photographs(Luchtfoto's uit 1943-1947)
 
Itsp inauguration-may2015-v2
Itsp inauguration-may2015-v2Itsp inauguration-may2015-v2
Itsp inauguration-may2015-v2
 
Новый формат для бизнеса: клубный офис
Новый формат для бизнеса: клубный офисНовый формат для бизнеса: клубный офис
Новый формат для бизнеса: клубный офис
 
ILP Based Approach for Input Vector Controlled (IVC) Toggle Maximization in C...
ILP Based Approach for Input Vector Controlled (IVC) Toggle Maximization in C...ILP Based Approach for Input Vector Controlled (IVC) Toggle Maximization in C...
ILP Based Approach for Input Vector Controlled (IVC) Toggle Maximization in C...
 
Klassifikaciya ofisnoy nedvizhimosti_2006_rus_kf
Klassifikaciya ofisnoy nedvizhimosti_2006_rus_kfKlassifikaciya ofisnoy nedvizhimosti_2006_rus_kf
Klassifikaciya ofisnoy nedvizhimosti_2006_rus_kf
 
Oil painting - Ya'akov Boussidan
Oil painting - Ya'akov Boussidan Oil painting - Ya'akov Boussidan
Oil painting - Ya'akov Boussidan
 
Dental curing-torch
Dental curing-torchDental curing-torch
Dental curing-torch
 
RU GBC presentation
RU GBC presentationRU GBC presentation
RU GBC presentation
 
Cycles and Cycling
Cycles and CyclingCycles and Cycling
Cycles and Cycling
 
Особенности выбора места для офиса с учетом специфики бизнеса компании
Особенности выбора места для офиса с учетом специфики бизнеса компанииОсобенности выбора места для офиса с учетом специфики бизнеса компании
Особенности выбора места для офиса с учетом специфики бизнеса компании
 
RD Construction Management presentation
RD Construction Management presentationRD Construction Management presentation
RD Construction Management presentation
 
Databank T Ui N
Databank T Ui NDatabank T Ui N
Databank T Ui N
 
Jobs
JobsJobs
Jobs
 
Desalination Using Charcoal
Desalination Using CharcoalDesalination Using Charcoal
Desalination Using Charcoal
 

Similar to Wireless PC2TV

MPEG4 codec for Access Grid
MPEG4 codec for Access GridMPEG4 codec for Access Grid
MPEG4 codec for Access GridVideoguy
 
MPEG4 codec for Access Grid
MPEG4 codec for Access GridMPEG4 codec for Access Grid
MPEG4 codec for Access GridVideoguy
 
2011 Activities Report - Advanced Applications of Remote Visualization
2011 Activities Report - Advanced Applications of Remote Visualization2011 Activities Report - Advanced Applications of Remote Visualization
2011 Activities Report - Advanced Applications of Remote VisualizationLeandro Ciuffo
 
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...MIPI Alliance
 
Video Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and ApplicationVideo Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and ApplicationVideoguy
 
Optimisation and Compression Intro
Optimisation and Compression IntroOptimisation and Compression Intro
Optimisation and Compression IntroJames Uren
 
Battle of the Codecs
Battle of the CodecsBattle of the Codecs
Battle of the CodecsJames Uren
 
Video Transcoding Terms Explained
Video Transcoding Terms Explained Video Transcoding Terms Explained
Video Transcoding Terms Explained nerodude
 
Appia Video Equipment
Appia Video EquipmentAppia Video Equipment
Appia Video Equipmentmbmfranklin
 
Industrial Technology Multimedia Video Theory Prelim Course
Industrial Technology Multimedia Video Theory Prelim CourseIndustrial Technology Multimedia Video Theory Prelim Course
Industrial Technology Multimedia Video Theory Prelim Coursejliang2145
 
Digital Watchdog DW-VFHD46T Data Sheet
Digital Watchdog DW-VFHD46T Data SheetDigital Watchdog DW-VFHD46T Data Sheet
Digital Watchdog DW-VFHD46T Data SheetJMAC Supply
 
Ch07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.pptCh07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.pptdjempol
 
iPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareiPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareVideoguy
 
JPEG2000 Alliance IBC 2009
JPEG2000 Alliance IBC 2009JPEG2000 Alliance IBC 2009
JPEG2000 Alliance IBC 2009Hal J. Reisiger
 
No.2 specification- www.ttbvs.com
No.2 specification- www.ttbvs.comNo.2 specification- www.ttbvs.com
No.2 specification- www.ttbvs.comTTBVS
 
Tc 2000 p-specification- www.ttbvs.com
Tc 2000 p-specification- www.ttbvs.comTc 2000 p-specification- www.ttbvs.com
Tc 2000 p-specification- www.ttbvs.comTTBVS
 

Similar to Wireless PC2TV (20)

MPEG4 codec for Access Grid
MPEG4 codec for Access GridMPEG4 codec for Access Grid
MPEG4 codec for Access Grid
 
MPEG4 codec for Access Grid
MPEG4 codec for Access GridMPEG4 codec for Access Grid
MPEG4 codec for Access Grid
 
2011 Activities Report - Advanced Applications of Remote Visualization
2011 Activities Report - Advanced Applications of Remote Visualization2011 Activities Report - Advanced Applications of Remote Visualization
2011 Activities Report - Advanced Applications of Remote Visualization
 
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
MIPI DevCon 2016: How to Use the VESA Display Stream Compression (DSC) Standa...
 
Mips track a
Mips   track aMips   track a
Mips track a
 
Video Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and ApplicationVideo Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and Application
 
Optimisation and Compression Intro
Optimisation and Compression IntroOptimisation and Compression Intro
Optimisation and Compression Intro
 
Battle of the Codecs
Battle of the CodecsBattle of the Codecs
Battle of the Codecs
 
Lecture01
Lecture01Lecture01
Lecture01
 
Video Transcoding Terms Explained
Video Transcoding Terms Explained Video Transcoding Terms Explained
Video Transcoding Terms Explained
 
Appia Video Equipment
Appia Video EquipmentAppia Video Equipment
Appia Video Equipment
 
Industrial Technology Multimedia Video Theory Prelim Course
Industrial Technology Multimedia Video Theory Prelim CourseIndustrial Technology Multimedia Video Theory Prelim Course
Industrial Technology Multimedia Video Theory Prelim Course
 
Digital TV, IPTV
Digital TV, IPTVDigital TV, IPTV
Digital TV, IPTV
 
Digital Watchdog DW-VFHD46T Data Sheet
Digital Watchdog DW-VFHD46T Data SheetDigital Watchdog DW-VFHD46T Data Sheet
Digital Watchdog DW-VFHD46T Data Sheet
 
Ch07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.pptCh07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.ppt
 
iPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareiPhone Live Video Streaming Software
iPhone Live Video Streaming Software
 
TMDXEVM8148
TMDXEVM8148 TMDXEVM8148
TMDXEVM8148
 
JPEG2000 Alliance IBC 2009
JPEG2000 Alliance IBC 2009JPEG2000 Alliance IBC 2009
JPEG2000 Alliance IBC 2009
 
No.2 specification- www.ttbvs.com
No.2 specification- www.ttbvs.comNo.2 specification- www.ttbvs.com
No.2 specification- www.ttbvs.com
 
Tc 2000 p-specification- www.ttbvs.com
Tc 2000 p-specification- www.ttbvs.comTc 2000 p-specification- www.ttbvs.com
Tc 2000 p-specification- www.ttbvs.com
 

Recently uploaded

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
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
 

Recently uploaded (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 

Wireless PC2TV

  • 1. Low cost wireless laptop link to TV Anish Sane Deepak Malani Guided by : TVP, NVCR Sponsored by: Philips
  • 2. User Scenario • Aim - Display laptop screen contents onto Television, with wireless connectivity • Applications – Home use (one source, one destination) – Conference room with Digital projector (n sources, one destination) – Multicast streaming at gatherings (one source, n destinations)
  • 3. Target Specifications Features Specifications Video resolution 1280x720 Frames per second 30 Colour Resolution 24-bit True Colour Video Interfaces Digital: DVI OS on Laptop Linux OS on Board Linux Distance between Laptop & TV 10m (30ft) Power Supply 5V Adapter
  • 4. System Overview Television Video Memory DVI Encoder IC Grabbing Decoding Streaming USB Port USB Wi-Fi dongle USB Wi-Fi dongle Beagle Board Laptop Side (Tx) TV Side (Rx)
  • 5. Part I Content Generation (Laptop side) Content Display (TV side)
  • 6. Video data rate • Video frame grabbing • Raw data rate (1280x720) x 30 fps x 24bits/frame = 663.5 Mb/s • Throughput offered by 802.11g devices = 22Mbps • Hence necessity for video compression – Compression ratio (>30)
  • 7. 1. Content Generation • Initial Approach – Framebuffer (/dev/fb) – Grab RGB pixel data – RGB to YUV transcode with 4:2:0 subsampling – YUV to MPEG-2 stream using libavcodec (open- source) • Performance – 640x480@3fps • Evaluation – Device file read takes 200ms/frame
  • 8. Video display mechanism (Laptop) Video Grabbing Application Frame Buffer /dev/fb Graphics Display XShared Application Memory Display hardware No Hardware Graphics Video Display Acceleration Application Adapter Required ? Yes
  • 9. Content Generation • Approach 2: – Grab from Xshared Memory (XShm) • APIs from open source – XShmGetImage() • Performance – 1280x720@30fps – MPEG-2 compression using ffmpeg (based on libavcodec)
  • 10. Compression schemes MPEG-2 MPEG-4 H.264 (MPEG-4/AVC) Compression Ratio x 1.2x 2x Computation Time y 1-1.4y 4y-6y (for various video bit-rates) • Compression Ratio x = 60-300 • Computation time (PC) for encoding y = 1 second for 2.6 seconds of video
  • 11. Bottleneck Diagram PC/Laptop TV side side 11Mbps 6Mbps 2 Mbps 5.5 Mbps Content Generation Content Streaming Content Displaying HD Quality HD720p HD, 1280x720 1280x720@30fps framedrop if > 2 Mbps
  • 12. Generated Data Rate (after compression) • DCT Quantization scale v/s bitrate 12000 11036 (2) 10000 8000 Bitrate (kbps) 6000 5531.6 (4) 4000 3139.5 (8) 2000 2100.3 (14) 984.7 (31) 0 0 5 10 15 20 25 30 35 Qscale (2-31)
  • 15. 2. Content Decoding on TV side • BeagleBoard • Processor – OMAP3530 – 600MHz ARM Cortex core – NEON SIMD Coprocessor (advantageous for video applications) – C64x+ DSP • Interfaces – USB for Wifi device – Digital Video Interface (DVI) for TV – SDIO for filesystem and storage
  • 16. Software on Board • 2.6.28 kernel • Video Decoder • Mplayer – Uses libavcodec – Uses NEON acceleration
  • 17. DSP Acceleration • Gstreamer multimedia framework which uses DSP/BIOS Link • Pipeline based application – filesrc | demux | codec | sink • Codec – ffdec_mpeg2video – TI evaluation codecs – No HD codecs for 720p yet for DSP
  • 18. Video Decode Performance on Board • Resolution: 1280x720 • Frame rate: 24 (streaming videos) 30 (captured videos) • Video fidelity: 2 Mbps – At higher bit rates, frame rate decreases • Comparison of video fidelity (pictures) • Power consumption=2W (0.4amp, 5VDC)
  • 21. System Overview XSharedMemory Television Grab continuously DVI Encoder IC Transcoding framebuffer software to stitch Grabbing Decoding into raw video Mpeg decode with Compression DSP Accerlation software using ffmpeg video codec Streaming libraries compressed_video.mpeg Buffer memory USB Port USB Wi-Fi dongle USB Wi-Fi dongle Beagle Board Laptop Side (Tx) TV Side (Rx)
  • 22. Part II Content Streaming and Automation
  • 23. Objectives • Wireless connectivity between laptop and TV • Automatic detection and pairing of two devices • Selectivity among multiple streams
  • 24. Wireless Solutions • 802.11g Netgear WG111GE (Realtek) • Super-G TP-link (Atheros) • 802.11n Star-king (Atheros) • D-link DWA110 (Ralink)
  • 25. Wireless Connectivity • Wi-Fi Dongle (802.11g) D-link DWA110 (rt73 based): – Driver support : kernel.org • rt73usb – Modes supported: infrastructure(managed), ad- hoc, monitor – We are using ad-hoc mode for point-to-point communication – Data rate: 5Mbps-16Mbps (More data rate when better S/N ratio)
  • 26. Ad-hoc mode • For point-to-point connection, no necessity of having an access point • No time/bandwidth overhead for data going via an AP (as in infrastructure mode) • No consumption of bandwidth due to beacons from AP • The laptop and the board can use channels with mutual understanding & independent of AP's channel
  • 27. Alternate to Ad-hoc mode • Using one side in managed mode & attaching an AP on other (over wired link) • Was thought to be useful when the dongles/driver do not support ad-hoc mode – Netgear WG111GE (RTL8187B) • Gives about same speed as ad-hoc
  • 28. Protocol used • TCP: – Error control & retransmission on error • UDP: – Assumes error control at the application layer – No implicit retransmission at protocol level
  • 29. Protocol used • We are using HTTP+TCP • Packet drops are severe when UDP is used (over Wi-Fi) • Motion vector errors • Retransmission can increase the lag between captured & played video • Data rate requirement can be satisfied, even with retransmission • Over wired link UDP packet drops are not so significant
  • 30. Bottleneck Diagram PC/Laptop TV side side 11Mbps 6Mbps 2 Mbps 5.5 Mbps Content Generation Content Streaming Content Displaying HD Quality HD720p HD, 1280x720 1280x720@30fps framedrop if > 2 Mbps
  • 31. Automation - Networking Create Network on Laptop Board Boots up Start DHCP Server on board Search For network No Yes Laptop asks for IP, Board provides IP mode,essid,cell Network Found? match? No Yes Verify connectionNo Connect to the network (mode,essid,cell) Connection Established
  • 32. Automation – Streaming • Laptop side Streaming server Grabbing application (ffmpeg) • Board side – Streaming client – Media Player (mplayer or gstreamer) • Data transfer between applications – This is done using named pipes i.e. FIFOs
  • 33. User interface • Reconnect – If the network gets disconnected, the user can use this button to reconnect • Select Stream – When there are multiple sources, this control can be used to switch between them • Reset – If the device freezes completely
  • 34. Demo Plan • Real-time screen capture on laptop and stream to television, over Wi-Fi • Video file streaming from laptop to TV on Wi- Fi • Resolution: 1280x720
  • 36. User-space & kernel space switching
  • 37. Gstreamer framework (using DSP/BIOS Link)
  • 39. Screen Capture With and without acceleration
  • 40. Product Comparison Features Our Product Hauppauge Addlogix InternetVue Resolution 1280x720 720x576 1024x768 (graphics) (video) 640x480 (video) Video Ports DVI/HDMI S-video, DVI, VGA C-video File Support Any type Limited to MPEG, Any type JPEG, MP3, DivX Screen Capture Yes No Yes Mode Cost $150 (BOM) $149 $229 Wireless 802.11b/g/n 802.11g 802.11g Connectivity Ethernet Yes Yes Yes Connectivity