LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install libeml and libmatroska? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-libeml-and-libmatroska-667852/)

tetsujin29 09-05-2008 04:30 PM

how to install libeml and libmatroska?
 
In an attempt to get VLC player (or any media player) to play mkv files, I have downloaded libeml and libmatroska from the matroska webpage. However how do I install these two libs? I tried using make and it generates an error

root@localhost linux]# make
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -Wshadow -I/home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../.. -I/home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../../../libebml -o /home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../../src/FileKax.o /home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../../src/FileKax.cpp
make: g++: Command not found
make: *** [/home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../../src/FileKax.o] Error 127


Suggestions?

Thanks!

knudfl 09-05-2008 05:48 PM

Quote:

make: g++: Command not found
Mandriva 2008 : to install 'gcc-c++' please do
command 'su' and 'urpmi gcc-c++' providing also
'g++' .

Regards

tetsujin29 09-06-2008 09:15 AM

Quote:

Originally Posted by knudfl (Post 3271030)
Mandriva 2008 : to install 'gcc-c++' please do
command 'su' and 'urpmi gcc-c++' providing also
'g++' .

Regards

Thank you. I was doing urpmi g++ and no package was found. Btw, the libs did NOT help the VLC player (or any other player) to play mkv files. Only sound and no video...

andrew.46 10-09-2008 05:42 PM

Hi,

The 2 libraries that you speak of (libebml and libmatroska) are requirements of mkvtoolnix which creates, alters and inspects mkv files. Thus they are not requirements to actually play the files.

A current svn release of ffmpeg will play the mkv files and also allow you to identify the different elements in the container. For example:

Code:

andrew@skamandros~/movies/matrix$ ffmpeg -i matrix.mkv
FFmpeg version SVN-r15563, Copyright (c) 2000-2008 Fabrice Bellard,
et al.
  configuration: --prefix=/usr --mandir=/usr/man --disable-debug
--enable-shared --disable-static --enable-postproc --enable-avfilter
--enable-pthreads --enable-libtheora --enable-libvorbis
--enable-swscale --enable-x11grab --enable-libmp3lame
--enable-libxvid --enable-libx264 --enable-libschroedinger
--enable-libamr-wb --enable-libamr-nb --enable-nonfree
--enable-gpl
  libavutil    49.11. 0 / 49.11. 0
  libavcodec    52. 0. 0 / 52. 0. 0
  libavformat  52.22. 1 / 52.22. 1
  libavdevice  52. 1. 0 / 52. 1. 0
  libavfilter    0. 1. 0 /  0. 1. 0
  libswscale    0. 6. 1 /  0. 6. 1
  libpostproc  51. 2. 0 / 51. 2. 0
  built on Oct  5 2008 22:21:48, gcc: 4.2.3
Input #0, matroska, from 'matrix.mkv':
  Duration: 02:11:20.44, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264, yuv420p, 720x416, 25.00 tb(r)
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.2(eng): Audio: aac, 48000 Hz, stereo, s16

Must supply at least one output file

where you will see 3 elements: a video track encoded with h264 and 2 aac audio tracks. A modern version of vlc, the svn mplayer and the svn ffplay should be able to play this type of file. You might run into trouble, as has been suggested, if you are using versions of this software supplied by your distro that have been deliberately crippled.

Andrew


All times are GMT -5. The time now is 10:43 AM.