Slashdot Mirror


Mplayer Adds Sorenson v3 To the Linux Roster

prmths writes "mplayer now plays sorenson V3! This is the last major format that was unplayable under linux and it has now been conquered! They also added the 2xsai algorithm for video scaling. This will let you increase the resolution of non-photo-like videos (anime/cartoons) by 2 times -- it's not a blurring algorithm -- 2xsai actually guesses edges and fills in the pixels."

123 of 259 comments (clear)

  1. Let the slogans begin... by kafka93 · · Score: 4, Funny

    "I'm 2xSaI for my shorts"?

    Doh!

  2. Well it can *almost* play sorenson! by Ed_Moyse · · Score: 5, Informative
    From the page:
    Oops... We did it again :) So you can play your favourite brand-new quicktime movie trailers with mplayer! Oops... you cannot yet... at least the code is working, and was uploaded to CVS, but it needs some hacking to get it work... (not so bad, you need some DLLs from QT5 player and sdk, and libwine from wine-20020310 and some config.h editing) - okay, we'll work on getting this more user-friendly... :) so be patient, it'll be available in next (pre)release for sure!
    1. Re:Well it can *almost* play sorenson! by grub · · Score: 4, Funny


      Someone at mplayerhq must have pissed off a /. high-up pretty bad to garner a double slashdotting. This one for the announcement, a future one for the release.

      --
      Trolling is a art,
    2. Re:Well it can *almost* play sorenson! by Anonymous Coward · · Score: 3, Funny

      Nonsense. Slashdot is a professional online news site, so everything posted here has been fact-checked. Next you'll be telling us that Stephen King isn't dead.

    3. Re:Well it can *almost* play sorenson! by jmo_jon · · Score: 3, Funny

      we'll work on getting this more user-friendly.

      user-friendly? That ought to be quick for them, just another RTFM remark in the FAQ and a short line the the manual and it'll be done. Or has the attitude changed since i last checked?

    4. Re:Well it can *almost* play sorenson! by mastropiero · · Score: 3, Funny

      At least we can see cool development going on. It probably wont be long before it is usable, anyway.

      On the other hand I would have preferred having a little less misleading story, I almost got up and danced in front of my friends while singing "there u go b*tches, linux is l337!".

      But of course, this is /.

    5. Re:Well it can *almost* play sorenson! by Jugalator · · Score: 4, Funny

      From the style of that quote, it looked like it came from someone having got waaay too much coffee...

      --
      Beware: In C++, your friends can see your privates!
    6. Re:Well it can *almost* play sorenson! by 13Echo · · Score: 5, Informative

      Extract the codec pack to the specified directory. I think that it is something like "/usr/lib/Win32" or something like that.

      Download the MPlayer source from the MPlayer homepage.

      ./configure --enable-gui (optional)
      make
      make install (as root)

      Is that different than any other program that you compile yourself? It has a makefile, and it works perfectly. The only thing that you need to know is your video output, which is usually XV for nVidia and other cards like PowerVR Kyro products.

      Executing MPlayer is pretty simple

      mplayer -vo xv -ao sdl *filename*

      You can also add the -vo and -ao formats to the config file, so you never have to enter them. This is all that the documentation really covers. It is the difficult part. The video output method varies depending on your videocard, but XV is the most common.

    7. Re:Well it can *almost* play sorenson! by jandrese · · Score: 3, Informative

      Usually (in my experiance), Mplayer will automatically select the best audio and video out when it's started for the first time (usually Xv and oss (but I'm running FreeBSD). I've never had to specify the vo and ao manually.

      --

      I read the internet for the articles.
    8. Re:Well it can *almost* play sorenson! by Eil · · Score: 2


      IIRC, the developers (or at least the lead) are from Hungary and English is their second language.

  3. Well... by vasqzr · · Score: 2, Funny



    at least the code is working, and was uploaded to CVS, but it needs some hacking to get it work... (not so bad, you need some DLLs from QT5 player and sdk, and libwine from wine-20020310 and some config.h editing) - okay, we'll work on getting this more user-friendly...

    At least it DOES work :)

  4. w00t! by 0xdeadbeef · · Score: 5, Funny

    But mommy, why do they hurt Tux like that?

    1. Re:w00t! by RAMMS+EIN · · Score: 3, Funny

      That's because they use win32 codecs. Obviously, it hurts Tux to have to run M$ code.

      --
      Please correct me if I got my facts wrong.
    2. Re:w00t! by pc486 · · Score: 5, Informative

      That's an insider joke by the MPlayer developers. One time a developer messed up the CVS and the punishment was to drink ten liters of coke :-). You'll see this all over the mailing lists and the CVS logs as 10l coke or sometimes 1000l coke.

    3. Re:w00t! by mekkab · · Score: 2

      He's prolly a RS/6000 programmer.

      Registers are initialized to 0xDEADBEEF

      He's also prolly really sensitive to Hagar the Horrible jokes...

      --
      In the future, I would want to not be isolated from my friends in the Space Station.
  5. browser plugins? by Ender+Ryan · · Score: 2, Interesting
    Are there any browser plugins for using mplayer to play movies online yet?

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
    1. Re:browser plugins? by 13Echo · · Score: 3, Informative

      http://www.webfreetv.com/linux/

      I haven't tried this plugin yet, but I noticed it last night. Perhaps someone here can tell us about their experiences with it?

    2. Re:browser plugins? by Covener · · Score: 3, Informative

      Plugger is mplayer aware.

    3. Re:browser plugins? by Anonymous Coward · · Score: 3, Informative

      Works fine with plugger, just edit it into /etc/pluggerrc and it plays just fine.

    4. Re:browser plugins? by Fluffy+the+Cat · · Score: 3, Informative

      What is the big deal with plugins ?

      Displaying the file within the browser. Plugins allow various types of media to be embedded within a page, rather than having a separate window for each file.

    5. Re:browser plugins? by J.+Random+Software · · Score: 2

      Also allowing plugins to communicate with each other and the DOM of the embedding document (and any scripts it may contain). Pushing URLs to viewers alongside a stream is a common example.

    6. Re:browser plugins? by Alien+Being · · Score: 2

      Do you have a working config for plugger/mplayer? I had no luck last time i tried.

      Is there a way to have plugger just save the stream to disk?

  6. Advancemame by kafka93 · · Score: 5, Informative

    Advancemame, linked from this story for the Scale2x description, is a fine piece of software, and currently employed in my MAME cabinet. It's ironic, though: for my money, the scale effect really ruins the look of many arcade games, and particularly of things like pacman. While so many gamers are obsessed with getting the most out of their video cards, those interested in emulation often want the very opposite...

    It's still cool voodoo, of course.

    1. Re:Advancemame by gl4ss · · Score: 4, Interesting

      the different guessing/blurring algo's are quite well represented in many emu's.

      some games look crap on some algos, while others look great.. depending on games style, and lots of other things, like what it looked on the arcade machine. those old monitors have a feel and look to the picture too..

      btw, is sai2x basically 'eagle'?

      --
      world was created 5 seconds before this post as it is.
  7. times two! by Alsee · · Score: 4, Funny

    2xsai actually guesses edges and fills in the pixels

    and an MP3 player that doubles the number of notes in a song by guessing and filling them in! :)

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    1. Re:times two! by Sycraft-fu · · Score: 3, Insightful

      Actually similar types of things are done for audio resampling. You use different algorithms to guess at what the new samples should be. It sounds much better than just duplicating the old data.

      Actually it's much more akin to the texture anti-aliasing done by graphics cards, but still.

    2. Re:times two! by jmv · · Score: 2

      I did something similar for my master project: take audio sampled at 8 kHz and produce a new file sampled at 16 kHz, where the "missing frequencies" (4-8 kHz) are "guessed" from the information available. This makes a telephone conversation sound (if everything goes well) like radio quality.

    3. Re:times two! by MicroBerto · · Score: 2

      Given the god-awful wavery tones of most popular singers these days, that would be a blessing!

      --
      Berto
  8. Re:Does this mean .mov? by tjansen · · Score: 4, Informative

    No, it means those .movs encoded with Sorenson v3. Including all newer trailers on Apple.com.

  9. Sweet! I was waiting for this! by 13Echo · · Score: 5, Informative

    This rocks! Now I can play those Harry Potter 2 trailers for my girlfriend. The interesting thing is that I just downloaded Pre-10 last night, hoping that this codec was complete. Unfortunately, it wasn't. But the guys at MPlayer cracked the code. You rock! Thanks for making the best video player for UNIX/Linux. No thanks to Apple for being a royal pain in the butt when it comes to their video format.

    Speaking of MPlayer, has anyone tried this? It is a plugin for Mozilla that uses XV overlays and MPlayer to show movies in Mozilla. I'd imagine that it works with plugin compatible apps like Opera also. I haven't tried it yet. Can anyone offer their opinions? I am looking forward to a time when I can finally play those annoying streaming WMV videos in my browser, without having to fight with some ASX file that redirects.

  10. Guessing lines by MagPulse · · Score: 2

    That reminds me of this Flipcode IOTD. It's pretty impressive if you're upsampling something cartoon-ish with not much high frequency detail.

  11. Re:Windows Media Player Killer by Anonymous Coward · · Score: 2, Insightful

    Um, no.

  12. Whats NOT supported now? by iamsure · · Score: 4, Interesting

    Okay, its not clear from the site, what file formats remain unsupported/unplayable?

  13. "Needs some DLL's from QT5"? by Second_Derivative · · Score: 3, Interesting

    Clearly not a codec implementation then, or not a full one. Besides, Sorenson will sue them into oblivion when/if they do get it working.

    1. Re:"Needs some DLL's from QT5"? by IamTheRealMike · · Score: 3, Interesting
      Clearly not a codec implementation then, or not a full one

      I have no idea whether it is or isn't, but one possibility is that's a codec implementation but requires some data tables which cannot legally be copied. The codecs for older sorensen versions had this problem, to decode them you needed large tables of numbers which were of course copyrighted.

      Besides, Sorenson will sue them into oblivion when/if they do get it working.

      Nah. Why should they? Have you actually used MPlayer? It's a command line client, with famously dodgy internals (ie the code probably can't be easily reused). It doesn't pose them any threat. Anyway, who would they sue? It's not like you can just pick a random developer and send them a letter from your lawyers.

    2. Re:"Needs some DLL's from QT5"? by benwaggoner · · Score: 2

      Sorenson has been pretty blase about this kind of stuff so far. They couldn't distribute the decoder to other folks due to their contract with Apple. But they make money selling ENCODERS, so they don't have much of a motivation to come down hard on folks who are increasing their audience.

    3. Re:"Needs some DLL's from QT5"? by J.+Random+Software · · Score: 3, Informative

      IANAL but I'm not this poorly informed. Copyrights and patents can indeed be enforced selectively. Generally estoppel and laches prevent you from suing over infringements long past, but as soon as you tell an infringer to stop, they're liable for damages over any infringement from that point forward. (Before the Berne Convention you could lose a copyright by acquiescing to publicatation without a copyright notice, but that was decades ago.)

      Trademarks, however, can be lost by nonenforcement. I'm not sure why; maybe because they can be renewed forever (though it looks like copyrights will be too) or were considered a larger imposition on the rest of the market.

      Reverse engineering isn't affected by copyright unless you create a derived work in the process (rather than learning the algorithm, which can't be copyrighted, and then implementing it yourself). The (hopefully unconstitutional) DMCA prohibits offering circumvention tools, but in that case it doesn't matter whether you created the tool by reverse engineering.

  14. The *real* 2xSaI site by Mitchell+Mebane · · Score: 4, Informative

    The *real* homepage of the 2xSaI algorithm is:

    Kreed's Homepage: 2xSaI : The advanced 2x Scale and Interpolation engine

    It is totally different for Scale2x, which is the link that was given. 2xSaI was orignally developed by Kreed (a.k.a. Derek Liauw) for the SNES9x Super Nintendo emulator. Oh, and technically, it IS a blurring algorithm, just a smart one.

    You can find lots of info here and here.

    --

    The roots of education are bitter, but the fruit is sweet.
    --Aristotle
    1. Re:The *real* 2xSaI site by Mitchell+Mebane · · Score: 5, Informative

      Huh? For some reason my first link messed up... anyways:

      Kreed's Homepage: 2xSaI : The advanced 2x Scale and Interpolation engine

      --

      The roots of education are bitter, but the fruit is sweet.
      --Aristotle
  15. exactly how hacked up is this? by hfastedge · · Score: 2, Informative

    exactly how hacked up is this?

    Does anyone know? Does anyone know if the mplayer people (or whoever is actually responsible) cooperated with sorenson?

    Heres a discussion i had at the apple boards on exactly this matter:

    http://discussions.info.apple.com/WebX?50@198.U0Gj afW5d56.6@.3bbaee75

    --

    -- -- --

    Help my mini cause: My journal

    1. Re:exactly how hacked up is this? by 13Echo · · Score: 2

      I can't imagine how it would be any different than how they implemented WMV support and the likes. I think that the MPlayer guys are just really good coders/hackers. They seem to be able to take a Windows codec and find out what makes it tick. Maybe they make modifications to the codec file. I do know that the MPlayer codec pack is not designed to work in Windows, despite it's inclusion of hacked Win32 codecs.

  16. Re:Sweet! I was waiting for this! by momobaxter · · Score: 3, Informative

    Actually apple doesn't own the Sorenson(spelling) codec. That's from the company named the exact same as the codec. Apple owns quicktime which is just a container.

    --
    "Full sources for linux currently runs to about 200kB compressed" --Linus Torvalds 31-Jan-1992
  17. There isn't much. by 13Echo · · Score: 5, Informative

    As far as I can tell, this was the last major codec that didn't work. Well, it kinda worked before, but sound was unplayable. As of yet though, I've not come across any other file that didn't play.

    Here is a codec status page: http://www.mplayerhq.hu/DOCS/codecs-status.html. It is updated frequently.

    If you get MPlayer, the codec pack, and configure it for XV video output and SDL audio output on a properly accellerated system, the playback produces virtually no CPU load. It is an incredible program. I really like the fact that the GUI is completely optional, and you can just use keypresses to manipulate movie playback.

  18. Some subtle corrections by benploni · · Score: 4, Interesting

    The scaling is 2x in each dimension, so it makes it 4x bigger. Oh, and 2xsai works best on images with clearly defined edges, like arcade games and anime. PLain old movies wont get as much benefit, and some will get worsened artifacting.

  19. Well, true... by 13Echo · · Score: 2

    But a player would be nice. Even Real Networks has a community supported player for UNIX/Linux.

    1. Re:Well, true... by Tet · · Score: 2, Informative
      Even Real Networks has a community supported player for UNIX/Linux.

      Yes. Interesting naming they've chosen there. It's closed source, and hence not even remotely supportable by the community. What they're trying to say is "unsupported by Real Networks". There really isn't anything the community can do. It either works or it doesn't in the form they supply it.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
  20. Re:Sweet! I was waiting for this! by nother_nix_hacker · · Score: 2, Funny

    This rocks! Now I can play those Harry Potter 2 trailers for my girlfriend.

    For your girlfriend...riiiiggghhhtt :)

  21. What? by FreeLinux · · Score: 2

    Oops... We did it again :) So you can play your favourite brand-new quicktime movie trailers with mplayer! Oops... you cannot yet... at least the code is working, and was uploaded to CVS, but it needs some hacking to get it work... (not so bad, you need some DLLs from QT5 player and sdk, and libwine from wine-20020310 and some config.h editing) - okay, we'll work on getting this more user-friendly... :) so be patient, it'll be available in next (pre)release for sure!

    Wouldn't it be simpler to just run QT5 under WINE? This doesn't really look like support, from my point of view.

  22. Soon... by ACK!! · · Score: 2

    Soon, I will be able to play the trailers for Matrix Reloading without having to switch over to my Windows box.

    Cool.

    Soon, I will be able to laugh at all the Apple Switcher campaign videos with ex-drug addict teenagers.

    Cool.

    Still, what does this mean for the folks who made the Crossover plugin program?

    I can't imagine it will muck them up too bad since they have a half dozen distros ready to put Crossover Office on their disks.

    ________________________________________________

    --
    ACK /ak/ interj. 2. [from the comic strip "Bloom County"] An exclamation of surprised disgust, esp. i
    1. Re:Soon... by IamTheRealMike · · Score: 3, Informative
      Still, what does this mean for the folks who made the Crossover plugin program?

      Not much really. CrossOver plugin is useful for stuff other than the QuickTime plugin, although i'd guess that's what drives sales as most other plugins of any popularity have Linux versions available (glares at apple). Plugin is an interesting side line they have, but the real product is CX Office, which as a general wine distro is very popular.

    2. Re:Soon... by Anonymous Coward · · Score: 2, Informative

      Actually we couldn't get this working without crossover plugin. They contibuted a lot to wine to get QT DLLs loading and working. Also, crossover plugin does a lot more than mplayer: it can stream (even encrypted) streams, and work as browser plugin, not talking about the other programs it runs.
      MPlayer is very limited in this context, it can play http:// steramed or plain quicktime files, but has an advantage: you can use any video output, including hw accelerated ones for playback.

      A'rpi

  23. Except that the Qt5 GUI sucks ass... by brunes69 · · Score: 4, Informative

    ..and is horribly slow under WINE. Not to mention mplayer works in console as well as X, and anything that works with mplayer also works in mencoder.. so guess what, Sorenson -> DivX is now very simple and straightforward.

  24. Re:Sweet! I was waiting for this! by spotter · · Score: 5, Informative
    But the guys at MPlayer cracked the code

    Not really (at least IMHO) they figured out how to make use of the original DLLs. You will still need the DLL's from a QuickTime 5 installation (as well as wine acc. to the description). This is not reverse engineering the codec, just figuring out how spit encoded frames to the dll and understand the decoded frames it spits back. What was done with the previous sorenson codecs (of actually figuring out how to decode) was much more impressive (at least to me).

    They already use the "use dlls" methods for real codecs, except in that case they have the real linux .so's to use.

  25. Thanks for the info. by 13Echo · · Score: 5, Informative

    I didn't know that it existed. Here's a link that I found

    http://fredrik.hubbe.net/plugger.html

    Says that it works with Opera, so it has my attention. Does it work with streaming of WMV files?

  26. Crossover by Shade,+The · · Score: 3, Interesting

    Crossover does a lot more than just play Quicktime stuff. Flash, Realplayer, Trillian and all sorts of other plugins are included too.

    1. Re:Crossover by TheABomb · · Score: 2, Insightful

      Flash: Native for Linux
      Realplayer: Native for Linux
      Trillian: GAIM

      What's the point in using Crossover?

      --
      MSIE: The world's most standards-complaint web browser.
    2. Re:Crossover by Shade,+The · · Score: 2

      Flash: Native for Linux at version 5.0

      In other words not all Flash will play on linux without Crossover. Quite a bit of Flash on the web these days uses more a more up to date version than 5, so if you like pointless shockwave games, you're missing out! :)

  27. Re:Sweet! I was waiting for this! by IamTheRealMike · · Score: 2
    But nonetheless they continue to encode trailors (which are all anybody outside of Macland seems to use QT for anyway) using Sorensen.

    Does it strike anybody else as rather funny that so much effort has been put into the ability to watch adverts? I mean outside of Apples own adverts and the trailors it buys up, what is Sorensen used for these days (on platforms other than the mac).

  28. Improving Scale2x? by mr3038 · · Score: 4, Interesting
    The screenshots of Scale2x look really promising. Looking at two last examples makes me wonder if the same algorithm could be used for pretty much any texture map to get higher quality output from games. Because algorithm needs only a few neighbor pixels to decide correct value for the output pixel it could be implemented in the rendering hardware pretty easily. Using this method with compressed textures should allow pretty nice texturing without using that much memory.

    Also, by looking the algorithm on the page it seems to me that this algorithm decides which pixel value to use from left and right only. Running the result through a sligthly modified algorithm could perhaps provide 4x scaling with pretty nice image quality. Simple rotate the table with letters from A to I 90 degrees clock-wise and you should get an algorithm which selects best pixel value from above or below. It might be possible to join those algorithms for a single pass one but I'm afraid the result needs that many conditional jumps that it isn't usable for real time processing. Plus you usually don't need 4x scaling for video.

    Scaling animated movie 4x with this algorithm and outputting it through hardware scaler to reduce pixel boundaries should provide pretty nice video quality...

    --
    _________________________
    Spelling and grammar mistakes left as an exercise for the reader.
  29. How I install mplayer by brunes69 · · Score: 5, Informative


    echo "http://mplayer.nmeos.net/ unstable main" >> /etc/apt/sources.list

    apt-get install mplayer-686
    apt-get install mencoder-686

    1. Re:How I install mplayer by ivan256 · · Score: 5, Informative

      Just so you don't confuse the newbies, I'm sure what you meant to say was

      echo "deb http://mplayer.nmeos.net/ unstable main" >> /etc/apt/sources.list"

      apt-get update
      apt-get install mplayer-686
      apt-get install mencoder-686

      At least that's what you say if you wanted it to work...

  30. Re:Windows Media Player Killer by brunes69 · · Score: 2

    Yes it *does*, but only under cygwin, and you need an Xserver to run it. BEcause of this it is very sslloooooowwwww

  31. Re:Sweet! I was waiting for this! by gpinzone · · Score: 2

    I don't think they "cracked the code" so to speak. It sounds like they hooked into the DLLs the right way and got it to work in Linux with the help of WINE. It's still a "black box," which is a good thing since there's no worries about reverse engineering the codec (just the DLLs).

  32. 2xsai vs. Eagle by yerricde · · Score: 3, Informative

    is sai2x basically 'eagle'?

    Eagle and Kreed's 2xSaI are based on different algorithms. The "Super Eagle" and "Super 2xSaI" filters by Kreed are combinations of the techniques of Eagle and 2xSaI.

    --
    Will I retire or break 10K?
    1. Re:2xsai vs. Eagle by Mitchell+Mebane · · Score: 3, Informative

      We had a very lengthy discussion on various smoothing engines over at the zSNES board a while back, you can read that thread here.

      --

      The roots of education are bitter, but the fruit is sweet.
      --Aristotle
  33. ATRAC support is already there by G�tz · · Score: 2, Informative
    You obviously don't read changelogs:
    • RealAudio ATRC (sony atrac3) audio support (using binary plugin)
    It should be possible to play ATRAC content with mplayer, at least on x86 platforms.
  34. Re:MPEG-2 in QT player? by pi+radians · · Score: 2

    Apple does. Its Quicktime Pro with the additional MPEG-2 decoder. I don't know the exact cost for it but I think its around $45.

    --

    sin(6cos(r)+5A)
  35. Spectral band replication by yerricde · · Score: 2, Informative

    and an MP3 player that doubles the number of notes in a song by guessing and filling them in!

    Actually, that's exactly how "mp3PRO" technology works. It stores a low-bit-rate MP3 of signals from 20 Hz to 8000 Hz, and then it does "spectral band replication" to guess at the frequencies from there to 16000 Hz.

    --
    Will I retire or break 10K?
  36. Artist's intent by Multiple+Sanchez · · Score: 2

    Notice, though, that the screen shot from Metal slug looks pretty dope.

    Pac-Man was designed to look exactly as you see it on the screen, pixel for pixel -- so I'm sure the interpolation looks (or, perhaps more accurately, feels) like it's drifted a bit from what the artist(s) intended.

    The graphics of Metal Slug and just about every other modern game, on the other hand, are downsampled to a given screen resolution. In those situations, the algorithm would offset the downsampling and possibly render an image that's closer, not further, from what the artists intended.

  37. Re:AA by Fembot · · Score: 2

    Im still trying to work out how you actualy enable it at the moment though.

  38. Re:Sweet! I was waiting for this! by 13Echo · · Score: 2

    Are you sure that WINE isn't only needed to install Quicktime to leech the codecs? There hasn't been a single codec that has required WINE for anything that has played through MPlayer.

    I know that they've been halfway there to achieving Sorenson playback for a while. Video has worked very nicely. It is the audio that didn't play back. Doing this in a bass-ackwards sort of way with WINE wouldn't really seem like something that they would do.

  39. Weak - it's closed source by pyite69 · · Score: 3, Flamebait


    This will never be an acceptable solution until
    distributions can support it out of the box.
    That will require actually figuring out the
    file format instead of just hacking in some
    DLL's.

    You are probably violating Apple's license by
    doing this anyway.

    1. Re:Weak - it's closed source by Anonymous Coward · · Score: 5, Informative

      Why? We're doing the same as every windows app supporting the quicktime format/codecs. We're using their plugins, via their SDK. Teh only difference is that the app is native linux app, while teh DLL's are windows one, and we're using libwine to connect them. It doesn't chaneg the legal status,imho.

      A'rpi

    2. Re:Weak - it's closed source by Nevyn · · Score: 3, Informative
      This will never be an acceptable solution until distributions can support it out of the box.

      I agree with this, but due to the patenting of QT5 even if someone reverse engineered the format and wrote a decoder in C it wouldn't be supportable by US based Linux distributions anytime this decade.

      So, in a very real way this is as good as it's going to get anytime soon.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    3. Re:Weak - it's closed source by aminorex · · Score: 2

      > You are probably violating Apple's license by
      > doing this anyway.

      I certainly hope so!

      --
      -I like my women like I like my tea: green-
  40. mplayer for Debian please by CanadaDave · · Score: 2
    Where can I get player debs for Sid/Testing!!!???

    1. Re:mplayer for Debian please by CanadaDave · · Score: 2

      oops, that should read "mplayer" not "player"

    2. Re:mplayer for Debian please by CanadaDave · · Score: 2
      Okay, sorry, I answered my own question. It wasn't that hard to find on Google. For all you Debian users. Add the following lines to your sources.list file:

      deb http://marillat.free.fr/ stable main deb http://marillat.free.fr/ testing main deb http://marillat.free.fr/ unstable main deb-src http://marillat.free.fr/ unstable main

    3. Re:mplayer for Debian please by quinto2000 · · Score: 2

      you should download the source file and use dpkg-build. it's going to make a debian package that's optimized for your system if you do it this way (the right way). debian control files are right in the source. decompress and run "debian/rules binary" in the main source directory.

      --
      Ceci n'est pas un post
  41. Re:What IP? Re:How I install mplayer by Karrots · · Score: 4, Informative

    Here is where his packages are now.

    http://marillat.free.fr/

  42. Not the first... by Fluffy+the+Cat · · Score: 5, Insightful

    This is the last major format that was unplayable under linux and it has now been conquered!

    Codeweavers have been willing to sell you a product that allows Quicktime playback for ages. The only real advantages the new mplayer code offers are it being integrated into a more generic media player, and it being free as in beer. You're still stuffed on non-x86 platforms.

  43. Not how copyright works by TrentC · · Score: 5, Informative

    Well. If you don't defend your copyright. You loose it. If someone gets to reverse engineer your code and you let them. Everyone can.

    I never thought I'd be the one to complain about "crack-smoking moderators" but the above statement is completely untrue.

    It is true that you have to vigorously defend your trademark lest it fall into common usage (see "Q-Tip" vs. "cotton swab", "Xerox" vs. "photocopy", et al.) but the same does not apply to copyrights. (To be fair,

    And reverse-engineering has nothing to do with copyrights, that's a patent issue. Barring any patent infringements, I am perfectly within my rights to create source code that produces an identical effect or product as yours, so long as I don't actually use any of your code in my proejct.

    You can attempt to distribute copyright source code under a license that says "you shalll not attempt to reverse-engineer this software" but that's a whole 'nother ball of wax...

    Jay (=

    1. Re:Not how copyright works by 0x0d0a · · Score: 2

      Barring any patent infringements, I am perfectly within my rights to create source code that produces an identical effect or product as yours

      Not quite sure about this. For example, if I run an automated decompiler on your source, getting source that produces the same assembly, the original copyright clearly still covers the decompiled code.

      Though courts rarely let companies get away with copyright/reverse engineering claims that prevent compatibility. I doubt Sorenson or Apple would win a case based on this.

  44. Not truly compatible. by vegetablespork · · Score: 5, Funny
    When I play a Sorenson video with mplayer, it fails to present me with a dialog admonishing me to "Get Quicktime Pro Now!"

    Will this bug be fixed in a later release?

    --

    Call (206) 338-5780 COLLECT for information about a genuine BA, BS, MA, MS, MBA, or Ph.D.

    1. Re:Not truly compatible. by evilviper · · Score: 2

      Hmm, you have brought up a good point. Since the DLLs are being used without being tied to the player, that might mean encoding could be implimented without having to pay for the pro version (a whopping $30).

      I know we hear the joke a lot here, but this quite likely will recieve a cease & desist from Apple.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    2. Re:Not truly compatible. by evilviper · · Score: 2
      Apple probably can't do anything about it, because MPlayer folks aren't distributing any quicktime code at all

      Nor was the Russian software company distributing any part of Adobe's eBook reader. Nor was the DeCSS programmer distributing any part of a DVD player program. Nor did the streambox VCR contain any RealPlayer code.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  45. Wine...Blech by CanadaDave · · Score: 2

    It requires Wine. Blech! And to think I thought they had actually cracked the codec.

    1. Re:Wine...Blech by Captain+Morgan · · Score: 2, Insightful

      It requires Wine. Blech! And to think I thought they had actually cracked the codec.

      I'm not sure what the issue is here. They can make it require only the wine libraries that are responsible for loading and interfacing with the dll, this would be seamless and would be packaged with the mplayer binaries. You probably wouldn't even notice. Running the native dlls is much easier and legal, compared with reverse engineering a copyrighted and patented codec.

  46. Plugger sucks by Catskul · · Score: 2


    Plugger is a piece of crap.
    It has no intuition what-so-ever, and almost every time mozilla crashes for me im pretty sure its because of plugger: It doesnt crash when plugger isnt loaded, and when it does crash there are normaly 10 instances of plugger running. I wish someone would rewrite it. Hell I'd rewrite it myself if I had any idea how to.

    --

    Im not here now... Im out KILLING pepperoni
  47. Mencoder GUI. by 13Echo · · Score: 2

    There is also a GUI for mencoder. It requires QT3 (a KDE app).

    http://sourceforge.net/projects/kmencoder/

  48. Hmmm... You know, you have a good point. by 13Echo · · Score: 4, Interesting

    This means that those trailers can be played full-screen now. Never thought about that one. I always hated how you had to upgrade Quicktime to get that feature. Is it still the case? If so, not on Linux. ;)

  49. I was actually quite overwhelmed too. by 13Echo · · Score: 2

    Reading the documentation makes it seem a lot tougher than it actually is. It would seem that all of the information there is to actually help you set up specific videocards for overlays and accelleration. Most binary driver installers seem to do this automatically for you though nowadays, so it isn't really an issue.

    It did take me some tweaking to figure out what worked best. It seems that in most cases though, XV (video) and SDL (sound) are the best choices. Make sure thatyou are using XFree 4.2 and have the best drivers for your card. nVidia, PowerVR, ATi (with GATOS drivers), most S3 cards, Neomagic (with a modified driver), and Trident cards work. OpenGL output can work with just about any OpenGL card, but it is slower. There is also a framebuffer driver for Matrox cards.

  50. Re:What IP? Re:How I install mplayer by F.O.Dobbs · · Score: 4, Informative

    Don't you mean

    echo "deb http://mplayer.nmeos.net/ unstable main" >> /etc/apt/sources.list

    but since that doesn't seem to work anymore, try

    echo "deb http://marillat.free.fr/ unstable main" >> /etc/apt/sources.list

    F.O.Dobbs

  51. Re:Sweet! I was waiting for this! by arkanes · · Score: 2

    I've seen some really astonishingly cool 3-d VR type stuff done in quicktime, of all things. Some car sight (Honda? Ford?) has one, where you can take a virtual tour of the inside of the cars - it's really amazing.

  52. Re:Windows Media Player Killer by ultrapenguin · · Score: 2, Interesting

    Why bother with mplayer on windows?

    Media Player Classic combined with FFDShow is all you need to playback any kind of MPEG1/2/4 content, and realmedia (provided realplayer 8 or 9 is installed). MPC looks just like Media player 6.4 and has useful features such as keyboard control, built-in subtitle rendering, and various video control options.

  53. Trigger happy mods. by Multiple+Sanchez · · Score: 2

    This wasn't a troll in the slightest, especially considering the legal battles between Apple and Sorenson about who owns the codec. I mean, if you can recompile mplayer to use the Sorenson codec for free under Darwin...

    if I were a lawyer for Sorenson, this would be a nontrivial development, that's all.

    But then again, I'm NAL, so maybe I should just sit in the corner with my /. dunce cap.

    1. Re:Trigger happy mods. by Multiple+Sanchez · · Score: 2

      Community forums rule.

  54. Re:Sweet! I was waiting for this! by Anonymous Coward · · Score: 3, Informative

    Of couse we like rev,. engineered codecs more...
    BUT:
    - it's way too much work
    - legal problems (it's illegal to crack the dll, but it isn't illegal to use them as-is)
    - you have to rev.eng. every single codecs, and there are so many... so it's even more work.
    + rev.eng'd codecs can eb optimized to hell (so can be faster than DLL)
    + rev.eng'd codecs run on non-x86 platforms too

    so, if you did it for any codecs, feel free to send me or to the ffmpeg team the source and we'll include it in the next mplayer release.

    sorry, we have no time to crack the 600kB DLL containing the svq3 decoder, and the 4MB DLL containing qdmc/qdm2 audio and all the others...
    (anyway it will be done sooner or later, as happened to cinepak, svq1, divx3/msmpeg4/wmv1, wma and to all the others)

    A'rpi

  55. World record library count by heroine · · Score: 2

    How many libraries, sublibraries, and DLL's does this require now? Even if you could encode just as easily as you can decode every new codec, just by tracking down a dozen libraries and DLL's, your movie would be unplayable no sooner than it became playable because the binary format changed. As for pure decoding of internet downloads, who is still getting high on thumbnail videos today?

    1. Re:World record library count by dmaxwell · · Score: 2

      The mplayer page has a tarball of codec libraries that you can download from their site. Just unpack it into /usr/lib/win32 and you're good to go with most formats mplayer supports. Just install Realplayer 8 and snarf up the dlls from Quicktime for Windows (once they put the support into a release) and you'll have nice Linux player. It isn't like you have to go download 20 different things to make it work. With Debian Sarge it's been dead easy (they provide the Debian package build stuff right in the tarball) to get mplayer working nice gui and all.

      As for thumbnails, I've been watching movies fullscreen with mplayer for months now. Also, they mplayer sources also build a tool called mencoder that will encode or translate movies into different formats. I haven't used it myself but I'm told it's pretty nice.

  56. Re:MPEG-2 in QT player? by Gogo+Dodo · · Score: 2
  57. Scale2x for fonts? by oliverthered · · Score: 2

    Hey, that looks far better than the dodgy anti-alising that I get under X, I want Scale2x fonts not AA fonts.

    --
    thank God the internet isn't a human right.
    1. Re:Scale2x for fonts? by be-fan · · Score: 2

      Um, that makes no sense. AA is used to take a perfect representation (the outline representation of Postscript and TrueType fonts, you are using outline fonts, aren't you?) and display it on an imperfect medium (the screen). Scale2x is about taking an imperfect representation (the original low res image) and displaying it better on a less imperfect medium (the screen).

      --
      A deep unwavering belief is a sure sign you're missing something...
    2. Re:Scale2x for fonts? by oliverthered · · Score: 2

      I'm using outline font's for must things but not terminals. You shouldn't need AA on vetor fonts

      --
      thank God the internet isn't a human right.
    3. Re:Scale2x for fonts? by be-fan · · Score: 2

      By vetor I presume you mean vector, as in outline fonts? The Scale2x stuff really doesn't help fonts at all, because it's the opposite problem. With fonts, you have a lot of information, but want to format it better. With resized video, you lack information and want to generate it from the already formatted output.

      --
      A deep unwavering belief is a sure sign you're missing something...
  58. Impressive by dh003i · · Score: 2

    Guessing edges and smoothing them out -- impressive. That's basically what a human artist does when (s)he takes a miniature picture and uses it to make a painting.

    When we draw a larger version of something, we don't have pixelated or blurred edges. Its great that algorithms can finally realize what an edge is and not blur it.

  59. Re:AA by Per+Wigren · · Score: 3, Informative

    No..

    AA is for making a smooth bitmap from an outline.
    2xSai is more like making an outline from a bitmap.

    Original:


    #
    #
    #


    Scaled:

    ##
    ##
    ##
    ##
    ##
    ##


    2xSai:


    ##
    ##
    ##
    ##
    ##

    --
    My other account has a 3-digit UID.
  60. Wooooooo! by Per+Wigren · · Score: 2

    Damn that is some great news!!

    Now MPlayer is missing only ONE major feature, and that is playing from those fscking rtsp://*.real.com urls... rtp/rtsp already works great for some sites, but *.real.com-servers don't follow the rtsp-protocol and uses some secret authentication-method to check that it is an official RealPlayer that is connecting... Really annoying! This will have to be fixed! 95% of the stuff people "need" to download via rtsp are on real.com-servers.. :(

    Anyway, great work!!!!!!!!!!!!

    --
    My other account has a 3-digit UID.
    1. Re:Wooooooo! by 0x0d0a · · Score: 2

      There was one person working on wget support for rtsp (finally being able to save those damn streams to disk would be nice). Unfortunately, there's some handshaking that they weren't able to figure out. If there are some clever protocol people out there, I suspect that person could use the help...

    2. Re:Wooooooo! by Per+Wigren · · Score: 2

      MPlayer can already play (and save) mms:// streams, and the rtsp:// streams that are not on .real.com-servers because they use that secret handshaking...

      --
      My other account has a 3-digit UID.
  61. 2x is a start by dh003i · · Score: 3, Informative

    Well, its a start, recognizing he edges in simple images.

    Yes, this only works well for relatively simple images -- you won't be able to zoom in on complex images with edge-retention.

    But at least its a start. The way to go about these things is to try to figure out how people can look at a wallet-sized picture and turn it into a poster without introducing blurs or pixelation. Yes, our eyes can see at a very high level of resolution, but we're not capable of consciously discerning the entirity of that resolution in a conscious manner.

    We are, in short, capable of recognizing (in a portrait) where the person's head ends, what lines define their eyes, nose, ears, hair, etc. We're also able to recognize what gradiated things (such as the increasing darkness as you approach the side of the face) should remain smooth and continuous. The idea is to allow computers to also recognize that, thus expand a wallet-sized picture into something the size of the entire screen.

    Obviously, you can't add detail where it wasn't present before. If the picture is too small to make out the freckles on the girl's face, they won't show up in the magnification. But you can at least have a realistic blow-up function.

  62. Re:why is that informative? by blakestah · · Score: 3, Interesting

    It is informative b/c it provides a non-standard archive for a rapidly changing package, mplayer.

    However, I prefer
    deb http://marillat.free.fr/ unstable main
    for mplayer et al (MANY MANY multimedia packages there).

    You will learn, if you ever use Debian, that it rocks in a way other distros do not, and that you should start by wiping RedHat, SuSE, Mandrake, or whatever off your boxen and keep it real. Install Debian across the net with a single floppy. Any aggros trolling of people using other distros is purely intentional.

  63. Re:Sweet! I was waiting for this! by nathanh · · Score: 2
    No thanks to Apple for being a royal pain in the butt when it comes to their video format.

    It's not Apple's fault. Apple has been very open with their QuickTime format, to the extent that it's one of the best supported AV transports in Linux. The big hint about who's to blame for problems playing any QuickTime movie encoded with the Sorenson codec is hidden somewhere in the name of the codec.

  64. Re:Something that bugs me about mplayer by kc8apf · · Score: 2, Informative

    mplayer starts CLI, gmplayer starts gui. It's been that way for a while.

    --
    kc8apf
  65. Re:why is that informative? by Ryan+Amos · · Score: 2

    Yeah, yeah, OT distro war, but I find debian's packages to be a bit out of date (even in unstable, which tends to live up to its name.) Not to mention that if you install anything via means besides apt, it screws things up. Not that Mandrake is any better, but IMO mandrake is a lot more user friendly than debian, plus it keeps packages on the bleeding edge. And you can install with XFS! :)

  66. Actual 2xsai link by mdw2 · · Score: 3, Informative

    the link to 2xsai is here at http://elektron.its.tudelft.nl/~dalikifa/. the link provided in the article is to Scale2x. The page even says at the top "Instead, this effect is pretty different from the SuperEagle, 2xSaI, Super2xSaI effects "

    --
    This sig intentionally left blank.
  67. ROCK by Chris+Johnson · · Score: 4, Interesting
    This is great. Not so much the Sorenson (though it does make me wonder- does that mean I could use the (older) Sorenson I have available, as an output format? I had more or less given up on ever using it seriously because I figured it was only Mac and some Windows and not accessible under Linux.)

    What I mean is, the 2Xsai stuff (under whatever name) is great. I looked at two different pages of screenshots and was blown away- it was literally like redrafting the images to make them more appealing. That's very exciting.

    Not only that- I've been flirting with the idea of doing some animations- not computer, but line art animations. I have only a simple 640x480 webcam for shooting the results, which would then be roughly NTSC resolution... LINE ART. See where I'm going with this? ANYTHING I could do with line art or even shading/crosshatching would be perfectly suited to being scaled with 2Xsai/Scale2X.

    Which is GPLed under either name, so the exact name and source isn't that important. This one is OURS. And I find that incredibly exciting. I do the same thing- I've written digital audio wordlength reduction routines that are the best in the world by some yardsticks and among the best in the world by any standard, and I made them GPLed as well. The tools are falling into place- one person doesn't have to do it all by themselves, we can help each other, and it's getting to the point where in one area after another, the hottest tricks are covered under the GPL and available.

    This is the way to do it. It's exciting to see it happening. And you bet I'm going to be coding up some sort of hack to try 2Xsai on scanned/cammed line-art. The coolest thing is that it will work just as well on any color depth, so long as you want to bring out cel-shadey effects and line edges. This is great, great stuff :)

    High fives to ALL the people who've originated, inspired, and worked on this family of scaling algorithms- and BIG THANKS from someone who will be using it to do neat stuff that maybe you hadn't even anticipated. Because you might not have known there was somebody interested in drawing line art, shooting it with a limited-res camera and scaling it up while preserving the line-artiness of it. But you've just made it possible for anyone filming hand-drawn cels at 640x480 to upscale their footage to 1280x960... which, after just a bit of letterboxing, becomes HDTV standard 1280x720. Hell, digital cinema is only 1280x1024...

    See why this is very exciting? You have a webcam-to-Feature-Film scaling algorithm there. In the event that you had such great cels that you really needed to get professional color density rather than crappy webcam color density, you can STILL do this through a simple webcam by taking multiple shots (say, 10 if you're anal) and AVERAGING them together. That completely deals with the color density problem- introduce slight lighting shifts if you want to get fancy with it. At that point it's only resolution- except, surprise! If you're working with line-art or cels, it's not! Bam, instant film/HDTV resolution output for ANYBODY.

    Sorry for getting so relentlessly technical, but this is VERY exciting and has huge, huge implications AND it's all happening under the GPL. Excuse me for suggesting that we are kicking ass. Rock on :)

  68. Re:Great! by dmaxwell · · Score: 2

    I have an i810 machine at work. I have gotten mplayer to work fullscreen with it. Some of Branden's 4.2 packages have just hit testing and those work. The i810 X driver is a little flakey and you may have to reboot to get the video chipset into a sane enough state for Xv to work.
    The OS is stable and otherwise usable; it's just that the video can go partially into lala land (DRI and Xv give up, X sometimes crashes when switching to and from virtual consoles..will restart minus DRI and Xv working). You may also have to get Intel's latest firmware for the i810.

    Also, my machine is using 16bit color depth...may make a difference. You'll have to disable a bitmap caching option to avoid some gui corruption issues at 16 bit depth. Option "XaaNoOffscreenPixmaps" in the i810 Device section takes care of it. It doesn't hit performance too badly.

    Also, DRI got much faster with the i810 xserver in testing's 4.2 debs. GLTron is playable with all of the texture eyecandy turned on.

  69. Bullshit. by Anonymous Coward · · Score: 2, Informative

    This is the last major format that was unplayable under linux and it has now been conquered!

    Windows Media 9 format (aka WMV3) doesn't work.

    Actually, it doesn't work in any other player either - even earlier versions of Windows Media Player can't make sense of it, even if the codecs have been installed on a Windows system (unlike any other WMV or AVI codec).

    Say hello to DRM "security"..

  70. Open Source donations by 0x0d0a · · Score: 2

    I wonder what impact this is going to have on future donations of code. If these guys had a couple of months to make all their money before someone makes a free piece of software using their code that pretty much renders their software pointless, I wonder whether in the future people will be willing to donate code. :-(

  71. Re:Not a good idea I think by Per+Wigren · · Score: 2

    Their fileformat (.ra/.rm) is already reverse enginered and has a GPL implementation in ffmpeg/libavcodec. Their codecs are not reverse engineered yet though, but MPlayer can still play them through the RealPlayer/RealOne DLLs.
    But they added a secret handshaking to the open rtsp-protocol to prevent people from saving rtsp://-streams to disk. The reason this should be reverse engineered is not because I have anything against Real and want to "backstab" them, it so people with 56k-modems can watch those 300Mbit streams by saving them to disk first.

    --
    My other account has a 3-digit UID.
  72. Re:Sweet! I was waiting for this! by The+Smith · · Score: 2
    The big hint about who's to blame for problems playing any QuickTime movie encoded with the Sorenson codec is hidden somewhere in the name of the codec.
    This is a common misconception. Sorenson invented the codec and holds the patent, but they have exclusively licensed it to Apple, a licence which Apple aggressively protects. Search the archives for the story of Apple taking legal action against Sorenson for licensing it to Macromedia for use in Flash, for example.

    Any use of the codec outside Apple products would require the agreement of both Apple and Sorenson. This seems unlikely to happen.

  73. Re:Great! by fialar · · Score: 2

    I'm getting the DRI driver is out of date when I try to use it. Yes, I also use the XaaNoOffscreenPixmaps and that fixes the GTK theme corruption.

    It's getting there, but I still hate the i810 chipset. Give me an NVidia or Radeon any day.