LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-30-2004, 01:28 AM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
playing avi and wmv files in xine ?


Do I need a special codec to play avi and wmv files in xine? I keep telling Mozilla to use xine for them but it will only work with mpegs. Thanks.
 
Old 04-30-2004, 07:40 AM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
Yes, xine uses win32 DLLs to decode avi streams. Here you find informations on where to find them:
http://www.amalthea.de/xine/win32codec.spec
 
Old 05-09-2004, 03:07 AM   #3
paulserjeant
LQ Newbie
 
Registered: Jan 2004
Location: Maidenhead, UK
Distribution: Mandrake 9.2
Posts: 9

Rep: Reputation: 0
xine and codecs

This looks like what I need to do too because xine will play my WMV files so I can hear the sound but no picture is displayed.

So, I go to http://www.amalthea.de/xine/win32codec.spec where it says go to ftp site ftp://ftp.mplayerhq.hu/MPlayer/releases/codecs/

Then if you look here:
http://www.amalthea.de/xine/ it says: "Due to legal reasons I cannot provide a RPM with the Windows DLLs. You have to download the DLLs from somewhere else. See the specfile for locations. For packaging the RPM, copy the DLL tarballs to SOURCES/win32codecs.tar.bz2 and SOURCES/qt6dlls.tar.bz2 and the specfile from here to SPECS/win32codec.spec under /usr/src/packages for SuSE or /usr/src/redhat for RedHat. Then type rpm -bb /usr/src/*/SPECS/win32codec.spec (later versions of RPM use the command rpmbuild here). You will find the freshly built binary RPM under the RPMS directory of the package building tree. Install it as usual."

I don't really follow the text above, and in any case I'm running Mandrake 10. Can someone say a few words on how to make this work?

Thankyou,
 
Old 08-22-2004, 02:33 AM   #4
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
wonder if i can download a winblows program and use wine? i have the same problem with totem not handling wmv's well. I either get sound and no picture, i have to manually advance frames, or no sound. It's damn frustrating
 
Old 08-22-2004, 02:44 AM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
got any links to wmv's that don't work? i don't go to many places where they use wmv's but the one's i've seen seem to work fine using the latest xine-lib. i'm using konq as my browser with kaffeine as the xine wrapper for handling embedded video media files, though. it could be that the videos aren't encoded right as wmv videos that didn't seem to work right in linux also didn't work right with wmp either in windows. hard to say without some examples of videos you're trying to access.

but in reality, you could just get the codecs (use the tarballs) from mplayer's sight and untar them in /usr/lib/win32 (create the directory if needed) and xine will use them with no problems (from what i've experienced).

Last edited by megaspaz; 08-22-2004 at 02:46 AM.
 
Old 08-22-2004, 02:00 PM   #6
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
i can see the movies fine from the xp machines, they are on ebaumsworld. I think it may be the xine is not configured properly. I see xine-config on my system, but no xine program (using updatedb/locate) I downloaded the latest version, the winblows codecs, got compile errors. downloaded the rpm's, installed, got errors. The ./configure went allright, but make blew up in my face. Will keep hacking on it.
 
Old 08-22-2004, 02:35 PM   #7
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
well i was able to play them videos in konqueror using xine-libs as the engine and the kaffeine kparts service for handling embedded video files, so they will play in linux using xine or kaffeine. i think it's just a matter of getting all the dependancies and installing and configuring xine and/or kaffeine.
 
Old 08-22-2004, 03:10 PM   #8
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
Ok, xine works, but still has no sound, and playback of a wmv is extremely crappy. How do i tell xine to use windows codecs? i have them, downloaded into /usr/local/lib/codecs I checked my /home/jay/.xine/config file, there seemed to be no place to add a link telling xine where to find windows codecs. It refused to play a .avi file using xine-ui but totem played it perfectly. I am at a bit of a loss.

Last edited by Ghost_runner; 08-22-2004 at 03:54 PM.
 
Old 08-23-2004, 01:31 AM   #9
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
Right click xine click settings and go to codecs tab. There should be a section there for you to put the exact pathname to your windows codecs. If you do not see it then your configuration settings may be on begginer. Click on `gui' tab and change the "Configuration Experience Level" to something greater than begginer. Changing it to Master of Known Universe will display all config settings.
 
Old 08-24-2004, 05:04 PM   #10
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
the only codec's it lets me path to is the realplayer ones
 
Old 08-25-2004, 12:21 AM   #11
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
Quote:
Originally posted by Ghost_runner
the only codec's it lets me path to is the realplayer ones
The selection for the path to the windows codecs should be directly below that. As I said, if it's not then you will more than likely need to change your experience level to a higher one.
 
Old 08-25-2004, 02:37 AM   #12
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
a graphical look at what to change.

changing your user experience level:

Xine Config Screenshot #1

setting your windows codecs library path:

Xine Config Screenshot #2

fyi, xine defaults to looking for codecs in /usr/lib/win32

Last edited by megaspaz; 08-25-2004 at 02:39 AM.
 
Old 08-26-2004, 11:34 AM   #13
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
it's set to master of the universe, still only shows realplayer codec path, i'll move my codecs to /usr/lib/win32 see if that makes any difference, thanx

edit: I am using 0.9.23, is this the latest version?

Last edited by Ghost_runner; 08-26-2004 at 11:39 AM.
 
Old 08-27-2004, 04:18 PM   #14
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
my xine doesn't have that block, and it's set to master of the universe, i went into .xine/config and manually edited it to show
codecs.win32_path:/usr/lib/win32
and made sure the codecs were there, still have problems, playback is crappy, and sound is non-existant
 
Old 08-27-2004, 05:37 PM   #15
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
This problem is common amongst Mandrake users because I am going through the same thing and it seems like people who report this problem are Mandrake users.

Best is to use another player other than Xine, like Mplayer.

Oh yeah, and don't even bother compiling the new version of Xine if you are a Mandrake user. It's practically impossible to compile anything in Mandrake, if you haven't discovered this already.
 
  


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
Having Trouble Playing WMV and AVI files in Totem Media Player cajunaggie Linux - Software 12 10-29-2007 01:45 PM
cannot play .avi .wmv, mpg files WRXHokie Linux - Software 22 12-05-2005 08:57 PM
Playing WMV files with MPlayer or Xine dth1 Linux - Software 7 08-16-2005 05:18 AM
SuSe 9.1/Xine-Error: No Demux Plugin/ WMA, ASF, AVI, WMV. FastFeet Linux - Software 11 07-06-2005 06:27 AM
Problem with playing wmv files on Slackware 10 using xine laiboonh Slackware 1 11-03-2004 12:01 AM

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

All times are GMT -5. The time now is 11:31 PM.

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