如何在Java中播放3gp文件?
这是一个Java问题。 我尝试使用 Fobs4jmf 玩 3gp。我可以看到视频,但没有任何声音。 有什么解决办法吗?
我尝试了一个名为 xuggler 的新库,但我只看到如何操作、修改视频而不是播放视频文件。可以用它播放视频、声音吗?
这是Fobs4jmf无法播放的音频文件(纯声音文件) http://gonow.no-ip.org/example.3gp
谢谢
It is a Java question.
I try to use Fobs4jmf to play 3gp. I can see the video but without any sound.
Is there any solution?
And I try a newer library called xuggler, but I only see how to manipulate ,modify the video instead of playing a video file. Is it possible to use it play video,sound?
Here is the audio file that can not be played by Fobs4jmf (Pure sound file)
http://gonow.no-ip.org/example.3gp
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从您的 example.3gp 来看,它的属性如下(使用 KMP Player):
您可以通过 VLCJ 使用 libVLC/VLC 库,该库应该能够打开任何媒体格式和容器。但是,问题是 GPL 版本的 libVLC/VLC 不支持 3GP 容器中使用的 AMR 音频格式,因为以下声明(来自维基百科):
此外,当引用此消息http://mailman.videolan。 org/pipermail/vlc-devel/2011-February/078807.html,它说:
通过上面的消息线程,即使它能够通过受限版本打开AMR音频格式,它在AMR文件查找方面确实存在问题:
http://mailman.videolan.org/pipermail/vlc-devel/2011-February/078814.html
From your example.3gp, it states its properties as follows (using KMP Player):
You can use libVLC/VLC library via VLCJ which is supposed to be able to open any media format and containers. But, the problem is that GPL version of libVLC/VLC doesn't support AMR audio format used in 3GP container due to following statment (from Wikipedia):
Moreover, when referring to this message http://mailman.videolan.org/pipermail/vlc-devel/2011-February/078807.html, it says:
Going through the message threads above, even if it is able to open AMR audio format via restricted version, it does have problem with AMR file seeking:
http://mailman.videolan.org/pipermail/vlc-devel/2011-February/078814.html