LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Re-installed Mplayer from source. Now sound doesn't work (https://www.linuxquestions.org/questions/linux-software-2/re-installed-mplayer-from-source-now-sound-doesnt-work-657018/)

Tommo 07-20-2008 03:01 PM

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

Tommo 07-20-2008 05:18 PM

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

sycamorex 07-20-2008 05:54 PM

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/

Tommo 07-21-2008 05:09 AM

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.


All times are GMT -5. The time now is 09:45 PM.