element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum TV Tuner to WebM/H.264
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 479 subscribers
  • Views 460 views
  • Users 0 members are here
  • rf_tuner
  • video_encoder
  • embedded
Related

TV Tuner to WebM/H.264

Former Member
Former Member over 12 years ago

I am looking to start a project and sadly I do not even know where to begin.

 

The goal is to capture terrestrial TV signals (in the US I believe this is ATSC) via an antenna, selectively tune to a specific channel, demodulate, decompress and synchronize audio and video. Then take that A/V signal and hardware encode to WebM and/or H.264. Ultimately, take that video and provide it as a data stream that can be sent over HTTP. I want to eventually make it a nice little self-contained package that I can just plug an antenna into on one end and an ethernet port into the other. Navigate to the website on the device and see video.

 

The good news is that I have already prototyped the entire process in software: Fedora 19, HVR-2250, FFmpeg, FFServer, Apache2. I concede that the HVR-2250 is hardware, but from the level I am using it, its essentially software to me; I digress.

 

I have been looking for packages and reference designs for demodulation and decompressions of ATSC signals but cannot seem to find the right keywords to search. Alternatively, it could be that I am getting valid results and am to dense to understand how the results apply to what I am trying to achieve.

 

Ultimately, I am not looking for someone to design the whole thing for me. I am just looking to figure out where to start (e.g., reference designs, part numbers, etc...). After all, I have a degree in EE so I am familar with Ohm's law and such. image

  • Sign in to reply
  • Cancel
  • vsluiter
    vsluiter over 12 years ago

    Hello Ryan,

     

    Maybe I'm stating the obvious, but can't VLC do this with a tuner card? I'm in Europe, and use a cheap DVB-T (Digital Video Broadcast - Terrestrial) receiver to occasionally view television on my computer. I know VLC can also convert/stream, so this would seem the "easy" approach, of course with very little EE challenge.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to vsluiter

    You are absolutely right. And in fact I have already done that, that is why I called out Fedora 19, HVR-2250, FFmpeg (libavcodec/libavformat is a shared library between VLC and FFmpeg), FFserver, and Apache2. I have a completely working software stack that achieves exactly what I am looking to do.

     

    The problem with that architecture is it does not scale. That is, I cannot easily add more encoding through-put. For example, if it takes my 4 Xeon CPUs to encode 1 stream at 720p@30fps for both WebM and H.264. Then to encode 2 streams I need a whole new computer! The HVR-2250 has 2 tuners and thus I should be able to use both. What do I do if I buy a tuner card with 4 tuners? Buy 4 new computers? What do I do if I want 1080p@30fps? Never mind the fact that the computer is also my NAS and I do not want all of its cycles over run encoding TV streams.

     

    Honestly, I do understand that newer desktop hardware would probably allow this to work and not require 4 computers. I am, of course, being hyperbolic.

     

    But in my opinion if I am going to buy a new computer purpose built to perform this task, why not build my own hardware to achieve the same goal? In my estimation, this is how one expands their horizons.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 12 years ago in reply to Former Member

    Ryan Lovelett wrote:

    why not build my own hardware to achieve the same goal?

    I was not sure which bit of the existing hardware are you planning to re-use, and which bit do you plan to implement.

    It looks like the HVR card contains the tuner and the ADC and the MPEG hardware all built-in.

    One good way to get a reference design may be to see which vendor parts are on the board, and check to see if they offer a reference design. However, you may find custom programmable logic or custom software on the board. The code (for the programmable logic or for any processor) may have some modules from a third party, licensed.

    If the TV industry is anything like some other industries then the standards which define the expected behavior may run to tens or hundreds of thousands of pages in what can seem as many documents. They may or may not be free to download from the standards body - unfortunately I'm not familiar with these standards, but hopefully these pointers may help you. Also, the standards may supply some reference files of data, but they may not indicate the actual code (just pseudo-code), so there may be quite a bit of implementation to do.

    In theory, it should be possible to plug in multiple items of hardware into a PC and bring up multiple instances of your existing software, one instance for each tuner, but I don't know if the HVR hardware and software supports that.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to Former Member

    FREESCALE SEMICONDUCTOR - MCIMX6Q-SL - I.MX6, HDMI, LVDS, RJ45, SABRE LITE BOARD

      • Core Architecture:ARM
      • Core Sub-Architecture:Cortex-A9
      • Silicon Core Number:i.MX6
      • Silicon Family Name:i.MX6 Quad

      "Multi-stream-capable HD video engine delivering H.264 1080p60 decode, 1080p30 encode,

      and 3-D video playback in HD"

       

    http://www.farnell.com/datasheets/1672220.pdf

     

    Newark Part Number: 05W6138

    http://www.newark.com/freescale-semiconductor/mcimx6q-sl/i-mx6-hdmi-lvds-rj45-sabre-lite/dp/05W6138?in_merch=Popular%20Products&in_merch=Popular%20Products&MER=PPSO_N_C_EverywhereElse_None

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    I have found a couple of tuner chips:

     

    • MAX3543
      • Datasheet: http://www.mouser.com/ds/2/256/MAX3543-70103.pdf
      • ~$15/chip
    • MAX3580
      • Datasheet: http://www.mouser.com/ds/2/256/MAX3580-77726.pdf
      • ~$5/chip
    • TDA18273HN
      • Datasheet: http://www.mouser.com/ds/2/302/TDA18273HN_SDS-118818.pdf
      • ~$3/chip
    • TDA18218HN
      • Datasheet: http://www.mouser.com/ds/2/302/TDA18218HN-104619.pdf
      • ~$3/chip

     

    I couple of things are not clear to me initially. Why the range of cost? A range of $15-$3 per chip seems like a heck of a range. What would I look at to try and evaluate one chip against another?

     

    The other is I am not exactly sure the "output" of the chips are. The best I can gather is the chips output a "baseband" signal. Is it fair to say that this output is just the output of a bandpass filter "tuned" to a specific channel frequency (e.g., channel 32 => 579.25 MHz)? If not can someone explain or point me to reading about what I should be expecting as output from these chips?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube