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."
"I'm 2xSaI for my shorts"?
Doh!
But mommy, why do they hurt Tux like that?
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.
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.
No, it means those .movs encoded with Sorenson v3. Including all newer trailers on Apple.com.
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.
Okay, its not clear from the site, what file formats remain unsupported/unplayable?
GPL'd web-based tradewars themed space game
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.
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
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?
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
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.
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.
Plugger is mplayer aware.
Works fine with plugger, just edit it into /etc/pluggerrc and it plays just fine.
..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.
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.
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?
Crossover does a lot more than just play Quicktime stuff. Flash, Realplayer, Trillian and all sorts of other plugins are included too.
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.
echo "http://mplayer.nmeos.net/ unstable main" >>
apt-get install mplayer-686
apt-get install mencoder-686
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?
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.
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.
Here is where his packages are now.
http://marillat.free.fr/
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.
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 (=
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.
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. ;)
Don't you mean
/etc/apt/sources.list
/etc/apt/sources.list
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
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
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.
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.
social sciences can never use experience to verify their statemen
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.
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.
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.
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 :)