LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2008, 02:01 PM   #1
Tommo
Member
 
Registered: May 2006
Posts: 80

Rep: Reputation: 15
Re-installed Mplayer from source. Now sound doesn't work


Hi

Firstly:
Code:
$ uname -a
Linux debian 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux
Prior to installing Mplayer from source, I installed it from aptitude but DVD playback proved to be a pain in my ass so I thought I'd try another option and install it from source.

I downloaded MPlayer-1.0rc2.tar.bz2, unpacked it in /usr/local/bin/ and did the ./configure, make, make install. The usual.

It now seems to play dvds fine but I get picture, no sound. I have very minimal video and audio options now also, whereas previously I had gl, sdl etc. Now I have:

Code:
Available video output drivers:
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        xvidix  X11 (VIDIX)
        cvidix  console VIDIX
        null    Null video output
        mpegpes Mpeg-PES to DVB card
        yuv4mpeg        yuv4mpeg output for mjpegtools
        png     PNG file
        tga     Targa output
        pnm     PPM/PGM/PGMYUV file
        md5sum  md5sum of each frame
And:
Code:
Available audio output drivers:
        oss     OSS/ioctl audio output
        mpegpes DVB audio output
        null    Null audio output
        pcm     RAW PCM/WAVE file writer audio output
I'm thinking this can be resolved quite easily, but I just don't know how. Any ideas?

Thanks
 
Old 07-20-2008, 04:18 PM   #2
Tommo
Member
 
Registered: May 2006
Posts: 80

Original Poster
Rep: Reputation: 15
OK, I reinstalled the package from aptitude and then installed libdvdcss2 after that. Everything seems to be OK now, and DVD playback is fine. I am still curious though what the problem was. I'm guessing I didn't point to the right place when compiling? Here's what vo/ao options I have now:

Code:
Available video output drivers:
        xmga    Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
        mga     Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
        tdfxfb  3Dfx Banshee/Voodoo3/Voodoo5
        s3fb    S3 Virge over fbdev
        xv      X11/Xv
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        gl      X11 (OpenGL)
        gl2     X11 (OpenGL) - multiple textures version
        dga     DGA ( Direct Graphic Access V2.0 )
        sdl     SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
        ggi     General Graphics Interface (GGI) output
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        svga    SVGAlib
        aa      AAlib
        caca    libcaca
        dxr3    DXR3/H+ video out
        directfb        Direct Framebuffer Device
        dfbmga  DirectFB / Matrox G200/G400/G450/G550
        xvidix  X11 (VIDIX)
        cvidix  console VIDIX
        null    Null video output
        xvmc    XVideo Motion Compensation
        mpegpes Mpeg-PES to DVB card
        yuv4mpeg        yuv4mpeg output for mjpegtools
        png     PNG file
        jpeg    JPEG file
        gif89a  animated GIF output
        tga     Targa output
        pnm     PPM/PGM/PGMYUV file
        md5sum  md5sum of each frame
Code:
Available audio output drivers:
        oss     OSS/ioctl audio output
        alsa    ALSA-0.9.x-1.x audio output
        arts    aRts audio output
        esd     EsounD audio output
        pulse   PulseAudio audio output
        jack    JACK audio output
        nas     NAS audio output
        sdl     SDLlib audio output
        mpegpes DVB audio output
        null    Null audio output
        pcm     RAW PCM/WAVE file writer audio output
Is there anyway I can find out the compile options for the package?

Thanks
 
Old 07-20-2008, 04:54 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242
I read it somewhere that depending on how you install mplayer (via your package manager vs. from source) it looks for codecs in slightly different places
/usr/local/lib/codecs/ - if you compile from source
If you install mplayer and codecs through your package manager it will look for them in:
/usr/local/lib/win32/
 
Old 07-21-2008, 04:09 AM   #4
Tommo
Member
 
Registered: May 2006
Posts: 80

Original Poster
Rep: Reputation: 15
The codecs aren't really a problem. Besides, during compilation, I pointed to where all my codecs were - /usr/lib/codecs. Like I say, Mplayer wasn't auto-detecting video/audio drivers correctly when building it from source, but everything seems more than fine when installing it from my package manager.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed Ubuntu studio now sound doesn't work David Breedlove Linux - Newbie 6 12-05-2007 04:40 PM
MPlayer - Choppy Sound, Doesn't Always Work BarfBag Ubuntu 2 11-06-2005 12:22 PM
No sound in mplayer, have w32codec-all installed signmeuptoo Linux - Software 5 07-25-2005 11:26 PM
Installed MPlayer and now sound doesn't work siepmann Linux - Software 1 11-14-2004 05:01 AM
i installed mplayer from source file and now i wanna delete it from my computer ... SlackwareMan Linux - Software 6 07-30-2004 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration