Slashdot Mirror


Building A Small Video-On-Demand System?

Ryan Mack asks: "My dorm is looking to build a small (4-8 user) Web-based video-on-demand system. Basically, we'd want to be able to schedule MPEG-1 or MPEG-2 streams to be decoded and sent over our building's unused cable TV distribution system. There are many PCI MPEG decoder cards, but few advertise Linux driver support, and none mention if multiple cards can be run in a single box. We've also looked at external MPEG decoding devices, but these require ATM, T1/E1, or high speed RS422 connections, which also raise Linux compatability concerns. Anybody done this before? Can anybody recommend a MPEG decoding card or a RS422 controller capable of 5 Mbps transfer?"

11 of 21 comments (clear)

  1. Why dedicated? by E1ven · · Score: 3

    I am by no means an expert on this subject, but why use a dedicated MPEG decoding piece of HW?
    It would seem possible to use a low-end PC with a TV-out board, and SMPEG to output it out.
    Maybe I am missing something?
    --

    This message brought to you by Colin Davis

    --
    Colin Davis
  2. Re:my thoughts by technos · · Score: 2

    Looks quite cool, only problem is they want to use CATV distribution; This provides for MPEG2 streaming and decoding, which means each room would still have to have a reasonably beefy PC to act as decoder.

    --
    .sig: Now legally binding!
  3. Re:many ways by technos · · Score: 3

    Most offboard MPEG1/2 decompressors require an ATM or RS422 host connection. ATM is expensive junk, and RS422 has a nominal guaranteed throughput of 5Mbps. Most host cards will not guarantee this, nor ever reach it, however.. (As for why; I assume they're going to rip their combined DVD collections to disc. Disk space is dirt cheap these days. Get a good bargain on unflashable 40G ATA66 drives and you're set..)

    --
    .sig: Now legally binding!
  4. my thoughts by Rude+Turnip · · Score: 2

    If you're talking about sending out multiple MPEG streams, I would recommend using BeOS, as it can handle large, multiple media files without a hiccup. For a starting point, head over to the
    "Audio & Video" section at www.betips.net.

    True, it isn't free in the RMS sense, but when it comes to handling media with grace under fire, BeOS wins out.

    1. Re:my thoughts by Rude+Turnip · · Score: 2

      I hate replying to my own posts, but I found a piece of GPL'd software on www.bebits.com that may help you out.

      ***************
      About VideoLAN Client:
      The VideoLAN Client is a MPEG2 decoder can also play DVD files.

      The vlc is part of the VideoLAN project, a full MPEG2 client/server solution. The VideoLAN Client can also be used as a standalone program to play MPEG2 streams from a hard disk or a DVD.
      ***************

      Here is the URL if you'd like to see some screenshots and read more about it:

      http://www.bebits.com/app/1751/

      Enjoy!

    2. Re:my thoughts by Detritus · · Score: 2
      Can't the CATV lines be used as 10 Base-2 lines?

      Yes, if you use baluns at each PC to compensate for the 72 Ohm characteristic impedance of CATV coax. Some companies used to sell them, I'm not sure if they are still being made.

      --
      Mea navis aericumbens anguillis abundat
    3. Re:my thoughts by Rude+Turnip · · Score: 2

      Can't the CATV lines be used as 10 Base-2 lines? That's what I was thinking of when I wrote that. I'm not too familiar with anything before CAT 5, so I could be wrong or confused.

  5. Mini head-end by adjuster · · Score: 2

    Sounds like you want to build a mini "head end" for a CATV system and stick some PC's decoding MPEG streams on the end of it. You'll send commands to the video servers via Ethernet or some-such, and send the streams into RF modulators and onto the CATV lines.

    I'm fuzzy on the RF modulator part (I've worked with using ONE RF modulator on a line-- but I know that there exist solutions that will allow you to pile multiple signals from several RF modulators onto the same wire)-- but that would really be the hardest part. We did a "closed circut" system in a school where I interned a few years ago-- but that was done over CAT 5 w/ some type of balun on each end and only one RF modulator in the mix.

    I'd recommend foregoing hardware MPEG decoders and get some el-cheapo PC's that have enough horsepower to decode the streams you're looking to decode. Boot 'em diskless w/ a server hosting all the encoded files. Stick a video card w/ reasonable quality TV out on each PC, put 'em on an Ethernet switch w/ an uplink to your building LAN, plug 'em into the RF modulators, and you should be set to go.

    I don't think you're going to find a cheap way to do this, unless you can come up w/ some cast-off RF modulators. You're talking about hardware that doesn't have a tremendous non-professional market (not many people run their own CATV system) so it's not cheap. Sounds like a fun project, though.

    --
    The Attitude Adjuster, I hate me, you can too.
  6. many ways by av-grunt · · Score: 3

    this usually blows, but, I have to answer your Q with a couple. MPEG1 is best done at 2Mbps. MPEG2 is best done at 6Mbps. (these are best bang for the bit #'s) Why r u looking for 5Mbps? Software based decoding usually maxes the proc with an MPEG1 @ 2Mbps. I am unaware of a Soft based MPEG2 decoder. Try VisualCircuits. They have a card that is a 4 port output(composite Video/Stereo Audio) that will decode MPEG1/2. Oh yeah, you can load one box with up to four of these buggers. yeah yeah, it runs on NT the best, but Linux dvrs are coming...so they say. of course, being able to play back MPEG'd video precludes that fact that you need coded media to begin with. Are you being provided with the crushed video or or you encoding it yourselves?? With what hardware?

  7. Videolan: MPEG2 over LAN with Linux soft server by wolruf · · Score: 2
    http://www.videolan.org

    Seen on Linux Expo 99 and 2000 in Paris
    From the home page: "broadcast video on the campus, and provide the students with a MPEG2 software decoder. It will support streams from a satellite, a DVD or an MPEG2 compression card."

    --
    wolruf@gmail.com
  8. How about this... by cr0sh · · Score: 2

    It seems strange what you are doing (uplink to select the video to be streamed via a web interface, downlink to a TV via coax - maybe it is a bandwidth issue?), but how about this:

    For a simple MPEG stream (like say from a VCD), simply set up some cheap Pentium 133 boxes, one per each user, with each one having a means to output the video to a TV (like a video card with TV Out and a composite->RF converter). Network them to a faster fileserver with the big drives to store the video.

    If you get the right motherboard (like a MediaGX motherboard, or similar), that has built in ethernet, video and TV-Out, you could mount the eight boards in a custom case, perhaps even net boot them.

    This solution isn't the most elegant, but it would be cheap enough.

    I support the EFF - do you?

    --
    Reason is the Path to God - Anon