Theora Codec Ported to Java
fons writes "These guys have ported the Theora codec to Java. This means that ANY Java-capable browser can now be used to watch video streams on the net (clients don't have to download a player!). You can watch a demo showing some boring guys sitting in the office. At least the music is ok :) On their site you can find a link to an interesting interview with the
boss, and it looks like more cool stuff is coming soon."
Cb..
Now I can watch porn everywhere!
11 1101 1011111 0100 000 110 1011111 0101 10 01 1011111 101 1 011 1011111 0 1111 11 111 1011111 101
Was linking to a video feed from slashdot's front page a mistake?
Given all these reports that Java code can be made almost as quick as c/c++ (especially when number crunching), if not faster, why hasn't this happened before?
;)
Is it just that bit hackers are more comfortable in c?
I would there would be a big benefit to having decoders/endcoders in java. On that note it would be nice if there were one defacto decoder/encode instead of ffmpg, jpegtools, transcode etc.
Sorry for the ramblings, I guess everyone likes to re-invent the wheel
This guy has been working on an mpeg-4 and mpeg-1 Java player for several years and has said that it will be released within the month. The demos on thsi site, although basic, look promising. His Mpeg-4 video can apparently go full screen given enough cpu. The good bit? it's going open source.
For Real and Apple to reimplement and promote their own codecs the same way. Well, if we really want it - because Theora really does well.
The demo on Firefox w/ XP professional (i'm at work) keylocked the machine (eg, press caps lock, no light) and it appeared completely frozen until a couple three-finger-salutes woke the machine up enough to use the Back button to get out of the page.
I didn't hear any audio, but the video quality was wonderful. I'd love to dump Real et al. for this sort of thing--streaming media servers just tend to suck (anybody who's installed RealServer on a unix box will likely agree with me).
Moreover, if you have any sort of secure web application that has streaming video, you can just stick this in rather than trying to wrap the same security concept around two different application servers. That alone is Very Cool.
"[T]he single essential element on which all discoveries will be dependent is human freedom." -- Barry Goldwater
If my answers frighten you, stop asking scary questions.
Makes me curious - at this point, apparently, what Theora most needs is optimization of the code to make it work faster.
How optimized is this Java port of the codec, and will it be possible to compile it to 'native' code using GCJ for maximum performance?
Hacker Public Radio is our Friend
BTW, I did not realize that mine was the usual FP!!
Cb..
For some reason it seems to load faster than realplayer, quicktime or windows media player.
.Net apps like RSS Bandit! Its actually a real option for anyone wanting to stream video.
/.
I am using Java 5 RC which for me GUI program feel faster than
Also, please note I do feel dirty calling it Java 5...
And nice work putting a video stream on the front page! Thats nice and considerate
You can see an mpeg4 video demo here. The in-page JavaScripting seems broken, but the video and audio is good.
Don't discount the business value of these open formats - for a hardware or tools vendor it is one less license to pay.
Clients still have to download the player, it's just that the player is now in a form which is downloaded with less effort.
[
I used to work at that place during the dot com explosion, and they had some pretty neat Java-based video stuff that ran very nicely even on modems. They even ended up making the broadcast software Java-based so that they didn't need to install software anywhere. Of course, the downturn took it's toll and I think it's run out of some person's house now or something.
There is a difference between "insightful" and "inciteful" other than spelling.
Since there's a port to Java, is there anybody willing to port to .NET or Mono?
Just by chance, did you change your USER_AGENT string somehow ? If it is set to MSIE or something else than Mozilla/Gecko, Java will crash. This is a know bug of SUNs JDK :((
So you think with Flash you will be able to develop new codecs like this without updating flash plugin in your computer? You are confusing things badly dude..
the people using activex are either:
1. microsoft
2. retarded
3. all of the above
the people using flash are either:
1. 14 years old
2. incredibly annoying
3. advertisers
I just tried it in both Firefox and IE. It looks great (sounds good too) and it loads really quickly! I hope sites start switching to this rather than using real media or WMV streams for windows media player.
The guys at BannedMusic.org are using a similar system to make it simple to use BitTorrent. This combination of technologies could be the kick in the butt that Open Source needs to reach the mainstream.
.torrent files to begin downloading. And they'll be able to use other sites that require BitTorrent.
A quote:
The best solution seemed to be a simple modification of BitTorrent: an installer that runs BitTorrent and begins download of an included torrent file. Windows users can click on the "Easy Download" button on an album's download page to get a 3mb executable. When they launch this executable it installs BitTorrent (which happens very quickly in the background) and immediately begins downloading the album they were seeking. After they've used the "easy download" once, they can simply click on the
What if Digg added local news and a Slashdot inspired comment karma system? ---
http://houndwire.com
Now we only need an ActiveX plugin which will automatically download and install JRE on one's computer, and it will Just Work!
we've put up another mirror at http://194.78.112.13:8080/cortado/index.html The main site is pulling about 55Mbit/sec and is saturating at 2403 peak clients, it's still alive and kicking though :) enjoy! the fluendo team.
Reinvented really.
4 /0 9/10/2053245&tid=108&tid=97&tid=95&tid =1
The Livecam server we developed in 1995 and dominated the adult industry already did all this and supported more viewers with better quality.
We supported Motion JPEG or H.236 in 1999 with GSM audio, with 20Kbps to 70 Kbps streams.
I just love it when someone else come out with it all over again and everyone thinks it's new.
----Original Message-----
From: James S
Sent: Friday, September 10, 2004 5:18 PM
To: sokol@videotechnology.com
Cc: Jesse Monroy
Subject: Hey These guys just invented the Java player we created in 1999
Check this out. It's our player.
http://developers.slashdot.org/article.pl?sid=0
James
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
Lots of people have built Java applet video players. Fluendo isn't claiming to be the first; they're claiming to have the first Theora Java player.
No really, QuickTime for Java is just a JNI wrapper around regular QuickTime. Notice how QT4J is only for Mac and Windows. JMF can read some QuickTime files, though.
Do you have the source to your software available for all to use, free of charge? No? Didn't think so.
These guys aren't claiming to have invented a java media player, they simply ported an open source codec to a different platform. And they're doing it for free, for anyone to benefit.
everyday is another shooter.
The villian, his boss, rips off the codec and has him killed.
This technical detail was probably the most interesting part of an otherwise thoroughly mediocre movie.
BTW, I kind of had the impression that his codec generated some sort of code. That code is then transmitted to the client and executed, and is ouput is the set of pixels seen on the screen.
The world will not get better through technology. We must seek to be better people.
Just for interests' sake, that technique (code that creates the pixels) does exist, but isn't in common use any more. Back in the days of dos games, when performance was critical, self-drawing sprites were used - the code would output some executable code that would drop the sprite into video memory. Since it was moving direct values into memory, instead of reading memory and writing back, it was faster. However, as I said, the technique isn't used any more, because it's just too troublesome for what is now a minimal performance gain.
-ReK
md5sum -c reality.md5
reality: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
UT 2004 and Doom 3 both use OGG Vorbis to do their music. Well between these two engines, you are talking a lot of games. A very large number of games start by licensing either the current Epic or iD engine since they are so solid.
These two alone will provide a big boost for Vorbis in the gaming world.
Yes, the applet does use JOrbis.
Precompiling does offer advantages, at least at this point:
While there are almost always "exceptions to the rule", it's been proven out in the real world that precompiled Java generally doesn't offer performance advantages over non-precompiled Java using modern JVMs such as Sun's and IBM's, with some exceptions such as startup time.
1) More efficient binary code. Seriously, if you think you can make Java generate more efficient code than the Intel C compiler in a general purpose situation, you be my guest but you are going to lose. Intel has an extremely efficient compiler for the precompiled world and in general precompiled stuff, even on just an ok compiler, is faster than JIT.
Except we're not talking about C, we're talking about Java.
2) Access to native resources. Java abstracts everything by necessity to pull cross platform compatibility. Fine, but there is a reason for things like DirectDraw, ASIO, OpenGL, etc to exist. For video, using DirectDraw is a major performance boost. You can do it C++, you can't do it in Java.
Except we're not talking about DirectDraw, ASIO, OpenGL, etc. We're talking about Java.
Now neither of these are things that are necessiary perminant truths. It is, in theory, possible to make a JIT compiler generate as or more efficient code to a precomiler. It is also possible, in theory, to modify Java such that it can directly access accelerated OS features.
However the theoritical future has nothing to do with now. At this point, precomiled code is more efficient (in some cases quite a lot) and Java does not provide access to accelerated features. There is a REASON that Doom 3, UT 2004, etc are written in a language that precomiles to native code. Both seek to be cross platform (and UT 2004 is to an amazing extent) however Java is NOT the right tool for them at this time.
So while I certianly think something like this is cool and valuable, and am glad to see it implemented, don't think that it'll be as fast or efficient as a native player compiled with ICC.
The OP was theorizing about precompiling Java to achieve better performance. Not about using the Intel C compiler, or Java's ability (or lack thereof) to call APIs such as DirectDraw, etc.
Java applets have been around for some time now. The number of remote system exploits has been *extremely* low in the last few years. (Not that the total number of exploits has been very high.) In fact the vast majority of Java expolits through an applet has been social engineering (a Java window popped up that looked like a system dialog) rather than technical exploitation.
Basically in order to install spyware with Java, you have to set up a web page (accountability), get people to come to your page, find a bug in a particular browser/VM combination that allows remote access to the file system AND allows native code to be executed.
As it stands today, I have never heard of an actual case of a web site installing spyware on a system via a Java applet. Of course this isn't to say that it could never happen. Anything could happen. But the fact that I have never yet heard of it happening in the ten years that Java has been released versus the number of spyware installs via ActiveX speaks volumes to me.
- I don't need to go outside, my CRT tan'll do me just fine.
The Theora Java thing is an implementation of Theora in Java, the Quicktime Java thing is simply a wrapper round the standard Quicktime stuff.
I think you were at cross-purposes there.
404 Not Found: No such file or resource as '.sig'