Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble playing asx and wmv files in xine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Baix
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2005
Posts: 77

PostPosted: Thu Jul 14, 2005 5:28 am    Post subject: Trouble playing asx and wmv files in xine Reply with quote

Hi all,
I'm haveg trouble playing asx and wmv files in xine. I've installed win32codecs and emerged ">=media-libs/xine-lib-1_rc5-r" as a couple of googled sites said to do. Unfortunatly, when playing the asx file I get a message about the playlist being invalid and when I try to play the wmv file I recieve an error:


Code:
There is no demuxer plugin available to handle 'file.wmv' Usually means that the file format was not recognized


Thanks for any help! If you need clarification or more detail please ask! :D
Back to top
View user's profile Send private message
songpenguin
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 142
Location: USA

PostPosted: Thu Jul 14, 2005 7:09 am    Post subject: Reply with quote

Hello, do you have the win32codecs USE flag set? How about the xmms flag? I don't think the xmms flag is needed but it is good to have. Here are my use flags that affect my media players.

Code:
alsa -oss -arts -esd xmms xine opengl openal sdl xv wav mp3 mad ogg vorbis flac dvd vcd cdr cdparanoia v4l v4l2 a52 aac avi divx4linux dv ffmpeg gstreamer mikmod mpeg quicktime speex theora real live win32codecs network


Note that v4l and v4l2 are only for TV tuner cards.

Hope this helps,
Songpenguin
Back to top
View user's profile Send private message
Baix
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2005
Posts: 77

PostPosted: Fri Jul 15, 2005 1:29 am    Post subject: Reply with quote

So would i add win32codecs to my make.conf file and recompile xine with the --newuse option? I'll try that now, someone stop me if I'm wrong :D. Thanks songpenguin.

Edit: Changed my use flags but 'emerge --newuse world' doesn't show anything as needing to be recompiled. Also 'emerge xine -pv' doesn't show win32codecs as being an option?
Back to top
View user's profile Send private message
Baix
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2005
Posts: 77

PostPosted: Fri Jul 15, 2005 1:46 am    Post subject: Reply with quote

Still no luck. Must be something simple though. I added xine and win32codecs to my make.conf and emerged win32codecs then xine. Still this .wmv file is unrecognized :(.
Back to top
View user's profile Send private message
rwf
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 234
Location: mi.us

PostPosted: Fri Jul 15, 2005 1:51 am    Post subject: Reply with quote

Code:

emerge -pv xine-lib

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/xine-lib-1.0.1-r3  +X -a52 -aac -aalib +alsa (-altiv\
ec) +arts -cle266 -directfb -dvd -dxr3 -esd -fbcon -ffmpeg +flac +gnome -i8x0 -\
ipv6 -libcaca +mad -mng +nls -nvidia +opengl +oss +png -samba +sdl -speex -theo\
ra -v4l -vcd -vidix +vorbis +win32codecs -xinerama +xv -xvmc 0 kB

Total size of downloads: 0 kB


Note the USE options for xine-lib
Back to top
View user's profile Send private message
Baix
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2005
Posts: 77

PostPosted: Fri Jul 15, 2005 2:01 am    Post subject: Reply with quote

Ahh, thanks, looks like that's my problem. However even with my use flags set with win32codecs portage still refuses to recognize them when trying to emerge xine-lib:
Code:
 emerge -pv xine-lib

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/xine-lib-1.0-r2  +X -aac -aalib +alsa (-altivec) +arts -cle266 -directfb -dvd -dxr3 -esd -fbcon -ffmpeg -flac +gnome -i8x0 +ipv6 -libcaca -mng +nls -nvidia +opengl +oss +png +samba +sdl -speex -theora -v4l -vidix +vorbis [b]-win32codecs[/b] -xinerama +xv -xvmc 0 kB


I got around this by doing
Code:
USE="win32codecs" emerge xine-lib
but I'd still like to know why it doesn't seem to pick up on the change to the make.conf file for future reference. Thanks!
Back to top
View user's profile Send private message
rwf
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 234
Location: mi.us

PostPosted: Fri Jul 15, 2005 4:18 am    Post subject: Reply with quote

You really don't want to use the USE="foo' emerge bar syntax

1) add the USE flag to /etc/make.conf

2) emerge -pvuDN world -- to see what packages will be re-compiled because of the change in global USE flag.

3) if xine-lib was already 'installed' it will appear in 2)'s output.

4) if xine-lib is not already installed -- do the following

5) emerge -pvD xine-lib and look at the output, it should show the win32codecs USE flag.

NEVER use USE="foo" emerge bar to emerge a package...

ALSO use -p and -D first. If your need to make changes, add then to either 1) etc/make.conf or 2) /etc/portage/package.keywords or 3) /etc/portage/package.use

My normal sequence is:

emerge -v --sync
emerge -pvuDNt world
emerge --vuDN world
emerge -pv --depclean
emerge -v --deplclean
revdep -pv
revdep -v

If I need to add a new package (not already instlalled) I do the following.

emerge -pvDN <some package name>

first to ensure I understand what's going on, then

emerge -vDN <some package name>

I set:

PORT_LOGDIR=/var/log/portage

in my /etc/make.conf file. After each --sync and world update I 'look' at the log's -- Gentoo prints out a lot of good information and I follow their instructions.

I don't seem to have any problems...
Back to top
View user's profile Send private message
slackthumbz
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2005
Posts: 142
Location: Cambridge, UK

PostPosted: Fri Jul 15, 2005 12:41 pm    Post subject: Reply with quote

Code:
emerge mplayer

Mplayer has no trouble playing WMV's whatsoever. I always install both Xine and Mplayer on my system because there are certain things that xine is good for and a few obscure formats that only mplayer really plays well.

rwf: why not use the -a option instead of -p? that way emerge will show you what it wants to do and then you can say yes or no. Saves typing in similar commands twice all the time. The example below is what I use to update my system every morning after
Quote:
emerge --sync
finishes. I usually start up with something like
Code:
dhcpcd && emerge --sync && emerge -avuDN world


Code:
raggamuffin nick # emerge -avuDN world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!

Total size of downloads: 0 kB

Nothing to merge; do you want me to auto-clean packages? [Yes/No] n

Quitting.

raggamuffin nick #


Another quick question, why do you use the -DN options when installing software? AFAIK they only affect updates.
Back to top
View user's profile Send private message
rwf
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 234
Location: mi.us

PostPosted: Fri Jul 15, 2005 3:26 pm    Post subject: Reply with quote

slackthumbz wrote:
Code:
emerge mplayer

rwf: why not use the -a option instead of -p? that way emerge will show you what it wants to do and then you can say yes or no. Saves typing in similar commands twice all the time. The example below is what I use to update my system every morning after
Quote:
emerge --sync
finishes. I usually start up with something like [code]dhcpcd && emerge --sync && emerge -avuDN world


Force of habit. I see man emerge backs up your argument.

Quote:
Another quick question, why do you use the -DN options when installing software? AFAIK they only affect updates.


Just force of habit, I've always used -DN on upgrades and installs of new packages.

Different strokes for different folks.
Back to top
View user's profile Send private message
songpenguin
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 142
Location: USA

PostPosted: Sat Jul 16, 2005 4:45 am    Post subject: Reply with quote

slackthumbz wrote:

Mplayer has no trouble playing WMV's whatsoever. I always install both Xine and Mplayer on my system because there are certain things that xine is good for and a few obscure formats that only mplayer really plays well.


I like to use Xine for playing DVD's and Mplayer for everything else.

slackthumbz wrote:

rwf: why not use the -a option instead of -p? that way emerge will show you what it wants to do and then you can say yes or no. Saves typing in similar commands twice all the time. The example below is what I use to update my system every morning after
Quote:
emerge --sync
finishes. I usually start up with something like
Code:
dhcpcd && emerge --sync && emerge -avuDN world


[code]raggamuffin nick # emerge -avuDN world

Another quick question, why do you use the -DN options when installing software? AFAIK they only affect updates.


I happen to prefer the -p option over the -a option, just habbit. As for the -DN optioin when you install stuff, it's a good habit to get into, that way you don't forget it when you remerge or update.
_________________
Bill, I don't do Windows. --Ray Bradbury
You've got to jump off cliffs and build your wings on the way down. --Ray Bradbury
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum