Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Hack Turns iPhone Camera Into HD Camcorder

Posted by Soulskill on Fri Dec 14, 2007 03:32 AM
from the fancy-moving-pictures dept.
An anonymous reader writes "Monsters and Friends has just released the beta of Drunknbass, a new iPhone hack that allows the unit's camera to capture video. 'While the iPhone's 2.0 megapixel camera resolution may be mediocre for a still camera, it is excellent resolution for a consumer video camera.' A standard definition Canon digital camcorder uses a 680K pixel sensor chip (because a standard definition TV's resolution is only 520 x 360), while one of Canon's HD camcorders uses a 2.9 megapixel sensor. The beta presently allows 5 second clips at 10 frames per second, but the finished version will soon allow infinite recording at 45 frames per second. Video of Drunknbass in action can be found on YouTube."

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

Hack Turns iPhone Camera Into HD Camcorder 25 Comments More | Login /

 Full
 Abbreviated
 Hidden
More | Login
Keybindings Beta
Q W E
A S D
Loading ... Please wait.
  • HD, SD (Score:4, Informative)

    by acrobg (1175095) on Friday December 14, @03:43AM (#21694804)
    HD is based on resolution, not framerate. The fact that it's 10fps makes it largely useless at this point in time. Then again, 45fps is not al lthat useful, as in North America, the main framerates used and broadcast for HD are 24 (technically 23.976), 30 (29.97), and 60. Also, standard definition resolution is 720x480, not the number listed in the article.
    • Re:HD, SD (Score:5, Insightful)

      by idiotwithastick (1036612) on Friday December 14, @04:14AM (#21694960)
      Lens quality and size probably don't help either, because such a small lens can't collect enough light, nor can it zoom very much (if at all) or change focus. Most of the cell phone camera photos I've seen are crappy in quality (grainy), and the video is even worse because it is easy for the hand to shake when carrying such a small object. Pretty worthless as a video camera for that reason.
      [ Parent ]
    • Re:HD, SD (Score:5, Insightful)

      by cgenman (325138) on Friday December 14, @04:51AM (#21695122) Homepage
      There is also the useful pixels question. You could take a really awful first-gen cellphone image, then take a HD picture of the cellphone. It would technically be High Resolution, but it would look terrible. Similarly, the iPhone's camera is pretty bad with a low fidelity lense, narrow light tolerances, sensor lag, long exposure times, etc.

      2MP iPhone image [terrywhite.com] vs 2MP Powershot A60 image [steves-digicams.com] vs a One Megapixel film image [kenrockwell.com].

      Is the iPhone really high-def?
      [ Parent ]
    • Re:HD, SD (Score:5, Insightful)

      by twistedsymphony (956982) on Friday December 14, @09:34AM (#21696418) Homepage

      45fps is not al lthat useful, as in North America, the main framerates used and broadcast for HD are 24 (technically 23.976), 30 (29.97), and 60. Also, standard definition resolution is 720x480, not the number listed in the article.
      Saying they'll be capable of 45FPS doesn't necessarily mean it will record at that speed... simply that 45 is the upper limit of their capabilities. Presumably they would be able to capture 24 or 30FPS clips with ease once they expand to that point.

      as for SD resolution SD is 704x480 and that can be 16:9 or 4:3 depending on aspect ratio of the pixels it is also interlaced. if using square pixels then an interlaced 640x480 resolution can be used but only in 4:3. You're probably thinking of EDTV (Enhanced Definition) which can be 704x480 or 720x480 and progressive scan.

      Some game consoles and other devices will produce a 720x480 interlaced or 640x480 progressive resolution can called them SD or ED but they're really not in compliance with the spec.
      [ Parent ]
  • Why does this have to be a hack? (Score:5, Insightful)

    by badfish99 (826052) on Friday December 14, @03:46AM (#21694816)
    Most of the high-end phones I have seen can do this, and also do "video calls". How come the iphone couldn't do it out of the box?
    • by cgenman (325138) on Friday December 14, @04:05AM (#21694906) Homepage
      You must be from a backwater part of the world, like Europe or Asia. Here in the good old USofA we're waiting until video calling is really, really good to support it... Or at least until the phone companies figure out how to combine screwjob pricing with iron-clad lock-in.

      [ Parent ]
      • Re:Why does this have to be a hack? (Score:5, Insightful)

        by DECS (891519) on Friday December 14, @06:44AM (#21695624) Homepage Journal
        Those questions all have simple answers.

        Why didn't Apple "add third party support"? Because doing so would take time. Selling the iPhone for eight months to an ecstatic audience before getting the SDK out means that there will be a demand for apps that will push developers to ship them. Releasing the iPhone in Feb 2007 would mean the new phone had no apps or users, and therefore no reasons to build apps for another eight months.

        Why no "browser plugins" which by Flash/Javascript you mean Flash (Javascript is there)? Yes, why doesn't Apple release an ARM binary for Adobe's Flash, a slow POS environment that only works well on Windows and sort of works fair on the Mac, neither of which has steep power management needs. Hmm, maybe because Apple has no desire to push Adobe's plans for building a proprietary version of the web in place of HTML and Ajax. Maybe because the only good reason for Flash other than YouTube is Flash ads, which iPhone users don't really miss, and there's better ways to deliver video than proprietary Flash. Apple convinced Google to support H.264 instead.

        Why no "carrier choice?" Because there is no carrier choice. There are two incompatible networks in the US, and "supporting choice" means supporting a fucked up broken system that doesn't work and that puts all control in the hands of the four main bad choices you can make (AT&T, Verizon, Sprint, and Tmobile). That's a PlaysforSure choice.

        By "phone and data price plans" do you mean the lowest priced smartphone contract in the US, or something else?

        "Removable battery" is a cliche for morons to babble about. Check out phones with a removable battery: thicker, wasted space, shitty cover. Treo. Blackjack battery is so small you have to buy a bigger battery and a fatter cover to get a day out of the unit using 3G. Ask anyone who complains about a removable battery how many times they've bought a replacement battery, and whether it cost more than $100, or was priced like an easy to find DIY replacement iPod battery: $15.

        3G is a buzzword. Do you mean EVDO, which is all over the US but only works with CDMA2000 networks unlike AT&T, or UMTS, which is only in cities? This isn't Europe. Further, Apple doesn't have chips to deliver 3G worldwide, and can't deliver battery magic beyond what other phones do. 3G users burn through their battery much faster even when just talking. Check out the mobile forums full of people asking how to force their HTC phones into EDGE only mode. That's why.

        Video calls? You mean on a 3G phone, or our ubiquitous WiFi networks in modern America?

        "We choose you buy" is the fucking definition of engineering. If you don't like that, stick with an "every feature that sounds good" Windows Mobile or Nokia phone that sucks in reality. Right, it's "arrogance in the face of consumers." That's the most arrogant bullshit ever: dreaming unworkable ignorant ideas and then demanding they be shoehorned in and cost nothing, and if they aren't, the engineers involved are arrogant.

        The Register's examples look good in photos, but have no Flash RAM, deliver a shitty web experience, and are the same unworkable crap LG has been cranking out in the past, all based on Flash Lite on top of Symbian.

        Canalys, Symbian: Apple iPhone Already Leads Windows Mobile in US Market Share, Q3 2007 [roughlydrafted.com]
        In its first full quarter of sales, the iPhone has already climbed past Microsoft's entire lineup of Windows Mobile smartphones in North America, according to figures compiled by Canalys and published by Symbian. That puts the iPhone ahead of smartphones running Symbian, Linux, and the Palm OS, but behind the first place RIM BlackBerry. The figures mesh with retail sales data already reported by NPD, which similarly described the size of the US market with a 27% chunk bit out by Apple's iPhone.

        [ Parent ]
  • by Anonymous Coward on Friday December 14, @03:52AM (#21694844)
    9/10ths of a camera's quality is determined by the optics and a pinhole lens on a pinhole sized sensor will not give you an HD picture. There's a reason why pro cameras are huge.
  • Resolution is pointless... (Score:5, Insightful)

    by ComputerPhreak (1057874) on Friday December 14, @04:24AM (#21695008)
    Everyone seems to have this misconception that resolution == quality when it comes to cameras and camcorders. This is evidenced by crap like: 'While the iPhone's 2.0 megapixel camera resolution may be mediocre for a still camera, it is excellent resolution for a consumer video camera.' In reality, the quality of the lens and CCD have a far greater impact on quality than the resolution. I'd take a sub-megapixel professional camera over a 4 megapixel cameraphone camera any day, and the cameraphone, despite having 100 times as many pixels, won't produce a higher quality image.
  • HD is more then just resolution (Score:5, Informative)

    by headbulb (534102) on Friday December 14, @04:26AM (#21695020) Homepage
    High Definition today is sometimes sub par. Let me first say this is a neat iphone hack.

    I remember the first time I saw a professional VCR playback video. The image was great. I could hardly believe a tape could play that.

    One of the greatest strengths of HD is that it's digital. Yet is also one of it's downfalls. Sure analog in general has bigger faults. (mostly from the handling of the signal) But digital compressing and the limiting of the color space. Can be of bigger annoyance (YUV RGB 8 bit for each color. Or 8:6:6 for yuv)

    Usually images or series of images are compressed using some variant of jpeg. Which uses blocks of 16x16 or multiples of that. Which causes jaggies or fuzzies from where one dramatic color ends and the other begins. Usually this isn't a problem unless the image becomes more compressed.

    The color space resolution, Sorry but 8 bit for each channel hasn't cut it since 2000, while 16 million colors is enough for most applications, for gray scale it's still just 256 shades. Since an equal amount of red, green and blue are needed. A scene may call for a large set of blue, for example is Nemo. There is alot of color banding going on for the color blue. The eye can distinguish 256 shades of a color. (In this case it would be 216 since yuv does some funky things).

    While most these arn't a big deal. I don't see it as true HD. Resolution alone does not make HD. Many of the things that the proponents of HD are pointing out. Analog can do better, If only the signal was handled better. What I want is 10 bits per RGB.

    Some people hate me for pointing out the compression artifacts, It's hard to not notice them once you know they are there. Well if I got anything wrong or if you want to add anything. Go ahead.
      • Re:HD is more then just resolution (Score:5, Interesting)

        by Anonymous Coward on Friday December 14, @05:45AM (#21695372)
        Take a look at this picture [uwcs.co.uk] - it includes, in big letters, several words and numbers with blue levels between 250 and 255.

        How much can *you* see?

        (If you have to look at your screen from a funny angle to get colour distortion, you're cheating. Also, if you have to recolour the background, you're cheating. Though you can do that to prove the features you're looking for are there, if you're sceptical.
        [ Parent ]
  • by i_b_don (1049110) on Friday December 14, @05:17AM (#21695232)
    A camcorder is not about pixel size of image sensor, it's all about pushing data around and processing it in huge volumes.

    In order to build a camcorder that's worth anything you need to be able to capture the data, encode the data, and store the data. Features like anti-shake and other things are nice too, but lets stick with the basics.

    Capturing the image. If capturing the image were all it took to make a HD camcorder any old $100 3Mpixel still camera would be a camcorder. But ok, the iphone can capture a single frame "HD video".

    Encoding the image. You don't REALLY think this thing will store the data in an unencoded format do you? Do you know how much storage that requires? My old *non HD* camcorder would store in DV mode, which I bet still has SOME encoding, was 10 GB per hour. Now try that in HD. 40 GB an hour? 60 GB an hour? Ok... so you've got to encode it. I *highly* doubt that the iphone can handle the processing power that's required to encode a HD video *in real time* at 45 frames a second. Someone is smoking something and they're not sharing.

    Storing the image. Even well encoded HD video takes a significant amount of space. My HD camcorder which is 1080i (interlaced) still requires 10 GB per hour of HD space (the same as my old DV camera becuase it's mpeg2 encoded). So lets say for the sake of arguement that the iphone can do the encoding, how much disk space does it have? Maybe you can stick a decent sized memory card on it (i don't know) or maybe it's got 4 or 8 GB of disk store space built in... you still don't have much space to store a decent sized video.

    The fourth major hurdle is: can the iphone busses push around that much data? That's a tremendous amount of data to be pushed around on this thing when it wasn't designed for that much throughput. I am highly skeptical that it could even come close to those pixel pushing levels. here's a quick test... can it PLAY a HD video? If it can, i may be wrong on this count.

    Overall though, I would give good odds that there's no way they can get HD video at 45 frames per second.

    d
  • Pointless, if true. (Score:5, Interesting)

    by Johnno74 (252399) on Friday December 14, @05:55AM (#21695412)
    There is no way the iphone CPU has the horsepower to encode HD @ 75FPS at anything much better than mjpeg, I'd be surprised if it can even do mpeg2.

    Thats a huge number of kbps. I can't even be bothered working it out. With a max of 8gb of storage space available you'd only get a few minutes of video, if that.
    • Re:Pointless, if true. (Score:5, Insightful)

      by Cheesey (70139) on Friday December 14, @06:22AM (#21695544)
      This has been overhyped already I think. The guy has a demo working that records into RAM - this works, but it's no good for continuously recording long pieces of video, where you have to continuously write data to Flash as well as running the codec. The demo runs at low framerate or low resolution, but because it's capable of high resolutions xor high framerates for short periods of time, the Youtube comment morons and the mp3newswire hack have both assumed that it will eventually work as well as a HD camcorder.

      I'll believe it when I see it. Is this an example of someone borrowing Jobs' reality distortion field? It's made by Apple, so it's magically capable of doing anything you want?
      [ Parent ]
    • Re:HD (Score:5, Funny)

      by Anonymous Coward on Friday December 14, @03:41AM (#21694780)

      If it only manages 10 frames a second it's not HD regardless of what resolution it is.


      Thanks for reading two thirds of the summary.
      [ Parent ]
    • Re:HD (Score:5, Informative)

      by phoebe (196531) on Friday December 14, @03:46AM (#21694818)

      520 x 360 is not standard definition TV's resolution either. SDTV is 640x480, NTSC is 720x480 and PAL is 768x576; Display resolution [wikipedia.org].

      Presumably the article implies field size which is 400 for PAL, 350 for NTSC.

      [ Parent ]
      • Re:HD (Score:5, Informative)

        by iluvcapra (782887) on Friday December 14, @05:46AM (#21695378) Homepage

        Digital NTSC is 720x480, though all NTSC televisions are 4:3, not 3:2. Don't ask me why Sony picked a funny wide format for their first digital deck. Analogue NTSC, er NTSC OTA until next year (we'll just see won't we), is 525 x ~360, though the visible res is only ~486x~360 (depending on your TV) because the VBR is counted in the 525.

        Wikipedia has the nasty tendency of being TOO up-to-date :P, and simply rewriting history as if everyone uses an LCD. Of course my knowledge is almost exclusively gleaned from old guys in the tape room at a certain NBC affiliate in Minneapolis (my first internship, wow that was long ago), so correct me if I'm wrong.

        OTOH, if you give any kind of explanation that doesn't end with NTSC being 4:3, you're probably skipping a step somewhere. The NTSC frame was defined off of the silent film 4 perf aperture, which is 4:3.

        [ Parent ]
        • Re:HD (Score:5, Funny)

          by kestasjk (933987) on Friday December 14, @05:44AM (#21695366) Homepage
          Yeah, and while we're talking about an iPhone hardhack let me express how angry I am about the current state of toasters.

          God those things piss me off, how I long for the good old days of using a frying pan. Modern toasters leave that disgusting "modern toaster" taste in your mouth, and leave criss cross patterns on the toast next to where the heating elements are.

          Your average idiot just looks at it and says "wow, look at how shiny it is!", and I just laugh at them when their toast inevitably burns, because they can't see the degree to which the bread has been toasted.

          I truly despair for the world. Woe is me.
          [ Parent ]
    • Re:infinite (Score:5, Insightful)

      by FooAtWFU (699187) on Friday December 14, @03:48AM (#21694828) Homepage
      Presumably, for the pedantic, this is to indicate that the length of the recording is bounded by the power supply and capacity of the device in question, rather than some arbitrary limit (which is presumably related to a maximum size of some volatile-memory buffer, and the inability to process and write the video file fast enough to prevent said buffer from filling).
      [ Parent ]
      • The iPhone comes with up to 8GB of flash. I don't know what bit rate this application will actually be recording at once it's out of beta, but typical HD TV takes about 9 Mbps, which is about 1MB/sec (though it's slower than 45fps.) So theoretically you
        • Re:How many seconds of video is that? (Score:5, Informative)

          by TheRaven64 (641858) on Friday December 14, @08:00AM (#21695950) Homepage Journal
          HDTV at 9Mb/s is pretty heavily compressed. You would find it very hard to get anything like that compression ratio without interframe compression, which makes the resulting footage unsuitable for editing. Standard definition DV footage is 3.6MB/s (28.8Mb/s). Modern HD cameras use a better compression to get the same data rate with high definition footage. This would fill up the iPhone's storage in around 40 minutes.

          I never understood why Apple, back when they had FireWire controllers in their iPods, did not allow you to plug in an iSight and record directly on to that. It would have been a really great way of getting cheap video recording capabilities in to the hands of a lot of people, and copying recorded clips from the iPod would have been a lot faster than copying it from a DV tape.

          [ Parent ]
          • Re:How many seconds of video is that? (Score:5, Informative)

            by jackpot777 (1159971) on Friday December 14, @08:35AM (#21696118)
            Depends on the compression and resolution. Here's a cheap / cheerful video camera that uses SD cards [camcorderinfo.com] and it encodes H.264 (Quicktime movie format). One hour of video fits onto a 2GB card, and that's at 720p (1280 x 720). There's probably some pixellation, but four hours of video on an 8GB iPhone isn't too shabby. Mind you, that's at 30fps, so reduce recording time for that too.

            Editing using iMovie HD is pretty easy too. Apple + T to split the file at the playhead, Delete the clips you've partitioned off.

            [ Parent ]