Playing Baidu MP3 online in Fedora8

Source: Internet
Author: User
Note: The version (Fedora8 + Firefox + Mplayer + mplayerplug-in) has not been tested in other versions. Baidu has published many articles about APT installation of media plug-ins, but I am a FEDORA and I cannot find Mozilla-mplayer when I use YUM to install APT. Later I found that mplayerplug-in can be used. The web page finally has a sound. MP3 and WMA pass. 1. mplayer must be installed first, because our plug-in is based on mplay.

Note: The version (Fedora 8 + Firefox + Mplayer + mplayerplug-in) has not been tested in other versions.

Baidu has published many articles about APT installation of media plug-ins, but I am a FEDORA and I cannot find Mozilla-mplayer when I use YUM to install APT. Later I found that mplayerplug-in can be used. The web page finally has a sound. MP3 and WMA pass.

1. mplayer must be installed first, because our plug-in is implemented based on mplayer.
Mplayer source package: http://www.mplayerhq.hu/design7/dload.html

You must add the/usr/local/mplayer/bin directory to the PATH of your system. Otherwise, you cannot call mplayer. You 'd better log out and log on again after setting the PATH.

2 install mplayerplug-in
: Http://mplayerplug-in.sourceforge.net/download.php

This example uses the latest 2.75 as an example.
# Tar zxvf mplayerplug-in2-.75.tar.gz
# Cd mplayerplug-in
#./Configure
# Make

If you use mozilla
# Cp mplayerplug-in.so/usr/lib/mozilla-version/plugins
# Cp mplayerplug-in.xpt/usr/lib/mozilla-version/components
Among them, mozilla-version is your system's mozilla version.

For firefox
# Cp mplayerplug-in.so/usr/lib/firefox-version/plugins
# Cp mplayerplug-in.xpt/usr/lib/firefox-version/components

Firefox-version is the firefox version of your system.

3 Configuration
Cp mplayerplug-in.conf/etc/

Modify mplayerplug-in.conf to meet your needs

The following is an example of my configuration.
# Debug = 0
# Logfile = $ HOME/mpp. log
Vo = x11, xv
Ao = alsa, arts, esd, oss
# Download = 1
# Dload-dir = $ HOME/tmp
# Keep-download = 0
# Noembed = 0
# Cache size = 256
# Use-mimetypes = 0
# Enable-real = 1
Enable-wm = 1
Enable-qt = 1
Enable-mpeg = 1
Enable-ogg = 1
Enable-smil = 1
Qt-speed = med
# Rtsp-use-tcp = 0
# Nomediacache = 0
# Framedrop = 0
# Autosync = 0
# Mc = 1
# Black-background = 0

Okay. Restart the browser to make it take effect.

Note: files in real format cannot be opened at this time, and the option to open the configuration file is useless.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.