Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Firefox Media Mozilla The Internet News

Mozilla Labs Add-On Provides Video and Audio Recording From the Browser 132

An anonymous reader writes "Mozilla Labs is working on an experimental add-on which enables video and audio recording in the browser. Anant Narayanan writes on the Mozilla Labs blog, 'The Rainbow add-on for Firefox is an early developer prototype that enables web developers to access local video and audio recording capabilities using just a few lines of JavaScript. The add-on generates files encoded in open formats: Theora (for video) and Vorbis (for audio) in an Ogg container. The resulting files are accessible in DOM using HTML5 File APIs, which may be used to upload them to a server.' Support for live streaming and WebM is planned for a future version of the add-on."
This discussion has been archived. No new comments can be posted.

Mozilla Labs Add-On Provides Video and Audio Recording From the Browser

Comments Filter:
    • Re: (Score:1, Funny)

      by Anonymous Coward

      We've already got enough of that kind of malware - Flash already gives access to the microphone and webcam.

    • Re: (Score:1, Flamebait)

      Yeah, no kidding. If they ever include this "feature" in Firefox, I'm switching to something else. Perhaps Konquerer.

    • Yes, there is malware. But lets not censor people because their computer may be insecure. We do need to encourage people to produce and publish more. Too much of the web is becoming filler "content" for selling commercials, the same as television and magazines. They don't really care what content is or says, as long as it's attention grabbing it sells ads.
      • I didn't suggest any censorship.

      • by tlhIngan ( 30335 )

        Yes, there is malware. But lets not censor people because their computer may be insecure. We do need to encourage people to produce and publish more. Too much of the web is becoming filler "content" for selling commercials, the same as television and magazines. They don't really care what content is or says, as long as it's attention grabbing it sells ads.

        People produce and publish lots already. Given the number of blogs, facebook posts, tweets, youtube videos, etc. that are posted daily, I don't think the

    • Re: (Score:2, Funny)

      by BrokenHalo ( 565198 )
      A bit scary, indeed, but a bit of duct tape over the camera lens is always safest. Not that that will stop anyone hearing your moans... ;-P
    • My first thought exactly.

      There is no way this could go wrong!

  • this thing can turn on my webcam and upload the vids just because i clicked on a link?

    let me ask, how do i NEVER get this add-on?

    • let me ask, how do i NEVER get this add-on?

      Simple: By not installing it.

    • by CannonballHead ( 842625 ) on Thursday October 28, 2010 @07:51PM (#34058032)

      how do i NEVER get this add-on?

      Use IE 6. ;)

    • Re:so...uh... (Score:5, Insightful)

      by Cougar Town ( 1669754 ) on Thursday October 28, 2010 @08:15PM (#34058144)

      Mozilla didn't get Firefox where it is by being morons. Just the fact that it's Mozilla tells me that if this is ever an official release, it's going to have some kind of user confirmation before allowing access to these things (if it doesn't already). The backlash would be too great if there wasn't, and this is just common sense for Mozilla. Bugs could show up that might allow some kind of malware to do it, but it's crazy to think that Mozilla would knowingly allow any site to just access your camera and mic without permission if this was meant to be widely used by regular people.

      • Re: (Score:2, Insightful)

        by owlnation ( 858981 )

        Mozilla didn't get Firefox where it is by being morons.

        Hmmm... Mozilla didn't get Firefox from 0.0 - 2.0 by being morons. However, there's certainly some evidence of moronic behavior from 2.0 onwards. Their focus seems to have changed from usability to adding more and more features. And that's moronic, because that's exactly what killed Netscape.

        Only a moron would repeat history that way. Yet that does appear to be what they are doing.

        • Re: (Score:3, Insightful)

          by hedwards ( 940851 )
          They're doing that because you're delusional. Sort of like how the sky is now red and Safari doesn't suck balls on Windows.

          Firefox is much more usable now than it was when I first started using it back when it was alpha and wasn't Firefox. 3.x and 4.x are continuing the evolution. It's hard for me to believe that a bunch of "moron" as you put it put together the second most popular browser. Even more shocking is that a bunch of morons are now leading the browser market.
          • Back when Firefox was alpha and called Phoenix, my preferred browser was its ancestor, the original Mozilla. If you did your own builds and left out Communicator and all the other stuff that made it huge and unwieldy, it kicked Phoenix' butt in every way.

            Eventually, of course, by the time support for Mozilla fell away, the (by then) bulkier Firefox was well and truly established.
            • Hate to say it, but Mozilla was not the original. There was a little program written by a student at UIUC named Marc called Mosaic, and it was AWESOME! With the possible exception of Cyberdog [wikipedia.org], that was the best browser ever.
              • by treeves ( 963993 )

                I remember NCSA Mosaic. Ran it on my Mac back in the day, along with Gopher and Eudora. Don't remember watching too many videos with Mosaic though.

          • Re: (Score:2, Insightful)

            by Angst Badger ( 8636 )

            It's hard for me to believe that a bunch of "moron" as you put it put together the second most popular browser. Even more shocking is that a bunch of morons are now leading the browser market.

            Popularity does not equal intelligence. Vastly more people are avid followers of professional wrestling than any branch of the sciences. While the OP rather overstates his point, yours has no merit at all.

        • Re: (Score:3, Insightful)

          by couchslug ( 175151 )

          Distinguish "add-on" from the browser itself. Extensions make FF useful. No likee, no installee, no problem.

        • Every program evolves until it can send email. Can Firefox do that yet?
          • by tepples ( 727027 )

            Every program evolves until it can send email. Can Firefox do that yet?

            Do Hotmail and Gmail count?

        • ...actually, Mozilla was about adding more features from day one.
          Then someone got really pissed off about that, took Mozilla base, removed all the cruft and forked off Phoenix, which was Mozilla minus all the "features".
          Then, when Mozilla began to die away and Phoenix began gaining popularity, Mozilla jumped the ship and joined the Phoenix team (and renamed it to Firefox later).
          Then they began doing to Firefox what they used to do to Mozilla, and what caused people to abandon Mozilla in favor of Firefox.

      • Mozilla didn't get Firefox where it is by being morons. Just the fact that it's Mozilla tells me that if this is ever an official release, it's going to have some kind of user confirmation before allowing access to these things (if it doesn't already).

        If it does, I see no evidence for it.

        The potential for abuse here is enormous.

        The user confirmation had damn well better be solid. Particularly when a minor is likely to be at the keyboard.

        It is not necessarilly a good idea to do everything in the browser.

        Th

        • by catbutt ( 469582 ) on Thursday October 28, 2010 @09:19PM (#34058488)
          It's absurd to think that they would allow any web page to capture video or audio without having a rock solid way of making sure the user actually wants to do that. I mean, browsers have had a "file upload" widget since practically day one. But never did they allow javascript to browse your hard drive and upload files without you explicitly telling it to.

          Same here. Even the most computer illiterate should be aware that having a browser able to do such a thing without the user's permission is crazy. Why is anyone, on Slashdot no less, even debating it?
        • Re: (Score:3, Insightful)

          It is not necessarilly a good idea to do everything in the browser.

          That's an understatement! Unfortunately, in the future we will be doing pretty much everything in the browser if the ISPs and **AA get their way. Total lockdown is their "final solution", and they'll most likely get it. Hopefully I'm wrong, but I believe these are the good old days -- enjoy them while they last...

        • by Angst Badger ( 8636 ) on Thursday October 28, 2010 @10:24PM (#34058790)

          It is not necessarilly a good idea to do everything in the browser.

          Damn straight. That's what emacs is for.

        • Flash has had this for quite a while, and I don't see any evidence of it being abused in a large scale.

          As long as there's a browser confirmation dialog (something like the yellow bar when websites want to install extensions) I see no problem with this.

    • Re: (Score:3, Informative)

      by arielCo ( 995647 )

      this thing can turn on my webcam and upload the vids just because i clicked on a link?

      let me ask, how do i NEVER get this add-on?

      Got Flash? Yes it can, and guess what: there are settings for that, per site [macromedia.com] and global [macromedia.com].

      Maybe the good boys at Mozilla thought of that too.

    • You'd most likely be clicking the allow button at the top of your page similar to the javascript location API.

    • Paint or tape over the webcam lens. It's the only way to be sure.

  • by Doc Ruby ( 173196 ) on Thursday October 28, 2010 @07:56PM (#34058046) Homepage Journal

    I'd like the OS to have a reliable (hard to crack) indicator to the user showing whenever any mic or camera HW is being accessed, like a red light in the Desktop manager display, and an easily readable display of the XML log of accesses.

    As it is I put metal foil tape over them now, disconnecting them physically when I can, and rely on external camera/mic peripherals that I plug in on demand.

    • As it is I put metal foil tape over them now

      So no one finds out about your Tihande-1A which is capable of 2.5 petafaps?

      Cheers!

    • I have a simpler solution: no camera and no microphone

    • OS X has this.... and unfortunately has alerted my wife to many failed attempts to misuse my Macbook pro web cam.
    • Screw a red light in the desktop manager display. Attach a red LED directly to the enable pin of the camera IC, so that it's physically impossible to turn on the camera without showing the light unless the LED burns out or is removed.

      Camera circuitry not have a simple enable pin? Don't design in that camera.

      • by hitmark ( 640295 )

        some designs have a physical cover for the lens.

      • by tepples ( 727027 )

        Camera circuitry not have a simple enable pin? Don't design in that camera.

        Home users don't have power to redesign the camera.

        • Laptop maker does. That's who I'm talking about.

          • by tepples ( 727027 )
            Laptop makers choose the lowest bidder. The camera from the lowest bidder takes an enable command, not an enable pin. Home users don't have power to force laptop makers to choose otherwise.
    • There's a little LED on most webcams that lights up when it's in use.

    • by u38cg ( 607297 )
      Dude, what exactly is it that you do or say in front of your computer that you think *anybody* would care about? No, fappage does not count.
  • They should call it the "Big Brother" plug-in...
  • by euroq ( 1818100 ) on Thursday October 28, 2010 @08:47PM (#34058330)
    So what they're saying is that the hackers will take your bank account credentials, AND your picture so they can print the credit card with it! Sweet, where do I sign up?
  • Obvious Joke (Score:1, Flamebait)

    by rakuen ( 1230808 )
    Forget this, I'll just wait for the next release. They can call it the Double Rainbow.
  • by Penguinshit ( 591885 ) on Thursday October 28, 2010 @08:55PM (#34058374) Homepage Journal
    ... Web browses YOU!

    (c'mon: _somebody_ has to post this)
  • Perhaps this is an attempt to win back the HTML 5 video format wars from H.264?
  • by IonOtter ( 629215 )

    I wonder how long it'll take for some televangelist to claim that Mozilla/Firefox is secretly promoting the "Gay Agenda". Anyone remember Jerry Falwell?

  • is finally gone.
    With this any UVC webcam will be able to stream from Mac, Linux or Windows to the world. Peoples fav cam sites will be usable without the security issues.
    The great part of this is the source is been seen by a few different people and can be optimised and fixed if Linux, Apple or Windows 'upgrades' in a strange new way.
    Would this work on the new Windows phones or Apple pads/touches or do Apple and Windows keep webcam streaming locked down for their apps and value adding partners?
  • interesting (Score:5, Insightful)

    by pak9rabid ( 1011935 ) on Thursday October 28, 2010 @09:28PM (#34058538)
    Well, this sure is a clever way to push their tag video and audio codecs. If only everyone would invent something cool to get their formats accepted.
  • This sort have thing has been possible for years with Flash, and before that with QuickTime for Java in an applet. I guess the novelty here is exposing it to JavaScript, and using politically-correct codecs and containers. Very few developers used in-browser capture in Flash or QTJ, even though they were cross-browser, so what's the realistic chance of this getting used?
  • I really wish I had the time to work on it myself.

    Basic audio and video capture should be really trivial, but I have no idea what the Mozilla code looks like inside.

    Streaming audio and video from the browser is something I am currently trying to play with using Java, but
    I don't know java very well and and very rusty with it. Probably will need to pay a friend to help get it working.

    I would be willing to share some of my older code (from livecam) and answer questions for anyone struggling to figure this stuf

  • Now if only Firefox would support playing the most common modern video format, h.264 - nah, there's no demand for that.

    • Re: (Score:2, Insightful)

      by BenoitRen ( 998927 )

      Now if only people would understand why Firefox can't support proprietary codecs - nah, there's not enough intelligence for that.

    • H. 264 is also propriatry, so aside from the fact that it costs money, it also kinda messes up Firefox's "open-sourceness" - and therefore will go against their main mission of sorts.

      Now if there was an open-source video decoder, you'd be sure that they'd have it implemented in two shakes of a fox's tail - in fact, there's already <video> tags working, which I assume uses theora.
      • by tepples ( 727027 )

        Now if there was an open-source video decoder, you'd be sure that they'd have it implemented in two shakes of a fox's tail - in fact, there's already tags working, which I assume uses theora.

        Firefox 3.6 can use .ogg with Theora video and Vorbis audio, comparable to DivX (AVI with MPEG-4 ASP video and MP3 audio). Firefox 4 can also use .webm (renamed .mkv with VP8 video and Vorbis audio), and VP8 is roughly equal in video quality to the baseline profile of H.264.

    • Maybe they only listen to non-selfish demands?

  • When did Mozilla switch their focus from a fast lightweight browser that outperformed the competition to the near bloated mess it's winding up as now? People have software to do this sort of thing already. Do we really need Firefox to do this? Firefox isn't really an application framework. It isn't an Operating System. Lets stop adding things that aren't necessary, please!

    Not only that, but can other browses (IE, Chrome, etc) play Theora/Vorbis video files in their own video tags? If not, then are they real

    • Firefox isn't really an application framework. It isn't an Operating System.

      If not Firefox, then what is a web application framework? You appear not to want Firefox to be a web application framework, but a lot of other Slashdot users disapprove of technologies from Adobe and Oracle.

      Not only that, but can other browses (IE, Chrome, etc) play Theora/Vorbis video files in their own video tags?

      Chrome and Opera already play Theora video, and IE 9 will play Theora and VP8 with codec packs that organizations such as Xiph.Org and Google are expected to provide. This leaves Safari on Mac and IE on Windows XP.

  • There's an increasing tendency to put everything in the web browser, making it the Jack of all trades. What's the point of putting audiovisual recording in the web browser? Why can't the user just use their own recording software and upload the result using the ubiquitous (sp?) file upload form control?

  • Recording in the browser, this is an excellent idea.... just something else to crash PulseAudio.

  • More popular would be an extension to remove all of those Facebook symbols and links you find all over the web.

  • It's a serious challenge to the top browser.

    You know, emacs.

It is easier to write an incorrect program than understand a correct one.

Working...