Slashdot Mirror


HDTV Reception Now Available on Linux

-tji writes "A new company, www.pchdtv.com, has just released the first digital TV receiver card for Linux. Along with the Linux drivers, they have also modified xine to support HD playback and add XvMC support for MPEG2 hardware acceleration with some video cards. This has great potential for integration into PVR apps, like freevo and mythtv. There is also another project to reverse engineer drivers for the Teralogic TL880 based DTV cards. The one active developer has done a great job, but could use some help."

40 of 166 comments (clear)

  1. kill -9 by Anonymous Coward · · Score: 5, Funny
    There's no greater pleasure in life than being able to

    kill -9 JerrySpringer

    when those irritating twats show up every morning.

  2. Re:Are the drivers "O.S.S." or not? by Elm+Tree · · Score: 5, Informative

    According to their website they distribute with the card the sources for the V4L driver and the modified version of xine they talk about. Although they do talk about optionaly using NVidia cards to accelerate things, so they may encourage the use of NVidia's binary drivers. But either way, those are optional optimizations so...

    Looks like a very nice card... If I had HDTV service I'd definately think about buying one.

  3. cool by wolrahnaes · · Score: 3, Interesting

    Now if we get support for the HDTV outputs on the Radeon 9800, I will have the perfect DVR to go with my 61" HDTV!

    Site's already slow....
    Probably won't survive the /.ing...

    --
    I used to get high on life, but I developed a tolerance. Now I need something stronger.
    1. Re:cool by Mike+Hicks · · Score: 2, Informative

      Uncompressed HDTV uses a lot of bandwidth. Compressed HDTV does not. Assuming 24 bits per pixel, a 1080i signal would require nearly 200MBytes per second (and even more if whatever device you're talking to only does 32bpp), which goes far beyond the standard 133MByte/s of a normal PCI bus. However, it's well within the domain of a 64-bit PCI66 slot or an AGP 1x slot (both of which operate at 533MByte/s, if memory serves).

      A full-bandwidth ATSC stream can carry nearly 20 Mbit/s of data, which translates to around 2.5MByte/s.

      The GNU Radio people weren't really doing either of those things -- they did a really raw capture of that ~20Mbit/s stream (though with error correction added in, an ATSC broadcast runs more like 25-30Mbit/s). With the sampling hardware they used, it added up to something around 40MByte/s of data being captured, according to their How to HDTV page.

    2. Re:cool by i_am_nitrogen · · Score: 3, Informative

      HDTV uses a 4:2:0 color sampling, which means that the luminance channel is 1920x1080, and the two chrominance channels are 960x540. So, it's not 24 bits per pixel. It's more like 16. You might be able to squeeze it over a PCI bus, but an AGP video card ought to be able to do it on a fast enough system (2.4Ghz P4 or XP2600+ probably).

      Since NVidia's binary drivers have support for motion compensation and inverse discrete cosine transform, the processor has less work to do, and can offload work to the video card. Since the data can be sent over the AGP bus, it should be possible to get full speed HDTV decoding.

  4. Cool by kcb93x · · Score: 2, Interesting

    This is really interesting- I know I'll be buying one within a year or two, to go along with my wonderful new LCD screens and system. Linux-compatible from the ground up. Got RH 9 on it right now (Mandrake choked on it last time for some odd reason- never did figure that out)

    Now...just to find a cheap big lcd screen... ...and mucho more HD space...no, not for pr0n, but for timeshifting the shows...let's see you beat that, RIAA. *Wonders if a lawsuit could ensue for people trying to timeshift, but not being able to...hmmmm....*

    On a side note, out of 14 posts (when I first viewed page) only 1 was actually relevant. The sad status of /. *Sigh*.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  5. novel idea - check the link by dwk123 · · Score: 2, Informative

    Both drivers and extensive patches to Xine are open source and already available.

  6. Outstanding! by YetAnotherName · · Score: 4, Interesting

    I tell you, it's darn difficult watching things in standard definition once you've gotten used to Jennifer Gartner on Alias in her glorious 1920 by 1080 pixels with a full color gamut.

    Timeshifting her is the hard part. For that, I've resorted to the MyHD card with its Windows drivers sitting on a system with an IDE-based RAID array. Yes, it works. But it's Windows. Need I say more to a Slashdot crowd? ;-)

    1. Re:Outstanding! by steve_bryan · · Score: 4, Interesting

      Since Alias is on ABC doesn't that make it 1280 x 720? Still plenty of Garner pixels but they are all honest progressively scanned pixels. What may surprise many is how good even 480i and 480p programming is compared to NTSC. The local FOX affiliate was showing episodes of Fastlane in upconverted 720p widescreen (presumably from 480p source) and the picture was amazing (not as good as real 720p or 1080i if you did a screen capture, but still remarkable).

      If you enjoy any program on OTA (over the air) TV this sort of product will enhance it immensely. I don't know for sure that this board supports it (the site is properly slashdotted) but the other significant enhancement is 5.1 surround sound. Let's not forget the other advantage is that the programming involves no monthly bill and with the right software it can be recorded to your hard disk (about 9 gig per hour).

    2. Re:Outstanding! by leviramsey · · Score: 2, Interesting

      And I can always tell when I'm watching, for example, a show from Europe... it's just something with the color balance or something.

  7. Great news by tzanger · · Score: 4, Insightful

    But does anyone know what the status of v4l is in the 2.6 series? I went from 2.4.21 to 2.6.0-test3 (and now test4) as the HPT370 controller is iffy on Linux with APIC (this is an Epox EP-D3VA)... 2.6.0 completely solved all the APIC and SMP issues, but now V4L's not quite there. :-)

    Ahh, the bleeding edge...

    1. Re:Great news by sc00p18 · · Score: 2, Informative

      I got my TV card working in 2.6 (test3) after applying the patches here: http://bytesex.org/patches/

  8. Well, not quite the first.... by edwardd · · Score: 5, Informative

    This is the first card specifically for HDTV, but:

    For a while now, DVB cards have been available with software for Linux that have been able to recieve and process HDTV satalite signals. The 'other' PVR app that doesn't seem to catch on in the US is VDR, located at http://www.cadsoft.de/vdr This is a full featured, open source PVR application that does work with DVB cards to show HDTV.

    1. Re:Well, not quite the first.... by mprinkey · · Score: 2, Informative

      There are only a handfull of HDTV channels on direct-broadcast satellite feeds. DirecTV has HDNET, Discovery, ESPN, HBO and SHO in HD. The Dish lineup is similar. There is just not that much Satellite HD content available.

      The DVB system that you pointed to is a nice setup, but there are no PC add-in cards that I know of that allow access to DirecTV or Dish digital feeds whether SD or HD. The one exception might be via DirecTivos which can be hacked to allow extraction of the video feeds, but this is as a postprocessing task, not realtime. Perhaps there are add-in cards for Big-Ugly Dishes to decode HD broadcasts, but I am not aware of them.

      I believe that Sony is planning to produce an HD DirecTivo receiver shortly for timeshifting HD content. I don't know if they will do a better job of hack-proofing that unit than with other Tivo units, so offline HD extraction is still an open question.

  9. Re:Yay by blue_collar_man · · Score: 3, Funny
    So many toys, so little money.

    I suppose I could go without food for a few days. =-)

    --
    -- Up to no good and lovin' it!
  10. Re:Drivers by toddestan · · Score: 4, Insightful

    Not every company is willing to open source all their software and make it free. If we want many of the commercial software companies to take Linux seriously, we have to convey the message that we find it acceptable to pay for some software that will run in Linux.

    Until then, they will continue to develop only for OSes like Windows and MacOS.

  11. Re:Drivers by Anonymous Coward · · Score: 2, Insightful
    If we want many of the commercial software companies to take Linux seriously

    That's a pretty big "if".

    I am not convinced at all that we need the commercial software companies so badly that we sell our ideals for it.

  12. 90 day warranty? by Torp · · Score: 5, Interesting

    http://www.pchdtv.com/faq.php#faq0000007

    Isn't that a bit low for the average piece of hardware in a PC? I bought an ancient (used) ISA sound card for an even more ancient PC and I still got 180 days of warranty for it...

    --
    I apologize for the lack of a signature.
  13. Reasons to make offical Linux drivers by Felinoid · · Score: 5, Informative

    1. Users will continually update drivers and eventually absorb them into vareous Linux projects taking support off your hands permenently.
    2. Free advertsing on Freshmeat as your drivers are announced then again as projects absorb your drivers.
    3. Free adveritsing on Slashdot.
    4. Slimmer marketshare means greater sales amoung Linux users.

    Reasons to NOT provide offical Linux drivers
    1. If your suffering on the Windows side a quick throw in to support Linux will not save you.

    2. It'll piss off Microsoft.

    3. Your website will be slashdotted.

    4. There is a lose lose factor on your drivers. If your drivers are too good users may not improve them if they suck to much users won't buy your product.

    Your best bet is to always supply unoffical drivers directly into open source projects so that users will always look to the open source projects for support and not you while at the same time the open source projects give you free advertsing and they get slashdotted not you.

    --
    I don't actually exist.
    1. Re:Reasons to make offical Linux drivers by Nucleon500 · · Score: 4, Insightful
      Of course, the most important thing is completely open standards, without which any third party drivers are bound to suck, if they work at all. And why not, anyway? I've heard two reasons.

      First, for "Win-" hardware, like controllerless modems and printers, companies are afraid if their driver was open-source, it would be simple for their competitors to use, reducing their software development costs. Two solutions: one, the company could GPL it, so at least they'd get any improvements. Or (more likely), someone should make a GPL driver core, which could be attached to similar dumb hardware, even of different brands. Then, with open specs, it would be easy to bind the hardware to the core to the kernel, and the company may even find it cheaper to adapt the open version for all OSs. (Aside: would Microsoft sign drivers with GPL cores?)

      The other problem is that companies fear open-source drivers won't honor the evil bit, for example, WiFi cards with hacked drivers operating on forbidden frequencies, or video cards not honoring MacroVision signals. For starters, it's almost as easy to hack binary drivers, so it's no protection. Another solution is to make the hardware only accept register sets signed by the manufacturer's private key. This was proposed for WiFi cards, is better protection anyway, and can be used by open-source projects.

  14. Not the first by mocm · · Score: 3, Informative

    There have been digital TV cards with open source Linux support for years. This may be the first card for the ATSC standard and doesn't even have an MPEG decoder, or why would the need xine.
    Do they support the Linux DVB API, or at least the parts that are common in ATSC and DVB?
    Are the drivers open source?

    For more information on linux and digital TV see
    LinuxTV
    Metzlerbros
    and links on those sites.

    --
    ***Quis custodiet ipsos custodes***
    1. Re:Not the first by mocm · · Score: 2, Informative

      Just had a look at the drivers. They just modified the bttv drivers a little and added a tuner driver with big chunks of firmware. No frontend device no demux device, just a TS dump.
      They should have taken a look at the DVB API and its history, which also started with a slightly modified v4l API, but has matured quite a lot over the past few years.
      They could have used the software demuxer which is already in the 2.6er test kernels.

      --
      ***Quis custodiet ipsos custodes***
  15. Timeshifting by NaveWeiss · · Score: 2, Interesting

    I've read a lot here about the possible recording limitations. Does this (slashdotted) company mean no more timeshifting problems?

    --
    Slashdot community, please notice: I am looking for a girlfriend.
    Nave H. Weiss
  16. Re:Drivers by listen · · Score: 2, Insightful

    we have to convey the message that we find it acceptable to pay for some software that will run in Linux.

    What you meant to say was:

    We need to communicate that we are willing to give up our freedom and put up with binary crapware, just as long as we can use our leet new toys.


    Some of us care more about freedom than HDTV. We need to encourage hardware companies to open their specs. Linux is not alone in the world as an alternative OS, and I sure as fuck hope that something better does come along some day. I don't think we want to be stuck emulating shifting Linux kernel interfaces to use some hardware on our shiny new EROS boxes ( yeah, right) in 2010.

  17. Re:Drivers by justsomebody · · Score: 4, Insightful

    I find that very acceptable. But you made a magic mistake.

    driver!=software

    I for one write just as OSS as proprietary (both for Linux). The only real need in being open is to be open to correct extent.

    If drivers are proprietary and company goes to drain, your hardware goes with company too. Just look at older TV Tuners under XP. No drivers no fun. But if drivers are made as OSS someone might continue to support your hardware even then.

    As far as I was talking about sotware needing to be open to the correct extent. Take two this as example.
    Accounting software >> can be proprietary, the only thing that must be open are correctly documented tables and their relations.
    Software for editing some type of file >> Make a complete specification of document type.

    There are points that company must revise.
    1. What will happen if they go down with their customers, I was there and to tell you the truth as a customer I didn't liked it. That's why I had to drag one machine running Win3.1 until a year ago, It was the only possibility to access documents that were made.
    2. Let's take something more simple now. You're the one man band and you're administering servers on companies. You die in a car crash. Do customers have to break in to continue to work. Or would it be more simple to use an envelope, write password in and protect it to be used just in case.

    As far as paying, my customers were paying me when I was making Win software, and they are paying me now. Where's the difference?

    --
    Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
  18. Maybe they can provide us (developers) some HW? by k-s · · Score: 5, Informative
    Hello,

    I'm a core Freevo developer and I have something to say:

    Hardware makers: PLEASE SEND YOUR PRODUCTS TO PROJECTS DEVELOPERS! We don't have money/machine to buy every HW on the earth, so if you want to be supported, please provide at least one board to the project!

    Recently we won an Epia and Hauppage PVR-250 and they will be better supported than others, just because we can test it.

    If you like the idea and want to be supported, contact us via developers list (freevo: freevo-devel@lists.sourceforge.net)

    Thanks, Gustavo
    1. Re:Maybe they can provide us (developers) some HW? by brandon · · Score: 2, Interesting

      I did the support for MythTV for this card. I had to buy the card, and I also know the person who owns pcHDTV. Getting the card to work is fairly easy. The card uses a patched bttv driver (currently but this will be changing) and only requires a different ioctly set for the video mode. You then just stream mpeg2-ts from /dev/dtv. The main problem is if your video player (ie mplayer in freevo's case) correctly supports mpeg2-ts, which it doesn't do fully changing sub channels. This is a mplayer, not freevo issue though. And support can be done without the card even. :) Come talk to me, bbeattie on the freenode network if you have any questions though.

  19. Re:Drivers by jgilbert · · Score: 2, Interesting

    If we want many of the commercial software companies to take Linux seriously, we have to convey the message that we find it acceptable to pay for some software that will run in Linux.

    I'm willing to pay for software, just not when it's proprietary. I'll only play for Free Software.

  20. From the FAQ page: by justinstreufert · · Score: 4, Funny
    Is there a windows version of the drivers?
    Not at this time.

    GOD, that's nice to see for once!!
    Justin

    --
    "Why would God give us a waist if we wasn't supposed to rest our pants on it?" - Rev. Roy McDaniels
  21. Digital Cable Card by TornSheetMetal · · Score: 5, Interesting

    Do any cards exist that can decode digital cable tv without having to go through the digital cable tv box? I'm not looking to get channels I'm not paying for. I just want a PVR that can act like my VCR did when I had analog cable. I used to be able to easily record shows on different channels. Tivo solves the problem by changing the channel on the Digital Cable TV box which isn't the optimal solution and prevents me from watching one show and recording another.

    1. Re:Digital Cable Card by adpowers · · Score: 3, Interesting

      Because he wants Digital Cable, not DirecTV.

      I looked around the DirecTV website and din't find a digital video recorder that supports HDTV.

      If you did get a Tivo one, you are limited by what they let you do. They can remove 30 second skip at well or make you watch advertisements. Stuff like MythTV has lots of features with no advertisements and it doesn't track what you record (and send it to some master database at HQ). Plus, MythTV-like programs allow you to do a bunch of other stuff like play ROMs, DVDs, look at your pictures of the network, listen to mp3s, check your weather, etc.

    2. Re:Digital Cable Card by PatJensen · · Score: 3, Informative
      Here's a solution for you.

      Don't use the IR blaster on your TiVo. Upgrade to a Series 2 standalone with OS 4.0 and use a serial cable to connect your digital cable box. This gets rid of the slow channel change delays and pop-ups that come up when you change channels.

      Despite what some say, you have to have a Series 2 to use serial channel change support. There is a port on Series 1, but it won't work - and you will just be sending IR without a blaster.

      If you are on Comcast/AT&T, quite a few of the Motorola boxes support serial with the latest firmware. Check out the TiVo forum on AVS (www.avsforum.com) for more information.

      Pat

    3. Re:Digital Cable Card by diatonic · · Score: 2, Insightful

      If you want to watch one show and record another, use the analog cable signal that should co-exist on the coax with the digital signal. Run your digital cable box to a S-Video or Composite in on your TV-tuner card, and use a serial cable to change channels on the external tuner. Then you should be able to use the tuner to watch the 70-80 channels offered on the analog cable signal. Or you could always go for 2 digital cable recievers. .:diatonic:.

  22. Re:Drivers by runderwo · · Score: 2, Interesting
    Not every company is willing to open source all their software and make it free.
    Right, well, if I pay for a piece of software that I depend on to make use of hardware that I've purchased, I want the source code so that I can make sure it continues to work for my purposes.

    Just because they would deliver the source code with their product doesn't make it "Free", unless they specifically relinquish redistribution rights to the user of the software. That may or may not fit within their business model and is their choice to make. However, depriving the user of the source code is to maintain control over the user.

  23. My review of the card by pyite69 · · Score: 5, Informative


    I have one of these and it is basically as
    advertised. I use it to capture streams on Linux,
    though I still play them back on my Windows-based
    card which has component video support.

    However, the xine patches work OK.

    It is still a hacker's delight, though, and will
    continue to be until all of the modifications
    make it into the xine and v4l trees; and into at
    least the Debian Unstable package system. The
    software works, but takes some effort to get
    installed and running.

    I am quite satisfied with my purchase!!! Everyone
    who supports Linux should buy one, if only to
    support the business model.

    Mark

  24. Re:Drivers by pyite69 · · Score: 2, Informative


    You can download the contents of the CDROM from
    their web site. It includes full GPL source for
    the driver and Xine.

    Research first, then post your inane complaints.

  25. Cool, but... by Glendale2x · · Score: 2, Interesting

    This is pretty neat, but it appears to fall short of being able to just capture the ATSC stream and play it back unmodified to the TV.

    Not everyone needs mad power hardware or cards to decode the MPEG2 stream and output it. Some HD tuners, like those included in the Mitsubishi HD sets, have FireWire jacks that are capable of feeding the transport stream to something (typically a D-VHS deck) and accepting a transport stream back from a device.

    Apple has released a sample application with their FireWire SDK for MacOS X called VirtualDVHS that I've been playing with. My notes on it are here. The FireWire enabled tuner does all the work, including sending start/stop commands to the device, and on Mits sets, timer recordings.

    It's a great little program, and since it's a SDK, you get all the source code for it and the FireWire drivers. The TV's remote control works (commands sent via the FireWire interface) and here's the best part: it works on a dead slow stock CPU G3 266. This computer can't even play simple QuickTime movies properly, yet it works like a charm because all it does is capture and stream back the MPEG2 transport stream. The tuner's decoder does all the hard work.

    Okay, so it isn't a PVR with nifty features and whatnot, nor will it work if you don't have a tuner with FireWire jacks. But I don't care too much about the PVR features for the moment because there isn't enough OTA HD programming yet. All I need it to do is time shift a few programs each week when I'll have to be at work, or busy with school, or whatnot.

    VirtualDVHS may be a ghetto program, but it gives you a glimpse of what you can do with MPEG2 streams. No special ATSC cards required. And hey, you get the source: make it do more of what you want and tell people about it, or write your own.

    --
    this is my sig
  26. pcHDTV card by brandon · · Score: 4, Informative

    Pre-orders have begun for the pcHDTV HD-2000 card and the cards will start to ship this week. Several lucky people who have contacted me (or pcHDTV) already have the card and have been enjoying HDTV on Linux. My part is HDTV/Linux that I have been working on support for the card in MythTV for the last month, but due to my very busy schedule all features are not complete (seeking and handling low HDTV signals). I invite anyone who is interested in HDTV and MythTV to come by #mythtv on the freenode irc network and talk with me (bbeattie). The largest problem right now is obtaining a HDTV program schedule as xmltv does not provide this.

    Also, I have written a Linux HTPC how-to that talks about the card and other Linux HTPC like issues at www.sllug.org/how-to/linux-htpc/introduction.html . It will be very useful for anyone wanting to do HDTV or HTPC like features with Linux.

  27. YESSSSS! by flacco · · Score: 4, Funny
    I'm going to buy one for this FAQ entry alone:
    Is there a windows version of the drivers?
    Not at this time.
    --
    pr0n - keeping monitor glass spotless since 1981.
  28. TL880-based Card Driver by i_am_nitrogen · · Score: 3, Interesting

    Hello, I'm the developer of that TL880 driver linked to in the story. It would be really nice if everyone who owns such a card (MyHD, HiPix, WinTV-HD, AccessDTV) came on over and subscribed to the mailing list, and played with some of the software for a few minutes. The latest effort is to map the card's registers. A preliminary map that has nearly every register listed, but only detailed descriptions for enough registers to get the card displaying color bars, is located here. Also, as -tji mentioned in another post, ATI's set top box division is unwilling to provide any help to anyone not buying a minimum $25000 annual volume. So, if everyone who owns such a card could e-mail their card's manufacturer (i.e. Hauppauge, Telemann, MIT), as suggested on the How To Help page, asking them to try to arrange for help with the I2C-connected chips on the card, it would be great.

    Thanks.

    As for the PCHDTV, I just ordered an upgrade for my sytem from an Athlon XP1800+ to 2600+ with 333MHz FSB, and a Geforce FX 5200 for motion compensation, and I'll probably be ordering the PCHDTV soon. The useful parts of the code for the TL880 driver are the Oren VSB demodulator interface and the modified tuner.c which includes support for the dual input Philips NTSC/ATSC tuner. It's really annoying that the tuner and msp3400 modules in the kernel only attach to bttv drivers, rather than providing a generic interface that any new driver can hook to.