

Mplayer Adds Sorenson v3 To the Linux Roster 259
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."
Let the slogans begin... (Score:4, Funny)
Doh!
Well it can *almost* play sorenson! (Score:5, Informative)
Re:Well it can *almost* play sorenson! (Score:4, Funny)
Someone at mplayerhq must have pissed off a
Re:Well it can *almost* play sorenson! (Score:3, Funny)
Re:Well it can *almost* play sorenson! (Score:3, Funny)
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?
How I install mplayer (Score:5, Informative)
echo "http://mplayer.nmeos.net/ unstable main" >>
apt-get install mplayer-686
apt-get install mencoder-686
Re:How I install mplayer (Score:5, Informative)
echo "deb http://mplayer.nmeos.net/ unstable main" >>
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...
Re:What IP? Re:How I install mplayer (Score:4, Informative)
http://marillat.free.fr/
Re:What IP? Re:How I install mplayer (Score:4, Informative)
echo "deb http://mplayer.nmeos.net/ unstable main" >>
but since that doesn't seem to work anymore, try
echo "deb http://marillat.free.fr/ unstable main" >>
F.O.Dobbs
Re:why is that informative? (Score:3, Interesting)
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.
Re:Well it can *almost* play sorenson! (Score:5, Informative)
Download the MPlayer source from the MPlayer homepage.
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.
Re:Well it can *almost* play sorenson! (Score:3, Informative)
I was actually quite overwhelmed too. (Score:2)
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.
Re:Well it can *almost* play sorenson! (Score:3, Funny)
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
Re:Well it can *almost* play sorenson! (Score:4, Funny)
Well... (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
w00t! (Score:5, Funny)
Re:w00t! (Score:3, Funny)
Re:w00t! (Score:5, Informative)
browser plugins? (Score:2, Interesting)
Re:browser plugins? (Score:3, Informative)
I haven't tried this plugin yet, but I noticed it last night. Perhaps someone here can tell us about their experiences with it?
Re:browser plugins? (Score:3, Informative)
Thanks for the info. (Score:5, Informative)
http://fredrik.hubbe.net/plugger.html [hubbe.net]
Says that it works with Opera, so it has my attention. Does it work with streaming of WMV files?
Plugger sucks (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.
Re:browser plugins? (Score:3, Informative)
Re:browser plugins? (Score:3, Informative)
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.
Re:browser plugins? (Score:2)
Advancemame (Score:5, Informative)
It's still cool voodoo, of course.
Re:Advancemame (Score:4, Interesting)
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'?
2xsai vs. Eagle (Score:3, Informative)
is sai2x basically 'eagle'?
Eagle and Kreed's 2xSaI [tudelft.nl] are based on different algorithms. The "Super Eagle" and "Super 2xSaI" filters by Kreed are combinations of the techniques of Eagle and 2xSaI.
Re:2xsai vs. Eagle (Score:3, Informative)
Artist's intent (Score:2)
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.
times two! (Score:4, Funny)
and an MP3 player that doubles the number of notes in a song by guessing and filling them in!
-
Re:times two! (Score:3, Insightful)
Actually it's much more akin to the texture anti-aliasing done by graphics cards, but still.
Spectral band replication (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.
Re:times two! (Score:2)
Re:times two! (Score:2)
Sweet! I was waiting for this! (Score:5, Informative)
Speaking of MPlayer, has anyone tried this [webfreetv.com]? 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.
Re:Sweet! I was waiting for this! (Score:3, Informative)
Well, true... (Score:2)
Re:Well, true... (Score:2, Informative)
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.
Re:Sweet! I was waiting for this! (Score:2)
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).
Re:Sweet! I was waiting for this! (Score:2)
Re:Sweet! I was waiting for this! (Score:2, Funny)
For your girlfriend...riiiiggghhhtt
Re:Sweet! I was waiting for this! (Score:5, Informative)
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.
Re:Sweet! I was waiting for this! (Score:3, Informative)
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
Re:Sweet! I was waiting for this! (Score:2)
Re:Sweet! I was waiting for this! (Score:2)
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.
Re:Sweet! I was waiting for this! (Score:2)
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.
Guessing lines (Score:2)
Whats NOT supported now? (Score:4, Interesting)
There isn't much. (Score:5, Informative)
Here is a codec status page: http://www.mplayerhq.hu/DOCS/codecs-status.html [mplayerhq.hu]. 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.
ATRAC support is already there (Score:2, Informative)
"Needs some DLL's from QT5"? (Score:3, Interesting)
Re:"Needs some DLL's from QT5"? (Score:3, Interesting)
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.
Not how copyright works (Score:5, Informative)
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 (=
Re:"Needs some DLL's from QT5"? (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.
Re:"Needs some DLL's from QT5"? (Score:2)
The *real* 2xSaI site (Score:4, Informative)
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 [zsnes.com] and here [zsnes.com].
Re:The *real* 2xSaI site (Score:5, Informative)
Kreed's Homepage: 2xSaI : The advanced 2x Scale and Interpolation engine [tudelft.nl]
exactly how hacked up is this? (Score:2, Informative)
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.U0G
Re:exactly how hacked up is this? (Score:2)
Some subtle corrections (Score:4, Interesting)
What? (Score:2)
Wouldn't it be simpler to just run QT5 under WINE? This doesn't really look like support, from my point of view.
Except that the Qt5 GUI sucks ass... (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.
Mencoder GUI. (Score:2)
http://sourceforge.net/projects/kmencoder/ [sourceforge.net]
Soon... (Score:2)
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.
_______________________________________________
Crossover (Score:3, Interesting)
Re:Soon... (Score:3, Informative)
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.
Re:Soon... (Score:2, Informative)
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
Improving Scale2x? (Score:4, Interesting)
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...
Scale2x for fonts? (Score:2)
Weak - it's closed source (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.
Re:Weak - it's closed source (Score:5, Informative)
A'rpi
Re:Weak - it's closed source (Score:3, Informative)
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.
mplayer for Debian please (Score:2)
Re:mplayer for Debian please (Score:2)
Re:mplayer for Debian please (Score:2)
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
Re:mplayer for Debian please (Score:2)
Not the first... (Score:5, Insightful)
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.
Not truly compatible. (Score:5, Funny)
Will this bug be fixed in a later release?
Hmmm... You know, you have a good point. (Score:4, Interesting)
Wine...Blech (Score:2)
Re:Wine...Blech (Score:2, Insightful)
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.
World record library count (Score:2)
Impressive (Score:2)
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.
Wooooooo! (Score:2)
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!!!!!!!!!!!!
2x is a start (Score:3, Informative)
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.
Actual 2xsai link (Score:3, Informative)
ROCK (Score:4, Interesting)
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 :)
Re:Does this mean .mov? (Score:4, Informative)
Re:Windows Media Player Killer (Score:2, Insightful)
Re:Windows Media Player Killer (Score:2)
Re:Windows Media Player Killer (Score:2, Interesting)
Media Player Classic [edensrising.com] combined with FFDShow [sourceforge.net] 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.
Re:MPEG-2 in QT player? (Score:2)
Re:MPEG-2 in QT player? (Score:2)
Re:AA (Score:2)
Re:AA (Score:3, Informative)
AA is for making a smooth bitmap from an outline.
2xSai is more like making an outline from a bitmap.
Original:
#
#
#
Scaled:
##
##
##
##
##
##
2xSai:
##
##
##
##
##
Trigger happy mods. (Score:2)
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
Re:Something that bugs me about mplayer (Score:2, Informative)