LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xine mpeg codecs(including Divx)?? (https://www.linuxquestions.org/questions/linux-software-2/xine-mpeg-codecs-including-divx-256508/)

DJOtaku 11-18-2004 01:24 PM

Xine mpeg codecs(including Divx)??
 
Hey There,

I have some MPEG video files and one avi (dixv) which won't play in Xine. They play in Mplayer just fine. I don't recall how I got xine on my system because I know that Fedora had to get rid of MP3/MPEG codecs so I've been updating/installing a bunch of stuff to enable support for that. So I don't remember if FC came with a MPEG-removed xine, or if I downloaded it.

My yum sources are the official fedora ones and FreshRPMs.

I looked on the Xine website and saw that they depend upon libmpg for their mpeg decoding. So I just did a yum install lib* and installed a ton of libraries. Still no mpeg support in Xine. Do I need to get the codecs from somewhere else?

reddazz 11-18-2004 01:31 PM

just download the win32 codecs and xine packages from xine nightly builds. They work absolutely fine on my FC3 box.

DJOtaku 11-18-2004 01:35 PM

To help you diagnose this and to also to prove that something is wrong with my Xine installation -> I tried to view their sample movie here (http://www.xinehq.de/index.php/screenshots) on their own site and it didn't work. Something tells me it's wrong when the sample movie won't play. I have a feeling that perhaps this was just installed in such a way as to not be able to access the codecs.

DJOtaku 11-18-2004 02:50 PM

installed the codecs and it didn't work. I'm going to try reinstalling the lib files.

DJOtaku 11-18-2004 03:09 PM

tried to install the package of the actual player from the site you gave me. I get the error:

[root@localhost emesa]# rpm -Uvh libxine1-1_cvs-041118.i686.rpm
Preparing... ########################################### [100%]
file /usr/bin/xine-config from install of libxine1-1_cvs-041118 conflicts with file from package xine-lib-devel-1.0.0-0.14.rc6a.1.fc2.fr
file /usr/share/man/man1/xine-config.1.gz from install of libxine1-1_cvs-041118 conflicts with file from package xine-lib-devel-1.0.0-0.14.rc6a.1.fc2.fr

reddazz 11-18-2004 06:15 PM

you have to remove all previous versions of xine or libxine from your system so that there aren't any conflicts like the one you just experienced.

DJOtaku 11-18-2004 06:24 PM

sorry for being such a newbie, but what is the removal process if I originally compiled from source? Is there something like add/remove programs in Windows? (some kind of gui) If not, what's the command line stuff?

thanks,

reddazz 11-19-2004 04:38 AM

ok here is a possible solution. As root run the following,

rpm -qa | grep -i xine

a list of xine packages will appear and then to remove them run

rpm -e packagename

You may get errors whilst trying to remove these packages, just try and change the order that you try and delete them.

An alternative method would be to download apt and synaptic from fedora.us or freshrpms.net (select the one for the distro that you are using). Once installed go to "System Settings -> Synaptic", run "Reload". A list of packages will be downloaded, once thats done, search for xine and select remove for all the packages that appear. When you have completed that close synaptic and install the version of xine from the site I mentioned above.

DJOtaku 11-19-2004 09:54 AM

your synaptic suggestion worked great for for removing xine and installing the one from the page you told me. Didn't install the -devel part, so I'm not sure if that will affect it. Didn't work - still complained about mpeg. I'm currently installing the devel and redoing the w32codecs.

DJOtaku 11-19-2004 09:56 AM

ok, complains that w32 is already installed, so nixing that....trying again with devel

DJOtaku 11-19-2004 09:59 AM

nope - still doesn't work. Any other suggestions? MPlayer works so I know the computer has mpeg codecs...

reddazz 11-19-2004 12:48 PM

can you post the exact error that your are getting about this mpeg thingy. I think you need to install a package called libmpeg (libmpeg3). Search for it using synaptic, if you don't find it, go to rpmfind and search for it. Download the newest version from freshrpms or dag. Once you install it, install libxine and then xine. Once thats done do,

rpm -Uvh --force --nodeps w32codec-0.52-1.i386.rpm

as root, from the folder that you downloaded the latest codecs from the xine nightly page, this will overwrite your current win32 codecs rpm and install the one you downloaded. I think this will work fine for you (well fingers crossed anyway ;))

reddazz 11-19-2004 12:51 PM

I had made an error in my post above and have rectified it, anymore problems ask and I'll try to work through it with you.

DJOtaku 11-19-2004 01:22 PM

I already have that package installed on my computer (libpmeg3)

DJOtaku 11-19-2004 01:28 PM

Here is exactly what I do:

Find a file -> right click -> open with -> xine

the error I get is:

The stream 'mnt/cdrom/foo fighters- the onempg' use an unsupported codec:

Video Codec: MPEG 1/2 (0x0)

Start playback anyway?

Hitting either yes or no just keeps bringing up the dialog box. Again, I can play all of these in MPlayer, so I don't think it's the codecs so much as Xine. If I previously installed it by compiling from the source, how would I see if that version is interphering with the newly downloaded rpm version? When I compiled from source I didn't make an rpm of it, so it wouldn't be listed there, I think. I know this happened to me with audacity where the rpm works from the menu. In text window it uses the source-compiled-non-working version. However, for xine it neither works from command line nor from menu. I was just giving that as an example.

thanks

DJOtaku 11-19-2004 01:30 PM

let me take back the last part about knowing if they're conflicting. I can see when it loads up on the bottom left that it's the new one that I just installed loading up - I see it says CVS.

reddazz 11-19-2004 02:07 PM

did you install the win32 codecs from xine nightly builds. You may also need to point xine to the win32 codec folder by starting Xine -> setup -> gui and change configuration level to "advanced". Once thats done go to "codec" and make sure "path to win 32 codecs" is /usr/lib/win32.

DJOtaku 11-19-2004 02:47 PM

don't have a codec tab. Just

gui, audio, video, dxr3, input, decoder, misc, vcd

when I set to "advanced" in the gui and click apply

decoder tab says: no configuration at this user level

when I set to "Master of the known universe" -> decoder tab says:
priority for mpeg2 decoder: right now priority is 0

reddazz 11-19-2004 02:59 PM

your decoder setting is the same as mine. I wonder why you don't have a codec tab though :scratch:.

DJOtaku 11-19-2004 03:00 PM

perhaps that's the whole problem. It can't find the codecs because it's missing that part of the program.

DJOtaku 11-19-2004 03:02 PM

well, this IS based off of a RPM of a cvs....could that be why?

reddazz 11-19-2004 07:30 PM

you could be right. try downloading todays build and then delete your .xine directory from your home directory then install the new version. make sure you download libxine and xine-ui.


All times are GMT -5. The time now is 06:48 AM.