Find the answer to your Linux question:
Results 1 to 2 of 2
Hello all! I'm new to the forums, been using Linux for a long time now though. I feel kind of dumb for asking this question, but it has exhausted me ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Location
    The States
    Posts
    3

    Xine and Amarok Output/Input problems


    Hello all! I'm new to the forums, been using Linux for a long time now though. I feel kind of dumb for asking this question, but it has exhausted me the past day searching for answers.

    I went to update my xine, as well as include all the codecs in. I used the source code to compile xine-lib-1.4, xine-gui.0.99.
    Upon attempting to run xine, I get the following problems. And it immediately closes xine.

    amen-ra@the-root:~> xine
    xiTK WARNING(xitk_set_locale:2182): locale not supported by C library
    This is xine (X11 gui) - a free video player v0.99.4.
    (c) 2000-2004 The xine Team.
    Cannot open display 'nknown flag "%s"
    ' for video. Falling back to primary display.

    Then on attempting to load Amarok(which I compiled the latest version as well afterwards), It "fails to load the xine-engine" The xine-engine option didn't even appear in amarok.
    So I tried to recompile, back to xine-lib-1.2, and them amarok likewise.
    I still get the same message from xine.
    From amarok, I now get "xine was unable to initialize any audio drivers"
    I can choose the xine-engine in amarok's settings now, But for output plugin, the only option is Autodetect. Which is obviously failing to autodetect. Tried to compile with the gstreamer engine, and helix engine, both with no luck(option did not list in amarok>settings>engine). But i'm not too worried about that.

    I'm using Alsa for the most part. Everything worked great before. This load is a SuSe10.2 AMD 64 4600, nvidia 7900, nforce hda audio.
    Mplayer, realplayer, helix, all work fine.

    If anyone could help me out, I'm sure there's just some flag I have to throw at xine in order to make this sing, I'm just not sure what.

    Thanks!!

  2. #2
    Just Joined!
    Join Date
    Mar 2007
    Location
    The States
    Posts
    3

    more info

    Some more relevant data:
    in configure xine, I get the following driver plugins to be installed :
    Code:
     * video driver plugins:
       - XShm (X11 shared memory)
       - SyncFB (for Matrox G200/G400 cards)
       - Xv (XVideo *shared*)
       - XxMC (XVideo extended motion compensation)
       - XvMC (XVideo motion compensation)
       - aa (Ascii ART)
       - caca (Color AsCii Art)
       - fb (Linux framebuffer device)
       - sdl (Simple DirectMedia Layer)
       - dxr3 (Hollywood+ and Creative dxr3, mpeg video only)
    
     * audio driver plugins:
       - oss (Open Sound System)
       - alsa
       - esd (Enlightened Sound Daemon)
       - arts (aRts - KDE soundserver)
    --------------


    When I compile xine-lib-1.1.4, It seems to not install any plugins or drivers. In compiling amarok, I get a few messages, of missing files. I believe /usr/local/include/xine/demux.h and input_plugin.h .Which is what led me to revert back to 1.1.2.


    ---xine-check in 1.1.4 follows:
    Code:
    [ good ] you're using Linux, doing specific tests
    [ good ] looks like you have a /proc filesystem mounted.
    [ good ] You seem to have a reasonable kernel version (2.6.18.2-34-default)
    [ hint ] Architecture is x86_64 (not intel), assuming there is no MTRR.
             MTRR (Memory Type Range Registers) are used on intel CPUs to
             control caching mechanisms for special memory ranges. There is
             probably nothing like this on x86_64 CPUs...
             press <enter> to continue...
    
    [ good ] found the player at /usr/local/bin/xine
    [ good ] /usr/local/bin/xine is in your PATH
    [ good ] found /usr/local/bin/xine-config in your PATH
    [ good ] plugin directory /usr/local/lib/xine/plugins/1.1.4 exists.
    [OUCH!!] There are no input plugins.
             xine needs at least one input plugin, but none is installed.
             You should probably reinstall xine-lib...
             press <enter> to continue...
    
    [OUCH!!] There are no demux plugins.
             xine needs at least one demux plugin, but none is installed.
             You should probably reinstall xine-lib...
             press <enter> to continue...
    
    [OUCH!!] There are no decoder plugins.
             xine needs at least one decoder plugin, but none is installed.
             You should probably reinstall xine-lib...
             press <enter> to continue...
    
    [OUCH!!] There are no video_out plugins.
             xine needs at least one video_out plugin, but none is installed.
             You should probably reinstall xine-lib...
             press <enter> to continue...
    
    [ good ] found audio_out plugins
    [ good ] skin directory /usr/local/share/xine/skins exists.
    [ good ] found logo in /usr/local/share/xine/skins
    [ good ] I even found some skins.
    [ good ] /dev/cdrom points to /dev/hda
    [ hint ] /dev/dvd is /dev/dvd, not a DVD device
             /dev/dvd is the default device that xine uses for playing DVDs.
             You could make your life easier by creating a symlink named /dev/dvd
             pointing to your DVD device (something like /dev/scd0 or /dev/hdc).
             If your DVD-ROM device is /dev/hdb (slave ATAPI device on primary bus),
             rm /dev/dvd
             ln -s hdb /dev/dvd
             typed as root will give you the symlink.
             Alternatively, you can configure xine to use the real device directly,
             using the setup dialog within xine, but I can't check your DMA
             settings in that case...
             press <enter> to continue...
    
    [ good ] found xvinfo: X-Video Extension version 2.2
    [ good ] your Xv extension supports YV12 overlays (improves MPEG performance)
    [ good ] your Xv extension supports YUY2 overlays
    [ good ] Xv ports:  YUY2 YV12 UYVY I420 YUY2 YV12 UYVY I420
    ---xine-check for 1.1.2 follows:
    Code:
    [ good ] you're using Linux, doing specific tests
    [ good ] looks like you have a /proc filesystem mounted.
    [ good ] You seem to have a reasonable kernel version (2.6.18.2-34-default)
    [ hint ] Architecture is x86_64 (not intel), assuming there is no MTRR.
             MTRR (Memory Type Range Registers) are used on intel CPUs to
             control caching mechanisms for special memory ranges. There is
             probably nothing like this on x86_64 CPUs...
             press <enter> to continue...
    
    [ good ] found the player at /usr/local/bin/xine
    [ good ] /usr/local/bin/xine is in your PATH
    [ good ] found /usr/local/bin/xine-config in your PATH
    [ good ] plugin directory /usr/local/lib/xine/plugins/1.1.2 exists.
    [ good ] found input plugins
    [ good ] found demux plugins
    [ good ] found decoder plugins
    [ good ] found video_out plugins
    [ good ] found audio_out plugins
    [ good ] skin directory /usr/local/share/xine/skins exists.
    [ good ] found logo in /usr/local/share/xine/skins
    [ good ] I even found some skins.
    [ good ] /dev/cdrom points to /dev/hda
    [ hint ] /dev/dvd is /dev/dvd, not a DVD device
             /dev/dvd is the default device that xine uses for playing DVDs.
             You could make your life easier by creating a symlink named /dev/dvd
             pointing to your DVD device (something like /dev/scd0 or /dev/hdc).
             If your DVD-ROM device is /dev/hdb (slave ATAPI device on primary bus),
             rm /dev/dvd
             ln -s hdb /dev/dvd
             typed as root will give you the symlink.
             Alternatively, you can configure xine to use the real device directly,
             using the setup dialog within xine, but I can't check your DMA
             settings in that case...
             press <enter> to continue...
    
    [ good ] found xvinfo: X-Video Extension version 2.2
    [ good ] your Xv extension supports YV12 overlays (improves MPEG performance)
    [ good ] your Xv extension supports YUY2 overlays
    [ good ] Xv ports:  YUY2 YV12 UYVY I420 YUY2 YV12 UYVY I420
    Thats about all the information i can think useful to this problem. anything else you want to know i'll paste.
    Thanks for taking the time to read and help me out!! Sorry its so long.

    Updated post :
    http://www.linuxquestions.org/questi...d.php?t=539449

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •