Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
probleme with matroska and mplayer !!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
spOOwn
Apprentice
Apprentice


Joined: 02 Nov 2002
Posts: 259
Location: Belgium

PostPosted: Tue Jan 25, 2005 9:40 pm    Post subject: probleme with matroska and mplayer !! Reply with quote

Hello !!!

I want to play an matroska files, so a person tell me to do this :

- emerge libmatroska

it's works !!!

but then , i wanted :

- emerge mkvtoolnix

and i saw, this was a masked packages, so i change a line in /etc/make.conf

- ACCEPT_KEYWORDS="~amd64"

ok, but when it was comiling, an error showed up , this was this :

Code:
>>> emerge (5 of 5) media-video/mkvtoolnix-0.9.5-r1 to /
>>> Downloading ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/mkvtoolnix-0.9.5.tar.bz2
--23:32:07--  ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/mkvtoolnix-0.9.5.tar.bz2
           => `/usr/portage/distfiles/mkvtoolnix-0.9.5.tar.bz2'
Resolving ftp.belnet.be... 193.190.198.20, 2001:6a8:3c80:0:203:baff:fe39:f931
Connecting to ftp.belnet.be[193.190.198.20]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /mirror/rsync.gentoo.org/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR mkvtoolnix-0.9.5.tar.bz2 ... done.

    [                        <=>                                                           ] 508,236      102.43K/s             

23:32:18 (51.28 KB/s) - `/usr/portage/distfiles/mkvtoolnix-0.9.5.tar.bz2' saved [508236]

>>> md5 src_uri ;-) mkvtoolnix-0.9.5.tar.bz2
>>> Unpacking source...
>>> Unpacking mkvtoolnix-0.9.5.tar.bz2 to /var/tmp/portage/mkvtoolnix-0.9.5-r1/work
 * Applying configure-wx_config.patch ...                                                                                  [ ok ]
>>> Source unpacked.
X
 * Using /usr/bin/wxgtk-2.4-config
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /bin/install -c
checking for ranlib... ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether the byte order is big-endian... no
checking if being compiled with mingw32... no
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for ogg_sync_init in -logg... no
configure: error: Could not find the Ogg library

!!! ERROR: media-video/mkvtoolnix-0.9.5-r1 failed.
!!! Function src_compile, Line 40, Exitcode 1
!!! configure died
!!! If you need support, post the topmost build error, NOT this status message.


and i have an other problem with mplayer during compiling !!

Code:
u_filesel.o menu_filesel.c
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include  -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include  -Wall -I/usr/include/freetype2 -o menu_txt.o menu_txt.c
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include  -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include  -Wall -I/usr/include/freetype2 -o menu_console.o menu_console.c
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include  -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include  -Wall -I/usr/include/freetype2 -o menu_param.o menu_param.c
menu_param.c: In function `parse_args':
menu_param.c:83: warning: dereferencing type-punned pointer will break strict-aliasing rules
menu_param.c:93: warning: dereferencing type-punned pointer will break strict-aliasing rules
menu_param.c:56: warning: unused variable `ok'
menu_param.c:56: warning: unused variable `cancel'
menu_param.c: In function `openMenu':
menu_param.c:133: warning: cast from pointer to integer of different size
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include  -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include  -Wall -I/usr/include/freetype2 -o menu_dvbin.o menu_dvbin.c
In file included from ../libmpdemux/dvbin.h:5,
                 from menu_dvbin.c:27:
../libmpdemux/dvb_defaults.h:69:3: warning: #warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
menu_dvbin.c: In function `fill_channels_menu':
menu_dvbin.c:108: warning: int format, different type arg (arg 3)
menu_dvbin.c: In function `fill_cards_menu':
menu_dvbin.c:140: warning: int format, different type arg (arg 3)
ar r libmenu.a menu.o vf_menu.o menu_cmdlist.o menu_pt.o menu_list.o menu_filesel.o menu_txt.o menu_console.o menu_param.o menu_dvbin.o
ar: creating libmenu.a
true libmenu.a
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre5-r5/work/MPlayer-1.0pre5try2/libmenu'
gcc -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I//usr/lib/glib/include -I/usr/X11R6/include   -I/usr/X11R6/include       -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a libmenu/libmenu.a  Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a   libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a          -lpng -lz -lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1 -export-dynamic   -lfreetype -lz     -lgif     -L//usr/lib -lfontconfig    libfaad2/libfaad2.a  -L//usr/lib -L/usr/X11R6/lib64 -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L//usr/lib -lglib  -lGL -lXxf86dga -lXv  -lXxf86vm  -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl                 -lpthread -ldl -rdynamic   -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgif
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

!!! ERROR: media-video/mplayer-1.0_pre5-r5 failed.
!!! Function src_compile, Line 443, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.


anyone can help me ??

my settings are :

Code:

CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j2"
USE="X dvd cdr alsa oss divx4linux multilib"


Last edited by spOOwn on Wed Jan 26, 2005 3:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
spOOwn
Apprentice
Apprentice


Joined: 02 Nov 2002
Posts: 259
Location: Belgium

PostPosted: Wed Jan 26, 2005 2:40 pm    Post subject: Reply with quote

my problem was due to OGGLIB, i emerged it, and it works but matroska still don't works, i can watch divx movies, dvd movies but not mkv files !!! Does anyone try a .mkv movies ??
Back to top
View user's profile Send private message
ChristianHJW
n00b
n00b


Joined: 29 Jun 2003
Posts: 8
Location: Germany - Bavaria

PostPosted: Mon Jan 31, 2005 10:58 pm    Post subject: Reply with quote

Your MKV file likely contains Realvideo ?

Note you dont need mkvtoolnix/mkvmerge for playback, only mplayer compiled with MKV support ( no libmatroska involved anymore, since ages ) should do fine. If you manage to compile mkvtoolnix on your distro http://mkvtoolnix.matroska.org , run mkvinfo on the file and tell us what codec IDs its using for the streams it contains.

Christian
matroska project admin
http://www.matroska.org
_________________
Support matroska as container andUSF as subtitles standard
Back to top
View user's profile Send private message
Thom N2h
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 161

PostPosted: Mon Jan 31, 2005 11:13 pm    Post subject: Reply with quote

You can try lastest ebuild of mkvtoolnix 1.0.1
I didn't allow ~amd64 because a couldn't test it, but quoting mosu, mkvtoolnix dev it should be working on amd64

for playback don't forget to put the matroska useflag before emerging mplayer
Back to top
View user's profile Send private message
Mosu
n00b
n00b


Joined: 16 Mar 2004
Posts: 8
Location: Braunschweig, Germany

PostPosted: Sat Apr 09, 2005 10:08 am    Post subject: Reply with quote

Unfortunately 1.4.x does not work on AMD64 anymore, and I don't know how to fix it yet. Also I lack an AMD64 machine to debug this, and the one in sourceforge's compile farm doesn't let me access it for some time now.
Back to top
View user's profile Send private message
Mosu
n00b
n00b


Joined: 16 Mar 2004
Posts: 8
Location: Braunschweig, Germany

PostPosted: Sun Apr 10, 2005 8:01 am    Post subject: Reply with quote

Yay, I figured out what was wrong on AMD64 yesterday. The next release (1.4.1) will contain the fix and works on AMD64 as far as I have tested.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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