View previous topic :: View next topic |
Author |
Message |
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Sat Apr 23, 2005 4:49 pm Post subject: Codecs for Xine or Mplayer [Not Solved] |
|
|
Hi, I came across some video files that I couldn't play in neither Xine nor Mplayer. I open them and mplayer crashes, but xine gives me this error:
Code: |
-Xine engine error-
There is no demuxer plugin avaliable to handle
<file name>
Usually this means the format was not reciognized.
|
The filename says its (VOA) (DIVX). I have DivX4Linux x86 version because theres no amd64. How can I get this file to play correctly?
Last edited by avieth on Sun Apr 24, 2005 11:57 pm; edited 1 time in total |
|
Back to top |
|
|
magnesium Apprentice
Joined: 28 Oct 2003 Posts: 280 Location: Toronto, Canada
|
Posted: Sat Apr 23, 2005 5:05 pm Post subject: |
|
|
don't you need to use 32bit versions of xine and mplayer to use 32 bit versions of CODECs?
I'm pretty sure I played divx movies in my AMD64 version of MPlayer without errors, but cannot confirm as I'm in the process of rebuilding my machnie. You may need to use the "latest and greatest" version of MPlayer however...
Oh, and make sure your use flags contain all the video extensions you need. _________________ Adopt an unanswered post |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Sat Apr 23, 2005 6:28 pm Post subject: |
|
|
Are you sure I have to downgrade mplayer? I really dont like using x86 on an amd64 box. |
|
Back to top |
|
|
magnesium Apprentice
Joined: 28 Oct 2003 Posts: 280 Location: Toronto, Canada
|
Posted: Sat Apr 23, 2005 8:12 pm Post subject: |
|
|
Like I said, I can't confirm that I was able to run DivX .avi files in AMD64 MPlayer because I'm rebuilding my system I'm not in front of my computer now and it failed to reboot correctly (forgot to unmount boot and it's complaining about needing root password for maintenance mode).
I know that firefox can't work in 64 bit mode with 32 bit plugins nor can xorg work with 32 bit drivers. I don't see why mplayer or xine would be any different. _________________ Adopt an unanswered post |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Sun Apr 24, 2005 2:46 am Post subject: |
|
|
Does anyone else know if there is a way to get important codecs like divX for xine, (I unmerged mplayer, was very disappointed with it).
I want to keep my computer 100% amd64 pure, and I'd also like to know how to get a xine plug-in for opera. And how to get it to work in place of WMP and QT.
Right now Xine cant play .mpeg some .avi .asf. All I could play was an mpg, and a few .avi files.
I emerged mpeg-lib libddmpeg libmpeg2 libmpeg3. |
|
Back to top |
|
|
magnesium Apprentice
Joined: 28 Oct 2003 Posts: 280 Location: Toronto, Canada
|
Posted: Sun Apr 24, 2005 12:16 pm Post subject: |
|
|
I should be able to check more with mplayer tonight on an AMD64 pure box. Who knows, I may even get around to testing some other video viewers. I was really impressed with how well mplayer worked from the console, even though the mplayer plugin had issues within mozilla firefox.
What are your use flags? please give all of them as discovered through "emerge info".
Thanks,
|Mg| _________________ Adopt an unanswered post |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Sun Apr 24, 2005 8:39 pm Post subject: |
|
|
Heres what it showed me:
Code: |
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Opteron(tm) Processor 146
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 4 2005, 20:56:19)]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="Qt X a52 aac aalib accessibility acl acpi adns alsa amd64 apm arta arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bluetooth bmp bzlib calendar caps cdb cdparanoia cdr crypt cups curl curlwrappers dbm debug dio directfb dvd dvdr dvdread encode esd fam fbcon flac flash font-server foomaticdb fortran ftp ggi gif glut gpm hal imagemagick imlib ipv6 jack java javascript jikes joystick jp2 jpeg junit kde kerberos ldap libclamav lzw lzw-tiff mad mng motif mp3 mpeg msn mysql nas ncurses nls nocd nozilla nptl nvidia oav ogg oggvorbis openal opengl oss pam pdflib perl pic png pnp ppds python qt readline samba scanner sdl simplexml sockets speex ssl svg symlink tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xaw3d xml2 xmms xpm xrandr xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Mon Apr 25, 2005 1:56 am Post subject: |
|
|
Is magnesium the only one who can help? |
|
Back to top |
|
|
m707 Tux's lil' helper
Joined: 31 Oct 2003 Posts: 121 Location: Germany
|
Posted: Mon Apr 25, 2005 10:59 am Post subject: |
|
|
I have no experiances concerning the 64bit, so probably no solution for you,
but divx4linux was never a software someone wants on his box, IMHO.
You should try to get ffmpeg handling your stream as win*32*condecs will
probably be no choice at your box. _________________ bye maik |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Mon Apr 25, 2005 12:13 pm Post subject: |
|
|
m707 wrote: |
You should try to get ffmpeg handling your stream as win*32*condecs will
probably be no choice at your box. |
Yeah, I emerged win32codecs, but they didn't help. How do I do ffmpeg handling? |
|
Back to top |
|
|
m707 Tux's lil' helper
Joined: 31 Oct 2003 Posts: 121 Location: Germany
|
Posted: Mon Apr 25, 2005 1:29 pm Post subject: |
|
|
ffmpeg should be default, at least using mplayer without installing
different codecs like divx4linux.
Have a close look at mplayers USE flags and avoid any flag that could
prevent mplayer using ffmpeg as default. However, if ffmpeg will not
support your fileformat, see
https://forums.gentoo.org/viewtopic.php?p=2348017#2348017
you are lost . _________________ bye maik |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Mon Apr 25, 2005 7:18 pm Post subject: |
|
|
I don't use mplayer, it kept on crashing. I use xine.
I don't know what flags prevent ffmpeg though, here are my flags:
Code: |
USE="amd64 nvidia 3dfx 3dnow X xaw3d pic oav a52 aac aalib accessibility acl acpi adns -ain afs alsa apm arta audiofile avi bash-completion
bcmath bmp bluetooth bzlib foomaticdb kerberos arts mysql calendar caps cdb cdparanoia cdr -cjk cups curl curlwrappers -db2 dbm debug directfb divx4linux
dvd dvdr dvdread pam encode esd fbcon flac flash libclamav ftp gif glut -gtk -gtk2 -gtkhtml dio -jabber jack java javascript jikes
joystick jpeg perl kde readline nptl acl Qt mmx mng -gnome nozilla mp3 mpeg hal -icq imlib nas nocd ogg oggvorbis opengl openal -oscar
oss ppds pdflib pnp simplexml sockets python svg svga ldap symlink scanner msn sdl multilib"
|
Anything there of interest? |
|
Back to top |
|
|
m707 Tux's lil' helper
Joined: 31 Oct 2003 Posts: 121 Location: Germany
|
Posted: Mon Apr 25, 2005 8:54 pm Post subject: |
|
|
divx4linux is deprecated, IMHO. But I dunno about all flags, nor do I know about any dependencies, which will probably add flags. I meant:
Code: | emerge -pv <package> |
Just a look at xine, here:
Code: |
[ebuild R ] media-libs/xine-lib-1.0-r2 +X +aac +aalib +alsa (-altivec) +arts -cle266 -debug +directfb +dvd -dxr3 +esd +fbcon +ffmpeg +flac +gnome +i8x0 +ipv6 -libcaca -mng +nls +nvidia +opengl +oss +png +samba +sdl -speex +theora +v4l -vidix +vorbis +win32codecs -xinerama +xv -xvmc 0 kB
|
I am 32 bit, therefore I encolsed win32codecs. For mplayer I get:
Code: |
[ebuild R ] media-video/mplayer-1.0_pre6-r5 -3dfx -3dnow -3dnowext +X +aalib +alsa (-altivec) +arts +avi -bidi -bl +cdparanoia -debug -dga +directfb -divx4linux -doc +dts +dv -dvb +dvd +dvdread +edl +encode +esd +fbcon -ggi +gif +gtk +i8x0 +ipv6 -jack +joystick +jpeg -libcaca -lirc -live +lzo +mad +matroska -matrox +mmx -mmxext +mpeg -mythtv -nas +nls +nvidia +oggvorbis +opengl +oss +png +real +rtc +samba +sdl +sse +sse2 +svga -tga +theora +truetype +v4l -v4l2 -xanim -xinerama +xmms +xv +xvid -xvmc 0 kB
|
this is my laptop(P4m), which isn't used that often for multimedia issues. However, as xine does not include divx4linux at all, this can't be the issue on your box. OTOH, I am not that familiar with xine and dunno its default codecs. For mplayer it is definitely ffmpeg.
Anyhow, if you can upload a small piece [1] of the file somewhere on the net, I will have a look at it. Just to ensure you, you don't what to handle a file format that is not covered by linux tools in general or broken by design|p2p.
[1] I am on a 2x isdn line (128kbit), so about 10 MB should be sufficient. Maybe avisplit (from transcode) will work to split it. _________________ bye maik |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Mon Apr 25, 2005 9:56 pm Post subject: |
|
|
Moved from Multimedia. You'll get more help in the amd64 forum. _________________ Gentoo: it's like wiping your ass with silk. |
|
Back to top |
|
|
RiverRat n00b
Joined: 07 Oct 2004 Posts: 65 Location: Colorado
|
Posted: Tue Apr 26, 2005 4:21 am Post subject: The Solution... |
|
|
The solution is to use a 32 bit version of mplayer so that it can use the 32 bit codecs. Look here:
http://sh.nu/download/ebuilds/mplayer/ _________________ RiverRat |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Tue Apr 26, 2005 4:42 am Post subject: |
|
|
Welcome to the club of flashless and codecless people. Just search for mplayer and 32bit and u will be enlightened. |
|
Back to top |
|
|
hvengel Guru
Joined: 19 Sep 2004 Posts: 515
|
Posted: Tue Apr 26, 2005 5:50 am Post subject: |
|
|
I have been using ~amd64 versions of mplayer for a while now and I can play avi and most other video formats. Although I am currently having problems with WMV videos. These use a lot of CPU but I also have a low end video card (Matrox G450) and others with higher end cards like NVidia 5xxx and 6xxx cards are reporting lower levels of CPU usage. There are also beta versions of xvid that has had amd64 optimized assembly code added. You will need xvid-1.1.0_beta2 or later to get this. I also have the mplayer plug-in working in my 64 bit firefox.
So the bottom line is that there is still work that needs to happen to get this working as well as I would like but it is 300% better than it was a month ago and it appears that this is being actively worked on as I am writing this. I expect things will be getting better over the next few weeks and months. |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Tue Apr 26, 2005 10:32 pm Post subject: |
|
|
nice piece of work @infirit, ill add it to the faq is u dont mind. |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Thu Apr 28, 2005 2:53 pm Post subject: |
|
|
crazycat wrote: | nice piece of work @infirit, ill add it to the faq is u dont mind. | The nice piece of work is made by Primer
He has a thread in Gentoo on AMD64. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Ert3R} n00b
Joined: 07 May 2004 Posts: 48
|
Posted: Thu Apr 28, 2005 6:08 pm Post subject: Re: Codecs for Xine or Mplayer [Not Solved] |
|
|
avieth wrote: | . How can I get this file to play correctly? |
try with and eventually . |
|
Back to top |
|
|
hvengel Guru
Joined: 19 Sep 2004 Posts: 515
|
Posted: Sat Apr 30, 2005 8:34 pm Post subject: |
|
|
Yesterday I found a thread that said that there is now a version of win32codecs that is masked ~amd64. I checked and sure enough there it was. So I installed it and it worked. So I am now able to play WMV files with my 64 bit mplayer for the first time.
Also about 2 days ago emerge world installed a new version of xine-lib 1.0.1-r1 that was a huge improvement over the prior versions. I can now watch full screen videos with xine with all of the quality stuff turned up to it's highest levels and only use 30% to 40% CPU. Before with the quality stuff turned down to it's lowest levels I would hit 100% CPU watching full screen videos with xine.
You need all of the latest stuff (~amd64) for this to work. I also found that if I went into the config files for xine and mplayer and hand tuned them that I could get things working somewhat better than it did out of the box.
This stuff is changing very rapidly right now so I expect that next week I will be running new stuff that works even better. I don't think this is working as good as the 32 bit stuff but it is getting closer and is to the point for those not yet running the 32 bit stuff that they should get all the latest 64 bit stuff and get it a go. |
|
Back to top |
|
|
|