linux下可以播放mpeg文件吗
我正在尝试在浏览器中播放视频。我在 HTML 中使用“嵌入”标签。
问题是,我正在尝试使用 Linux 中的浏览器,但我没有在浏览器(firefox)中安装该插件。当我单击“安装缺少的插件”时,它显示错误,无法安装。
是因为linux下无法播放mpeg文件吗?请帮忙
I am trying to play video in browser. I use 'embed' tag in HTML.
The problem is, i am trying with a browser in linux, but i dont have the plugin installed in the browser(firefox). When i click ' install missing plugins', it says error saying unable to install.
Is it because mpeg file can't be played in linux? Please help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,这是因为浏览器的已知插件数据库中没有合适的插件。我相信 VideoLan Client 有一个插件可以处理它。
如果您想在网络上制作视频,那么您通常最好要么简单地采用 Flash 路线,要么以 WebM 和 h.264 格式提供视频并使用
元素(通常使用 Flash 作为旧版本 IE 的备份)。这具有比 MPEG 1 视频更高的带宽效率的额外好处。
No, it is because there isn't a suitable plugin in the browser's database of known plugins. I believe VideoLan Client has a plugin that could cope with it.
If you want to do video on the web, then you are generally best off either simply going down the Flash route, or providing the video in WebM and h.264 and using the
<video>
element (usually with Flash as a backup for older versions of IE). This has the added benefit of being much more bandwidth efficient than MPEG 1 video.有两个选项,mplayer 或 xine...我更喜欢 mplayer.. 转到
http:// /www.mplayerhq.hu/homepage/design6/dload.html 并下载源文件之一...
要安装:
1)转到 CLI(命令行界面),它应该是 konsole、xterm 或其他东西像那样
2)使用此语法转到目录 |光盘| cd ..(转到上一个目录)并使用命令 ls 查看当前目录中的内容。
3) 输入 tar -zxvf "filename"
4) 它将创建一个文件夹,cd 进入该文件夹
5) 输入 ./configure
6) 输入 make
7) 输入 su 并输入 r00t 的密码
输入 make install
8)在命令行中 now ,应该有一个命令mplayer,玩得开心!
There are two options, mplayer or xine... I prefer mplayer.. go to
http://www.mplayerhq.hu/homepage/design6/dload.html and download one of the source files...
To install:
1)go to your CLI (Command Line Interface) which should be konsole, xterm or something like that
2)go to the directory using this syntax | cd | cd .. (goto previous directory) and use the command ls to view whats in your current directory.
3)type tar -zxvf "filename"
4)it will create a folder, cd into that folder
5)type ./configure
6)type make
7)type su and enter password for r00t
8)type make install
now in the command line, there should be a command mplayer, have fun!