Originally posted by nanonyme
View Post
Announcement
Collapse
No announcement yet.
H.264 VA-API GPU Video Acceleration For Flash
Collapse
X
-
-
Originally posted by miles View PostSpeak for yourself. If you've only ever concentrated on Gnash, sure you might have your own gripe with the piece of code. If, like millions of flash users, you've been wondering why Adobe can get their act together and provide some video that doesn't hog anything less than a high end CPU, only to hear their excuses that it's too hard a problem to solve (when any media player can play 2 times more complex videos flawlessly), you'd give a bit more slack to Gnash.
Comment
-
Originally posted by BlackStar View Post
Gnash passes the video stream to the VA-API, which either decodes in hardware, passes it to VDPAU or uses some other method to decode the video (FFMPEG?) Gnash itself shouldn't be at risk.
Originally posted by BlackStar View Post
Besides, Flash itself is heavily patented. Does this invalidate Gnash as a "viable Free Software flash player"?
The only correct course of action regarding patents is to act as if they didn't exist (unless you are a large company that can afford its own patents or a patent troll).
As for patents in general -- it is irresponsible and dangerous for Free Software developers to ignore known patents. Surely one cannot know every possible patent, but there are plenty of well known patents that are actively enforced -- such as Mpeg-2 and H.264. Implimenting those technologies should only be done in a manner that can be easily seperated -- for example by releasing two source packages, one with the encumbered code, and one without (or a patch or diff, or whatever). That way the software can be used in countries without software patents with all the full features, without sabotaging it in countries like the US.
As you implied, there are plenty of patent trolls out there (SCO anyone?). In order for Free Software to gain widespread acceptance, businesses have to have reasonable assurance that simply using it won't leave them open to lawsuits. Sure, they could hire someone to do a patent review and gut out all of the offending code, but it would be far, far easier if developers would simply remember that not everyone can simply disregard patents as meaningless, even if they can.
Comment
-
The only issue is that if you try to research which patents apply to your software and you actually get sued, you are eligible for much, much larger penalties than if you simply say "I didn't know". The result is that it's best to not search the patent database at all.
Businesses should use enterprise distributions (RHEL, SuSE) which are hardened against this threat. These distros don't distribute (potentially) encumbered software for a reason.
Of course, nothing can protect you from the likes of SCO. Sometimes, the best solution is to go ahead and hope for the best.
Comment
-
I have got problems to compile gnash, it is not really clear how to build only a firefox/iceweasel plugin and nothing for kde3/kde4. Also building against internal ffmpeg would be much better, which is possible with mplayer. mplayer works for me with vaapi (using the vdpau wrapper), the reflect effect looks funny - just nothing that you would really need. As libva is a build-dep for gnash anyway this script could still be helpful for Debian/Ubuntu:
Tested even with U 9.10 live mode - i enabled build of i965 driver, vainfo worked too, but mplayer just crashed even with simple mpeg2.
Comment
-
Originally posted by Kano View PostI have got problems to compile gnash, it is not really clear how to build only a firefox/iceweasel plugin and nothing for kde3/kde4.
Also building against internal ffmpeg would be much better, which is possible with mplayer.
Tested even with U 9.10 live mode - i enabled build of i965 driver, vainfo worked too, but mplayer just crashed even with simple mpeg2.
Comment
-
Well when you have got lots of other packages in your system which is build against an older ffmpeg snapshot like in debian lenny you will really prefer internal solutions. I see no real performance problem to compile those small bits more often - a complete mplayer compile takes only 3 min or less on my cpus.
Comment
Comment