SlideShare une entreprise Scribd logo
1  sur  22
“Enter the
MediaTombRaider”
Adventures in Home Theatre Media Streaming
What is MediaTomb?

“MediaTomb is an open source (GPL) UPnP
MediaServer with a nice web user interface,
it allows you to stream your digital media
through your home network and listen to/
watch it on a variety of UPnP compatible
devices.”
What is UPnP?
“Universal Plug and Play (UPnP) is a set of
networking protocols for primarily residential
networks without expert administrators that
permits networked devices, such as personal
computers, printers, Internet gateways, Wi-Fi
access points and mobile devices to seamlessly
discover each other's presence on the network
and establish functional network services for
data sharing, communications, and
entertainment.”
In Plain English

MediaTomb is Open Source software that
lets you stream your multimedia files --
photos, music, videos -- to a wide variety of
set-top boxes and portable players over your
home wireless or wired network.
UPnP Terminology

• MediaServer DCP
• MediaRenderer DCP
• MIME Type
• UPNP Class
Devices
What You Need


• Works on Linux, Mac, BSD, and many
  embedded devices
• Available in most package managers
Build Prerequisites

• c++
• sqlite or mysql
 • Though sqlite is easier to deal with
• expat
Optional Prerequisites
•   zlib (highly recommended)
•   libmagic (recommended)
•   taglib or id3lib (recommended)
•   curl (required for youtube support)
•   js (SpiderMonkey JavaScript engine)
•   libexif
•   libextractor
•   lastfmlib
Additional Useful
        Packages
• ffmpeg
• libffmpegthumbnailer
• mencoder
• mkvtoolnix
• mediainfo
• All available in Medibuntu repository
Running MediaTomb
• In most cases, just “mediatomb”
• Might need to specify a network interface
  mediatomb -e eth1
• Use -d to daemonize (background) it
• More options (but you probably won’t need
  them)
Configuring MediaTomb
•   Creates a default configuration on first run
•   $HOME/.mediatomb
•   config.xml - this is the main config file
•   mediatomb.db - database (SQlite) that contains your
    media library
•   In many cases the default configuration will be “good
    enough”
•   Might need to be tweaked for certain odd devices
    •   Check MediaTomb website or config file comments
Config File Sections
• server - general server configuration
• import - how to aggregate content
 • mappings - determine file extension to
    media type mapping
• transcoding - if transcoding is desired, this
  section controls how it’s done
Importing
•   By default imports identically to the way files
    are laid out on disk
•   Optional JavaScript support lets you change this
    •   MP3s organized by artist/album
    •   Movies organized by genre
    •   Photos by the date they were taken
    •   ...etc...
Importing
•   music                             • Music
                                       • Artist
    •   Artist_-_Album_-_Song1.mp3
                                        • Album
    •   Artist_-_Album_-_Song2.mp3
                                         • Song1
    •   more_mp3s
                                         • Song2
        •   otherArtist_-
                                        • OtherArtist
            _otherAlbum_-_Song1.mp3
                                         • OtherAlbum
        •   otherArtist_-
                                           • Song1
            _otherAlbum_-_Song2.mp3
        •   ...etc...
                                           • Song2
                                           • ...etc...
Transcoding
•   MediaTomb only streams a file bit-by-bit to your
    playback device. It doesn’t care about file
    formats, bit rates, codecs, etc.
•   If your device can’t play the file you’re sending it
    natively, then transcoding is required
•   MediaTomb website/wiki is the best resource on
    how to set this up
•   PS3 is the most common, and has many good pre-
    canned setups
The Web UI
Demos
Questions
For More Information
For More Information
• MediaTomb
  http://mediatomb.cc/
• Easy MediaTomb PS3 setup
  http://vanalboom.org/node/14
  http://vanalboom.org/node/16
• My Notes, Slides, etc.
  http://DonaldBurr.com/mediatomb/
Thanks for coming!

Contenu connexe

Similaire à Enter the MediaTombRaider

Spring2013 w200 week3_part2
Spring2013 w200 week3_part2Spring2013 w200 week3_part2
Spring2013 w200 week3_part2educw200
 
Std 11 Chapter 1 Introduction to Multimedia (Part 2)
Std 11 Chapter 1  Introduction to Multimedia (Part 2)Std 11 Chapter 1  Introduction to Multimedia (Part 2)
Std 11 Chapter 1 Introduction to Multimedia (Part 2)Nuzhat Memon
 
Producing a Killer Podcast
Producing a Killer PodcastProducing a Killer Podcast
Producing a Killer PodcastEric Andrade
 
Music Publishing and Licensing Evaluation and Survey
Music Publishing and Licensing Evaluation and SurveyMusic Publishing and Licensing Evaluation and Survey
Music Publishing and Licensing Evaluation and SurveyGretchen Snyder
 
WebRTC, RED and Janus @ ClueCon21
WebRTC, RED and Janus @ ClueCon21WebRTC, RED and Janus @ ClueCon21
WebRTC, RED and Janus @ ClueCon21Lorenzo Miniero
 
Act. teresa and mechelle
Act. teresa and mechelleAct. teresa and mechelle
Act. teresa and mechelleteresamembrano
 
Evaluation Question 4
Evaluation Question 4Evaluation Question 4
Evaluation Question 4Zaksta
 
Tune wiki presentation
Tune wiki presentationTune wiki presentation
Tune wiki presentationmidem
 
Drupal case study: ABC Dig Music
Drupal case study: ABC Dig MusicDrupal case study: ABC Dig Music
Drupal case study: ABC Dig MusicDavid Peterson
 
Audio file format in computer graphic
Audio file format in computer graphicAudio file format in computer graphic
Audio file format in computer graphicIrfan Khan
 
Digitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoDigitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoJenn Riley
 
Adding non Diegetic music
Adding non Diegetic musicAdding non Diegetic music
Adding non Diegetic musicrhiannarules
 
Interactive media applications done
Interactive media applications doneInteractive media applications done
Interactive media applications doneNicole174
 
Interactive Media Application
Interactive Media ApplicationInteractive Media Application
Interactive Media Applicationbrownjordan
 
Lotus Technical Information and Education Community - Podcasting and Lotus I...
Lotus Technical Information and Education Community  - Podcasting and Lotus I...Lotus Technical Information and Education Community  - Podcasting and Lotus I...
Lotus Technical Information and Education Community - Podcasting and Lotus I...Bruce Elgort
 

Similaire à Enter the MediaTombRaider (20)

Sound
SoundSound
Sound
 
Spring2013 w200 week3_part2
Spring2013 w200 week3_part2Spring2013 w200 week3_part2
Spring2013 w200 week3_part2
 
Std 11 Chapter 1 Introduction to Multimedia (Part 2)
Std 11 Chapter 1  Introduction to Multimedia (Part 2)Std 11 Chapter 1  Introduction to Multimedia (Part 2)
Std 11 Chapter 1 Introduction to Multimedia (Part 2)
 
Producing a Killer Podcast
Producing a Killer PodcastProducing a Killer Podcast
Producing a Killer Podcast
 
Music Publishing and Licensing Evaluation and Survey
Music Publishing and Licensing Evaluation and SurveyMusic Publishing and Licensing Evaluation and Survey
Music Publishing and Licensing Evaluation and Survey
 
WebRTC, RED and Janus @ ClueCon21
WebRTC, RED and Janus @ ClueCon21WebRTC, RED and Janus @ ClueCon21
WebRTC, RED and Janus @ ClueCon21
 
Act. teresa and mechelle
Act. teresa and mechelleAct. teresa and mechelle
Act. teresa and mechelle
 
Evaluation Question 4
Evaluation Question 4Evaluation Question 4
Evaluation Question 4
 
Tune wiki presentation
Tune wiki presentationTune wiki presentation
Tune wiki presentation
 
Drupal case study: ABC Dig Music
Drupal case study: ABC Dig MusicDrupal case study: ABC Dig Music
Drupal case study: ABC Dig Music
 
Sources of Photos and Graphics
Sources of Photos and GraphicsSources of Photos and Graphics
Sources of Photos and Graphics
 
Audio file format in computer graphic
Audio file format in computer graphicAudio file format in computer graphic
Audio file format in computer graphic
 
Digitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoDigitizing and Delivering Audio and Video
Digitizing and Delivering Audio and Video
 
History of digital week3
History of digital week3History of digital week3
History of digital week3
 
Adding non Diegetic music
Adding non Diegetic musicAdding non Diegetic music
Adding non Diegetic music
 
Spotify: behind the scenes
Spotify: behind the scenesSpotify: behind the scenes
Spotify: behind the scenes
 
Personal skills audit ian chapman
Personal skills audit   ian chapmanPersonal skills audit   ian chapman
Personal skills audit ian chapman
 
Interactive media applications done
Interactive media applications doneInteractive media applications done
Interactive media applications done
 
Interactive Media Application
Interactive Media ApplicationInteractive Media Application
Interactive Media Application
 
Lotus Technical Information and Education Community - Podcasting and Lotus I...
Lotus Technical Information and Education Community  - Podcasting and Lotus I...Lotus Technical Information and Education Community  - Podcasting and Lotus I...
Lotus Technical Information and Education Community - Podcasting and Lotus I...
 

Dernier

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Dernier (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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...
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Enter the MediaTombRaider

  • 1. “Enter the MediaTombRaider” Adventures in Home Theatre Media Streaming
  • 2. What is MediaTomb? “MediaTomb is an open source (GPL) UPnP MediaServer with a nice web user interface, it allows you to stream your digital media through your home network and listen to/ watch it on a variety of UPnP compatible devices.”
  • 3. What is UPnP? “Universal Plug and Play (UPnP) is a set of networking protocols for primarily residential networks without expert administrators that permits networked devices, such as personal computers, printers, Internet gateways, Wi-Fi access points and mobile devices to seamlessly discover each other's presence on the network and establish functional network services for data sharing, communications, and entertainment.”
  • 4. In Plain English MediaTomb is Open Source software that lets you stream your multimedia files -- photos, music, videos -- to a wide variety of set-top boxes and portable players over your home wireless or wired network.
  • 5. UPnP Terminology • MediaServer DCP • MediaRenderer DCP • MIME Type • UPNP Class
  • 7. What You Need • Works on Linux, Mac, BSD, and many embedded devices • Available in most package managers
  • 8. Build Prerequisites • c++ • sqlite or mysql • Though sqlite is easier to deal with • expat
  • 9. Optional Prerequisites • zlib (highly recommended) • libmagic (recommended) • taglib or id3lib (recommended) • curl (required for youtube support) • js (SpiderMonkey JavaScript engine) • libexif • libextractor • lastfmlib
  • 10. Additional Useful Packages • ffmpeg • libffmpegthumbnailer • mencoder • mkvtoolnix • mediainfo • All available in Medibuntu repository
  • 11. Running MediaTomb • In most cases, just “mediatomb” • Might need to specify a network interface mediatomb -e eth1 • Use -d to daemonize (background) it • More options (but you probably won’t need them)
  • 12. Configuring MediaTomb • Creates a default configuration on first run • $HOME/.mediatomb • config.xml - this is the main config file • mediatomb.db - database (SQlite) that contains your media library • In many cases the default configuration will be “good enough” • Might need to be tweaked for certain odd devices • Check MediaTomb website or config file comments
  • 13. Config File Sections • server - general server configuration • import - how to aggregate content • mappings - determine file extension to media type mapping • transcoding - if transcoding is desired, this section controls how it’s done
  • 14. Importing • By default imports identically to the way files are laid out on disk • Optional JavaScript support lets you change this • MP3s organized by artist/album • Movies organized by genre • Photos by the date they were taken • ...etc...
  • 15. Importing • music • Music • Artist • Artist_-_Album_-_Song1.mp3 • Album • Artist_-_Album_-_Song2.mp3 • Song1 • more_mp3s • Song2 • otherArtist_- • OtherArtist _otherAlbum_-_Song1.mp3 • OtherAlbum • otherArtist_- • Song1 _otherAlbum_-_Song2.mp3 • ...etc... • Song2 • ...etc...
  • 16. Transcoding • MediaTomb only streams a file bit-by-bit to your playback device. It doesn’t care about file formats, bit rates, codecs, etc. • If your device can’t play the file you’re sending it natively, then transcoding is required • MediaTomb website/wiki is the best resource on how to set this up • PS3 is the most common, and has many good pre- canned setups
  • 18. Demos
  • 21. For More Information • MediaTomb http://mediatomb.cc/ • Easy MediaTomb PS3 setup http://vanalboom.org/node/14 http://vanalboom.org/node/16 • My Notes, Slides, etc. http://DonaldBurr.com/mediatomb/

Notes de l'éditeur