It's fairly easy to grab an avi from the video card and convert it to mpg, see ztk-v4l-video-bloger/recorder for realtime video displayed in a Tk window using Mplayer. And you can convert it to flash, through swftools. But doing it in a "streaming" manner is quite new and isn't easy to do. First I don't think that flash has a "realtime stream capability", and if it does, Macromedia probably is keeping it well wrapped up in "pay-for" software.

You probably want to look at google for 'video streaming', if you are interested; and look for GStreamer, Ogg-theora, and mp3 streaming.

Think about this for a minute. What you are essentially asking is to set yourself up as an "internet live tv broadcast". Currently it is being done with audio, with RealPlayer streams, etc, but video is alot higher bandwidth. It will come eventually, as everyone gets wideband, but you can be sure your ISP will make you pay extra for the high-bandwidth usage that video requires. The TV companies do it through direct satellite links for their remote cameras, but they pay a hefty fee for doing it.

So right now, you can record say 1 minute segments from your video card, convert to flash files, and make a Perl script to make automatic links to them. But they will be delayed by a minute or two, and you will might quickly use up the monthly bandwidth your ISP allocates to you.

My DSL provider( and cable providers)will claim that you have unlimited bandwidth, but you can believe that if enough people started moving realtime video around, they will quickly slap surcharges onto the bills for excessive use.


I'm not really a human, but I play one on earth. flash japh

In reply to Re: How to connect to video driver? by zentara
in thread How to connect to video driver? by idle

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.