简体   繁体   English

有没有允许无需任何预装驱动程序即可播放视频的框架? (H264)

[英]Is there a framework that allows playing of video without any pre-installed drivers ? (H264)

I've been looking all over the web to find something that allows me to play H264/Mpeg4 videos in java. 我一直在网上寻找可以让我用Java播放H264 / Mpeg4视频的东西。 The videos are recorded on an android device and i would like to attach a java programm to my app that the user can move/copy to his/her harddrive and execute to play the video on the computer (bigger screen, mouse input etc). 这些视频记录在android设备上,我想在我的应用程序上附加一个Java程序,以便用户可以将其移动/复制到他/她的硬盘驱动器上并执行以在计算机上播放视频(更大的屏幕,鼠标输入等)。

I did find xuggler, vlcj, ffmpeg, gstreamer. 我确实找到了xuggler,vlcj,ffmpeg,gstreamer。 They all say that they require some driver etc to be installed on the computer. 他们都说他们需要在计算机上安装一些驱动程序等。 But i need something that runs in pure java and that can be put into the jar that i will put into my app or website dl. 但是我需要可以在纯Java中运行的东西,并且可以将其放入我将要放入我的应用程序或网站dl中的jar中。

It has to be as simple as that, user dl the jar and executes and is able to watch the video that is stores on the android device (i realize that it requires the user to have java installed, but thats the only thing i want to burden them with). 它必须如此简单,用户dl jar并执行并能够观看存储在android设备上的视频(我意识到这需要用户安装Java,但这就是我唯一想做的事情负担他们)。

Links or tutorials are welcome. 欢迎链接或教程。 (i work a lot with android but hardly with plain java, so the lack of multimedia abilities is kinda throwing me off balance) (我在android上工作很多,但在普通的Java上却很少,所以缺乏多媒体功能有点让我失去了平衡)

JCodec是一个最近的项目,旨在提供纯Java的视频和音频解码器实现,值得一试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM