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
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
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.
..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?
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
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
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
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 :)