Slashdot Mirror


Could I Run a TV Station on Linux?

JesusQuintana asks: "I'm working with a low-power television station to update their playback system. Currently they're using tape and I've been tasked to move them to computerized playback (MPEG-2, etc.) There are proprietary solutions (very expensive) and there are companies that bundle software with Windows and standard x86 hardware. Overall, they are generally unimpressive and won't sell the software without bundling it with their own hardware. (They won't let us buy our own storage.) We have the expertise to build our own infrastructure (NAS, redundancy, etc.), but really just need the equivalent of iTunes for high quality video. There are lots of other pieces needed to complete the work-flow (such as encoding the media), which could be accomplished on Mac or Windows or even Linux. But what about playback? We need something that will play back these files at their scheduled times (perhaps scheduling cron jobs to change playlists) to broadcast quality hardware (SDI or YUV video). Could we run a TV station on Linux?"

321 comments

  1. answer by Anonymous Coward · · Score: 4, Funny

    yes

    1. Re:answer by kfg · · Score: 5, Funny

      But implimentation is left as an exercise for the student.

      KFG

    2. Re:answer by melandy · · Score: 1
      But implimentation is left as an exercise for the student.

      KFG... Trying to remember if you have the same initials as my old analog electronics prof.

      -m
    3. Re:answer by kfg · · Score: 1

      Why, you need a refresher on vacuum tube theory or something? It's been awhile for me too, but I could brush up.

      KFG

    4. Re:answer by CharlieG · · Score: 2, Informative

      To go one step further - of course you can - If your in the industery, you've probably heard of Avid. Guess what platform their servers run on (at least their iNews platform - not sure of their editing suite)

      No love of their backtimer (understatement), and they have a very limited api that they are willing to publish

      for those lurking:

      Your BIG issues are going to be "Hard Hits" (particularly if you are an affliate)

      Hard Hits are the timing of commercials /ends of shows/ starts of feeds that have to run at a particular time - and I mean NOW (you might get away with a couple of frames of black/over, but it is sub second, the commercial systems will time to the frame, or even 1/2 frame)

      Other issues will be things like getting video cards that support sync pulse (assuming NTSC signals)

      Really comes down to - how good a signal do you want to put on the air, and how fancy does your low power station need to be? Let's face it, if your one of the big 3 networks and your worried about "broadcast quality" and "HD quality", down to the frame accurate level, with data going out in the VBI, your playing a different game than a small stand alone station

      You pay your money, you take your choice...

      (and yeah, I've worked on near broadcast quality encoding systems - but not playback, and have written code to interface with 2 different "newsroom systems")

      --
      -- 73 de KG2V For the Children - RKBA! "You are what you do when it counts" - the Masso
  2. Of course you can by Anonymous Coward · · Score: 5, Funny

    With Linux, all you have to do is concatenate 6 strings on the command line and edit 3 configuration files and you can accomplish anything!

    1. Re:Of course you can by Anonymous Coward · · Score: 3, Insightful

      Ahahaha, broadcast TV scheduling with cron. Haha. Hoho.

      Seriously, how much could the proprietary vendor's storage cost that you think it will be cheaper in the long run to string together dozens of programs not meant for the job so as to let you build your own IDE NAS. How much is the constant redevelopment going to cost when you find piece after piece not quite right for the task? How much is support and downtime going to cost?

      If the options are rolling your own software system from scratch and buying a proprietary system that they can't afford, it's very likely they can't afford (in many ways) your homebrewed approach either. Stick with tape and what they know.

    2. Re:Of course you can by DittoBox · · Score: 2, Funny

      I'm sure their's also some obscure emacs function for it too, if you're brave.

      --
      Good. Cheap. Fast. Pick Two.
    3. Re:Of course you can by kabocox · · Score: 0, Redundant

      With Linux, all you have to do is concatenate 6 strings on the command line and edit 3 configuration files and you can accomplish anything!

      And it would all be in Pearl.

    4. Re:Of course you can by IWannaBeAnAC · · Score: 3, Insightful

      Heh, that post could serve as the poster child for the decline in slashdot. There was a time when the majority of slashdot users had a clue!

    5. Re:Of course you can by djdavetrouble · · Score: 1

      his slashdot ID is way lower than yours, Son...

      --
      music lover since 1969
    6. Re:Of course you can by IWannaBeAnAC · · Score: 1

      Irrelevant. I was reading shashdot for several years before registered.

    7. Re:Of course you can by Andy+Social · · Score: 1

      Why, back in my day, nobody on /. every made a typo when spelling "perl" - everyone could grok every programming language known, and never made errors. Oh, yeah. Once we hit 100,000 users, it all went downhill.

      --
      Illegitimi non carborundum
    8. Re:Of course you can by fistfullast33l · · Score: 1

      Apparently he's been reading it for years too :)

    9. Re:Of course you can by IWannaBeAnAC · · Score: 2, Interesting

      Was it a typo? That is the $64 million question...

    10. Re:Of course you can by Anonymous Coward · · Score: 0

      Stop bitching, children! I never even bothered to register.

    11. Re:Of course you can by Anonymous Coward · · Score: 0

      But there are lots of programs for video playback, conversion, etc..

      So really it's not as back as you make it appear to be.

    12. Re:Of course you can by Millenniumman · · Score: 1

      That's what they all say.

      --
      Stupidity is like nuclear power, it can be used for good or evil. And you don't want to get any on you.
    13. Re:Of course you can by IWannaBeAnAC · · Score: 1
      Yeah, I posted quite a few AC comments before I registered. I wish there was some way of finding them... You know, like when you get really drunk and search for the usenet posts you wrote 10 years ago before you knew about the difference between the static type and the dynamic type in C++, and how much of an idiot you were. I wonder, were my slashdot posts as idiotic too?

      At least it is nice to know some things never change.

    14. Re:Of course you can by Anonymous Coward · · Score: 0

      Like that means anything.

      Son.

    15. Re:Of course you can by Randseed · · Score: 1
      Was it a typo? That is the $64 million question...
      Or was he intoxicated?
    16. Re:Of course you can by toadlife · · Score: 1

      Yeah, you're right. I had to edit four config files to play the linux version of America's Army.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    17. Re:Of course you can by log0n · · Score: 1

      Tell me about it...

    18. Re:Of course you can by MimsyBoro · · Score: 1

      I know this is slashdot and all and the crowd is geeks but I have gotten drunk many a time but never even thought about C++ constructs at the time.

      --
      God made the natural numbers; all else is the work of man - Kronecker
    19. Re:Of course you can by Anonymous Coward · · Score: 1, Insightful
      Oh..yeah... Linux the Ultimate!! 6 strings and 3 config files and you can accomplish ANYTHIG?? Is that so my friend..?

      Come on, it was a joke, you idiot!

      If you are going to whinge about games on linux then talk to the game developers and publishers, they're the ones to blame. Of course, technically, you can run most of the latest computer games on linux, all you need to do is install Cedega.
    20. Re:Of course you can by jrobinson5 · · Score: 1
      Parent is not a moderator.
       
      Trolls: [b][/b] != <b></b>
    21. Re:Of course you can by toadlife · · Score: 0, Offtopic
      Parent is not a moderator.
      No, but I frequently am. I'll be sure and keep an eye out for your posts in the future.
      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    22. Re:Of course you can by m26k9 · · Score: 0

      seriously..? All you had to do was to edit 4 config files to play the "LINUX" version of america's army? Was it a typo..? because the Windows version I played, didnt have to do a thing to play it on Windows...

    23. Re:Of course you can by toadlife · · Score: 1

      "All you had to do was to edit 4 config files to play the "LINUX" version of america's army?

      Yeah, on FreeBSD no less.

      And BTW, it was a JOKE fucktard.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    24. Re:Of course you can by m26k9 · · Score: 0

      Oh.. a joke.. I should have known better.. my bad..ofcourse you were joking.. you are Linux user.. all you guys do is shout your ass off.. dont you..? all you guys think that Linux is the greatest and make a big hype.. hwile there are only a few minority of ppl who actually does some work to Linux.. maybe if you could shut your mouth up and do some work, linux will be able to get something done, and maybe you will be able to use LINUX VERSION of games without editing any config files even on FreeBSD.. I'm not a M$ fan nor a Windows fan.. I use Ubuntu.. I'm just sick of these so called Linux enthusiasts.. all they do is talk about it like a big deal.. come on guys... its just an OS.. it's not like it's rocket science.. jeez... BTW, this is a joke retard ;-)

    25. Re:Of course you can by toadlife · · Score: 1

      Actually I'm not a Linux user. I use Windows XP mostly, though I'm typing this from Vista RC2. I do use FreeBSD (NOT Linux) on my desktop from time to time, but mostly just for the novelty of it, as I think *nix type OS's are, for the most part, still only usefull in the data center.

      BTW, why the hell would you use Ubuntu. It's linux trying to be just like Windows. I tried N00b...err...Ubuntu once, and I had a harder time getting a DVD to play on it that on FreeBSD. If you wanted a desktop OS that was secure, you need not use a piss-poor windows replacement like Linux...just follow my sig and learn all about Windows oft-ignored security abilities.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    26. Re:Of course you can by m26k9 · · Score: 0

      Thanks.. yeah.. I use Windows XP most part too.. mostly gaming.. other times I try to use Ubuntu as much as I can to keep away from the toruble.. but the truth is, for a normal user, Windows is not that much of a problem if you take the right precautions... I have altogether about 4 adware/spyware/anti-virus/internet security apps (compared to none I have on Ubuntu).. but they do the job on most part and do a relatively nice job.. not all of us have servers... there are still a majority of ppl who use pc for normal use.. I mean even the skype for Linux is still down the line.. I use Gizmo on Ubuntu, but still I feel skype is much better using in Windows.. I'm by no means justifying Windows.. Its crap in most parts..but I'm tired of this catergory of ppl who label themselves as Linux users and think that they are a different type of ppl.. type of ppl who are trying to make a difference in the world.. if you read posts in slashdot you can realize that its true.. but in reality only a fraction of ppl who actually do some work for linux... The reason I use Ubuntu is its easy to use... and this is one of the other things about linux users.. if they use something like Gentoo, they think they are the superior class of linux users.. I mean ppl have different interests... they do what suits them.. some ppl just use Gentoo so that they can have the priviladge of boasting... and there is the minority of users (as always) who use it bcos it serves their prupose... there are few trhings I expect from my os.. play games... be able to utilize full capapcity of my vid card in the games... mod my pc (using apps like Samurize)... these are the stuff I want to do.. I dont want to have a personal server or anything.. and Linux cant these... simple as that... Thanks for the link bro.. will have a look in that... Laterz.

  3. HowTo by Crazy+Man+on+Fire · · Score: 5, Funny

    There some pretty good information about TV station automation here

    1. Re:HowTo by Rob+T+Firefly · · Score: 4, Funny

      This is why progress sucks. With everything on MPEG and no more tapes, what will the h4x0r3d robot claws fight over?

    2. Re:HowTo by MBCook · · Score: 3, Funny

      I think this one might have more information.

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    3. Re:HowTo by arclyte · · Score: 1

      I thought you were going to send him here

    4. Re:HowTo by n3z0rf · · Score: 0, Redundant

      This is more what I was thinking informational movie

    5. Re:HowTo by hatrisc · · Score: 1

      the color of the background that the firey name is on of course!

      --
      I write code.
    6. Re:HowTo by theLOUDroom · · Score: 1

      This is why progress sucks. With everything on MPEG and no more tapes, what will the h4x0r3d robot claws fight over?

      Angelina Jolie?

      --
      Life is too short to proofread.
  4. Just a thought... by TheCabal · · Score: 0

    May or may not work (I'm just guessing), but couldn't you use MythTV for playback?

    1. Re:Just a thought... by Nos. · · Score: 2, Informative

      NO, MythTV is way overkill for something like this. He just needs a video player, possibly with a dynamic playlist.

    2. Re:Just a thought... by Yvan256 · · Score: 1
      NO, MythTV is way overkill for something like this. He just needs a video player, possibly with a dynamic playlist.
      Okay, then, what about using a video player with a dynamic playlist?
    3. Re:Just a thought... by HTH+NE1 · · Score: 3, Interesting

      Seriously, I've thought about what I'd do with a MythTV box. I've wanted it set it up to play my DVD collection according to a schedule, inserting promos for other upcoming shows between chapters and trailers for the next episode (some DVDs like The X-Files put the 10 and 30 second ads all on the last disk). Then some lower-third overlays for inserting severe weather information, caller-ID, and signaling of when someone's at the door. If I had a family, I'd get the kids involved with a camera to produce periodic news updates.

      Basically turning it into what TiVo had once advertised: controlling my own TV network.

      Unfortunately I've been happily employed on other coding tasks and haven't had the time even to put together a system for basic recording tasks let alone learn the source tree of MythTV to gauge how feasible it would be to adapt it for 24-hour scripted network control.

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    4. Re:Just a thought... by Anonymous Coward · · Score: 0

      NO, MythTV is way overkill for something like this.

      Clearly, there is a need for a lighter, less feature-rich edition of MythTV for lesser tasks (such as running an entire TV station).

      It could be humbly called "MythTVStation" to distinguish it from the all-out full version.

      (Joke... or my warped way of admiring MythTV and all the things it can do.)

    5. Re:Just a thought... by joto · · Score: 1

      Seriously, I've thought about what I'd do with a MythTV box. I've wanted it set it up to play my DVD collection according to a schedule, inserting promos for other upcoming shows between chapters and trailers for the next episode (some DVDs like The X-Files put the 10 and 30 second ads all on the last disk). Then some lower-third overlays for inserting severe weather information, caller-ID, and signaling of when someone's at the door.

      My goodness! Get a life!

      If I had a family, I'd get the kids involved with a camera to produce periodic news updates.

      I'm afraid to tell you, but from what you wrote above, that will probably never happen! (you getting a family...)

      Unfortunately I've been happily employed on other coding tasks and haven't had the time even to put together a system for basic recording tasks let alone learn the source tree of MythTV to gauge how feasible it would be to adapt it for 24-hour scripted network control.

      Well, for your own sake, stay employed! If not elsewhere, at least at meetings, you have to talk to other people, and maybe around the coffee-machine. Talking to other people might help influence your interests in other directions than automated TV-watching!

    6. Re:Just a thought... by PastaLover · · Score: 1

      If all (geeky) people with ideas listened to the people telling them to get a life, innovation would be a foreign concept. What this guy wanted to do sounded like a cool little project to me and essentially some of the things you'd expect to find in a futuristic setup. (home of the future and all that)

      I don't know where you come of telling random people on the internet to get a life, but seriously, get a life. ;-)

  5. modded xbox by Anonymous Coward · · Score: 0

    XBMC is a cheap alternative to a media center PC. If you're looking to playback a series of videos you can make a playlist... For broadcasting, I'm not sure this is the application of choice for your situation, but it is an option many people overlook for video playback (outside of the living room)

  6. Mplayer by chikanamakalaka · · Score: 3, Informative

    Mplayer should be able to do the job.

    1. Re:Mplayer by doti · · Score: 1

      I second that.
      Mplayer is not only a fantastic player, but a nice encoder too.
      It does it all, and is very simple. Being a cmdline program makes it perfect for a server.

      --
      factor 966971: 966971
    2. Re:Mplayer by Goeland86 · · Score: 1

      Only downside to Mplayer is that it needs serious improvement on the playlist management side... Not trying to troll, but even WMP has better playlist functionality... On the other hand, combining Mplayer with a playlist management program might be very doable. Especially with cron to do the background job, you could have someone fiddle with the playlists, set them up right and have some script go through each entry in the playlist and start mplayer appropriately. Make sure that your files are complete and not corrupted, else Mplayer will quit, and you'll be left with no broadcast...
      An amarok style approach would be perfect for this, but I don't recall seeing one around... Browse freshmeat and sourceforge?

      --
      ---- I am certain of only one thing : I know nothing else.
    3. Re:Mplayer by nologin · · Score: 3, Informative

      Actually, you can address a lot of those types of problems (like playlist management, etc.) with one of the many mplayer frontends on their related projects page. All you need to do is choose whichever one you prefer and mplayer is your best friend for video playback.

    4. Re:Mplayer by rs79 · · Score: 2, Informative

      "Not trying to troll, but even WMP has better playlist functionality"

      Is it frame accurate? If something is to go to air at "midnight" you have to hit it within 1/30th of a second. You cant afford one frame-time error. Ever.

      People have mentioned failover. Probbaly overkill as it's really really expensive to get right and the premise is you have a human in the booth than can cut to a "we're experiencing technical difficulties" page, err screen.

      Disclaimer: I used to work at Sony and developed the CBC's dubreel compilation system.

      --
      Need Mercedes parts ?
    5. Re:Mplayer by doti · · Score: 1

      It's very easy to write a frontend to MPlayer.
      It's based on standard text input/output, so even a shell script can do it.
      http://www.mplayerhq.hu/DOCS/tech/slave.txt

      --
      factor 966971: 966971
    6. Re:Mplayer by dfjunior · · Score: 2, Informative

      As far as frame-accuracy goes, that should be taken care of by a hardware MPEG decoder with an external TBC, no?

      Your playback systems would basically need to pretend they are VTRs, and the master program controller would have a PCI (AES/EBU/SMPTE?) timecode card. The cue timing would still rely on an input from the station's master clock. You'd most likely want to have proper "bars & black" preroll on all of your program MPEGs for calibration, testing the MPEG stream, etc. This way, you've still got a ~30 sec window to flip over to the "we're experiencing technical difficulties" screen as you mentioned should something get f'd up...

      Sounds like a fun project.

    7. Re:Mplayer by frdmfghtr · · Score: 1
      Is it frame accurate? If something is to go to air at "midnight" you have to hit it within 1/30th of a second. You cant afford one frame-time error. Ever.


      As a video production know-nothing, I ask: if you are playing back some video production, why the need for such accuracy? If I want to start a broadcast at 00:00:00 and it goes off at 00:00:00.34, what's the big deal? Am I misinterpreting the idea of "on the air?" (I must be, I can't imagine a 1/30 second inaccuracy being that important otherwise.)

      All I can think of is that the transmission of a frame from the transmitter and the playback of a frame from the source have to be in sync, but I also launched a VCR signal across the room using a $5 folded dipole I made out of twin-lead antenna wire and I didn't worry about any sort of frams syncing (this probably happened inside the VCR.)

      Like I said, I know next to nothing about video broadcasting so if I seem video stupid, it is because I am.
      --
      Government's idea of a balanced budget: take money from the right pocket to balance...oh who am I kidding?
    8. Re:Mplayer by Fastolfe · · Score: 1

      The level of perfect you're suggesting here is not only impractical, it's impossible. Many of a TV station's programs come over satellite. The speed of light is quite finite, and the delays involved with beaming a signal to a satellite and back completely destroy any possibility of having your station start something at precisely 00:00:00.000. In addition, even if the broadcaster were local and started at :00.000, the digital encoding process requires several frames of input before it starts sending the encoded output. By the time you start receiving your live MPEG stream, you're already several frames behind. This is all compounded by a station's need to show programming from a variety of sources. This requires flexible timing.

      I used to work at a TV station, and the switching and commercials that weren't done by hand were done by automation not based on the clock, but on start/stop cues embedded in the broadcast itself. These signals are given well in advance of the actual "start" time, specifically to give the equipment adequate time to process and act on it. This is especially important with video tape, because tape players don't exactly start at full speed on frame 1 the instant the "play" signal is given. They normally take a second or so to get up to speed and get a good image going.

  7. Video Lan Project by JSBiff · · Score: 4, Informative

    I think you are Looking for the Video Lan project, specifically the VLC player:

    VLC

    1. Re:Video Lan Project by JSBiff · · Score: 4, Informative

      Just realized I should give some more details about *why* you might want to use VLC.

      VLC has the ability to be controlled from multiple different types of clients/interfaces. There is a command line client (perfect for cron jobs), GUI client, and several network interfaces that would allow you to control it over the network (so you could, for example, roll your own easy-to-use scheduling program, and have the scheduling program control VLC over the network).

      However, I'm not entirely sure about VLC being able to playback to special broadcast hardware, but it wouldn't surprise me if there is a way to get it to work.

    2. Re:Video Lan Project by betterunixthanunix · · Score: 4, Informative

      With the latest kernel, it shouldn't be too hard (more than 200 lines of code) to just write up a quick driver, assuming the specs on that hardware are available. Really, it is just a question of converting from one bit stream format to another -- and my hunch is that this is unnecessary, since there are standard formats that have probably been implemented already (PAL, NTSC, etc.). Analog TV, thankfully, hasn't become a mess of proprietary formats (the way digital movies and music have).

      --
      Palm trees and 8
    3. Re:Video Lan Project by aonaran · · Score: 4, Interesting

      Speaking of VLC, I know a guy at the cable co where I used to work who uses VLC running on $800 Dell servers with capture cards to digitize analog channels to a format that the digital boxes can read. He saved the company $9000/channel for each of the channels they didn't have already piped to them in digital format (the lowest cost purpose built digitizer was $10,000)

    4. Re:Video Lan Project by dgatwood · · Score: 5, Informative

      I wrote a long response to this, but screwed up and hit command-Q. I won't retype all of that, but here's a much more concise version.

      The things you need are a scheduler (to determine which commercials air when), a program format spec file (to tell where in a program file the actual video begins and ends so you don't end up unnecessarily airing several seconds of black as you might if you just paused the playback of a TV show), and a mechanism for crossfading the audio between spots to handle the case where people run it right up to the wire. You need a switcher for the video---the ability to quickly change from one foreground full-screen video window to another without any glitching. This is a lot harder than it sounds. Finally, you need a player that can start pretty much instantaneously and without glitch in the middle of a program. I haven't found that to be true of VLC at all in my experience, but maybe it has improved a lot in the last few months....

      For a possible controller UI, you might check out SongCue on SourceForge. I designed it for radio automation, but combine that UI with a preview pane above each controller and show a still frame from 5 seconds into a segment, and you have a UI that would work pretty well for what you're doing, too. Maybe even show live video in the preview panes during playback. (I wouldn't recommend the code from SongCue, though, as it's pretty much raw Xlib, not for the faint of heart.)

      If I were writing such a thing, I'd start with a Mac OS X (10.4 Server) box. Xsan provides a supported mechanism for handling your storage needs. QTKit can do your playback, and Quartz Composer should make switching the foreground full screen movie pretty easy. The only potential snag I can think of would be that if you aren't careful, you could mouse over onto the live output signal, but all things considered, it's probably the easiest way to build an app that does what you want, IMHO.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    5. Re:Video Lan Project by grmoc · · Score: 1

      "AJA" makes a card with linux drivers for SD-SDI and HD-SDI video output.

      "NVidia", also makes a card-- it (now) is a daughter card, which allows you to output SD-SDI or HD-SDI from the screen, or from an offscreen surface (e.g. glx-pbuffer).
      (Obviously, this is not a consumer card...) .. lets see, another company that makes this kind of stuff is "DVS".

      (Ya, I made linux boxes make pretty broadcast video for a living for a while...)

    6. Re:Video Lan Project by lazarusdishwasher · · Score: 1
      and a mechanism for crossfading the audio between spots to handle the case where people run it right up to the wire. You need a switcher for the video---the ability to quickly change from one foreground full-screen video window to another without any glitching.
      Unless I am misunderstanding your post it sounds like you are trying to do all of this in real time. To me it seems like the issues you point out only happen when you are transitioning between video feeds. Could you use a fifo for continous playback without switching media players, as long as you can find an encoder that can work faster than real time you could have the encoder start when the fifo starts to get low.
    7. Re:Video Lan Project by swillden · · Score: 2, Informative

      You need a switcher for the video---the ability to quickly change from one foreground full-screen video window to another without any glitching. This is a lot harder than it sounds.

      Yes, it's hard -- but I don't think it's really necessary.

      As long as all of your video streams are digital, you just need to make sure that you're feeding a single, continuous stream of video to the playback engine, and then change the stream you're feeding in, stopping the previous stream after the completion of a frame, then starting the new one.

      The reason switching video is hard is because it's normally done at the analog level, where you have to pay careful attention to exactly when in the scanning process you switch. Basically, you need to switch only during vertical retraces, which gets particularly hard when you're dealing with multiple input sources ("gazintas", in the technical terminology used when I worked on this stuff) whose frames are not synchronized with each other or with the output sinks ("gazoutas", we called them).

      I think VLC can handle this quite nicely, and I'm sure that gstreamer can.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    8. Re:Video Lan Project by rduke15 · · Score: 1

      the ability to quickly change from one foreground full-screen video window to another without any glitching

      You need a video switch for that, but they are not terribly expensive. They come with RS-232 or RS-422 interfaces (I can't remember), which makes it easy to switch them from a computer. I actually once wrote a tiny Perl CGI that allowed me to switch it remotely over the web. (It was a Kramer switch, if I remember correctly)

      The switching seems to be the easy part to me.

      you need a player that can start pretty much instantaneously and without glitch in the middle of a program

      Or you can use a Pre-roll-like approach. With the correct player, it must be possible to have it open the file and find your IN timecode in advance, and "wait there" paused until given the Play command. Can VLC do that?

      But doing an application that manages it all is not a small task.

      - It needs a good interface for the people who will program the shows, and make changes (move everything 5 minutes later, replace this show with this one, after this switch to channel x, allow repeatable events, etc.)

      - It needs to be reliable and foolproof (preview of the file to make sure it's the right one, does it have the correct length, what happens if the file has vanished when it's time to play it, etc.)

      - You probably still need the ability to also schedule tapes. These need pre-roll, and code to control the player(s) (over RS-422).

      It is hard to do that part right, and I doubt there is already Linux or other OSS software for such a specialized task. On the other hand, with a competent team of 2 or 3 people, it can probably be done in a couple of weeks or months, and it can be fun. Just don't underestimate it.

      (For the slashdotters who may think it's just about managing a playlist: you don't have a clue!)

    9. Re:Video Lan Project by tehcyder · · Score: 1
      I wrote a long response to this, but screwed up and hit command-Q
      Thereby proving the inherent superiority of Windows from both a security and usability standpoint, for there is no "command" key on a Windows keyboard.
      --
      To have a right to do a thing is not at all the same as to be right in doing it
  8. vlc, mpeg4ip, etc. by i.r.id10t · · Score: 1

    Look at VLC, MPEG4IP, etc. Lots of options out there....

    --
    Don't blame me, I voted for Kodos
  9. Have you asked Weird Al? by ToxikFetus · · Score: 1

    Blockbuster has some great instructional videos on setting up a low-cost television station.

  10. Yes by Yonder+Way · · Score: 5, Informative

    It wouldn't even be all that complex.

    MySQL database that indexes all content.

    Also have a table for the schedule.

    Batch job queues up content. As one piece of content finishes, next piece is queued up and plays.

    All of this can be made fairly redundant without too much effort. Setting up your schedule can be point & click.

    The real work will be if you want to make it fancier to give the advertising department more direct control over what ads run when, as opposed to having the programming manager schedule all of that.

    All of this can pretty easily give you a very detailed automated log of what content played when, when you gave your station ID's, what ads played, etc.

    Pick one good well known scripting language, learn it well, and use it. I'm not going to enter the holy war of telling you which one to use.

    MySQL can be replaced with PostgreSQL if you prefer. Doesn't matter which. You're not keeping your content in the database, just an index of where to find the content on the filesystem plus the broadcast schedule.

    The REAL work in all of this is making it resilient so you don't hit dead air. Redundant systems with automated failover, etc. And the cost of entry may be high, but I can't recommend highly enough that your content be stored on a redundant SAN or NAS infrastructure. Most of my long nights repairing things have dealt with failed hard disks. A decent SAN or NAS will allow you to rest easily at night.

    Additionally a system like this will allow you to have a much more intelligent content-rich web site.

    And I'm also sure there are people at Google who would love to talk to you about your ad delivery system if you put something like this in place. You would like to increase your ad revenue, wouldn't you? Google is working on breaking into this space in a big way. It would be worth making a few calls.

    1. Re:Yes by 500HP · · Score: 1

      Waaaaaaaaay more than one table. This is actually a project unto itself. It looks easy but it ain't. Also, the Guide, as it were, is patented by the company that owns TV Guide. I think it might be Gemstar?

    2. Re:Yes by Rohan427 · · Score: 3, Interesting

      Just to backup what Yonder Way said, Yes. I worked on a project for a little while that was to provide scheduled playback for Internet audio and optional video streaming. It used a MySQL database for tracking artists, program schedules, playlists for the programs, supported e-Commerce, traked where the actual audio and video streams were, etc. For playback, there are many different applications (free) that can do the job depending upon the format you wish to provide. The hardest part (not including the time for development, which is not hard, just time consuming) is selecting the various components from all the choices available.

      For the inventive and those that need a solution that doesn't exist, the various video formats and protocols are published and applications can be written to provide the solution needed (which is something I had to do in part for Akamai when I worked there).

      As a final note, a Linux based solution would work far better and be far more reliable than a Windows based solution (it would also provide a far better ROI and a lower TCO).

      PGA

    3. Re:Yes by Anonymous Coward · · Score: 0
      have you even said anything not blatantly obvious with this post?

      Batch job queues up content. As one piece of content finishes, next piece is queued up and plays.

      like... duh.
    4. Re:Yes by Jeff+DeMaagd · · Score: 1

      That sounds like quite a bit of work getting it going.

    5. Re:Yes by tigersha · · Score: 1

      No, the REAL work here is to make ti easy to use. That is something all the command line type do not get. Making things powerful is easy. Making things simple is easy. Making things simple AND powerful is HARD.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
  11. Dear Slashdot by brkello · · Score: 4, Funny

    Teach me how to do my job.

    Thanks!

    (I kid! I kid!)

    --
    Support a great indie game: http://www.abaddon360.com
    1. Re:Dear Slashdot by amcdiarmid · · Score: 0, Offtopic

      Actually, sometimes I'm completely flummoxed by what gets on Ask Slashdot. If you ask about a really specific problem that only applies to you, you might get on (TV Station on Linux, Audio Card for Poscasting, ...)

      When I ask about a Smart Network Switch, I get rejected.
      (Specifically, I wanted advice on a 24-port gigabit switch with some management features, including VLAN & CoS. I was thinking that LAN party people & people who use in SMB would know. This is where the world is going, and the $300 range is Linksys, DLink, and a company I don't like - I thought that a lot of people here might have the same issues, but noooooooo.) /vent-off

    2. Re:Dear Slashdot by Cal+Paterson · · Score: 1

      Possibly because your question doesn't have the interest of looking into another discipline. It's fairly standard advice that you could pick up from anyone, and while I'm sure that there are bound to be discussion points, there is going to be far less interest in your question than in one such as this.

    3. Re:Dear Slashdot by ximenes · · Score: 0, Offtopic

      Netgear ProSafe SmartSwitch GS724T does what you want I believe. Some intelligence, but cheap. All gigabit ports, and you can buy SFP's to uplink to a fiber gigabit network (which I do).

    4. Re:Dear Slashdot by drinkypoo · · Score: 1

      99% of the questions on ask slashdot are FUCKING STUPID. I mean have you ever just sat down and taken a look at what's on there? "Is Backyard Wind Power Worth It?" Run a cost comparison. You have now answered your question. Actually a lot of them have been pretty good lately, but most of them are just dumb.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:Dear Slashdot by thing12 · · Score: 0, Offtopic

      The Dell PowerConnect 2724 is pretty good - web managed, vlans, etc.. and only $258 right now. http://www.dell.com/content/products/productdetail s.aspx/pwcnt_2724?c=us&l=en&s=bsd&cs=04

    6. Re:Dear Slashdot by PygmySurfer · · Score: 0, Offtopic

      eBay usually has good deals on used Cisco Catalysts... Something like a 2924XL would suit you well. 3Com might also have something.

      I'd steer clear of D-Link, Netgear and Linksys...

    7. Re:Dear Slashdot by AmigaBen · · Score: 1

      For the love of all that is digital, don't buy any 3Com crap.

      --
      +5 Insightful, really!
    8. Re:Dear Slashdot by rizole · · Score: 2, Funny

      So to summerise; The questions are fucking stipid. Actualy they are good but on the other hand they are crap.

    9. Re:Dear Slashdot by drinkypoo · · Score: 0

      No, to summarize: Most of the time the questions are crap; lately they have been better than usual.

      Is English your second language, or are you just stupid? It could be either way: s/summerise/summarize/; s/stipid/stupid/; s/Actualy/Actually/;

      I guess there's room for both.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  12. In for a penny, out for a pound. by Anonymous Coward · · Score: 0

    "There are proprietary solutions (very expensive) and there are companies that bundle software with Windows and standard x86 hardware. Overall, they are generally unimpressive and won't sell the software without bundling it with their own hardware. "

    Is using Linux really going to save you that much money to justify all the work that your going to have to put in to make the whole thing come off effortlessly? Let alone the hardware your going to need regardless of software.

    1. Re:In for a penny, out for a pound. by Anonymous Coward · · Score: 2, Insightful

      By "very expensive", the author means incredibly expensive. The hardware is decent, but the software and the interfaces to modern broadcast automation is ugly -- still stuck back in the mentality of text-based programs at best (which makes any GUI app as hard, if not harder, to use). For non-traditional media, like a LPTV (Where frame-accurate automation is not required, where the content can controlled (minimal legacy support, a small number of possible inputs, etc), a full, commercial solution is also overkill. All you would need is a database, a machine (or 2) dedicated to output (for quality and redundancy more than anything), and a controller that queues schedules from the database and sends commands to the output servers as needed. So, yes, Linux will save you not only a bundle of money, as long as you have the ability to program some decent interfaces, but also some frustration.

    2. Re:In for a penny, out for a pound. by rolfwind · · Score: 1

      He said he was willing to look up Windows, Mac, AND Linux solutions in the body, even if the title makes it more pro-Linux than it is.

    3. Re:In for a penny, out for a pound. by heinousjay · · Score: 1

      One thing I've learned - whenever someone starts off a project description with "all you would need" you should clear the next 2 years.

      --
      Slashdot - where whining about luck is the new way to make the world you want.
    4. Re:In for a penny, out for a pound. by OrangeTide · · Score: 1

      I think it would be better to look at Linux as giving you more flexibility than something that will save you money. If you're smart and know what you are doing, Linux can probably save you a lot of money. But usually you just have to mess with it a bit and make a few failed attempts before it does what you want. (I'm just speaking in general here, not about any specific TV related application)

      --
      “Common sense is not so common.” — Voltaire
    5. Re:In for a penny, out for a pound. by btpier · · Score: 1

      Exactly. Go price out some Avid gear and you'll see what we mean. In my short experience with television, we used an Avid Airspace which runs unix but it was a turnkey solution.

    6. Re:In for a penny, out for a pound. by tttonyyy · · Score: 3, Interesting

      This is utterly rubbish. Many modern broadcast systems have very sophisticated and very easy to manage front ends for handling staggering numbers of encoders/muxes/routing/modulating equipment. Of course the expense comes from redundancy, so that the broadcaster has minimal off-air time if a mux or encoder fails by having software managed backups (IE spare muxes and encoders). Advertisers will get very upset if their content isn't aired correctly. So in modern systems, switching from failed equipment can be detected and done so quickly that the consumer in most cases will not notice that the switch and associated re-routing has occurred. Equipment which can do this cleanly does not come cheap.

      Anyway, back to the original question. It's not stated whether the output is analog or digital. If digital, then the transport mux and program tables and all the other DVB mandatory content has to be correctly generated. Encoding high quality complient MPEG-2 on the fly requires some pretty serious hardware support in the professional encoders, so there is no way this could be done with a PC - sure you can encode crappy quality MPEG at low resolutions, but trying to produce professional quality video that makes the most out of your bitrate really isn't going to happen (good motion compensation is non-trivial, in a "You may think it's a long way down the road to the chemist, but that's just peanuts to quality motion compensation!" kind of way).

      Of course, you can encode offline and store the transport streams on disk, but then when you mux the output with all the other DVB content, you've got to have consistent GOP structures, PCRs (Program Clock References), presentation time stamps, time codes etc, which is immensely difficult to achieve, especially if you're planning on splicing in adverts and other content (hint - this is one reason why satellite and cable broadcasters encode live from SDI inputs).

      If you're trying to replace a tape archive (rather than "Run a TV Station on Linux" - which is a whole lot more, as discussed above), then perhaps you can MPEG encode the videos offline with a good quality software encoder and play it back raw (SDI/YUV) to the head-end bits that do the final encoding/modulating, but even then, getting it all synchronised correctly is likely to be non-trivial (you can't just produce your SDI frames willy-nilly you know - it's got to be synced to the rest of the station, just like the original tape system must have been - possibly off a "black and burst" generator).

      Really, I think you're in for a very tough time trying to do this with Linux and OSS, unless you're willing to accept very low quality results that might not integrate with a professional broadcast system.

      But, good luck nonetheless. :)

      --
      biopowered.co.uk - catalytically cracking triglycerides for home automotive use since 2008. Just say no to big oil!
    7. Re:In for a penny, out for a pound. by MsGeek · · Score: 1

      One of my best friends is senior broadcast tech at a Major Network TV Affiliate in the Southeast. Not only are these Incredibly Expensive Systems incredibly expensive, but they are also incredibly fragile. They have to go back to running tapes to the VTR and pressing play when the Electronic Video Store goes down. I get this feeling that even the kludgiest Linux solution would be better. And cheaper. It would be quite hackish but that's the nature of the beast at this point. Theoretically a Linux or even a UNIX solution is going to be better than the proprietary stuff.

      --
      Knowledge is power. Knowledge shared is power multiplied.
    8. Re:In for a penny, out for a pound. by Anonymous Coward · · Score: 0

      "Really, I think you're in for a very tough time trying to do this with Linux and OSS, unless you're willing to accept very low quality results that might not integrate with a professional broadcast system."

      Thanks tttonyyy. You put to words my feelings when I wrote the original post.

      I should point out that in the book Making DVD's. The author makes the point that sometimes you can get a better result using a two-pass 'software' VBR encoder because one can help the encoding process by giving it a hinting hamd in a non-realtime way.

    9. Re:In for a penny, out for a pound. by sjf · · Score: 1

      I agree. With one caveat. There are FreeBSD based systems, Avid Airspeed for instance. Is a splendid, very powerful playback to air device. You would be better off spending your budget on something like this, with a support contract, backed by a company that knows what they are doing. Run Linux for everything else. If you are a 'real' tv station, then you cannont contemplate failure in the last hurdle. Try to bear in mind that running a TV station is not an IT job. It is a broadcast engineering job.

    10. Re:In for a penny, out for a pound. by tttonyyy · · Score: 1

      Regarding two-pass VBR encoding - there is one situation where this is very useful in real-time broadcast systems too. If you're a broadcaster and have an allocated amount of bandwidth for some transport, and are pushing say, three video streams down that transport, obviously you have to allocate a certain amount of bandwidth (bitrate) to each video stream. But this is where VBR encoding is useful - sometime video streams can take a lot of bitrate when a lot is happening on-screen, while others take less bitrate while not-a-lot is happening (think talking heads in a studio vs panning across a football field). So how do you ensure that all of your variable bitrate video streams don't exceed the total bandwidth allowance? The answer is two-pass VBR encoding. On the first pass, the encoder works out how "hard" it's going to be to encode a particular frame. It passes this information on to some controlling system that can allocate bandwidth to each encoder (often a mux). The mux responds with a bandwidth allocation on a per-frame basis to each encoder, based on each encoders "first pass". And so the sum of all outputs from the encoders won't exceed the total allocation, and you make the best use of your bandwidth. This works best when the three (or more) video channels have very different content being broadcast, so are less likely to all require high bitrates at the same time (in this situation, the encoders are bitrate-limited and the video quality drops). Similarly, in systems that don't do multiple passes, there is likely to be a one frame latency between the encoder encoding a difficult frame and getting a higher bandwidth allocation from the mux, during which the video quality will degrade (for just that one frame).

      The subject is of such incredible depth that it's impossible to convey even a tiny fraction of what is involved in a post on slashdot. As a self confessed geek, that's why I love working in digital television. I used to work for a company that made the silicon and drivers used in 70% of STB worldwide, and spent a lot of time with broadcasters ensuring the STBs would work with their interpretations of the DVB standards - except DirecTV of course, who are a law unto themselves. ;) Now I work for a company that designs professional head-end broadcast equipment. There is always something new to learn, something that you hadn't previously considered. As a job, it stays fresh and doesn't get boring and I wouldn't hesitate to recommend it as a career path to any potential geeks. :)

      --
      biopowered.co.uk - catalytically cracking triglycerides for home automotive use since 2008. Just say no to big oil!
    11. Re:In for a penny, out for a pound. by Wizardess · · Score: 1

      For that matter nobody has put it all together yet. Converting MPEG to decent video is not opressively difficult. There are video cards that purport to be able to do this. There are expensive video cards that need expensive software to control them which I do know work. I do the software for one such item that is used in several interesting places like ABC Washington DC with on the air talent controlling it. What I do not see is anything other than a handwave description of what he wants. Does he want a bare naked replacement for a small bank of tape recorders? Or does he want something that can do a little more with some effects over live video? Does he simply play back movies and that's the end of it? Does he have a news room? Does he want to automate the whole mess or does he want manual control at the "tape recorder level"? Does he want something inbetween? What level of broadcast standards does he want to meet? There are enough variables present that he did not define very clearly. And if he wants to go for broadcast standards I suggest he is not going to do it with a raw PC even with a good video card. The kinds of cards I work with go through quite a few interesting steps to maintain audio and video timing, for example. If he is working in a real studio environment and wants more than a simple substitute for a TiVo then, yes, he can do the playback with almost anything. But he will not be replacing the timebase correctors or anything else in the station. And it may not be amenable to remote controlling with any station automation software he might have. If he needs to run a full up small TV station and tries to do it "for free" with Linux I'd dearly love to see what he turns up. I suspect it will be amusing. The real equipment for this job is into rather high dollar figures by the time the ability to switch without glitching video, perform even some minimal special effect (Boxes, fades, keys, squeezes) are considered. If he wants an audomated station the Harris controller, the various key combiners, time base correctors, switches, and other ancilliary equipment is likely to make the price of a $25000 commercial clip store unit look depressingly cheap. I am rather bemused at the apparent lack of expertise of this person asking the question. Is he, perhaps, a young person trying to setup a little pirate video station? His wording did not imply any real broadcast experience.

  13. I've been wondering the same thing by drewzhrodague · · Score: 1, Offtopic

    I have been wondering the same thing. I was expecting to be a little more elaborate, and generating the content in realtime. OTherwise, I would think that things like geekradio might be modified to fit commercials, show snippets, station announcement, etc.

    The real question in doing a TV station, is how to get a license for the LPTV station? THe FCC website talks about having to check the website for when the application window is active, and they only allow license applications when they think it is convenient for them.

    Also, you need a place to put the antenna, nevermind the equipment costs. Can I stick an antenna on my house? Can I use this old dead tree? I haven't been able to find out that sort of thing just yet. FCC and the City of Pittsburgh obfuscate their rules and regulations, it is a bit hard to figure out some of these things.

    --
    Zhrodague.net - I do projects and stuff too.
    1. Re:I've been wondering the same thing by chuck · · Score: 1

      I'm not sure what you're referring to. The station in question already exists.

    2. Re:I've been wondering the same thing by drewzhrodague · · Score: 1

      Offtopic?!@ Has any of the mods actually tried to get a LPTV station license? Nevermind running Linux as the managing software? jeez, sometimes the mods are spot on, and othertimes the "Frist Psot" messages get a higher priority.

      --
      Zhrodague.net - I do projects and stuff too.
  14. gstreamer? by aksokzan · · Score: 1

    I'd imagine something based on gstreamer may be able to do wonders. (caveat: I've only tinkered with audio for gstreamer.) Otherwise, I bet mplayer and vlc will be mentioned quite a bit.

  15. run linux...? by xiao_haozi · · Score: 2

    tv station!..yes...but does it run linux.... oh wait..that's the question.

  16. Linux in the corporate environment by amazon10x · · Score: 1

    Though I don't know how to accomplish the job, I thought I'd mention that--assuming you get it to work--it's nice to see linux being used to accomplish things like this in the corporate world. It shows other companies that it is indeed possible to run a business without proprietary software.

    Please do let us a know what your final solution is.

  17. Given that... by also-rr · · Score: 4, Insightful

    The BBC runs a lot of their system (including the weather graphics) on Linux I'd say that the answer is yes. The more important question is how hard is it for me to do it.

    1. Re:Given that... by brainy · · Score: 0

      The BBC isn't the only one running weather graphics on Linux. I know that the station I work at uses a weather computer system that runs on Linux. But there's a big difference between generating weather graphics with Linux and switching and playing back full video streams with Linux.

    2. Re:Given that... by Antique+Geekmeister · · Score: 1

      Any fool can write a basic tool or two. But making it robust, making it reliable, and making the interface simple to use takes serious work. The result of writing really good tools that have terrible interfaces is well-described by Eric Raymond in his famous rant on CUPS: if the interface is not good, people will not be able to use it reliably.

    3. Re:Given that... by mgblst · · Score: 1

      Yeah, I think he was talking about a real TV station, not some small sub-channel that nobody really watches.

  18. Well it is possible to run one on Windows. by Tacvek · · Score: 1

    Or at least use windows as the source of video. A local [very small] Tv station was once broadcating the "Windows is shutting down" screen for days! [This station normally broadcast what was more or less a slideshow, and used a local radio station as thew audio source.]

    --
    Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    1. Re:Well it is possible to run one on Windows. by SScorpio · · Score: 1

      Blah, the windows is shutting down and errored Powerpoint screens had no class. Now the Amiga desktop. Those stations had class.

    2. Re:Well it is possible to run one on Windows. by Anonymous Coward · · Score: 0

      I remember in the Day a local station that ran streaming text from a commadore 64 you know that text on the c64 blue(t) background!

  19. Not an expert by LWATCDR · · Score: 1

    The closest thing to a video iTunes I can think of is MythTV
    I did find this how to on TV output
    http://ivtv.writeme.ch/tiki-index.php?page=TvOutHo wto

    I have no idea if these cards are broadcast quality.
    The good thing is you can try out a some solutions without spending a lot of money.
    I could be wrong but isn't this going to be a little more complex than just running a play list?
    How many playback systems would you use? What kind of switch? What about audio output?
    You will also need to worry about the video and audio staying in sync?
    What about captioning? I does Mpeg-2 keep line-21 of the VBI intact?

    I would love to see a TV station running on FOSS/Linux.
    Everything from OpenOffice, Sqlledger, to Asterisk for the phone system.
    Has a lot of potential as a project but there is a lot of work ahead.

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  20. little software available for linux. by flaming-opus · · Score: 2, Informative

    Most all of the compositing, editing, and formatting software is for windows. For some very limited sorts of things, you could probably roll your own, but it would take a lot of development time, and probably be hard to use.

    However, you should check out Apple's final cut pro. I've seen it used for small-medium sized TV stations, and it's not too hard to use. I like it.
    http://www.apple.com/finalcutstudio/
    http://www.apple.com/uk/pro/profiles/tourdefrance/

    1. Re:little software available for linux. by Dun+Malg · · Score: 1
      Most all of the compositing, editing, and formatting software is for windows. For some very limited sorts of things, you could probably roll your own, but it would take a lot of development time, and probably be hard to use. However, you should check out Apple's final cut pro. I've seen it used for small-medium sized TV stations, and it's not too hard to use. I like it.
      RTFQ:
      "I've been tasked to move them to computerized playback"

      Not compositing, editing, and formatting; failsafe, scheduled playback. Final Cut Pro has no facility for that.
      --
      If a job's not worth doing, it's not worth doing right.
    2. Re:little software available for linux. by metalligoth · · Score: 1

      Writing some custom code to provide playback functionality on OS X would be a snap. It could be done via REALbasic and AppleScript with very little effort.

    3. Re:little software available for linux. by che.kai-jei · · Score: 0

      actually all the autodeski flame/inferno/combustion stuff is all availble for linux which tv stations use.

    4. Re:little software available for linux. by Anonymous Coward · · Score: 0

      As it could for Linux, except with Linux you can choose the hardware and software you want, there are more and better development tools and the platform is not controlled by a company that is looking to put TV stations out of business.

    5. Re:little software available for linux. by Anonymous Coward · · Score: 5, Funny

      I know you didn't ask for any composting, editing, or formatting software. And I know you plainly asked for Linux. But you should really check out Final Cut Pro. It doesn't do what you want and doesn't run on the platform you suggested, but I used it once and it was great.

      Mod me up informative!

    6. Re:little software available for linux. by splutty · · Score: 1

      > I know you didn't ask for any composting, editing, or formatting software

      Aha! So that's what I should do with all these old free AOL disks and other shite I get in the mail! Compost it! (It is still allowed to compost excrement, right?)

      --
      Coz eternity my friend, is a long *ing time.
  21. Re:answer: NO by Yonder+Way · · Score: 1, Informative

    Hmmm I have a number of Linux servers here that would disagree with you.

    I see my ftp server has served up 14TB so far this month without a hiccup, and it's using ext3.

    I don't blame you for posting anonymously. It's hard to post something like that in a way that people can hold your name accountable.

  22. SSTV by Anonymous Coward · · Score: 0

    QSSTV is the name of the software, and you can run an ameture tv station atleast.

  23. Do they really need it? by gstoddart · · Score: 5, Insightful

    Not to be a technology nay-sayer, but does this low-power TV station need all of this high-faluting stuff?

    Sometimes I have visions of throwing a load of technology at a problem, and then leaving someone with a solution they can't run, maintain, or understand. And then they've leaped back even further in technology when it all becomes inoperative.

    The thing you have to ask yourself, is do they really need it, and can they be updated to it without damaging them in the long run?

    [ No, I'm not a complete luddite, I just wonder if this is a step they might actually be ready to take ]

    Cheers

    --
    Lost at C:>. Found at C.
    1. Re:Do they really need it? by krell · · Score: 1

      "Not to be a technology nay-sayer, but does this low-power TV station need all of this high-faluting stuff?"

      Yeah, all you need is an old VCR and a stack of half-done sports tapes, worn-out public domain cartoons, and soap opera marathons that you can pick up for $3 a crate-of-tapes at any garage sale. Then you'll be on TV in no-time, and with a little word-of-mouth, your ratings should surpass those of the CW network by the end of your first broadcast month.

      --
      Where were you when the voynix came?
    2. Re:Do they really need it? by gstoddart · · Score: 3, Insightful
      Then you'll be on TV in no-time, and with a little word-of-mouth, your ratings should surpass those of the CW network by the end of your first broadcast month.

      Actually, I took the submission to indicate that a low-power TV station which was already broadcasting was trying to modernize their infrastructure, not build one from scratch.

      I was just questioning if COTS components running Linux were what an already-running TV station actually needs. At a minimum, you need to guarantee they can go back to the old system of switching tapes manually. On the other end, you could leave them absolutely dead in the water if things go awry.

      A TV station is presumably more complex than setting up a myth TV machine.

      Cheers
      --
      Lost at C:>. Found at C.
    3. Re:Do they really need it? by general+scruff · · Score: 2, Interesting

      I second that.

      In working for a doctors office, I was all ready to set them up with a better switch (they are running netgear now) and a couple other high tech solutions... Until I thought about it a bit more, and realized that they are fine.

      What might be a better idea is to leave them where they are, and pick away at a new solution that might involve MPEG and CRON and linux stuff, but only for the day that all of the stuff they are using now is broke.

      Taking your time might also mean some other solutions present themselves while you wait (Like used equipment from a slightly higher powered station upgrading all its tech bits).

      Heck! Why not have a show devoted to developing a new setup for the station. Get the fans of the station involved. Now thats using Open Source!

      --
      As a rule, I never trust dark brown ketchup.
    4. Re:Do they really need it? by sgbett · · Score: 0

      Heck! Why not have a show devoted to developing a new setup for the station. Get the fans of the station involved. Now thats using Open Source!

      ---

      I like that. I like that a lot!

      To your original point:

      The biggest problem I have in my day to day dealings with other companies is my inner techie wanting to give them the *best* (imho) solution, instead of just an (in?)adequate solution. The difference being that the best solution often takes a little longer and costs a bit more than the sticking plaster fix. Its sickening but these people would rather pay (say) 5grand a year *every year* than say 10-20grand to see them right for the next 10.

      When, oh when, am i gonne finally take the pill that makes me not give a shit about whats best for them ....

      --
      Invaders must die
    5. Re:Do they really need it? by swillden · · Score: 1

      Depends. Like most applications of automation, the purpose is to reduce labor. If labor is cheap or free, all you need is a pair of VTRs, a stack of tapes, a wall clock and a guy with a written schedule and plenty of coffee.

      If you don't want to pay the guy, however, automation is an excellent idea, particularly now that it can be done cheaply (no more need for robotic tape pickers).

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    6. Re:Do they really need it? by Cylix · · Score: 1

      The problem of going back to tapes is not so much in the control part.

      Most broadcast equipment has support for remote control. This ranges from decks, switchers to even satellite controllers. Some of it is bi-directional communication and some of it is simply sending a control code. You can wrestle control back fairly easily, but that is not where the problem lies.

      If you switch to an automation setup for capturing feeds there may not even be tapes to go back to. It really depends on how they captured their feeds before and if that method still exists. Obviously, the main calling in automation is to save money.

      As far as setting up MythTV versus television...

      I'm still debating that one.

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
    7. Re:Do they really need it? by waferhead · · Score: 1

      gstoddart said:

      "A TV station is presumably more complex than setting up a myth TV machine."

      You have obviously never set up a MythTV box ;-)

      (I semi-kid... With Knoppmyth, anyone can do it in ~20 minutes)

  24. Re:Could we run a TV station on Linux? by mctk · · Score: 0, Offtopic

    Wow. That really didn't come out right. English is my first language.

    --
    Paul Grosfield - the quicker picker upper.
  25. mplayer? by Anonymous Coward · · Score: 0

    How about running mplayer using cron?

  26. NTSC Signal by AKAImBatman · · Score: 5, Insightful

    Everyone seems to be forgetting the little part about translating the MPEG compressed video into a broadcast quality NTSC signal, preferrably without noticable artifacting and color problems. Depending on the equipment, a simple TV-OUT port could be used, but would that really give the results a television station needs?

    Also, let's not forget that he needs to future-proof his solution for digital transmissions. While there's tons of NTSC equipment on the market, what does one use to broadcast in digital? Presumably, he'll need encoders that are well suited to broadcast technology and an advanced digital to analog signal coverter at a minimum. He'll also need to understand whether he will have to support SDTV broadcasts, HDTV broadcasts, or both. If it's both, does his software support anamorphic encoding? If not, what is the hit from multi-encoding?

    I'm barely even scratching the surface of the problems he's going to have. Right now, Linux has media software intended for home use. Setting things up for a professional television station is a whole other ball of wax that probably hasn't been considered yet.

    1. Re:NTSC Signal by CosmeticLobotamy · · Score: 2, Funny

      Depending on the equipment, a simple TV-OUT port could be used, but would that really give the results a television station needs?

      He said "low-power tv station," so as long as he can either tell that the local used car dealer is still bald or make out the nipple on the feed from the camera he put in his hot neighbor's bookcase, he's probably good.

    2. Re:NTSC Signal by twistedsymphony · · Score: 1

      Not that I've ever done anything with Broadcast TV but I would imagine for the best possible image you'd output your video through the VGA and use a standalone broadcast quality device to encode it to the necessary NTSC signal, AFAIK VGA is about as high quality as you can get for an analog signal (for all I know there is some OTHER standard used in the pro sector that I've never heard of) and it's certainly one of the best analog video signals you could get out of a PC. I would think that a VGA to whatever it is they need converter would be readily available, I wouldn't be surprised if they already had one.

      I think my biggest concern with ANY computer based system would be reliability... judging by how often my own machine, or even the servers at my workplace (even the Linux ones) are down I would think that sort of thing would be unacceptable in the Broadcast TV space... If done right Linux can be a whole world better in that respect then the other available OSs but hardware is still a factor, things break, hard drives crash, network switches hiccup, video cards lock up, someone cuts a wire they shouldn't have, etc.. I suppose it's unavoidable no matter what you go with though.

    3. Re:NTSC Signal by Vellmont · · Score: 1


      Also, let's not forget that he needs to future-proof his solution for digital transmissions. While there's tons of NTSC equipment on the market, what does one use to broadcast in digital?

      I'm no expert in TV broadcasting, but my guess is this would be most easily accomplished by some black box that converts the NTSC broadcast signal into a digital one. Sure you'd only get 480p at best, but remember this is a LOW POWER station. Just getting a digital signal out is probbably more than anyone expects.

      Converting to an all digital editing, producing, etc is likely expensive (at least from what I heard a few years ago). So the tape storage system is only really one component of that.

      --
      AccountKiller
    4. Re:NTSC Signal by AKAImBatman · · Score: 1

      You can't do that. Broadcast television is interlaced. VGA is progressive. Never the twain shall meet.

      This comes back to the problems he's going to have. He needs his MPEG source to be interlaced as well, OR he can use a 30fps deinterlaced source that gets interlaced in real time. Neither option is very appealing, and most people don't even understand what that entails. If he creates the signal incorrectly, all you're going to get on the screen (presuming you get anything) is a blurry mush of interlacing artifacts created by far too many transcodings.

    5. Re:NTSC Signal by jeffmeden · · Score: 1

      Never the twain shall meet.

      Uh huh

      Tell that to my first VGA monitor, it loved interlaced video so much I had to get glasses...

    6. Re:NTSC Signal by westlake · · Score: 1
      He said "low-power tv station," so as long as he can either tell that the local used car dealer is still bald or make out the nipple on the feed from the camera he put in his hot neighbor's bookcase, he's probably good.

      "LPTV stations are limited to an effective radiated power of 3 kilowatts (VHF) and 150 kilowatts (UHF). There are no limits on transmitter output power and on antenna height..."Low Power Television (LPTV) Service

      Nothing Is 'Big Time' About Channel 13 While a story like this make fun reading, it is not typical of the product an LPTV station must deliver to remain commercially viable.

    7. Re:NTSC Signal by AKAImBatman · · Score: 1

      An interlaced scan monitor is not the same as an interlaced signal. By running at twice the resolution of a non-interlaced monitor, interlaced monitors were able to show the same picture but with less flicker. They were great for slow moving graphics, but looked horrible for anything fast moving. The VGA signal itself was non-interlaced, and was merely being shown on alternate lines each frame.

      Some history.

    8. Re:NTSC Signal by conigs · · Score: 1

      The original question did mention specifically SDI or YUV-Component video signals. I'm assuming the broadcast will still be analog.

      However, there's yet another kink in this whole system: frame accuracy. First of all, everything needs to be in drop frame timecode to even ensure your programs aren't stretching too much. (You'd be off by 3 seconds and 18 frames every hour if you're looking at everything in non-drop-frame. That adds up quickly.) Once you get past that, you need to ensure the same frame accuracy on switching between video feeds. Even if there's a 1 frame delay between each switch, that adds up quickly, too. If these aren't done right, within a week you'll be starting your 7:30pm show at at 7:40pm or later.

      --
      Slashdot: where repeating an article in a post is "+5 Insightful"
    9. Re:NTSC Signal by AKAImBatman · · Score: 1
      The original question did mention specifically SDI or YUV-Component video signals. I'm assuming the broadcast will still be analog.

      Not for long. According to the FCC, television stations *must* switch over to digital by February 17, 2009. That's only about 2 and a half years away. So anything he does now had better be digital ready. Otherwise he's going to be in a world of hurt, possibly before he even completes this project.
    10. Re:NTSC Signal by Lumpy · · Score: 2, Informative

      hollywood+ mpeg playback card.

      Bingo... NTSC broadcast quality.

      dont believe me? most of the weather channel boxes and TV guide boxed in CATV headends as well as the locall access channels used to use them and many still do.

      linux compatable and works great. problem is that you haveto begin and end EVERY video clip with 1 frame of black or you get wierd artifacting.

      using mplayer with it and you can do even more.

      Hardest part is to generate a system to insert ad's and do the verification of playback for billing affidavits.. There is a reason that most TV and catv stations use seachange gear+ software for ad insertion.

      --
      Do not look at laser with remaining good eye.
    11. Re:NTSC Signal by CharlieG · · Score: 1

      Well, it's actually more interesting than that. MOST video running around in stations today is component video, and is only brought down to NTSC at the end - also remember, particularly if you have more than ONE playback device, they need to be SYNCed, so that you don't get glitches when you cut, and you can do things like fades/wipes. I'm quite sure that there are PC video cards that take SYNC, but frankly, I've never gone over to the guys in BO&E (Broadcast Ops and Eng) and asked

      --
      -- 73 de KG2V For the Children - RKBA! "You are what you do when it counts" - the Masso
    12. Re:NTSC Signal by ehanuise · · Score: 1

      "broadcast quality NTSC" is an oxymoron.

    13. Re:NTSC Signal by Cylix · · Score: 1

      Ah!

      I wasn't aware of the one frame of black that would fix the artifacts. TY!

      I still use mine today as it is really a nice signal and the onboard chip is/was just amazing. You can hack on external sync, RGB out, and a few other things I can't remember. It's in the archives somewhere with a nice summary by someone. However, it is not without caveats as sync would only work for so long before dropping out. The solution is of course to add a frame sync to the unit, but you have to watch for dropped frames. (Some good stuff elsewhere in this discussion post). Me, I use mine at the house and have an A/B auto switch in the mix so that the television cuts to the em830 on activation.

      I'm going to be toying around with a stradis card soon, but it's bit of a pain as you have to get the original drivers from the manufacturer. The older ones are in the affordable range now, but not quite DXR3/Hollywood+ affordable.

      Regarding automation...

      Again, I see confusion here as to how the systems "can" work with regards to automation.

      Playout/capture != Traffic management.

      These can be two seperate systems with your playout hardware accepting an automation list from some other source. Yes, they need to communicate, but not so much as the two systems need to be integrated. Traffic needs to know what is on file. Automation needs to know what to play.

      The traffic software isn't really so bad if you understand it all and once you do it can really leave you wondering "why is this a problem for them to implement." I'm going to sit down and hack out my own eventually. Granted, there are many gotchas and little things to worry about, but the base setup doesn't look to be that bad. (Gets a little crazy on paper sometimes, but I have my dream)

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
    14. Re:NTSC Signal by Lumpy · · Score: 1

      traffic software is not a problem. I have a copy of Novar and the source code to it. (my secret connection when I was in Cable advertising :-) and have programmed manipulated and modified it for my last employer. so I fully understand traffic and billing.

      problem is that having your content playback solution and your ad playback solution is not easy to keep together. If you cut your content into the 13 minute chunks you need then you can insert the ad's from the single playback unit and make things easier to deal with. I believe you can do this with linux automatically with the right tools. cut the show mpeg into segments and add the fast fade in/out at the open/close of each segment. Adding a TBC always helps the "glitches" as well although a cheap one will muddy the image.

      if you are non profit, you can do all ad's as autofill and simply store start/end time and date stamps in the DB for affidavits. doing daypart stuff makes it quite a bit harder... I always hated that stuff.

      --
      Do not look at laser with remaining good eye.
    15. Re:NTSC Signal by Cylix · · Score: 1

      You shouldn't even cut your show into chunks as that is just going to ad work to the beast. You want to worry about in's and out's and keep those on file. This can be done a couple different ways depending on how expensive you want to go. Embedded tones, automatic marking of black time, manual marking of ins and outs or simply rely on the format sheet. Unless you really want to get expensive someone is going to be checking the content anwyway and this function can be performed by them.

      Whether you do multi output on a single box or use multiple systems the automation application simply has to activate your ad stream and send a control code to the switcher.

      You could get by with a simple older hot punch to automate the switching via serial.

      Note, the cheaper the solution the more painful it can get. (Lack of zero time inputs, down stream key and other frills)

      Cheap TBCS make baby jesus cry :( (I have five sitting in storage I hate.)

      I'm not familiar with novar, but dayparts shouldn't be tough. I say shouldn't because if they are... I wouldn't really want to use it. Autofill sounds a bit like everything would be a rotator which will definately not be the best bang for the buck. Some stations won't even sell them!

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
    16. Re:NTSC Signal by Lumpy · · Score: 1

      problem is that a definition of a daypart changes if it's commerical or political. Political dayparts are sold differently and are only about 2 hour windows. this makes life hell when you are fighting with dual daypart templates and then have to figure out priority codes (does this polotical ad sold for lowest cost get bumped for the low cost car lot? etc....)

      I found that for the one public access channel we had I sutomatically chopped up the mpeg files (church1.mpeg became 010000-1.mpeg,010000-2.mpeg and so on... the file name became the air time when file 010000-2.mpeg completes, I air 3-6 ad spots then continue with 010000-2.mpeg.. and so on.

      hard part is you get people sending you content that is not 21 minutes like you asked but 22 minutes. so you either run late, skip 1 minute from a 3 minute break, or chop the content. we usually chop the last file. if a show is going to run from 010000 - 013000 then at 013000 the playback is stopped and the bottom of the hour 3 minute break starts. Typically if we had time to preview the content we would reject a show that was not correct.

      Live events like hockey games, we did live.. I would record a moneyreel into betaSP and then drop the video on a delay. when I saw the break coming, I pot to the beta run the spots and pot back.

      makes it easier. you can not automate a live event.

      --
      Do not look at laser with remaining good eye.
    17. Re:NTSC Signal by Cylix · · Score: 1

      I agree, we don't automate live events at all and use good old fashioned fingers for that task. However, the playlist is autogenerated for the break and if there are more breaks then anticipated we simply roll the list over. Yeah, freebies are not the best in the world, but it's bad form to oversale an event.

      Still, the point is, it would seem like much more work to chop up a show then to automate the playout with a multi-channel playout system.

      I like the term moneyreel.... I'm going to start using that here now ;)

      Yes, the thread is old, but it's quite a good one.

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
  27. Internet TV!!! by KallosEsq · · Score: 3, Interesting

    Yes, this can be implemented on a linux box very easily.
    Long story short I implemented this in 2002 at the University at Albany, SUNY with a friend.
    It requires a dedicated server and a dedicated encoder.
    What will make the process easier is going all digital on your content development.

    It currently has a barebones site: Albany Student Television

    You can use any number of devices to keep the content automated and going from cron to java scripts to shell scripts and what have you. The challenge is figuring out what you want to do and how you want it managed?
    Since 2002 there is a lot more technology out there. Our solution at the time was to use windows explorer with embedded media playing. Two draw backs were an occasional refresh logo in the top, and IE's tendency to be unstable.

  28. oss media players/encoders by emil10001 · · Score: 1

    MPlayer & MEncoder http://www.mplayerhq.hu/

    ffmpeg

    x264 (library)

    I use mplayer, mencoder, and ffmpeg with the x264 library to encode dvd's to the h.264 standard mp4. I use mplayer to playback dvd's and videos. You can get frontends for mplayer, but I like it because you can easily integrate it into bash scripts. If I have some time when I get home, I can post some of the scripts that I use, and perhaps try to explain some of the settings I'm using.

    For scheduled playback, you can do a playlist with mplayer and use a script and a cron job for it. Another nice thing about mplayer is that you can tell it when to start and stop playback of a file, if for example you wanted to interrupt a program 5 minutes in for a commercial break you could tell it to start at 0 and elapse 5 minutes. Then you could tell it, after the commercials, to start at 5 minutes and elapse another 10 minutes. (I'd post the code now, but the firewall here is blocking the mplayer site).

  29. VLC by ExRex · · Score: 1, Informative

    Talk to the folks over at VideoLAN. The software is very robust and runs on any OS. Check the fora or get on the streaming mailing list.

    --
    The closer you are to the code, the happier you are. - Ancient Geek Proverb
    1. Re:VLC by Anonymous Coward · · Score: 0

      Robust? Last time I tried using VLC (about 4 month ago), it wouldn't play for more than 2-3 hours without crashing. Modifying scheduling usually reduced my average crash time to ~10 minutes. VLC is also the most CPU intensive player out there (once a stream starts playing).

      If there was one term I would use to apply to VLC, robust would not be it.

      The only advantage of VLC is that it comes with all its codecs. And, at that, it isn't the only player to do so. In all aspects, some other player is better. If you are a "true believer" in VLC, I strongly suggest you to try something else. You will most likely be pleasantly surprised.

  30. Why not? by www.sorehands.com · · Score: 4, Informative

    I worked on a high-def digital cinema preshow playback system based on Linux. It is currently running in over 400 cinemas. Of course it would take work to find and glue them together. You would also need TV compatible video output with Linux drivers.

    1. Re:Why not? by KZigurs · · Score: 1

      DIE! Do you know how annoying that (PAUSE prompt appears. PLAY prompt appears. 4:3 content in the middle of the screen) fucking running commercials and Please Don't Smoke. Please Turn Off Your Cellphone. Thanks For Visiting Us, BUY MALBORO shit is?

      DIE! DIE!

      Or you could at least have made it to crash if it overruns 30 seconds of bullshit before even previews.

  31. The other challenge by sterno · · Score: 3, Insightful

    Making it redundant is important, but the other challenge is making sure that it's usable by programming people who don't have significant technical expertise (at least not of this sort). Intutive ways to queue up programs, ads, etc. You can have a system with all of the bells and whistles in terms of redundancy, storage, etc, but if nobody knows how to use it effectively, it doesn't matter.

    --
    This sig has been temporarily disconnected or is no longer in service
    1. Re:The other challenge by chuck · · Score: 4, Funny

      Intutive ways to queue up programs, ads, etc.


      They can set it up in google calendar and the scripts can read the ical feed.
    2. Re:The other challenge by jargon82 · · Score: 1

      One more thing to assure the availability of?

    3. Re:The other challenge by chuck · · Score: 1

      I was expecting to be modded funny, but it didn't work.

  32. Easy as.. by mynameis_1 · · Score: 1

    Just type "tv-station" into the terminal and you are away.

    1. Re:Easy as.. by Anonymous Coward · · Score: 2, Funny

      These are Linux commands, remember? To start the tv station program would be something like "tsain"

    2. Re:Easy as.. by TheGilmanator · · Score: 1

      I just tried that on Ubuntu (Dapper Drake) and it didn't work. Am I missing some packages?

      --
      - John
    3. Re:Easy as.. by Hysterio · · Score: 1
      I just tried that on Ubuntu (Dapper Drake) and it didn't work. Am I missing some packages?
      sudo apt-get install tv-station
  33. xmms + mplayer? by brghntr · · Score: 1

    You can script control of xmms via cron, etc. That would give you an itunes like interface. Not sure how configurable the mplayer plugin for xmms is, but mplayer supports output to crazy video hardware, etc.

  34. Get someone from an OSS video project by Qbertino · · Score: 1

    One would be: Storage on Linux, Playback on OS X - if you can automate it.

    Otherwise I recommend getting someone from an OSS video project (mplayer, VLC, whatever) to come and do some work on the gaps you have. Non-compression playback would be one I'd guess. Aside from that it's just about CPU speed and data throughput. Which todays PCs are sufficient for.

    --
    We suffer more in our imagination than in reality. - Seneca
    1. Re:Get someone from an OSS video project by rdoger6424 · · Score: 1

      OSX is a form of BSD, so it always has cron.

      --
      "Hello 911? I just tried to toast some bread, and the toaster grew an arm and stabbed me in the face!"
  35. FOSS Signal by Anonymous Coward · · Score: 1, Interesting

    Agreed. That's why I asked if it using FOSS+Hardware+Labour was really going to be economically viable compared to proprietary solutions. I like FOSS as much as the next geek. But when talking about vertical applications like running a TV station (even an LPTV). FOSS comes up short. Maybe in the future, but not now.

  36. Windows or Mac OS X by fredan · · Score: 1

    Look at Blackmagic Design or AJA for there cards. The card itself appers as an video card to the os, so you can run VLC or another player on that screen. This way you get an SDI signal out of it.

    If you can accept an analog component signal then look into a nvidia card which has component output under linux from there drivers.

  37. Program in APL by krell · · Score: 5, Funny

    You can even write the entire program to run the station itself in a mere 11 characters of APL code.

    --
    Where were you when the voynix came?
    1. Re:Program in APL by Anonymous Coward · · Score: 1, Funny

      Or 11 pages of Mindfuck if you are a Real Programmer.

      (And programme quality wouldn't even suffer compared to 99% of the stuff aired these days.)

    2. Re:Program in APL by partenon · · Score: 1

      Or zero (visible) pages of Whitespace if you are a Real Clever Programmer.

      --
      ilex paraguariensis for all
    3. Re:Program in APL by gkhan1 · · Score: 1

      Hell, you could run WOPR in eleven characters of APL, if you really wanted.

    4. Re:Program in APL by Anonymous Coward · · Score: 0

      Well if whole worlds can be contained in the Matrix, APL should be able to handle a mere TV station.

  38. dear brkello by ranjix · · Score: 1

    from our point of view, you're doing your job VERY well.
    keep up the good work.


    signed, slashdot

    --
    I had another sig before, but this one is better
  39. Certainly! Just write it yourself! by Bitmanhome · · Score: 1

    You said you have the expertise, didn't you? Surely that's what you meant?

    For the short term, throw together a couple DVD changers and a linux-based controller. (At least two changers so the 'next' program is ready to roll the instant the 'last' one finishes.)

    That'll give you time to look into file-based playback options (Mplayer, VLC, dedicated MPEG2 card). Tivo/Media Center/MythTV might actually be useful here; they manage a library of programs for you plus have a playback engine; you just need a plugin that schedules continuous playback.

    When you're done, post it to Sourceforge, you'll be a hero!

    --
    Not that this wasn't entirely predictable.
  40. Based on What I See of BBC America... by eno2001 · · Score: 4, Interesting

    ...it appears to me that BBC America is probably run by two people and an automated system. My reasoning for this? The glitches I see from time to time. Sometimes the schedule on their web site will say they are showing a certain program, when they are showing something else. Sometimes I've even seen things like a program go to commercial break and when the break is over, you're in the middle of a different program. I suspect these are automation glitches. My second reason for saying this is that I have a series of BBC America station IDs I've edited out of the regular program streams and I have an automated playlist system that can simulate a live BBC America feed just with the programs I've recorded and commercials I've produced myself. So the answer is: yes you can. The real question is, how much of your time do you want to dedicate to doing it and are you up to the challenge. I did it purely for the fun of running a virtual TV station. Would I trust it to work for a low-power TV station? Sure. But I think you'd definitely want better hardware than what I've got. Just make sure it's supported in Linux, or else it's a show stopper. (No pun intended)

    --
    -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
    1. Re:Based on What I See of BBC America... by chuck · · Score: 1
      I have an automated playlist system that can simulate a live BBC America feed just with the programs I've recorded and commercials I've produced myself.


      What the hell?
    2. Re:Based on What I See of BBC America... by eno2001 · · Score: 1

      Hey... it keeps me off the streets! In another life I used to be in radio and television. Being in IT is actually just something I lucked into.

      --
      -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
    3. Re:Based on What I See of BBC America... by greebowarrior · · Score: 0

      i work for the BBC in the UK, and from my experience, id say you're not far wrong

    4. Re:Based on What I See of BBC America... by chuck · · Score: 2, Funny

      Some of us wouldn't call it luck...

    5. Re:Based on What I See of BBC America... by eno2001 · · Score: 1

      Dammit. I WANT to work for Auntie Beeb!! Lucky !@#%^

      --
      -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
  41. The Video Keg! by Meostro · · Score: 1

    You're looking for something similar to a video keg, but probably with a bit more processing power and a more controlled interface.

  42. Short answer: Yes. Long answer... by jd · · Score: 5, Informative
    Yes, but it will require a little tweaking. You'll definitely want hard real-time, or you'll skew the frame updates. Check to see what RTC clocks Linux supports and see if it would be viable to go in that direction. If not, the machine for playing must absolutely not run anything other than the player, then using the scheduler tools to set the program to run in the FIFO queue. (ie: make it totally non-interruptable).


    If you're running off remote disks, then the NAS MUST be capable of greater output than is required to transmit, as you absolutely must allow for dropped packets and other glitches that force a retransmit. If there's not enough time to fix the problem, then you're going to transmit a picture with noise.


    ALWAYS work ahead and cache pre-processed frames. There should be enough processed frames (encoded, digested and all ready to blast to the mast) that in the event of a failover (you DO have failover, don't you? :), you can be transmitting without interruption until the machine on standby is up and running. That way, you can almost (but not entirely) eliminate all possibility of downtime. Downtime is a VERY good thing to eliminate.


    Your NAS should use a striped RAID array (although each stripe may also be mirrored). Striping is essential in keeping the data flowing fast, and your hardware should be geared to maximizing that throughput. Let the realtime handle the scheduling.


    Don't bother using cron, or some other such userland service to start things. Exploit the FIFO queue. It won't run the next thing in the queue until the previous thing is finished. So long as you guarantee the stop time, you implicitly guarantee the next start time. You can then use cron to kill programs that overrun.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:Short answer: Yes. Long answer... by profplump · · Score: 1

      In case you were unaware, producing 645 x 484 @ 29.97 Hz is well within the realm of modern (or even not-so-modern) hardware. We're talking about less than 10 GB per *hour* here, even with ridiculously high rate compressed video streams. And even without a dedicated board, better-than-real-time MPEG decoding is trivial on even very modest new computers.

    2. Re:Short answer: Yes. Long answer... by jd · · Score: 2, Interesting
      Sure, when all is going well. My point is that things usually don't go well, particularly when you want guaranteed time on a free-for-all multitasking OS. And that's true of any such OS. When you absolutely must have a frame done within a thirtieth of a second, that absolutely cannot be an average interval, that must be a guaranteed interval. Which is not an easy thing to guarantee, when there are a bazillion signals, housekeeping operations and other diversions the kernel can get into. You only need an unexpected interrupt to throw your end-of-frame time off by a small amount before you distort the image noticeably. That's one reason why MPEG players on computers generally suck. even when the computer is easily powerful enough, allowing unexpected events to screw up the timings WILL make a huge difference. It absolutely must not be permitted.


      Realtime doesn't make things faster. Putting things in the FIFO queue won't make them noticeably faster. But each of these techniques WILL reduce the possibilities of the unexpected wrecking havoc.


      The drives and the network are another matter. They will ALWAYS be much slower than the computer and there is absolutely no way to prevent unexpected events on either. In consequence, you have to estimate the worst likely case and have both be capable of being fast enough to compensate. The buffering is for the same reason. It's pure compensation - mostly for the inherent variations in timing from mechanical devices and best-effort networking, but also for machine failure. It takes 5 seconds to reboot a machine that is running LinuxBIOS, so you require an absolute minimum of 5 seconds worth of processed data to make the failover totally invisible to the audience.


      I'll also point out that most TV stations have glitchy images and outage, although it's usually infrequent and relatively minor. What I'm talking about, therefore, is a system that is SUPERIOR to typical commercial-grade television, although I would personally consider inferiority by design to be a deep insult to those who use the service. The system I'm proposing would be quite capable of providing a level of service that users should reasonably be able to expect from an organization with a decent budget. What I'm saying is that you can provide that level of service on a shoestring and have cash left over.


      For that matter, many TV stations use horrifically bad compression ratios, creating lines around all of the cells in the MPEG-compressed images and other artifacts that are horrible to look at. If you want quality compression and decent colour dynamics, though, your deadlines are much tighter and you have far fewer opportunities to recover from errors. On the other hand, who wants to watch a movie that looks like it was run through xv's oil-painting filter?

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    3. Re:Short answer: Yes. Long answer... by EvilSporkMan · · Score: 1

      The TTP Project wants to talk to you about your RTC clocks. Bring your RAID arrays to the meeting.

      --
      -insert a witty something-
    4. Re:Short answer: Yes. Long answer... by profplump · · Score: 1

      First it *can* be an average interval, because the only real-time operation you need is the actual analog line-level output control. Unless you're outputting directly from a main-bus-connected parallel port, there's something in the middle (probably several somethings) that buffers some data for you. In fact, just to avoid sync issues the output device must necessarily buffer an entire frame. On a stream-oriented device like a broadcast output card I'd imagine that several frames are buffered, as latency isn't generally an issue in such systems, but even if it's only one it means that you can be off by almost 100% of a frame interval without any degredation in output.

      Second, 1/30th of a second is an eternity on a modern machine. With 32-bit color a 640 x 480 frame is only 1.17 MB of data. On a 32-bit 667 MHz bus (i.e. a relatively slow modern computer) it would take only 0.014 seconds to transfer an entire second's worth of data to the output device. You're right that other programs could theoretically interfere. If only there were some way you could guarantee that a process got run time at least every 1/30th of a second and had priority over other processes when it ran... maybe some sort of 100+ Hz interupt signal that the system could provide to allow this sort of relatively low-accuracy timing. Seriously, check your man pages for setitimer() and setpriority(). And that's not even mentioning the possibility of a dedicated MPEG decoding card, which would make your only point of contention the system bus. Maybe it's hassle to do video playback on your desktop while you're browsing the web, but as the sole function of the playback box, I fail to see how it could be an issue sans underlying configuration problems (which would be an issue even in a real-time system, they just wouldn't interfere with the current playback stream).

      Third, modern high-speed hard drives (2.5" @ 15k) have sustained read rates approaching 100 MBps. The 10 GB/h rate I suggested before, which is very generous, is 2.84 MBps. Under what sort of "worst case" scenario, short of outright failure, would such drives not be able to produce the 1/30 of their rated speed needed for flawless playback? Similarly a simple 100 Mbps network has more than 4 times the raw capacity needed. Even at 50% efficiency a 100 Mbps network could re-transmit every single packet and still delivery everything on-time, without any extra buffering. Also keep in mind that MPEG must be decoded as frames, so you don't need per-packet delivery times, just per-frame, meaning that an particular packet or set of packets could be delayed or retransmitted several times so long as most of them arrive on the first try. And this is not even considering the possibility of a 1000 Mbps network, which is what I'd expect connected to a drive with a 100 MBps transfer rate.

      Finally, I can't figure out why you think it's important to never drop a frame. While it's technically possible to make dropped frames very unlikely, what does that buy you? As far as I can tell it increases the cost of the video system without providing any pragmatic benefit. Dropping the second field of 1 frame (i.e. 50% of the frame) of a 30 fps video stream would likely not even be noticed unless the first field were very high brightness. You might notice the entire frame being dropped, but even that would be trivial unless it happened frequently. It's not like Aunt Betty's life support is regulated by the video stream; it's just a video stream. If data integrity were that important you wouldn't have compressed it in the first place.

      Seriously, we've been doing 640 x 480 @ 60 Hz in "real-time" on desktop computers for over a decade. Granted, 15 years ago you did not have the main bus bandwidth to updated the entire frame each time it was redrawn, but it's certainly not a taxing operation on modern computers. How many gamers whine when their frame rate drops below 60 Hz at 1280 x 1024? What you're talking about is, frankly, trivial given modern computer speeds. I don't know why you're making it such a big deal.

  43. The correct answer was FreeJ by djhack · · Score: 0

    how can no one else have suggested FreeJ ? http://freej.dyne.org/
    it's perfect for the job ! it's a scriptable realtime video mixer

    you add media (text, an image, a video, a video stream, a video capture card or a dvb card) each is a layer
    you can position, resize, change tranaparence or any of the layers

    it's the perfect video frontend for a video station !

  44. Possible solution by Rupan · · Score: 1

    Disclaimer: I've never worked with video-out hardware in any sort of broadcasting environment.

    In playing around with various video sources, I've come across a couple of very good, high quality pieces of software that are able to transcode video from almost any source. If you do not need client-side playback and just want to pipe re-coded a/v streams to a tv-out device, consider using transcode:

    http://www.transcoding.org/cgi-bin/transcode

    I've never heard of SDI, but transcode's documentation states that it supports yuv4mpeg output. Transcode is really an excellent piece of software and should fill your need quite nicely.

    You might also consider mplayer, as it explicitly supports yuv4mpeg output as well. You can use mencoder (a part of mplayer) to transcode video in the same way that you would use transcode.

    http://www.mplayerhq.hu/design7/news.html

    As for the automatic scheduling of content to be played.. cron would do the job if your needs are simple. If, however, you need to insert content in the middle of a video during playback (read: a commercial) it will probably be insufficient. I'd suggest preprocessing the video for the next day each night. You'd need a list of timestamps where it is reasonable to stop playback of video content and then split out each video, writing yuv output to a (large) storage device.

    You'd then be left with a day's worth of preprocessed video in yuv format that can be fed directly to your digital broadcast hardware in real-time. I'd imagine then that you could just feed the video directly into your output device using something like 'cat `cat video-sources.list` > /dev/video-out'.

    --
    Ads? What ads?
    1. Re:Possible solution by Anonymous Coward · · Score: 0

      I've never heard of TV, but none the less I am going to give lots of 'technical' advice as to how it should be done.

      Thanks!

  45. TV stations on Amiga. by krell · · Score: 1

    "Blah, the windows is shutting down and errored Powerpoint screens had no class. Now the Amiga desktop. Those stations had class."

    I've seen a few of those. I also saw the TV Guide channel (when it was called Prevue) where the upper half was an Amiga guru screen error screen.

    What beats all, though, is the channel I saw in another city that had the blue Commodore 64 "Ready" prompt screen on Channel 2 for days.

    --
    Where were you when the voynix came?
    1. Re:TV stations on Amiga. by deceased+comrade · · Score: 1

      Just yesterday one of our terrible public access TV stations was broadcasting the CheckDisk screen for Win 98/ME, which at first made me laugh, but then it just made me cry. I mean I know the station doesnt have any money whatsoever, but you'd think they'd at least have a couple hundred dollars laying around to upgrade the 4 year old dell running the station.

  46. Depends by Ironsides · · Score: 5, Informative

    In a way you are asking two different questions here, due to the technical difficulties involved with a TV station playback. So, lets put it this way then:

    Do you require Frame Accurate playback? The reason that the profesional solutions you briefly mentioned are expensive and require their own storage are that they Garuntee frame accurate playback, no droped frames and everything else needed to playback everything flawlessly. One thing to remember about that, though. So long as you only keep the current days video on the server, you can stick with a video server with under 1/4 terrabyte of storage space (12Mbps vid+aud=~128GB) and have a seperate NAS for the next days video that just gets moved onto the video server throughout the day as what has already been played gets deleted.

    The main problem with most consumer video playback I have seen is that it is not frame accurate. Even on a decent computer, most video programs don't run at exactly the framerate of the video using consumer playback programs. Also, unlike the profesional hardware, the consumer programs don't pre-buffer the next file for playback so that there is a delay between the end of one file and the beginning of the next.

    We're also going to need to know what kind of outputs you want. Analog? What kind? SDI? HD-SDI What does your video router handle? Theoretically you could use a VGA/DVI output to a VGA/DVI-SDI adapter, if that's what you use. You'd also need to run it through a frame sync, but that's pretty standard for most stations anyway. Most likely you will not want to use the video card ouput of a PC, VGA/DVI/S-Video due to the need for then having a consumer program play it out.

    For proffesional level playout you're going to want a card with hardware playback. SkyMicro and ViewCast make some playback cards that will run under linux that it looks like you could use. I'm just listing them as an example that showed up after a quick googling. These capture/playback cards are essentially going to become the heart of your system if you want something resembling a cheap profesional system.

    So, as I said. It depends on how high end a system you want. However, it looks like it is possible to get a decent one going. One thing to remember, and I state it as habit, trial test whatever cards you are looking at before buying. Some of these cards can run to $2000 a piece and you're probably going to want redundancy.

    --
    Fly me to the moon Let me sing among those stars Let me see what spring is like On jupiter and mars
  47. Newtek's Video Toaster by Anonymous Coward · · Score: 1, Informative

    If you don't mind a Windows based solution, seriously consider Newtek's VideoToaster. It's up to version 4 and is a full broadcast tv station in a box. No HD yet though. It'll do everything you need.

  48. Depends on your skill, and what you need to do by phorm · · Score: 1
    Coding something to play off lists of scheduled video would be rather simple. If you're decent with perl/mysql, a database with a nice front-end to enter programming details, and a scriptlet that you can launch in the morning that would start up mplayer/whatever at proper times (based on the database), and "break" screens in between would work.

    Commercials are a complication. Inserting them into the middle of a show would require that you either:

    a) Have your scheduler aware of the "break" times in the show, tell the player to stop, insert the commercial, then start playback of the show back at the "resume" point
    b) Encode the commercials into the video ahead of time (perhaps easier, but less flexible).

    There's also the hardware to consider. You're going to want:

    • redundant power (either an on-site generator and/or some hefty UPS's), for both your broadcasting equipment and computers.
    • storage: A place to store your daily/weekly queue of shows. A storage rack or a server with a good RAID-5 array might do the trick. Hot-swappable drives would be a very good idea (tm), but in the end it's not that much different from other important files
    • playback: A unit with the software to read the schedule, and a TV/video-out card with appropriate resolution. Technically for lower-res, a GeForce might work, but you'll want to disable the video on TV-out during loading (bootup) etc to avoid embarrassing splash-screens. You could transfer files locally as played, or stream through the network
    • scheduling: You'll want a front-end for people to set programming schedules. A web interface may suffice. You'll also need the scripting for the playback machine to read
    • encoding: As mentioned, you could do this in windows/mac and upload the files in a compatible format, but it's not all that difficult to do this in 'nix with a good encoder-card (hauppauge)
    • backbone: probably a 1GB/s network to communicate between your storage and playback unit. Spare NICs, cables, and switches are usually a good idea if downtown is a big issue. Maybe a backup network you could switch on in a pinch
    • redundancy: Something to save your butt if your storage server, network equipment, or playback machine dies
    • hard-copy: Something to save hard-copies of your data, so that you can re-use them later and/or load/offload them to and from your storage machine. Good quality DVD's, external storage drives kept save from shock/magnetism, or perhaps some big tapes might work. A backup array might also work, but you'll want it offsite in case of local disasters
    • Testing: Somebody who can check that you don't run into weird encoding errors, hard-drive/media corruption, etc
    Again, a lot of this depends on your skill level. With time, money, and effort it's something I'd probably feel confident about, but most of this depends on your own ability to configure the equipment and/or do the scripting/code (or hire somebody else to do it, want my resume?)
  49. Isn't this a function of your hardware? by Doctor+Memory · · Score: 1

    Sounds to me like all you need is a scheduler (easy enough to write) that feeds an MPEG stream to whatever device you're using to drive the broadcast signal. How hard is that? How are you converting your MPEG stream to NTSC? I've done basically the same thing for these, although that won't help you as they're basically just streamers that work with a corresponding player on somebody's PC. But I did whip it up in just a couple of hours, so hopefully your solution won't take much longer.

    Or is that your question, what kind of hardware should you be looking at? If so, sorry, the phrase "need the equivalent of iTunes for high-quality video" threw me off. I'm sure you can Google just as well (or in this case, probably better) than I can...

    --
    Just junk food for thought...
  50. Real broadcast software for Linux by Ziff · · Score: 5, Informative

    If you want to do it for real, take a look at the MLT project: http://mlt.sourceforge.net/
    That has support for for example the Bluefish444 SDI cards, and do playout of real broadcast formats, such as DVCPRO, but also regular MPEG formats.

    It also provides ShotCut, a really competent Non-linear editor, that can send edited clips directly to playout.

    I know it is in use in one of Indias largest broadcasters, and they transmit to millions of viewers. So it would definitely be good enough for a small station like the one you are talking about.

    1. Re:Real broadcast software for Linux by sunya · · Score: 5, Informative

      I was the project manager for MLT. I know for a fact that there are 35 playout boxes running MLT on Bluefish444 SDI hardware, and capable of handling DV, DVCPRO, MPEG-2 among other formats. Visit the http://mlt.sf.net/ site and contact us (preferably via the SF mailing list) and we can help you out. MLT was built for the express purpose of broadcast playout (I should know, I wrote the spec :) . So, to answer your question : Yes, you can. Oh, it is opensource under GPL, and it runs on Ubuntu (recommended). And it provides a complete framework to write your own media apps. I can (if I dig around for a bit) share some code for playlist management as well...

      --
      MLT - simple and robust open source multimedia framework for Linux
  51. It depends .... by slightlyspacey · · Score: 1

    It all depends on what your requirements are. They have been completely and unambiguously defined, right?
    You should already have the following defined:
    1) Playback/Recording video resolution required (Standard broadcast resolution, High Definition (720i, 1040i, ....)
    2) Playback/Recording video quality required (What level of compression is considered acceptable?)
    3) Audio playback/recording requirements (Number/quality of audio channels)
    4) Archival requirements:
    ..... a) Maximum number of hours that needs to be available for instant playback
    ..... b) Maximum number of channels of simultaneous playback
    ..... c) Long term storage needs
    5) Expandability requirements
    6) Reliability/uptime requirements of both the hardware and software
    7) Software development/Integration/Testing Costs and Schedule
    8) Budget - Labor/Equipment
    9) Need date

    Once you answer those questions then you can easily answer whether it would be better/easier to spend the $50K for a COTS unit or the $100K in development costs for a homebrew solution.

    1. Re:It depends .... by rock217 · · Score: 1

      1) Playback/Recording video resolution required (Standard broadcast resolution, High Definition (720i, 1040i, ....)

      Ah yes, 1040i...wait...

      --
      Wah Sig!
    2. Re:It depends .... by wmeyer · · Score: 1

      You're way over his head. He specified an LPTV station. I've seen LPTV stations -- complete -- sell for less than a mid-range house.

      For LPTV, he only needs standard resolution NTSC, and not even digital delivery. But there are not many codecs available on Linux -- most are built for Windows, where sales volume can compensate the development effort.

      Archiving is not much done in LPTV.

      Only one channel is needed for transmission, if he finds the right decoder; two otherwise. Same again for preview (a function often overlooked by the uninitiated.)

      One encoder is probably sufficient.

      Expandability? LPTV folks don't spend *anything* on future requirements.

      Reliability? He wouldn't know where to begin.

      Development is something he clearly feels is a minor task. YMMV

      Budget? We don't need no stinking budget!

      As a matter of fact, there is at least one commercially available server with one record, two play, and a couple hundred hours of storage that can be had complete with internal automation for less than $25K.

      That makes the DIY approach quite foolish.

      --
      --- Bill
    3. Re:It depends .... by wmeyer · · Score: 1

      Another little detail. It is illegal, in the U.S., to strip closed-caption data from a program that contained it, for rebroadcast. When you have located all the available encoder products, the list will be decimated by that detail.

      --
      --- Bill
  52. simple station by Anonymous Coward · · Score: 0

    I saw this ( http://www.direct2pod.com/ )awhile back maybe it would work, it appears to be a video podcasting system. They imply that they have a way to encode and manage the data.

  53. You've got this all wrong! by giafly · · Score: 2, Funny

    You're stuck in the mindset of proprietary programming. Just publish a couple of videos under the GPL, then everyone who wants to can modify them into their own ideal TV Shows.

    --
    Reduce, reuse, cycle
  54. Re:answer: NO by aonaran · · Score: 1, Informative

    Noone but Gentoo buffs loads a new kernel ever 2 weeks.
    My webservers when I ran them for an ISP didn't get a reboot, let alone a new kernel install for 6-12 months at a time. ...and yes, those reboots were usually either kernels or hardware re-locations.

  55. This station uses it... by rfgenerator · · Score: 1

    My local public access channel seems to use linux to feed much of their programming. Maybe you can contact them to see how their "real world" experience has been with it. http://sca.scatv.org/

  56. Is this a real TV station by Anonymous Coward · · Score: 0

    or a pirate station? If it's a pirate station you can do anything you want. If it's a real licensed station it's going to have to meet all sorts of FCC requirements as to signal quality. Pushing home theater solutions over the air isn't going to cut it with the feds. When was the last time you saw a guy with a home theater setup using a vectorscope and waveform monitor to set his pedestal, color burst or peak white level?

  57. Go the nostalgic route by 0racle · · Score: 1

    SGI

    --
    "I use a Mac because I'm just better than you are."
    1. Re:Go the nostalgic route by rduke15 · · Score: 1

      SGI?

      When we considered them for video output 10 years ago, we decided to use Amiga with some specific video card instead. Much better picture quality for a tenth of the price. The nostalgic route is Amiga...

  58. I designed something similar.... by tgatliff · · Score: 3, Interesting

    I designed something similar to this for their CNN Headline news division in Atlanta. The long and short of it is yes you can do it, but rollout approach is very important. For HL, the issue was the shear amount of requirment responsabilities. Everything from "if a plane crashes, do not show American Airlines commercials", to "In this special case, do this" type of thing.... It performs flawlessly, but you really need a good senior developer to pull it off...

    1. Re:I designed something similar.... by Baricom · · Score: 1

      Fascinating. It picks the actions automatically? How does it know, for example, when there's a plane crash? Is it reading the news feeds, CG, or does an operator have to put in the action? I'd be really interested in hearing more about this.

    2. Re:I designed something similar.... by tgatliff · · Score: 1

      The system works by using a key words off of the AP new feeds. When it picks a match, it creates an "exception" ticket, and proceeds to exclude different commercials. An operator can go in and delete the exception item as needed, and the system proceeds as normal.

      Keep in mind that in the media business, there is very little harm in *NOT* showing something, but showing something at the wrong time is the worst offense of all because it can easily destroy the image of a company. No matter what contract you have with a vendor, being careless will kill you every time.

      Finally, in the early days, disk I/O, HD limitations, and reliability concerns were always the limitation of doing high quality media on low cost x86 hardware. Those days are over, however. What this guy is looking to do is very easy to do as long as his requirements are well laid out before hand. Pulling it off, however, will depend on how who does the work, and how management rolls it out. In short, roll out small with few responsabilities, and then build on the success with a constant supply small updates.

  59. short answer / long answer by Anonymous Coward · · Score: 0

    Short answer: YES... BUT not optimal. Expect downtimes when planning to run 24x7x365

    "I'm working with a low-power television station to update their playback system. Currently they're using tape and I've been tasked to move them to computerized playback (MPEG-2, etc.) There are proprietary solutions (very expensive) and there are companies that bundle software with Windows and standard x86 hardware. Overall, they are generally unimpressive and won't sell the software without bundling it with their own hardware. (They won't let us buy our own storage.) We have the expertise to build our own infrastructure (NAS, redundancy, etc.), but really just need the equivalent of iTunes for high quality video. There are lots of other pieces needed to complete the work-flow (such as encoding the media), which could be accomplished on Mac or Windows or even Linux. But what about playback? We need something that will play back these files at their scheduled times (perhaps scheduling cron jobs to change playlists) to broadcast quality hardware (SDI or YUV video). Could we run a TV station on Linux?"

    Long answer..
    For playback, skip anything that involves x86 hardware and windows... This means skipping any software based video players on x86 (including linux too). Not reliable and you will experience machine lockouts, reboots and other problems. (even dedicated linux based video play-out servers have this problem when running continuous operations) Non stop video playback at anything above mpg quality is very hardware intensive and requires dedicated hardware to achieve very low downtime. (Trust me, I've been there)

    You really should look into this, or something similar:

    http://www.adtecinc.com/

    Even their lower end products (Edje server) should satisfy your requirements. You can even use plain ftp to send the files to the play-out server... This opens a ton of possibilities if you decide to administer such server from a Linux box.
    You can use whatever implementation of x86 severs / windows / linux etc, to manage your ingest/content/monitoring, etc... but for playout and scheduling, make sure you get something that was designed for the task... even if it is a little bit more expensive.

  60. ... and its OSS..... by EmbeddedJanitor · · Score: 4, Funny
    so if some existing software does not do exactly what you want, then you can just add the functionality yourself FOR FREE!

    For instance, you could start with, say GNU/make. Now that is a pretty handy chunk of software but it sadly lacks video playing facilities. You can freely download the source code, spend a few evenings writing the video playback code you need and you're done. And it won't cost you a cent!

    --
    Engineering is the art of compromise.
  61. Re:answer Yes it been done by Anonymous Coward · · Score: 2, Informative

    See http://www.princetonservergroup.com/ Princeton Server Group

  62. because... by EmbeddedJanitor · · Score: 0, Offtopic
    it is harder to earn Funny mod points about 24-port gigabit switches.

    Ask Slashdot is not really about asking real questions and getting real advice. It is primarily for entertainment reasons like the advice columns in teen/women's magazines.

    --
    Engineering is the art of compromise.
  63. Rule #1 in IT by pkcs11 · · Score: 0

    Unless you're in the business of developing proprietary systems, proprietary systems fail. Always.

    --
    "I have an odd craving to whisper about those few frightful hours in that ill-rumored and evilly shadowed seaport of dea
  64. Sure you can w/ a scan converter by rhombic · · Score: 2, Informative

    Or just buy one of these. He can do his MPEG decoding in linux, output to either DVI or VGA, and use a broadcast quality scan converter like the Magni to pump out a clean NTSC signal. In YUV if he wants.

    --
    1984 was supposed to be a warning, not an instruction manual.
    1. Re:Sure you can w/ a scan converter by AKAImBatman · · Score: 4, Informative

      *sigh*

      Trans. coding. Problems.

      Just because you can sample an NTSC signal off of VGA, doesn't mean that it will produce the results you want. The equipment you linked to is designed to take a *clean* computer graphics signal, and then resample that for NTSC broadcast. Which makes it useful for stuff like the Superbowl helmets colliding, or digitally filmed/transferred television programs.

      This fellow needs to take an interlaced signal from an old tape, encode that to MPEG-2 in an interlaced format (preferrably with no detectable quality loss), then reencode the signal as an interlaced NTSC signal for broadcast. The best way to do that is to keep the signal cohesive at all three steps. If you start transcoding the signal into progressive, then back into interlaced, you're going to get a significant drop in quality.

  65. Twain's Signal by Anonymous Coward · · Score: 1, Informative

    "You can't do that. Broadcast television is interlaced. VGA is progressive. Never the twain shall meet."

    Oh, I wouldn't say that.

    BTW DVD players do an internal conversion to interlaced.

  66. MythTV is great, but doesn't fit this purpose. by drewzhrodague · · Score: 1

    And I am a big fan of MythTV too! It is great if you are sitting in front of the TV with a remote -- which is what it is supposed to do -- but it is not geared around playing content, from pools of media, in a lineup that you'd want for a television station.

    I can imagine, however, that most of it (and supporting libraries/packages) is already there for managing the media, and varied hardware. It even has the multiple backend/headend support, which would be ideal for this type of application.

    I can imagine a plugin for MythTV -- mythbroadcast or something -- which lets you schedule when to play shows, what commercials to play, and how often to do things like station announcements, pass-through to other inputs, etc. Shit, even something that does those automated stations you see on cable would be a start.

    --
    Zhrodague.net - I do projects and stuff too.
  67. This is the standard DIY/buy question by smilindog2000 · · Score: 1

    Which is very hard to answer. Of course, it can be done on Linux. It can also be done on Windows, and MAC OS-X.

    Do you want to pay the big bucks, or write code from scratch? The vendors charging the big $$ hope you're forced to buy. Of course, we on /. hope you'll do it with open-source, so we can start our own TV broadcast stations for free :-D

    --
    Beer is proof that God loves us, and wants us to be happy.
    1. Re:This is the standard DIY/buy question by sunya · · Score: 1

      >Of course, we on /. hope you'll do it with open-source, so we can start our own TV broadcast stations for free

      So go start one, its already been done : http://mlt.sf.net/ for Free/free.

      --
      MLT - simple and robust open source multimedia framework for Linux
  68. more likely... by lusid1 · · Score: 1

    more like: /etc/init.d/tv-station start

  69. You can run everything! by guruevi · · Score: 1

    You can run Linux, Mac OS X, Windows, no matter what. It all depends on what you are able to pay upfront, in the long run, whether you are developing something yourself or if you have to use certain packages.

    If you're starting absolutely fresh (no olden software that has to be migrated) I would definitely start with Linux or Mac OS. I would use Mac OS because of the relatively cheap hardware and stability that comes with them and of course the ease of install and management. I would choose Linux as the primary development platform and something you have to be able to scale for cheap to many machines. Windows is good enough for sales reps, but a BSOD on TV is more embarassing than a 1337 Kernel Panic.

    What I would be more worried about is security. Not only physically, but also electronically against not only thieves and crooks, but also against unauthorized hardware access by employees (as in, oh, I got something on this thumb drive kinda thing). If you're working something real time 24/7, it's not easy to upgrade the system without having a pretty large testing environment. Also make sure you got backups. D2D backups are great in speed and shortening your backup window, but I have had more than once having whole RAID arrays fail because a single hard drive blew out the entire bus (Dell machines). This is less likely if each drive is controlled by a separate controller (like Apple's XRAID) but you should have definitely off-site tapes or something as dependable as tapes.

    Another thing about them Apple's is that they allow you to micromanage the systems fairly easy while maintaining the integrity and stability of other Unix/BSD/Linux environments. Next to that, in the graphic business, almost everyone uses nothing BUT Mac's. Not only does it have specialized software but also great speed and ease-of-use while Linux takes a little longer to get to know for new graphic designers or freelancers. Next to that you also have the possibilities for compatibility with programs written for Linux (GTK, QT, X-Windows) but I wouldn't recommend using it for internet and network management and security (except for LDAP, their LDAP implementation is the greatest I have ever seen) since it's a pain in the butt and Linux works much easier and is more flexible in that area.

    Also get some decent monitoring and reboot schedules on all critical machines. I have more than once seen different projects fail or have large downtimes because someone didn't monitor the SMART status of that oh-so-critical server or checked on the status of all daemons on that failover machine, they had the greatest uptime until they rebooted and it was noticed that their RAID0 array wasn't really consistent anymore for the last few months and half the server was basically running out of daemons sitting in memory and read their practical data over NAS shares.

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
  70. My issue wouldn't be stability by ancientt · · Score: 5, Insightful
    Shouldn't the parent have been modded funny?

    Well, I've never run Linux for "years" but I'll share my experiences.

    • I just had a server running AIX Unix up for 305 days (rebooted two days ago.)
    • I had a friend who forgot about a box running FreeBSD that stayed up for over five years. (It was in a closet, had a battery backup and just did its job as a server until people stopped needing it. Eventually it ran out of log space and didn't die but started paging somebody incessently that it needed help.)
    • I currently have two Linux servers up 248 and 337 days. Desktops with Linux usually run for about six months without a reboot. Most of those reboots aren't really necessary, just easy and to make sure that nothing has been changed that would keep it from coming up with the desired services.
    • I've never managed to really hose an ext3 filesystem.
    • I have hosed NTFS, FAT32, and UFS, but none very often and always as a result of doing something I knew was risky. (Reiser is an exception and the only one that has spontaneously fubar'd on me. I don't use it anymore, so couldn't really attest to whether that was a fluke or not.)
    • To be fair, my Windows servers usually stay up for similar periods.

    I think in the end it is about setting up any computer system to do the job it is designed for in a way that will continue until hardware wears out or power dies. Kernel patches and Security Updates are the exceptions. Windows has more critical patches but probably doesn't affect me as much as a lot of people, since I pair down my servers to not run software they don't need. For stability I usually use an enterprise system with security updates enabled which translates to almost never needing to reboot for security updates. Almost every security update is about software, not kernels in Windows, Unix, xBSD and Linux as long as you start out with a stable kernel.

    Cliff probably would be well served by whatever OS he chooses as long as it supports the choice of software well. The trick will be finding software that serves the purpose well. My approach is to see first if there is OSS that meets the need well and then to look at commercial options if not or if they offer something that offers enough service or time savers to offset the cost. I think that the question that Cliff needs to be asking isn't about the OS but rather about what OSS software is out there for specific tasks and how it compares to propritary offerings.

    --
    B) Eliminate all the stupid users. This is frowned upon by society.
    1. Re:My issue wouldn't be stability by Crackez · · Score: 1

      Here's a random Linux server from work...

      $ uptime
        6:53pm  up 706 days,  4:39,  3 users,  load average: 0.00, 0.00, 0.00

      Here's a BSD box...

      $ uptime
      7:48PM  up 540 days, 23:14, 1 user, load averages: 0.13, 0.10, 0.08

      And one solaris box for good measure...

      $ uptime
        6:56pm  up 699 day(s),  3:24,  1 user,  load average: 0.03, 0.04, 0.04

      The Linux and Solaris boxes are development/build machines. The OpenBSD machine is a router/firewall/vpn endpoint. Not bad eh? Then again, I had a 2.6 kernel panic on me a few weeks ago running OpenVZ and trying to take lvm snapshots.

      Some machines are more stable than others. You'll know when you have one, you can always tell...

    2. Re:My issue wouldn't be stability by Anonymous Coward · · Score: 0

      WOW all three of those boxes are a hackers wet dream, all three missing a massiveamount of security patches.

    3. Re:My issue wouldn't be stability by Frank+T.+Lofaro+Jr. · · Score: 1

      Ha ha. Linux uptime rolls over at 497 days. Or at least it did with any kernel over 497 days old or more, so you still won't see anything over 497 days in an uptime.

      32 bit jiffies at 100 Hz -> 497 days. 1000 Hz would be only 49.7 days like Windows.

      --
      Just because it CAN be done, doesn't mean it should!
    4. Re:My issue wouldn't be stability by Anonymous Coward · · Score: 0

      Come to think of it I've broken just about every file system there is except ext3. I'm not much of a fan of it (I prefer Reiser) but I have to admit its tough to kill.

    5. Re:My issue wouldn't be stability by Crackez · · Score: 1

      I assure you it is a 32 bit kernel on the Linux machine. Observe:

      $ uname -m -p -i -o
      i686 i686 i386 GNU/Linux

      I remember the 497 day rollover, but I am pretty sure that only applies to 2.2 kernels, and old 2.4 kernels. It was fixed sometime in the 2.4 kernels IIRC.

      Anyways, this might tell you something:

      $ cat /proc/uptime
      61024684.00 83.1725723

      That seems a little odd to me for some reason. I'll let you think about it for a little bit...

    6. Re:My issue wouldn't be stability by danheskett · · Score: 1

      Well, I won't gloat or anything, but I have two Windows servers that are both over 1000 days uptime. One recently passed 1200 days, actually. This post has the details: http://slashdot.org/comments.pl?sid=195520&cid=160 21446 Interesting about your openvz issue- I get that same panic from time to time on a heavily used server.

    7. Re:My issue wouldn't be stability by Anonymous Coward · · Score: 0

      Ha ha. Linux uptime rolls over at 497 days. Or at least it did with any kernel over 497 days old or more, so you still won't see anything over 497 days in an uptime.

      32 bit jiffies at 100 Hz -> 497 days. 1000 Hz would be only 49.7 days like Windows.


      Except that when they changed it to 1000 Hz in 2.6 (actually, selectable between 100 and 1000), they increased the counter to 64 bit for exactly that reason.

    8. Re:My issue wouldn't be stability by Fastolfe · · Score: 1

      A "massive" amount of security patches? The only security patches that require reboots in Linux are those to the kernel, and these are exceedingly rare.

    9. Re:My issue wouldn't be stability by Anonymous Coward · · Score: 0

      good luck hacking into that openbsd box. ;-)

  71. Deltacast SDI I/O for 2.4 and 2.6 kernels by maharg · · Score: 1

    see http://www.deltacast.tv/Products/Delta_sdi.htm - their SDI cards (1/2 size PCI) will do 8/10 bit I/O YUV or RGB on Linux 2.4 or 2.6. They also have an SDK - see http://www.deltacast.tv/Products/VideoMaster_SDK.h tm

    Disclaimer: I haven't used these, but a quick google turned them up.

    --

    $ strings FTP.EXE | grep Copyright
    @(#) Copyright (c) 1983 The Regents of the University of California.
  72. If you need an editor... by jopsen · · Score: 1

    If you need an editor then take a look at: http://www.jahshaka.org/ I haven't got many expirences with, but it supose to be a little different from all other major video editors... If you need to do any encoding, you might find and editor that can do it, but you will properbly be very good of with ffmpeg...

  73. How about part linux? by digitalgimpus · · Score: 2, Insightful

    I'm going to be honest here...

    I'd stop looking at 1 platform solutions.

    Why not consider perhaps Linux for part of the solution? Perhaps Linux based storage system, and maybe Mac / Windows workstations.

    When you go 1 platform, no matter which, your limited. When you use standards between the platforms you gain a lot more. That's why you go with SMB over AppleShare for example.

    Don't limit yourself to a platform. Just use things that work well together. There aren't many companies that go 100% 1 platform. Especially in media.

    1. Re:How about part linux? by Lost+Found · · Score: 1

      Yes, you should absolutely choose as many different platforms as possible; that way, you can keep yourself important as each platform fails in new, different and exciting ways and you scramble around trying to fix them.

    2. Re:How about part linux? by zarozarozaro · · Score: 1

      I could understand using workstations and a server in the solution, but why not use linux or bsd for all the computers in the system? They are cheaper, more stable...

  74. Oh well... by the2cheat · · Score: 0

    I'll just save you guys some time. Here's what any slashdotter will tell you: No matter the problem, Linux will solve it. No questions. Noone is allowed to question the miraculous, life changing powers of Linux. Toilet clogged? Linux. Cat stuck in a tree? Linux. Grandma need a sponge bath? Linux.

  75. Broadcast quaility MPEG decoders cards by TransDermNitro · · Score: 1

    http://enseo.com/
    Shameless plug, yes it is. But what the poster asked is basically what I do day in and day out, except our clients connect to digital displays instead of TV Transmitters. I'm sure you could buy some of our older cards rather inexpensively. We have drivers for 2.4 and 2.6 kernels. We also have database software but you could probably do better on your own for a whole lot less.

  76. some advice by dubiousmike · · Score: 1

    You want to find cards that do your video playback decoding through the cards (need to be able to handle your compression scheme, at least 6mbps). You might want more than one card if you find there are instances you want to play out using the same content set to multiple streams (like a feed going out to a cable head end and to an internal tv network). More than one card in one machine can of course confuse control issues, so it might be better to have one machine and one card per channel all hooked up via fiber using SAN software. At that point, you can also hook up editing stations to the SAN too so that you can edit. In my experience, encoding using fiber attached storage is so very pleasing compared to doing in on a single machine's internal hard drive.
    You want RAID, likely RAID 5.
    If you want to do device control (which it doesn't sound like you do), there are apps that can help to do so through USB to serial cables which will allow you to do RS422 device control for stuff like dvd players, svhs decks, ect...

    The biggest deal is a scheduling system that can also organize device control and multiple channel playback if you are thinking about it.

    If that is the case, check out Tightrope ( www.trms.com ). You can get a machine for a couple thousand and hook it up to your storage array and get yourself some MPEG decoder cards in client playout machines, or get the whole thing from them for a bit more (which includes storage and multi head out MPEG decoder card, streaming for the web, ect). I highly recommend them. I don't work for them, but was a happy customer at my last job...

    I ran a multi-head peg station for a few years...

    1. Re:some advice by dubiousmike · · Score: 1

      forgot some stuff...

      Do you worry about reporting?
      Redundancy?

      If this is for a PEG (public / educational / goverment) access channel, you can't go down without running the risk of losing valuable barganing ground at the next cable contract renewal...

  77. Need encoders/decoders? by Anonymous Coward · · Score: 0

    How about Adtec Edje encoders and decoders? (http://www.adtecinc.com/products.html) Easy to setup and use. I am not affiliated, just had a good experiance with them.

  78. Cardinal Systems Head End Linux by maharg · · Score: 1
    see http://www.cardinal.fi/datacast/linux.html

    Head-End(TM) Linux is Cardinal's own Linux distribution optimized for real time stream generation and multiplexing.

    Head-End Linux is distributed under GNU General Public Licence (GPL) and delivered with a complete operating system installation CD-ROM with source code.
    --

    $ strings FTP.EXE | grep Copyright
    @(#) Copyright (c) 1983 The Regents of the University of California.
  79. Hauppauge PVR350 + scripts by Quebec · · Score: 1

    On Linux With a capture card like the Hauppage PVR350 and a very simple (but sturdy) script you could have a streaming video source...

    You may then either use the same machine as a base to encode incoming streams (using multiple PVR-250 cards) or you may use other machines on a simple local network to do so... using NFS....

    If the streams come already encoded you could use ffmpeg to re-encode any type of streams that is not compatible to the PVR-350..

  80. QTSS on Linux/Mac OS X by wanchai · · Score: 1

    you can buy a mac with OS X Server. http://www.apple.com/quicktime/streamingserver/ It comes with the Quicktime Streaming Server that can do MPEG 4.

    You can also get a box with an OS and install the free Darwin QTSS, touch the source if you want http://developer.apple.com/opensource/server/strea ming/index.html?

  81. ....ralimis gnihtemos dengised I:eR by k31bang · · Score: 0, Offtopic
    It performs flawlessly, but you really need a good senior developer to pull it off...


    in otherwords, hire Mr.(Ms. ?) tgatliff (311583) NOW
    --
    -+-=-+-=-+-=-+-=-+-=-+ *** http://www.mountainfort.com *** +-=-+-=-+-=-+-=-+-=-+-
  82. It Sure Can! by Anonymous Coward · · Score: 0

    Linux can do anything... Why next year someone will have a driver that reforms the tax code.

  83. Say. by Anonymous Coward · · Score: 0

    Whou cold havve guesed.

  84. IANABE ... by constantnormal · · Score: 1
    ... and can offer little input in the matter of presenting a video stream to broadcast hardware (I suspect it's a bit different than streaming it to your TV or camcorder).

    That being said, you really should check out Apple's QuickTime Broadcaster software:

    http://www.apple.com/quicktime/broadcaster/faq.htm l
    While aimed at streaming webcasts, it has support for AppleScript and workflow automation.
    Plus, it's free, and has some tutorial examples available.
    Also, the ADC has several QuickTime tools available:
    http://developer.apple.com/quicktime/quicktimeintr o/tools/#web

    (where IANABE == I Am Not A Broadcast Engineer)

  85. MPEG-2 encoder + SDI I/O by Luminous+Coward · · Score: 1

    For several months, I've been looking for a hardware MPEG-2 encoder on a PCI card with SDI input that comes with Linux 2.6 drivers. Is someone aware of such a product?

  86. What *I* want to know is... by csoto · · Score: 1

    can I run a dinosaur park on Linux. Or will it only run on Unix?

    --
    There exists no way of exchanging information without making judgments. --Bene Gesserit Axiom
  87. Could one run a TV station? Or could YOU? by Anonymous Coward · · Score: 0

    Nothing personal, but I think someone who asks for help on key technical issues affecting their enterprise from the "experts" on Slashdot probably doesn't have a sufficient grasp on the technology out there to "try this at home."

    So, no. I take the fact that you're asking this on Slashdot to be a pretty good indication that you, personally, probably can NOT run a TV station on Linux.

    Neither can I, but, then, I'm not trying to based on "someone on the interweb recommended I do this!"

  88. No, look... by MsGeek · · Score: 1

    HERE. Lots of information on how to use Open Source for video deployment -- and reality hacking. Long live the New Flesh!

    --
    Knowledge is power. Knowledge shared is power multiplied.
  89. Re:answer: NO by Tanktalus · · Score: 1

    As a Gentoo user (but perhaps not a "buff" in your definition - I wonder how many users actually would be a "Gentoo buff" under your definition), I must say that I only load a new kernel whenever I have to reboot for some reason. As I use the machine as my desktop, it takes a bit of a thrashing, so I generally will need to reboot for some reason every 3-6 months. (Of course, if that kernel didn't work, I'll have to reboot right away again back into the old kernel. Not sure if I need to count that here.) Excepting when the new kernel doesn't work immediately, and when I first set up the machine, my shortest time between reboots has probably been about 4 weeks. Nothing to do with the kernel - XFree86 didn't want to come down nicely.

    However, I generally compile every kernel marked stable. I just don't reboot into them unless there is a perceived security risk in delaying the upgrade. Then, assuming no such security risk, I only keep in /boot the kernel that I currently am running (and thus believe to be stable in my environment) and the latest compiled kernel so that next time I reboot it's all ready to go.

  90. Anything is easy for the guy who hasn't done it... by Anonymous Coward · · Score: 0

    If you have time and money to burn, sure, write/integrate it yourself. Linux sounds like a great platform for this kind of application.

    Remember though that it's not really a technology challenge as much as a business, workflow and reliability challenge.

    • There needs to be a frontend that mere mortals can understand. AND it needs to be responsive. AND highly usable.
    • You shouldn't have to even realize you're using a computer to schedule programs - what, do you want to have to hire programmers to run the station on the night shift?
    • You'll need to be able to hire and train talent out of the regular job market - you do want to be able to take a vacation, right?
    • TV is way, way, way more "live" than the web. Since ads on TV aren't granular like web click ads, there's more money riding on every minute of a failure. You need a fully redundant and synchronized hot-spare chain of systems. When you're off the air, it's like you're nekkid on the 50 yard line at the Superbowl. (This assumes that you wouldn't enjoy being in that situation).
    • Security and updates need to be integrated, automatic, require zero care and feeding in a real-time broadcast environment. What do you do when your online systems have both been hacked?

    There are probably a lot more reasons that the off-the-shelf systems are worth what you're asked to pay - somebody has thought at least one of them through well and done a good job with turning the true business needs into software.

    It's a mistake for your station to hand this to a geek (and I proudly wear the term "geek" myself) to build a bottom-up solution. It's a mistake for your career to spend your time getting geeky vs. using your expertise to find your station the best solution to the business problem - even though the challenges of building such a system are quite attractive to you. (hint: who gets paid more - the coders/integrators, or the managers who oversee solving the business problems?)

    Of course you could always wait 'till someone designs MythTVStation...

    Or you could go ahead and find a product manager to help design what stations really will buy, engineer it, get venture capital to market it, take it to NAB and get rich or get poor trying to get rich - but that doesn't mean you've quickly solved the immediate problem of moving your TV station to a computerized system.

  91. Short checklist by Knightman · · Score: 1

    I worked at a company in the mid 90's that made their own hardware and software for ad-insertion on live broadcats. Rolling your own scheduling software isn't that hard. This is a short list of things that you have to think of to get a broad grasp of what software and hardware you need.

    1. The output, does it need to be digital or analog?
    1.1. If digital, you may need hw that's capable of switching live digital streams, can be expensive.
    1.2. If analog, you need a quality MPEG2 card that can synch it's signal to an incoming videosignal, or possibly use a TBC to ensure good quality timing on the output (a TBC does probably already exists somwhere in the headend).
    1.3 Make sure that the playback hardware support bugs (ie. logos) and overlays.
    1.4 Compare different hardware to find what suits your needs. Try to buy hardware from well-known vendors and make sure that it works for the OS of your choice.
    2. Ensure you have a extremely good MPEG2 encoder, if you are going to use Mac's I recommend the software BitVice (http://www.innobits.se/) since it doesn't change color/light levels at all. You probably need a small encoder farm for realistic encode times. Also, you need at least a couple of hardware encoders for real time encoding of live material or material that needs to encoded ASAP.
    3. VLC (http://www.videolan.org/) can be part of the solution to distribute and playback the material. Have multiple machines for playback. It's also possible to use mplayer. Always queue up material in ram (ie. ramdisk) before playing to avoid "burping", try to avoid streaming over the network.
    4. You will need to have an integrated backend software that control everything automaticly, ie. queue material up for encoding, controlling the playback of the schedule, producing logs of aired commercials for billing purposes, backing up data & logs, moving material from your videobank to the playback machines in a timely fashion.
    5. Make sure you have a good monitoring software that can give you a heads up on potential problems like diskspace, network congestion, disks about to fail, temperatures etc etc.
    6. You will need to have a scheduling system that's quite flexible and easy to use. It should be able to use pre-programmed templates to speed up daily and weekly scheduling. It should also should have a "sales-portion" where the sales department easily can tentavily book ads and airing times depending on the planned airing schedule. It will also need a "breaking news" function where you can pause/skip the planned schedule during live broadcats that's unplanned. It also should have automatic fail-over to another instance if something breaks. You also have to consider what to use as a "presentation layer", should it be web-based or should it use some kind of graphical GUI. Usually your and your users needs dictates this. If you contract a company or a developer for this software make sure you have a very detailed specification of what you want. The more detailed the specification on how the system should be used and how it should work the faster the sofware will be built. Also, make sure the software includes automatic stand-alone testing (ie. some kind of unit testing) of it variuos parts so you easily can test them without having a complete system.
    6.1. Also, contemplate on what information and control the controlroom should have from the software.
    7. Reduncy, reduncy & reduncy. Nothing costs more than not being able to broadcasts sold ads, both in lost income and badwill. Have 2 separated networks, run the cabling separate from each other, don't use the same routers/switches for the networks unless necessary. Preferably you should have twin datacenters whith their own UPS's too. It all depends on how much money you want to dump on the infrastructure versus the risk of not beeing able to broadcast.
    8. Infrastructure, as I mentioned before, is very importantat. Think it through, consult with people who know storage, netw

    --
    --- Reality doesn't care about your opinions, it happens anyway and if you are in the way you'll get squished.
  92. TV Station? Bah! That's nuthin' by Sigg3.net · · Score: 0

    You could run a pretty stable universe on the right distro!

  93. Answer is Maybe! by zentec · · Score: 1

    You can store video for television station playback on Linux computers using pretty much off the shelf components. But by the time you get the output syncronous with the rest of the TV station, you might as well have purchased a Pinnacle system which will _already be in time_.

    It's all fine and well to record and playback video using cheap consumer gear. The problem comes when you want to switch the video between sources or do effects. If it's not syncronous with the rest of the facility, you're screwed.

    Certainly, there are SDI video cards with reference input for PCs. And many of them, like the DVS boards, are supported by OS X and Linux (many weather graphics systems you see on TV use Linux and DVS boards). But these cards are $1500 each and you're on your own when it comes to finding software that will work with them.

    As far as playing video out of a cron file; if it were only that simple. Sure, you can tell it to start playing, but at what point? Are you willing to have 15 seconds of bars and tone? You'll need some sort of metadata to tell it the in-point. And how about insertions for promos and commercials? How big is the donut and where?

    There's a reason that the off-the-shelf solutions are outrageously expensive. They do a lot because this isn't a trivial application.

  94. Probably, using VLM (sub-mode of VLC) by ted · · Score: 1

    By "low power", I'm assuming PBS or less, perhaps a PEG (public, educational, goverment) channel. I would guess that a homegrown linux solution using VLM would be of higher quality than much of the programming itself. VLC supports a telnet command-able mode which is called VLM (google for it). Under this mode, it's possible to control streaming via telnet, which means under program control (think Net::Telnet and perl as one option).

    I have actually implimented a streaming system for my employer which accomplishes "repeating playouts" rather effortlessly (like "Channel 1" type services that loop over some time period, or placeholders like "having tech difficulty"). VLM supports some real-time-priority and disk caching options which makes it a very respectable playout system. My design uses three servers, two that stream (redundancy for each other) and one admin box. The admin box "registers" content, and uses a bandwidth limited rsync to move assets to the streaming boxes. In this way there is no single point of failure, the streamers are prefectly capable of carrying out their last playout sequence indefinately, and any box could be promoted to admin status trivially.

    To actually accomplish TV station grade programming (ie queuing, commercials, intersticials, and so forth) would be somewhat more complex that I've done so far, however I expect it to be possible. The thing VLM is missing would be some "event trigger" mechanism, presently you have to poll for information about what or how it's doing.

    The largest obsticles to clear would be the speed of the playout startup, and massaging the end and start of the MPEG assets to assure that the resulting MPEG stream itself didn't have MPEG sequencing errors. Always deciding that the start and end of an MPEG asset will be black, and that start is MPEG sequence 1 and end is sequence 0 should help that. A program to set this up ahead of time shouldn't be too hard. Building the queuing system would be a fun project. A design that feeds an hours worth of programming to VLM on one server and then switches to another server for the next hour would give you an easy framework to take servers offline for service.

    Streaming MPEG has many options for injection and translation back to baseband. A simple STB like an Amino A110 can do this very cheaply. Harmonic, Terayon, etc, have numerous devices for this space.

    A bit on timing... in the IP space, packet burstiness isn't too big of a deal (as long as it is linear and packets get there on time, 1 packet bursts or 20 packet bursts are okay, devices that listen to streaming MPEG have buffers to eat up burstiness). But clock drift in STBs can be off by seconds over the course of several days. You'd need to make certain that the PC source clock(s), and whatever is doing your network stream to baseband conversion didn't have any appreciable clock drift. If this timing is off, you can see undesireable affects later on. If your "low power" station goes off-air daily, this probably needn't be a big concern.

  95. Linux automated tape server ran this station by Anonymous Coward · · Score: 0

    I was at WTMJ-TV Channel 4 (NBC) in Milwaukee, WI that used a Linux based tape automation system to output the signal being transmitted. It ran all of the scheduled shows and advertising. Only the live news and sports shows bypassed it. This was all run on Linux on robotic tape storage and playback. The tapes were started 2 seconds before the output was used to stablize the output. This eliminates most artifacts.

    This concept can be extended to play digital video to both NTSC and ATSC outputs (its done at this affiliate). The costs for good conversion to RF HW for output to the transmitter is not that expensive. You can solve the failover, if you need the reliability, by doing two parallel players and use an intelligent switch which switches to the alternate, if the signal quality falls below a set target. A good way would be a NTSC or ATSC tuner board on another Linux PC with signal quality measurements after conversion back to a digital stream from both outputs. The PC then figures which has higher quality and switches to the signal with the highest average quality however you define it. And this could scale to more than two players, if needed.

    Cron could be used for a down and dirty scheduler. Use NTP to synchronize the internal clock to a high accuracy source. When you want more accuracy, go to a RDBMS program that starts your favorite player with the digital file to play. Mplayer for example can be told to cue file xxxx and start playing at frame yyyy and output to video output 2 at the reception of signal s. Then your clock reading scheduler gives mplayer the signal. Mplayer then plays the file and a 100ms later, the scheduler switches the mixer to video output 2. When the next file gets switched to, the scheduler sends a stop to mplayer and cues the next file up. By using two or more mplayers, you can alternate between them and never output a black signal for longer than one frame, and most of the time you would not see even one black frame. Note, this also allows you to be able to play a piece without starting or stopping on a key frame (B in most MPEG(1/2/4) parlance) as long as you use a good NTSC or ATSC encoder as mplayer outputs a stream of decoded frames. If you don't want to use a HQ HW encoder, you could stipulate that the video switchovers occur on B frames (every 2 seconds on most formats) and tell mplayer to output the stream as is. That forces your file makers to make sure that the B frame occurs 100ms after any files starts at the point you schedule which can be verified by the RDBMS schedule update program using a tool to find valid B frames in a given file. Or the editor checking in a file to be played needs to give a valid list of B frame numbers for that file.

    And you could still use Windows for the video editting because Linux can use SAMBA to share the video data storage to them (it becomes another virtual disk (network file system)). When you find a Linux based video editor you like, you can simply switch that function over without changing the back end one whit.

    This is not very hard to set up in a few weeks and is easy to verify proper operation.

  96. Mmm... not really what you want to do. by Ayanami+Rei · · Score: 2, Informative

    The whole "accidentally switching over with your mouse" thing is a real problem that needs to be directly addressed.

    This is what you need:

    *) At least one seperate video card monitor output per video channel (Matrox Gxxx, NVidia MVS 440)
    *) A decent scan-line converter to convert and interlace the VGA into NTSC (one per sim. channel)
    *) Ideally, a programmable, matrixed video switch.

    With a decent 3U server you can stuff in a few PCI or PCIe cards and handle 4-7 channels simultaneously on one box without framedrops.

    You're going to need to fiddle with your X configuration until you (at least) have a seperate screen per monitor. Disable your core pointer and input handling on the non-console X servers. Make sure to set the vertical frequency to 59.94 Hz so that you don't get flicker or tearing. Set the backdrop of each screen using xsri/xsetroot to an image to the effect of "Technical Difficulties, Please Wait" in case a playback program crashes or fails to launch.

    Then what you do is manually launch fullscreen versions of (mplayer, vlc, whatever) in response to program events on an 'open' screen. Then you switch the matrix so that the VGA channel you just started a new video stream on, and send that to the scan-converter (and the rest of the broadcast stack).

    You could (automatically, manually) script of all of this. I could imagine a cron job that wakes up at 15 second intervals to parse a configuration file that sort of encodes the days schedule -- starttimes, running times, intro padding time, which output channel to direct the matrix switch to, filenames or pointers to directories containing ad segments of various lengths, whatever.
    You purposefully allow playback overlap, at which point the script would just allocate a new video channel to run the new video in, and issue a matrix switch so the video looks like it just cuts from one segment to the next at the appropriate time. When the running time is reached (or the player exits at the end of playback), it "reclaims" the channel so new videos can be run there.
    You can manually assign input and output channel numbers instead of worrying about having the script keep track (or get the schedule entry app to do it for you).

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:Mmm... not really what you want to do. by dgatwood · · Score: 1

      Turns out in Mac OS X, it is pretty easy to address that problem.

      OpenGL Programming Guide for Mac OS X tells how to disassociate mouse motion from pointer motion. Quartz Services Reference and Quartz Event Services Reference provide API docs for how to disassociate mouse movement from cursor movement, detect mouse motion events, and either make them actually occur as a cursor movement or not, depending on whether they would exceed the bounds of your main screen.

      You'll capture the whole screen with Quartz Display Services. Make sure your primary (menu bar) screen is the control screen so any superimposition occurs on that screen and not one of the output screens. Be sure to direct the output through a separate audio interface so that you don't get system sound (beeps and stuff) mixed into your output audio.

      Of course, I believe the original poster only needed one constant output stream, so while being able to handle more than one is not that much harder than the code to handle one, it is overkill, I believe. That said, once you have one stream working correctly, handling several isn't that much harder, at least in theory.

      BTW, cron jobs can't happen more than once per minute, and switching video feeds is a lot harder than you think.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

  97. OS choice should not be your first question by metoc · · Score: 1

    Can you use Linux? The question is irrelevant.

    You are putting the cart before the horse.

    What are your requirements? Uptime? Fault Tolerance. Ease of use? Storage? Performance?

    There is a reason the proprietary solutions are expensive. There is a lot of time and effort involved, and the down side (your audience loyalty, ratings and the FCC penalties) are non-trivial.

    I am sure that the tools exist for Linux (MythTV probably does most of what you want). Additionally you can fine tune a distro, and tweak the kernel to optimize performance and reliability. A LiveCD solution might even work.

    Have you a configuration management system in place. Testing? Disaster recovery plan? Why Linux? Have you considered one of the BSD variants? Is there reliable and tested open source solution for Windows? Have you factored in all the costs of rolling your own solution (even if the OS is free)?

  98. One way to do it by Anonymous Coward · · Score: 0

    Years ago when DVDs came out I had a RealMagic holywood pro card that did native MPEG palyback and dumped a TV level signal. The actual processor on the board was a modified 486. It was just supported by a chipset that was optimised for matrix transforms.
    Now I'm not sugesting you use that (although Mplayer support under linux was okay), but the manufacturer Sigma Desgins did have some broadcast level stuff available so might still do. The benefit of this was the card was only made to playback MPEG2 and did it at the same level as a set top box, where as software playback was sometimes better and often worse, but not consistent.
    Or you could try to find a NewTek video toaster. Always wanted one of those to play with. Mmmm Toaster. Anyway
    Apart from that, I'ld invest in solid state storage, or at least a large ram area for a buffer, to stage files for playback. And as someone else pointed out, you would want a video mixer. You should be able to find one that supports a SMPTE code or similar so that it is mixing the output from your video servers, but it controlable by MIDI. If you matched that up to playback software controlled the same way, you should be able to have a central controller scheduler and a series of playback nodes that fired of a script and timecodes. Using off the shelf midi control software you would be able to script events (ie ad breaks) etc..
    I would avoid software only playback and mixing like the plague and try and find dedicated hardware to do the actual playback.
    Just my $0.02.

  99. automation -- DIY by wmeyer · · Score: 1

    Sure you can, but the question is, how long are they prepared to wait?

    Building a server ie eminently feasible, but since most available encoders and decoders are designed for the Windows environment (where the sales volume is), you'll be hard-pressed to find drivers for Linux.

    Better to attach the automation side, which is mostly a software problem. Given that you have any skill in designing complex software systems, and given, too, that you have a comprehensive understanding of the task at hand, you should be able to have a minimal system operable in a few weeks. But I say that as someone who has been in the television industry for over 30 years, and who has designed three generations of video server products.

    I've also seen some real abortions designed by folks who thought they were smarter than the vendors, and who apparently place no value on their own time. That's not me, by the way, I do have a life.

    Finally, I have never seen a home-brew software system that was competently documented, and delivering the tools without docs is an irresponsible act. You would be making yourself indispensable to the station's business, something for which no intelligent owner or manager will thank you.

    Many folks think that writing an automation system would be fun. Few if any feel the same way about documenting it, either in the code, or on paper. That's why there are so many companies producing good commercial products.

    But go ahead, knock yourself out. After a couple of years, you may have something barely capable of handling the LPTV market.

    --
    --- Bill
    1. Re:automation -- DIY by daverabbitz · · Score: 1

      PEOPLE WHO WRITE APPLICATIONS BEFORE DOCUMENTATION ARE FUCKING TOOLS!

      What kind of dimwit writes software before the documentation? That's fucking retarded and you are guaranteed to end up with garbage.

      If you write the documentation first then you will see any problems with the application before you write any code, and you will know what you need to write. You will end up with a complete overview of how the application works, you will quickly be able to detect where the program doesn't function according to design (bugs), and assuming you know what the application needs to do and are even a halfway competent programmer you will end with a fairly well structured application. Did I mention how much time you will save by coding instead of having to work out what you need to code?

      Otherwise you could just jump in and start coding, end up with a poorly structured pile of horse shit, with no documentation, piles of bugs, and improvements will be next to impossible.

      Innit...

      --
      What could be better than a jet powered motorcycle? http://www.youtube.com/watch?v=u8l6GTHLSWE
  100. Canopus hardware by lexus99 · · Score: 1

    I believe the high end broadcast Canopus ADVC1000 is supported under Linux. This is a firewire video converter, and can even run standalone if needed. The only drawback (if you can call it that), it is DV format only....no MPEG2/4. DV will look better than MPEG in most instances, but you end up with a substantually larger file. The video quality that exits the box is outstanding!

    I tried for some 3 months to come up with a viable Linux playback server for live news video playback. I never came up with something I was 100% sure would be 99% error free, so we ended up going with a pair of Apple XServes and the Canopus box. We use a JLCooper shuttle box to run the transports. The software is commercial (and expensive, $5k per license) by a company called Bug.TV. http://www.bug.tv./

    Another commercial software option would be VirtualVTR http://www.virtualvtr.com/. It's for OS-X, but the guy might very well do a custom Linux version (if he hasn't already) for some extra $$.

    Good luck, and let us know how it turns out.

  101. I'm running a TV station on Linux by Skinkie · · Score: 1

    I'm currently running a local TV station entirely on Linux products. Although our interface here is just composite to a cable modulator. It is still xloadimage/VLC/mplayer/X.org.

    --
    Support Eachother, Copy Dutch Property!
  102. Atari 1450XLD by Anonymous Coward · · Score: 0

    Back in the 80's, I ran a TV station using an Atari 1450XLD. It has TV out. I don't know about the mpeg 4 though. Oh, wait. I didn't run a TV station. But I did play Bounty Bob.

  103. shell scripting by BroadbandBradley · · Score: 1

    just make a mess of shell scripts and command line video tools. after you come up with something that works, announce a new open source Linux Distro called PenguinTV or something and put up a website.

  104. Why Linux? by Purity+Of+Essence · · Score: 1

    If it is just a budgetary concern consider a VT[4], a great product that's very affordable.

    --
    +0 Meh
  105. Cinelerra by cesman · · Score: 1
    --
    When the source is open, the possibilities are endless.
  106. Sony NSP1 - networkable player by Anonymous Coward · · Score: 0

    Try the Sony NSP 1. I have one sitting in a box that I'm supposed to be running up (eventually...). It will do all sorts of fancy scheduling (ads and so on), is networkable (i.e. remote access), can play MPEG2 and MPEG4 streams and runs Linux.

    Although if you just need a simple playlist, there are some cheap media players around. Mediagate comes to mind.

  107. I didn't say it had to be cron. by Ayanami+Rei · · Score: 1

    Anything can wake itself up at specific time... it could just be a perl script.

    But you really do want at least 1 seperate screen for this, and two extras are better. It's difficult to get a video stream to "start" onscreen without a pause or video glitching programmatically unless you are going to (lets say) write a full-blown, multi-threaded QuickTime application. And I don't think that's necessary.

    With two screens you accomplish a cut in a hardware device that you can use for other things too (say playing a VHS cassette, patching in a live feed, allowing input from backup servers without recabling, etc.)

    Redirecting audio is as simple as ensuring you have a dedicate sound device for video playback and use that target in all your video playing software commands. Realistically, in a server environment, there aren't any other sounds. Just use the default/onboard device if its halfway decent.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:I didn't say it had to be cron. by dgatwood · · Score: 1

      Wait, are you seriously suggesting writing a program that starts a player on one screen, then externally switches to take a feed off that screen? That's entirely the wrong way to do things, IMHO. You don't need to treat digital video playback like a VCR. It shouldn't have any preroll time. Well, it does, but that's why QuickTime has the preroll() call. (I haven't found an equivalent for QTKit; I'll ask around.)

      With Quartz Composer, you can put playback on essentially an OpenGL surface. Cutting from one to the other should be as simple as making the foreground surface transparent or whatever. Using external switching from one video output to another -will- generate a glitch unless you add TBCs and a circuit designed to switch during the blanking interval. If you mean to suddenly move playback from one screen to another... you could do that, but it's a lot of hassle and shouldn't provide any real benefit.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    2. Re:I didn't say it had to be cron. by Ayanami+Rei · · Score: 1

      Kind sir! I did not intend that one would use a switching device that merely buffered signals to an output bus. I would hope that one would use a device that has compensation, or at the very least switches during a blanking interval (if your multiple sources come from the same card, they will probably use the same clock).

      As for the software, there are many ways one could start playback on a hidden surface and switch the viewport (or z-order or some other technique). Most of them require some sort of application programming to encode such behavior. But I was trying to think of ways that simplify the software component (using existing tools) and rely on the known behavior of some hardware which is a fixed cost.

      --
      THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  108. DTV, HD radio, forced tech adoption and choice by Frank+T.+Lofaro+Jr. · · Score: 2, Interesting

    Yup the FCC forcing technologies down the public's throat. DTV takes TV from the poor. (No) Thanks, Michael Powell.

    And HD radio, gets you more quality (signal quality, not content quality alas, the current signals sound fine, except the music is sorry), but if they hadn't approved it, and allowed more stations, we'd have more choice.

    Tuners couldn't handle stations less that 3 slots apart. If 97.1 is a station, 97.3 and 97.5 couldn't be and 97.7 would be the next open one. Then it was down to 2 slots. 97.1 and 97.5 are both stations serving Vegas (97.5's transmitter is in Mesquite, but it obviously targets the Vegas market - their callsign is KVEG - you'd only know they are in Mesquite by the full station IDs on the hour). We could get it down to every slot and have a 97.3 FM. But with HD radio using the bandwidth, that'll never happen.

    I'd rather have double the stations than double the bandwidth. As would most everyone except hard-core audiophiles who probably still have tube radios. :)

    --
    Just because it CAN be done, doesn't mean it should!
  109. The Playback Machine by stephen_e_nelson · · Score: 1

    There's a system out there that does exactly what you're looking for. It's called the Playback Machine. I currently use it to power the television station for BayCon, which is a science fiction convention in San Jose, California. It's available from CPAN, here: http://search.cpan.org/CPAN/authors/id/S/ST/STEPHE N/Video-PlaybackMachine-0.03.tar.gz

    Here's how it works. You enter your schedule using a web-based front end, picking from a list of movies from a database. Whenever it's time to play a movie, the PM will play it. Whenever it isn't time, PM will play music while showing picture slides, announcements, and "up next"s. You can change the schedule while the system is running. The database backend makes it impossible to inadvertantly schedule two overlapping entries.

    The main issue with it is that it's rather difficult to set up. Since I'm the primary developer and primary user, there's been little work on making it easy to install for other people. However, if others are interested in using this system, I would love to work with them. Please send me a private message if you're interested.

    Another system which does the same thing is VideoKeg, which is written up here: http://ian.blenke.com/projects/videojukebox/perl/t k/mplayer/xfree86/epia/touchscreen/whitepaper/Vide oKeg.html.

  110. Re:answer Yes it been done by Anonymous Coward · · Score: 0

    Yes, but the PSGs require Windows client machines. I saw a live demonstration at NAB Post+ last year.

  111. Re:Just a thought... YOU CAN DO IT! (well, kinda) by tonsofpcs · · Score: 2, Insightful

    Actually, what if you use two copies of VLC, have one set up in web interface mode just to feed a stream to another that plays it out to video. This allows you to change the playlist on the fly and do rudimentary switching.

    Note that you should have some sort of live switcher for master control upstream of the server, with a camera pointed at a logo (and possibly a live set) for backup.

  112. I hate out of date people. by Anonymous Coward · · Score: 0

    Only on 32 bit processors with 32 bit. 64 bit processers with 64 bit jiffies will take ok I will be dead first so not important.

    It processor dependant with linux.

    The roll over is the size number.

  113. JesusQuintana? by mctk · · Score: 1

    Not Lebowski fans are we, mods?

    --
    Paul Grosfield - the quicker picker upper.
  114. Re:answer Yes it been done by Anonymous Coward · · Score: 0

    Not true. You can use any type of client machine you like, Windows, MAC, Linux etc. As long as you can create valid MPEG file and have a web browser such as Firefox you can use the system. They even have a drag and drop utility now for DVDs so if you have content you don't have to convert them yourself, just copy the files the server via smb or ftp.

  115. Actually, you can not ask anyone by amcdiarmid · · Score: 1

    Before resorting to ask slashdot, I did try to look for information on low-mid level gigabit switches. The last roundup I found was dated 2002. Effectively, because the technology has reached commodity status - no one wants to review this stuff anymore.

    So, I can look at NewEgg Comments, and CDW information - but that's it. Toms Hardware looked at a 24-port 10/100 + 2 Gigabit port smart switch, but that's about it. Except for one guy who wrote about cheapo dumb switches that he tried at lan parties. Some of them did not have jumbo frames.

    So what did I learn from looking around: For my purposes, at home and a couple of clients, I want to be able to run bittorrent; VoIP; have web availibility. This means spanning tree (or fast spanning tree), Class of Service, port aggrigation for uplinks 802.1p, and Virtual LANs 802.1q. In a smart switch you can get three switches (maby six)for about $330. Linksys, Dlink, and SMC. The D-link seems to have slightly better features than the Linksys, and I swore off SMC because of crappy customer service.

    I asked Slashdot, because I want advice by people who have used this stuff in real life. You can't even find the information on Google Groups. My two assumptions were: People had used this in the business and could say how they held up over time. People had used this junk at LAN parties. (A smart switch costs less than a high end video card) This is why I asked Slashdot.

    Because I can't end anyone.

    1. Re:Actually, you can not ask anyone by Anonymous Coward · · Score: 0

      Keep in mind the old phrase, "You get what you pay for."

      I ran into a D-Link Gateway device that had the config screens for RIP that I was planning on using in a point to point setup.

      A day and a half later, I called a buddy that works for a D-Link dealer. He got in touch with the D-Link engineers only to find out that the device didn't support RIP at all.

      It had the damn config screens, but didn't actually support it AT ALL. I spent a day and a half looking at two routing devices only to find that the D-Link was a PoS.

  116. VLC by spitefowl · · Score: 1

    I do some work with VLC running video to IPTV settop boxes(amino). It can do IGMP UDP Broadcasts, Multicasts, etc. It can do on the fly transcoding of files as well. It can also do VOD and schedule based playing. You could do just about anything with it. I have a feeling my IPTV provider uses some form of VLC. They have issues with VOD on our boxes.. so does VLC :)

  117. Options by sam1am · · Score: 1

    There are some questions that really affect which direction you should go. Where is the content coming from? Is it all locally produced? Is it produced live-to-tape, or is there a lot of postproduction?

    You may be interested in A $300 video server tivo-based hack, which is kinda cool.

    Anyway - For in and out, you could consider ASI-based transport. An advantage of using DVB-ASI out from your server is that you can easily transition to digital transmission when the time comes. The physical characteristics are similar to SDI, ie a 270mbs signal, but you're dealing with MPEG2 transport streams. You could have multiple program streams if you want. The idea here is that you can use external encoder/decoder boxes that go between audio/video (analog or SDI) and ASI (compressed domain). All you need to do is splice the files at I-frames and stream them out to the device. Hardware's pretty cheap - have had good experience with the cards from DVEO/Computer Modules. Cheap and stable, and they come with linux drivers. You'll need to write some code to make it all work, though. And external encoders/decoders aren't the cheapest thing, but they should be cheaper than most video servers

    There are also ASI/MPEG stream splicers to look at - from companies like Leitch/Harris, Thales, and EVS. But you've noted they're a bit expensive.

    SDI-based playout is going to be rather expensive no matter how you go. Offloading this work to an external decoder is pretty cost effective. You can also use IP as a transport instead of ASI, to an external decoder, but ASI is a bit simpler and more reliable.

    In college, I wrote an automated air playout system on a mac - had a mysql db for asset management and scheduling. This was synced every so often to the website db. Had a pretty simple set of perl scripts (which included calling applescript from the command line via osascript) that handled playing to air. (used quicktime player, actually, with great success). Created blocks of clips using SMIL, which you should check out. Was able to key bugs/logos/time/temp info, too.

    Between scheduled programs we cut to an Apple Keynote presentation, started and stopped by the same scripts [using applescript]. The actual presentation was auto-generated during the programming by another perl script, from another database. (Including events from a central campus events database, updated weather forecast, program schedule db for coming up next/later, advertisements/PSAs [another db with this info], and video interstitials)...

    Now that was a fun project. But quite a mess at the same time.

  118. because...hope. by Anonymous Coward · · Score: 0

    Ask Slashdot: How do I get laid?

  119. Re:answer Yes it been done by durbnpoisn · · Score: 1

    Uh, no they don't. They require a seperate computer with any web browser to control the user interface. But it doesn't have to be Windows. More than likely they used a Windows machine when they ran the demo at NAB, but ANY machine with ANY browser can interface with it.

  120. TV stations are already run off PC's!!! by John+Sokol · · Score: 1


      Yes that right, see http://www.computermodules.com/
            Real TV stations already use embedded Linux for almost every facet of video production, delay, schedualed playback, add insertion for SDI and HD-SDI.

    For about $25K TV you get get an embedded linux system that does MPEG2 compression and
      ATSC / 8VSB modulation. see http://www.8vsb.com/

    --
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
  121. Very specific instructions... by evilviper · · Score: 1

    To get a perfect interlaced signal out of a computer...

    Setup Slackware 10.0 (1) on a fast machine, with a recent NVidia card (2)... Install the NVidia binary driver.

    Configure X.org to use a 60Hz refresh. IF you are going to need S-Video out, use a resolution of 800x600 and set "Overscan" (in xorg.conf) to a large value, around 0.8 should work.

    Get mplayer working with -vo gl. Add -dr for performance. Try different yuv= parameters to gl. Try with -vf bgr24. Once OpenGL output that works, add -vf tfields,softskip (3) which will give you (absolutly great quality) interlaced video output which will rival any professional setup. Hopefully that video stream will be accepted properly by whatever your broadcast hardware is. (I'm not an analog TV broadcast guy, so I have no idea what you may have)

    Also add "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your rc.local, so MPlayer can use rtc for accurate timing. You probably want to used the "-fixed-vo" option as well.

    That should get you started, and the hardest part taken care of.

    After that, it's largely left as an exersize to the reader...

    bmovl (or the bmovl2 patch) should allow you to display any arbitrary on-screen graphic overlays you want.

    You can write a very simple command-line program to control MPlayer via slave mode... As long as your program can keep a schedule, tell MPlayer the filename of the videos you want it to play, etc. you're all set.

    If you're a real low-budget operation, you might even use MPlayer on a second machine to scan the video (before you broadcast it) for black frames. Then, you could use that info to have your scheduling program automatically insert your commercials where the feature's scene-changes occur.

    And last but not least, you'll certainly want X11 running without any window manager, and probably an all-black background, to hide any minor mistakes that occur.

    (1) I know Slack 10.0 will work perfectly (except for the NTP daemon) for your task. 10.2 has some X11 bugs.

    (2) NVidia's binary driver is absolutely essential for proper OpenGL video output, so no ATI cards allowed.

    (3) If -vf bgr24 is necessary for your NVidia card, the filter line is going to be tricky: "format=yv12,tfields,softskip,scale,format=bgr24"

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  122. You make me feel better by Anonymous Coward · · Score: 0

    That I'm not the only one that has had major problems with Reiser.

    As much as people hail it as awesome and fast and stable, I can say they're full of shit.
    It's fast. but it's unstable. and I'm not talking about reiser 4 either.
    It's hit or miss, some people have no problems with it ever, while others have complete failure. I was one of those.
    Some reason all the file permissions were hosed after checkinstall did something, and were unsettable. after backing up my home directory (and thank god everything of mine was on another drive and partition)
    I tried reproducing the problem and no avail with ext3.
    So far, and as in the past, ext3 has yet to give me any problems.

  123. I started designing this over a year ago by Skapare · · Score: 1

    I started designing just such a thing over a year ago. It hasn't gotten to the coding stage as I never invested in the hardware necessary to do it. Unfortunately the TV station I was hoping to work with went out of business, so the project got shelved. But it would have been rather easy and cheap to do for standard definition, NTSC or PAL. High definition would have been harder because more expensive hardware would be needed, and the data rate would have been higher making it necessary to be more careful in the architecture design.

    My design would have involved multiple computers in a high speed LAN. One, plus a backup, would be the "play to air engine". It would have a very lean design program that would play out the video/audio to the hardware. The hardware would do the decompression and syncronization. It could then output to composite, component, or SDI, depending on the hardware used. The other machines would essentially be specialized file servers that would serve up the video files using HTTP (not NFS or SMB). Another machine would run a scheduling database (probably MySQL) and be accessed by the engine to keep up to date on the schedule, and accessed by a web interface by programming and sales to schedule programming and select the commercials to play in breaks. And one more machine would be used by master control to ingest and segment programming. Additional machines of each type could be added as needed, such as more file storage space, and parallel ingestion.

    The notes I had on the software design included putting some smarts into the system so that it would automatically handle things like commercial and PSA rotations, and master control operator directed last minute schedule or timing adjustments. Having done master control entirely manually, and semi-automated, I've seen how things can get messed up, and how the existing crop of automation facilities are really fairly bad.

    I would definitely avoid commodity tools like cron for this. Things are too hard to change on the fly and confirm what is about to happen. What I would want such an engine to have is a direct display (not a refreshing web browser or anything clunky like that) that constantly showed what just played, what is playing, and a list of several things about to be played. Additionally, there would be master control commands to do things like delete or change the schedule immediately on the fly. There would also be commands to change the timing in case it becomes necessary to change when a sequence of segments or programs need to be forced to end at a different time. Then it would duplicate frames or drop frame periodically to adjust for that.

    I also planned to use a very lean custom Linux system (thus making its own distribution, in effect) that can reboot very fast in case of power problems (like cheap UPSes failing) and get back on track, like being able to resume video out within a second or two of the kernel launching the first user space process. This lean system would essentially have nothing else running but the video engine program, and a shell on a 2nd console for maintenance. There would be no network services, no DNS, no SSH. It would be tight and lean. The other machines (database, ingest, storage) might have more running on them.

    So, to answer your question ... most definitely yes. How good it will be depends on how goo you are at building a system that best matches the needs, and programming the software appropriately.

    --
    now we need to go OSS in diesel cars
  124. Chances are, you already do by Casandro · · Score: 1

    Many embedded systems for studios already run Linux. Just think of satellite recievers. Many of the professional ones run Linux.

    Of course playback is a different topic. What you can do, if you want to build something yourself, is to use n computers running a relatively simple programm just listening to commands they get via the network. (piping commands through ssh should work well enought) Then you run the output of those computers through a video-switch which you also controll (they typically have ARC-Net sockets as well as RS-232 an other standards). Then you write a little programm which can a) issue certain commands automatically at certain times b) issue commands manually and perhaps c) react to "error" conditions from your equipment.

    Just setting up one computer that does everything will probably be hard. The hardest part will probably be to find a graphics card that can output genlocked video and runs with Linux. If you don't find any, get some cheap external VGA-TV converters and a consumer style video mixer. The small loss in quality should be acceptable.

  125. Re:answer: NO by Anonymous Coward · · Score: 0

    Don't feed the trolls!!! While your points are all valid, he's nothing but a troll. Posting AC because this post is pointless too, but I'm not out trolling for SnG.

  126. Wrong on both counts. by SanityInAnarchy · · Score: 1

    SMB over AppleShare? Maybe for you and me. At work, I discovered that SMB didn't work on my Powerbook, because they were using CIFS, which wasn't supported natively (or I didn't know about it). CIFS is the right solution for Windows clients, or for Linux clients with a Windows server, because SMB is horribly limited -- things like the 2 gig limit on file sizes. I asked the network admin about it, and he set up something -- on the Windows server -- to allow me to access it as an Apple shared FS of some sort.

    Yes, go for open standards which are supported between platforms, in case you have to switch. But I'd argue that the cost of switching if one platform fails is less than the cost of maintaining multiple platforms just in case one fails.

    And I would guess that most companies which don't go 100% to one platform would dearly like to. I know one company I worked at would've loved to go 100% Debian or Ubuntu, but had to keep Windows on all the desktops to run things like FileMaker. The one I'm currently at is almost 100% Windows -- I'm one of two people I know of who have a Mac, and I also have a small Linux server there, only for my own use. Since I'm the one admining my Mac/Linux stuff, it doesn't bother them, but if their admin had to service my machine, I'm sure he'd rather it be Windows. Another small company in town is 100% Apple, except for one Windows machine in the corner.

    In my opinion, most of these companies wish there were more open standards for them to draw on, so that they could go entirely one platform.

    As for a TV station, I wouldn't ever consider using Windows to do the actual broadcasting. If they have some people who are hooked on Outlook, fine, their loss if they fsck up their own workstation, but I'd run Linux for both the storage and the broadcast. I would consider alternatives, like BSD, maybe even a Mac, but I probably wouldn't bother, if I could make Linux work. And here, I think it can.

    --
    Don't thank God, thank a doctor!
  127. in a word - no by NateTech · · Score: 1

    Ask yourself "Why?" before continuing.

    They're trying to lower the costs of running a TV station to the point beyond which systems can't deal with problems and you'll kill yourself maintaining it.

    There's a reason the pros buy pro hardware and software bundled.

    And there's a reason these guys can't afford it. (Hint: They don't know how to run a TV station or they'd have enough market share to pay for the stuff.)

    Run away. Far away. Let them die in peace.

    Meanwhile, on a more positive note -- Linux Format has run a number of articles over the last few years about how the BBC does use Linux highly successfully for certain niche portions of running a TV business. But not the whole BBC!

    Feel free to do some research/homework by looking across the pond. They're far ahead of U.S. TV in using Linux, but they're also running a monopoly with government funding... meaning they play (and I mean play) with a LOT of technology over there.

    NPR and PBS similarly have interesting "toys" in the States, but the big shops -- use tools that work and concentrate on their content (sorry, that's a "web" word but it seems to fit) and talent, and they make damn sure the production tools don't get in the way.

    They also don't count on toy tools for on-air playback. Off-air time costs money and viewers... screwups in playback that require some geek to come fix a shell script, aren't tolerated in real professional broadcast circles.

    Unless you're already hiring coders to write some amazingly good code, and you've already figured out how you do on-site 24/7 support of the systems... don't go anywhere near broadcast. That's the world they live in, and they'll eat up and spit out anything that hiccups more than once or twice a year.

    --
    +++OK ATH
  128. They are already available -- retail. by bpechter · · Score: 1

    There are companies selling servers to do this already. It can and has been done and is available for purchase. http://www.princetonservergroup.com/about.php

  129. mpeg-2 playback for TV on Linux by Anonymous Coward · · Score: 0

    Take a look at Optibase and the VideoPlex series of mpeg-2 dekoder cards. You get the cards for nothing at ebay ect. and there is a Linux SDK available.

  130. In theory or practice? by NetCharge · · Score: 1

    I'm sure you could if you're willing to write your own code. But if your real question is can I buy 'out of the box' solutions that only run on Linux, I don't think it's possible. I've tried. I'm the chief engineer for a big four station in a top 100 market, and I frequently ask vendors 'Why are you doing this on Windows?' Usually the answer boils down to 'that's what the developers know.' My plant is probably 80% windows.

    1. Re:In theory or practice? by jimobrien · · Score: 1

      It's good to see interest in non-windows apps for broadcast. I'm president of Building4Media which has 160 TV networks on the air using our production automation and master control playout automation, with about 65 of those using the Mac side of our cross-platform application; we support both Mac and Windows and have seen a lot of interest in Mac-based broadcast applications. This includes making the Mac a broadcast video server platform with I/O via AJA Kona 3. Includes HD. Most all Mac-based broadcast installations still naturally have some windows machines (e.g. ENPS, iNews etc) in newsroom ops but its interesting to see the balance of OS platforms changing.

    2. Re:In theory or practice? by NetCharge · · Score: 1

      My interest in cross-platform extends to Unix/Linux but not Mac. After enduring for two years the travesty that was Avid Airplay that were as much hardware as software, Apple will have a hard time convincing me to trust my livelihood to them again. Whatever the faults of Windows/PC, when things blow up, at least I can kludge together a solution.

  131. No. by Skord · · Score: 1

    Well, yes. But no. After you get your realtime requirements for your streamer going, you get all the bugs in your encoder patched up, get your own scheduler working, you'd have been better off dumping $40k in better equipment.

    Another problem lies in digital conversion. Eventually (not very far down the road) you're going to be broadcasting MPEG2, not NTSC video, but I'm assuming you're somewhere where this applies. When you go down that road, you need to extend your system out further than a video output, and go straight to QAM encoders. Your system at that point will be such a cluster (read: not beowulf) that no one who comes in will understand it.

    What I would do (and have done), is have your storage attached over FC or some other SAN solution, have redundant streaming boxes running a RT Kernel with GbE outputs, and run said GbE outputs into something fun from RGB Networks to take the digital back to analog. As far as content scheduling and replication across storage, I'd make sure it was independent from the streamers. With a setup like this, you're good to switch to digital broadcasting someday with minimal future expense (comparatively speaking). There's a million fine points I'm missing, but you should get the drift.

    This isn't a weekend project.

  132. Can be done by muadeeb · · Score: 1

    It can be done. The anime con I attend in Dallas runs all their non-dvd rooms off a linux box. They had a couple of problems this year with a bad drive, but the previous year there were no problems. This past year had four rooms running 24 hrs for four days.

  133. Plausible by AWeishaupt · · Score: 1

    Should be plasuible, but i hope you're not running ARPS 331 :)

  134. My experience by Anonymous Coward · · Score: 0

    I was involved in setting up a DVB network for a commercial station. The whole job was handled by 2 people. First things first: linux stuff.

    Almost all the expensive boxes running the network where in reality just linux machines running specialised software encased in a nice box. Now re the software:

    Encoding: We've tried with vlc, the results where not very pretty. It works but a) The encoding part isn't up to scratch - you'll tweak and tweak but never manage to get a reasonably constant bit rate which will glitch your final broadcast. B) The PCR of the Transport Stream is not reliably kept, consequently we had several customer complaining of all sorts of wierd problems with the streams.

    Transmission: using VLC to just stream over UDP presented no problems

    Capture: Have a look at DekTek's hardware and StreamXpert software. The drivers are well written and documented so Linux integration should be simple. You didn't mention if you wanted ASI input/output or ip!

    Scheduling: There are plenty of solutions around. We just bought cheap software from a company - again, pretty box running just linux and some custom software.

  135. Could I Run a TV Station on Linux? by scottv67 · · Score: 1

    Running a TV station on Linux? Incontheivable!

  136. non-windows broadcast apps by jimobrien · · Score: 1

    Yes there are multiple alternate OS broadcast applications. I'm president of one of them, Building4Media. An associate mentioned this thread. We have about 65 of our 160 tv networks running our automation platform using the Mac platform, for example. Many of these are major networks (CNN, NFL, CSTV, BBC World Services etc.) There are other providers of non-windows systems as well. Note that we find the Mac broadcast applications usually have some PCs around, for example doing news (ENPS/iNews etc) so cross platform operation has some advantages. For your simple schedule processing playout application, several non-windows systems can apply.

  137. some of those trailers are fun by www.sorehands.com · · Score: 1

    When I was at MIT, they had some cute no smoking signs, like "Smokers will be nuked blue" or "You are permitted to smoke, if you file an environmental impact study 60 days prior to the show, and if anyone complains, you can't do it."

    When working on the pre-show system they had a guy taking a sledge hammer to a car, having an elephant sit on the car, and then seeing it it looked like a car in the magazine.

    Some of the new turn off your cell phone adds are cute.

  138. Been done: Princeton Server Group by jfoust2 · · Score: 1

    They sell one-channel versions and four-channel versions, at $5K and $11K respectively. Rackmount, up to 1.6 TB. Run Linux and 'mplayer'. Includes scheduling software in a web interface, lower-third graphics, etc. http://www.princetonservergroup.com/

    --
    Curator of the Jefferson Computer Museum http://www.threedee.com/jcm
  139. Don't you know by now... by waif69 · · Score: 1

    If you spent more time on /. you would know that ANYTHING can be done with Linux.