开发者

Java Framework for applet that plays video streams/files (mjpeg/divx/h.264)

开发者 https://www.devze.com 2023-03-14 01:29 出处:网络
Can you tell me the best solution today to make an applet that plays mjpeg/divx/h.264. I need it to work on systems without installing any additional software (like jmf).

Can you tell me the best solution today to make an applet that plays mjpeg/divx/h.264. I need it to work on systems without installing any additional software (like jmf).

The client simply goes to a web page, lo开发者_如何学编程ads the applet and sees the video stream/file.

Thanks for any help.


Are you looking to just serve content or have something like a player in a web browser where the user can select their files (or something along those lines?) Because if you're just serving the content, the best way would be to convert it to FLV on the server side using something like ffmpeg and then just use a flash player. If you don't want to use flash, HTML5 video would also be an option.

If you definitely want to go down the applet route, then you could wrap up something like VLCj in an applet and use that. You'll need to include libvlc.dll/so, and you'll need to make sure it's signed, but if you do that it should work.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号