Slashdot Mirror


Nancy Goes Head-to-Head With MPEG-4

Justin Rossi writes: "EE Times has an article about Nancy, 'the lightest video codec' which is taking Asia by storm and finally bringing streaming Video to handheld devices. What I wonder is how it shall fare against MPEG-4, Ogg Tarkin, and MC-10."

12 of 176 comments (clear)

  1. What a strange name for a video codec by autopr0n · · Score: 5, Interesting

    "Nancy"? Was it named after some coders girlfriend or something?

    From a CPU (and therefore an electrical) standpoint the algorithm is better because it uses much simpler mathematics. But I wonder what the video quality would look like. Is it comparable to Mpeg4 based codecs like DivX? This is great for handheld devices, but I doubt it'll make much of a dent on the desktop unless the image quality is a lot better. We already have way more CPU power then we know what to do with :P

    --
    autopr0n is like, down and stuff.
    1. Re:What a strange name for a video codec by ayjay29 · · Score: 5, Funny

      "Nancy"? Was it named after some coders girlfriend or something?

      Can't decide if you are sexist, assuming coders cannot be female, or I am homophonic, assuming coders cannot be lesbians.

      --
      Offtopic, Inflammatory, Inappropriate, Illegal, or Offensive comments might be moderated up.
  2. Probably not by autopr0n · · Score: 5, Insightful

    The benefit of this codec is it's ease of computation, not necessarily it's image quality/bandwidth ratio.

    Anyway, since it's so quick to encode (you can do it real-time on a 50mips machine... so cell phone, pda, whatever) You'll probably be able to convert the files as fast as you can copy them to the device, or if you want to stream the videos to a cell phone you can have your computer decode them and then reencode them for broadcast.

    Unfortunately this thing seems to be a lot more tied up legaly then MPEG :( It could be a cool way to put videos on my iPaq (Mpeg is still a little choppy)

    --
    autopr0n is like, down and stuff.
  3. Quicktime / realplayer? by forgoil · · Score: 4, Interesting

    Two formats I can't play in my favorite player (which happens to be just the mediaplayer, but it's the same thing if you are using other players). Will this be the same thing all over again? I don't mind new formats, especially if they are good, but if I can't watch them where I want to, who cares? If the big companies has to buy licenses to get them in their devices, and then force all publishers to use their special software... you know the drill.

    I don't care if the software is closed source as long as protocols, codecs, formats, etc are open so anyone can implement and use them.

  4. Re:Hmmmm by autopr0n · · Score: 5, Interesting

    Well, we never had the bandwidth for real videophones.. they were all choppy as fuck when they came out, but now that we do have the bandwidth people are doing video conferencing with webcams and such all the time. It just isn't exciting anymore.

    A cell phone with a cam and enough bandwidth (read 3g networks) might actually be popular since you'll actually be able to get a decent video feed.

    --
    autopr0n is like, down and stuff.
  5. Good enough for now? by standards · · Score: 4, Insightful

    I think Nancy is well-suited for devices that don't try to be video devices - like cell phones and PDAs.

    In the relative scheme of things, non-video devices have low-resolution, low quality displays. And obviously the manufacturers of these devices are unwilling to spend significant CPU or board real estate for video purposes.

    Devices that need to deliver high-quality video won't bother with Nancy - as anything that isn't a cell phone will have the power and capability to use a quality codec.

    Nancy is just a stop-gap solution for delivering very low quality video to underpowered devices. As soon as the video demands increase, or as soon as the power of these devices rise, Nancy will be obsolete.

  6. Market wont accept... by macemoneta · · Score: 5, Insightful

    ...video conferencing on the desktop, which has been available for years. Why does anyone think that they will want it in their cell phone?

    --

    Can You Say Linux? I Knew That You Could.

  7. Uh...why? by A_Non_Moose · · Score: 4, Interesting

    Sharp was one of the early adopters of MPEG-4, introducing an MPEG-4 video recorder and a Zaurus with an MPEG-4 player in December 2000.

    Interesting, yes, but used where? The article does not say.

    They also talk about "block noise" which you can see in DivX quite readily if you have a large piece of video recorded at too low a bitrate.
    It is like watching a movie with a 1/4inch chicken wire overlay.

    One of the problems with DivX that I have noticed is that it does not handle low light secenes very well...and it seems there are algorithms that compensate, because now some encoders complain about bright/outdoor scenes "going white"...heh.

    oh, and this caught my eye...
    The company has demonstrated video transmission to a notebook PC at 512 kbits/second, to a PDA at 256 kbits/s and to a cell phone at 28.8 to 32 kbits/s.
    ...and to charter pipeline (aka charter "sipping straw") at (drum roll please) a max of 12Kbytes a second... Road kill on the information highway.

    People are going to ask which Mpeg4 codec is best, and, well that is an issue we will have to treat "Ginger"ly...hehehee

    --
    Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
  8. This is NOT going to replace DivX ;-) by tweakt · · Score: 5, Interesting
    Nancy is aiming to displace MPEG-4 in applications that demand limited code space and extended battery life.

    It's a low power (power=not much cpu required) designed for mobile devices.

    The codec will run "even if CPU power is not high," said Kato. "A 50-Mips CPU can compress and decompress video at 30 frames per second with QCIF [176 x 144-pixel] resolution [using Nancy].

    QCIF is a postage stamp, don't get excited... my freakin webcam can do that type of compression right now, this acheives a smaller size I'm guessing. As far as quality is concerned, I don't think thats the main focus.

    Their goal is real-time, and low power cpu, and perhaps low bitrate... not highest quality, lowest overall size (MPEG4/DivX, etc)..

  9. Not MPEG4 killer... by dserpell · · Score: 5, Informative
    Reading the article:
    MPEG-4 uses discrete-cosine-transform and motion-estimation technologies. By contrast, Nancy uses only the four fundamental processes of arithmetic (addition, subtraction, multiplication and division), along with comparison and bit-shift operation. This keeps its operation light, said Koichi Kato, chief technology officer at Office Noa.
    This is nosense... DCT is also only addition and multiplications (no divisions, so it have to be faster...) Also:
    The codec will run "even if CPU power is not high," said Kato. "A 50-Mips CPU can compress and decompress video at 30 frames per second with QCIF [176 x 144-pixel] resolution [using Nancy]. There is no other video codec in a software form that can encode and decode." The program for real-time video compression and decompression takes 30 to 40 kbytes of memory, "and consumes about one-tenth of the power compared with MPEG-4 operation," he added
    He shoud take a look at ffmpeg's libavcodec. In 240kbytes you have coder and decoder for: Video MPEG1/2/4, MSMPEG4, MJPEG, H263, RealVideo, AC3, Audio MPEG-Layer3... And with assembler routines for x86 and arm cpu's. Getting 30fps of QCIF at 50mips isn't as difficult...
    1. Re:Not MPEG4 killer... by cryptochrome · · Score: 4, Interesting

      That's a rather glib response, and incorrect. Additions, subtractions, are fairly simple operationsm and bitshifts are blazingly fast (and equivalent to dividing or multiplying by factors of 2) - in contrast, multiplications, divisions, and others are substantially more complex. You can improve performance a LOT if you design your codecs with these guidelines in mind. Check out the research section (fast DCT approximations) of this site - Nancy isn't the only codec to keep this matter in mind.

      What I'd really like to know is - how well does nancy scale to higher resolutions? It could be competition for MPEG-4 even in the desktop arena. As someone who uses a 3-year-old laptop that can't really handle the &#($ing huge DivX files (which use pretty outdated technology across the board, whether you realize it or not), I welcome a codec that doesn't stress my system, and will save my battery life to boot.

      --

      ---If you can't trust a nerd, who can you trust?

  10. Simplistic compression by yabHuj · · Score: 4, Insightful
    ...if I my interpretation of the description is correct. They basically seem to break down each image into smaller bits and assemble them later - and only transmit the differences. So the textualized representation may read something like
    • first frame
    • left up (pos 0,0) is a 16x32 block, near black (rgb #111111).
    • next to it (pos 16,0) a 16x16 block, grayish (rgb #112211)
    • below that a block (pos 16,16) with 16x8 green-grayish (rgb #115511)
    • below that a block (pos 16,24) with 16x8 block, greenish (rgb #05BB05)
    • next frame (Logo background appears in the middle)
    • block change in middle (pos. 8,8), size 16x16, black (rgb #000000).
    • next frame (Logo starting with bright expanding spot)
    • block change in middle (pos. 16,16), size 1x1, white (rgb #ffffff).
    • next frame (dito)
    • block change in middle (pos. 14,14), size 4x4, white (rgb #ffffff).
    • ...etc...
    Something like a poor man's MJPG+MPEG. Maybe, if not using fix colors but linear gradients (4 values total = left-right and up-down) the quality can be a bit better.
    OTOH this compression is designed for mini-screens with waaaay sub-optimum quality anyway, so blockish compression is not an issue here? A close look at a demo and the algorithms would be interesting, agreed.