Theora Codec Ported to Java 237
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."
Slashdotters will agree... (Score:2, Interesting)
Cb..
Re:Slashdotters will agree... (Score:2, Informative)
Thus it still seems that to reach the largest market, providing streaming video in WMV and QuickTime (and possibly Real) formats would be the best solution.
This would have been a great development five years ago, though.
Strategy... (Score:3, Insightful)
BTW, I did not realize that mine was the usual FP!!
Cb..
Re:Slashdotters will agree... (Score:2, Insightful)
This can just be the web page embedded client for non-windows machines.
Re:Slashdotters will agree... (Score:2)
Re:Slashdotters will agree... (Score:5, Insightful)
The fact is that faster computers have not really resulted in us running the same programs faster. It's resulted in us running bigger, fancier programs at the same speed we always have.
It took about 3 minutes for my 20 Mhz 286 to boot up. It takes about that long for my 2 Ghz Athlon to do the same.
What's the difference? Go on back and USE that 80286 AT for a while, and tell me what that software "bloat" really got you...
Re:Slashdotters will agree... (Score:2)
None of which I use, but that's besides the point.
You aren't comparing similar items... eg. Even if you run slow, bloated KDE, it doesn't slow down how fast you can playback a video in MPlayer. However, how fast the programming languague is, poses a much more serious problem. Also, you mention Perl/PHP, which you will notice are NEVER used to process video, as is being done with Java... They are used only in environmen
Re:Slashdotters will agree... (Score:2)
So, in other words, you're not running the same programs faster; you're running bigger, fancier programs that do things you couldn't do before.
Just like he said.
Re:Slashdotters will agree... (Score:2)
2) I wish I had a link - somebody wrote a DVD decoder as a perl regular expression that could decompress a DVD in real-time on a >2 Ghz P4. A
Re:Slashdotters will agree... (Score:5, Insightful)
Javascript is NOT java, so saying "Javascript is vulnerable, so Java must be" is pointless.
I'm not necesarily saying that java isn't a security hole, I'm just asking that if you're making the claim, then make sure the evidence you provide is relevant.
as for 2, what you said there applies to all media players.
WMP, Quick Time, Real One, they all eat memory and processor cycles.
Have you actually tried it? I don't think that you can claim that it will bog down the machine and be worthless until you try it yourself.
I haven't tried it either, so I can't say that you're wrong, but there is nothing in your post that gives any real evidence as to why this codec is worthless. Speculation is not evidence.
Re:Slashdotters will agree... (Score:2)
cause the more they eat the more they fling da pooh.
thx.
Re:Slashdotters will agree... (Score:2)
The sound isn't working for me, I just get a small 'burst' of noise at the beginning and then silence....but the image is remarkably clear and nice. For a while I couldn't figure out if it was working and I thoguht I was just looking at the 'loading' screen or something.
Then I realized what I was looking at was the camera pointed at his monitor.
Now was this supposed to be a live feed? If it is...that's the best I've ever seen, (over the internet)
Great! (Score:3, Funny)
Re:Great! (Score:2, Funny)
Its it just not working for me or... (Score:5, Funny)
Fat pipes and little VMs (Score:2)
What's really interesting is to see such serious DSPing work so well in Java. Which doesn't have a very good reputation for this sort of thing. I wish I knew how much improvement comes from improved Java VM, and how much is just because everybody's running 1 ghz systems.
Re:Fat pipes and little VMs (Score:2)
Re:Fat pipes and little VMs (Score:2)
Wondering why this hasn't been done previously (Score:5, Interesting)
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
Re:Wondering why this hasn't been done previously (Score:4, Informative)
Anyway, I suspect the newness of an unencumbered open source codec has a lot to do with why this wasn't done before.
P.S. OW! Somebody turned up the volume on the video feed! (During Aerosmith's/Run DMC's Walk This Way) I'm shocked the feed is still up. (Watching on win2k, Firefox 0.8 (yeah, need to update) w/ Sun Java 1.4.2_04.)
Re:Wondering why this hasn't been done previously (Score:2)
Besides, Theora isn't stable, it's still in alpha. And yes, while above I said that it counts what it IS not what they CALL it, but alphas are not even feature complete, let alone stable.
Re:Wondering why this hasn't been done previously (Score:3, Informative)
Re:Wondering why this hasn't been done previously (Score:3, Interesting)
Re:Wondering why this hasn't been done previously (Score:3, Informative)
Yes.
Who cares about Xvid? Really now.
Take a look at ffmpeg/libavcodec, lots and lots of very fast, very high quality, very stable codecs for encoding/decoding. All lgpl'd.
I believe MPEG-1 is completely unencumbered, due to patents expiring, and has been for quite some time.
Re:Wondering why this hasn't been done previously (Score:3, Informative)
They did, and they called it Ogg Theora.
Re:Wondering why this hasn't been done previously (Score:2)
Theora requires a different container format, cannot be decoded with the VP3 codec that many platforms already have installed, and STILL isn't even in beta stage.
I certainly hope Theora becomes a good codec, but I've been following development, and it looks like 3 years wasted for nothing.
Re:Wondering why this hasn't been done previously (Score:2)
Opposite? When 0.9 came out, everybody praises how it's faster than previous releases.
Re:Why upgrade? (Score:2)
Well, I could manually apply the patches to my older version if I was worried, but who's woried?
It's running on a platform with W^X, Propolice, stack protection, etc. Plus, I have it running under systrace.
Re:Wondering why this hasn't been done previously (Score:2)
Then you aren't using the right programs.
Something like MPlayer/ffmpeg can be rather easily scripted to do any encoding you want to, from practically any source video/audio.
No, it wouldn't be nice, it would be completely stupid. Those that have something
Re:Wondering why this hasn't been done previously (Score:3, Interesting)
Java was very slow for several years. It still suffers from a large memory footprint, and if you are processing a stream or large data set you have to be somewhat intelligent about how you write your code so as to prevent copying lots of data unnecessarily.
In my view, it's probably more important that whatever reference algorithm is specified, tha
Re:Wondering why this hasn't been done previously (Score:2)
Who wants yet another video codec on the web?
Don't worry, I agree with you that it should have happened sooner, but I can't ignore the former life I led where I worked at a company making web video technology. It was typically "make it work in WMP or Real Player or get it." Can't say I blame them, their audiences didn't demonstrate interest in
Re:Wondering why this hasn't been done previously (Score:5, Informative)
So it performance stills lacks, but i am still impressed that class and decoder load that quick even under slashdot load....
Re:Wondering why this hasn't been done previously (Score:3, Insightful)
I'd bet that a lot of the CPU utilization comes from the fact that it wouldn't be using direct draw like most players would rather than any codec issues.
Wonder if jdk 1.5 would make a difference in CPU.
Re:Wondering why this hasn't been done previously (Score:2)
Re:Wondering why this hasn't been done previously (Score:4, Informative)
I bet if I used OSS, it might make a difference. It may even be sending the sound through the X11 Server for all I know.
I'm satisfied since my Java was using 10%. Java either does, or will, use OpenGL at some point (ldd doesn't seem to think so, but Java loads all platform libraries dynamically except for a few basics, and X11 if it is being used as a plugin). Also, I don't know if the codec even bothers to support Java2D. It may be that I get 50% CPU utilization because it keeps sending X11 calls to the X server using X11 Accel. that is really old to be compatible with remote X11 servers.
I hope this sheds a little more light into what's going on, and maybe someone that knows a bit more about Java2D and Linux/ALSA/X11 workings can make some more educated guess that I can.
I use the NVIDIA OpenGL under Debian with the latest Debs for everything in unstable (I even have it working with Neverwinter, and get more than adequate FPS) 2.7.8 Kernel, NVIDIA's AGP driver.
Re:Wondering why this hasn't been done previously (Score:3, Informative)
Re:Wondering why this hasn't been done previously (Score:2, Interesting)
Re:Wondering why this hasn't been done previously (Score:2)
Re:Wondering why this hasn't been done previously (Score:2)
Re:Wondering why this hasn't been done previously (Score:2)
Re:Wondering why this hasn't been done previously (Score:3, Informative)
Re: open source with mpeg-4 in Java (Score:5, Interesting)
Re: open source with mpeg-4 in Java (Score:4, Informative)
It's right the time (Score:2, Insightful)
Re:It's right the time (Score:2)
Cool ... but (Score:4, Interesting)
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.
Re:Cool ... but (Score:2, Funny)
Compilable with GCJ? (Score:5, Interesting)
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?
Re:Compilable with GCJ? (Score:2, Informative)
Re:Compilable with GCJ? (Score:5, Informative)
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?
Most of the time, Java code is Just-in-Time (JIT) compiled. Even the old MS Java Virtual Machine that comes with IE will JIT compile Java bytecode.
That means the Java bytecode is compiled on-the-fly. You generally end up running native code.
The latest Sun JVMs (and it's been this way for quite a while) will interpret code that doesn't get called often, but will aggressively compile code that gets called a lot. The theory is that the end result can perform better than Ahead-of-Time (AOT) compiled code.
In a nutshell, pre-compiling doesn't offer any performance advantages.
Re:Compilable with GCJ? (Score:3, Insightful)
That's a claim which is unproven. There are applications where gcj provides a significant speed-up, and there are others where Sun's JIT-VM runs faster. But it's not necessarily a fair comparison: Sun has spent a lot of resources on a smart and highly-tuned implementation, but there has been comparitively little work on Java-specific optimizations in GCJ. (Most of the effort has focused on functionality, especially the libraries.)
Re:Compilable with GCJ? (Score:2)
I'd expect short lived applications where JVM startup time is significant, or ones with very few loops or other repeated code to be in the first category, while long lived processes that basically repeat the same sequence of instructions (eg video codecs) would be in the second category.
Ummmm, not so much (Score:2)
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.
2) Access to native resources. Java abstracts everything by necessity to pull cross platform compa
Re:Ummmm, not so much (Score:2)
So why do I see recommendations in Sun's bug database to use the command-line option -Dsun.java2d.noddraw to work around certain display bugs?
Re:Ummmm, not so much (Score:3, Insightful)
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 gu
Re:Compilable with GCJ? (Score:2, Informative)
Re:Download it! (Score:2)
Yes, I know (I have it, in fact) - what I meant was THAT code is, apparently, in need of being optimized (from a source-code perspective, not from a "compiler options" perspective).
What I was wondering is whether in the process of porting the code to Java, they'd done any optimization there which might make it run faster/more efficiently than the as-yet-minimally-optimized C code at the theora.org site...
Seriously works! (Score:5, Insightful)
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
Re:Seriously works! (Score:5, Insightful)
Makes you notice how far Java has came peformance-wise lately. Ah, and kudos to the programmers. This is great work.
Its not futile! (Score:5, Insightful)
Don't discount the business value of these open formats - for a hardware or tools vendor it is one less license to pay.
Re:Its not futile! (Score:5, Interesting)
Same with games. Why compress your audio with mp3 and have to pay a fee when you can use ogg vorbis for free?
And it's already happening (Score:5, Informative)
These two alone will provide a big boost for Vorbis in the gaming world.
clients still have to download a player (Score:5, Insightful)
Clients still have to download the player, it's just that the player is now in a form which is downloaded with less effort.
Re:clients still have to download a player (Score:2)
Now, you could argue any codec implementation could be downloaded automatically. But that is not practical or desirable unless 2 concerns are resolved:
1) A reliable way to make the client download the right binary version of the codec (mac? win? linux - and if so what libc? and so on).
2) Security - I don't particularly want to run "InstallJoeBloggsCodec.exe." It could install spyware, put junk in my registry, open a back door server, who knows what.
Java is made fo
Re:clients still have to download a player (Score:5, Insightful)
This is very very good.
Re:clients still have to download a player (Score:3, Interesting)
(Unless that's changed since I last did applet stuff, which is a few years now)
Re:clients still have to download a player (Score:3, Insightful)
It's kind of like bulk email. Back when spam was only one message in fifty, picking it out was easy. After a majority
More like 99.999% (Score:3, Informative)
Basically in order to install spyware with Java, you have to set up a web page (accountability), get people to come to your page, f
Reminds of of Hello Network (Score:4, Interesting)
Port to .NET/Mono (Score:2, Insightful)
Re:Port to .NET/Mono (Score:2)
Re:Port to .NET/Mono (Score:2)
Here it means "free" as in "dictated by Microsoft".
Looks great and loads quick (Score:5, Insightful)
Re: (Score:2, Redundant)
Same Idea but with BitTorrent (Score:5, Interesting)
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
It Just Works! (Score:4, Funny)
oh my god (Score:2)
and there he went and knocked the camera off its mount. sweet!
Hey These guys just invented the player we created (Score:2, Interesting)
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 Ja
Re:Hey These guys just invented the player we crea (Score:4, Insightful)
Re:Hey These guys just invented the player we crea (Score:2, Insightful)
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.
Ugh. Something Like Antitrust (Score:3, Interesting)
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.
Not a new technique (Score:2, Interesting)
Re:Ugh. Something Like Antitrust (Score:2)
I seem to remember the creator of Vorbis (Monty) writing once that he wanted to make an audio codec exactly like that but that there wasn't enough time. The priority was to get a working codec out there, which later became Vorbis.
I can't seem to find anything about it on Google so it's possible I imagined it
Re:Audio (Score:3, Interesting)
Re:Audio (Score:2)
Re:Firefox crashed! :( (Score:4, Informative)
Re:Firefox crashed! :( (Score:2)
Re:Uhmmm Yea....so whats new??? (Score:2, Insightful)
Re:Uhmmm Yea....so whats new??? (Score:5, Funny)
1. microsoft
2. retarded
3. all of the above
the people using flash are either:
1. 14 years old
2. incredibly annoying
3. advertisers
Re:Uhmmm Yea....so whats new??? (Score:2)
Re:Uhmmm Yea....so whats new??? (Score:2)
I wish this would have been around and in use around the spaceshipone flight, wouldn't have had to jump around through hoops getting new mediaplayer and new new realplayers.. could just have pointed at some page and it would have *just worked*, no messing around with players or codecs.
besides, this isn't a java 'feature', a feature of java is that you can actually write something like th
What kind (Score:2)
Re:What kind (Score:2)
Re:gmail invites (Score:5, Informative)
Re:QuickTime (Score:3, Informative)
Re:QuickTime (Score:3, Informative)
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.
Re:You don't have to download... (Score:2)
Most new PCs ship with Sun's VM pre-installed (Dell do this), so no need to install anything.
Re:out of memory (Score:2)
My mistake (Score:2)
JOrbis! (Score:2, Informative)