LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-13-2010, 06:26 PM   #1
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Rep: Reputation: 15
MKV video player for Ubuntu, not vlc or xine? Codec?


Hi,
I have a high def .mkv file I am trying to watch on Ubuntu 9.10. VLC shows a frame rate of ~2/second. VLC only saturates 1 core and must have inefficient code. VLC media player 0.9.9a Grishenko, gcc 4.3.3.

It is on a Velociraptor 300 hard drive, an Intel Core 2 Quad, 2.83 GHz and 4 GB of racing DDR3 so it can't be the hardware itself. And, I watch blu-ray disks on xp perfectly fine.

I tried MPlayer which has the convenient "-lavdopts threads=N" option so I figure I can throw 4-8 threads at it and get a decent frame rate. But, I get the error "cannot find codec matching -vo and video format 0x31435657. It sounds great, but no video.

Xine poofs away instantly as soon as I select the file and does nothing at all.

Wikipedia alleges that MPlayer supports MKV, but not on Ubuntu 9.10. I have looked for an hour for a "linux mkv codec" and found nothing useful.

I found libmatroska-1.0.0.tar.bz2 at matroska.org. The makefile does not make and there is no configure script, nor even an install.txt:
brianp@trex:~/download/mkv.matroska/libmatroska-1.0.0/make/linux$ make
<snip>
x.cpp:49: error: expected ‘)’ before ‘&’ token
make: *** [/home/brianp/download/mkv.matroska/libmatroska-1.0.0/make/linux/../../src/FileKax.o] Error 1

There is a debian/docs file with zero bytes. If you need to read it, you probably can't understand it anyway.

Good thing they documented it with a shell script:
brianp_trex:~/download/mkv.matroska/libmatroska-1.0.0/make$ sh ./makedoc.sh
: not foundh: 4:
make Documentation
: not foundh: 6:

Open source Keystone Cops?

Does anybody watch MKV files on Linux or know how to convert them into a normal format?

Thank you,
BrianP
 
Old 06-13-2010, 11:01 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
mkv is a container not a codec. It usually contains AAC format video.

You might try mkvtoolnix to inspect the file and install the correct libraries.
 
Old 06-14-2010, 06:21 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I think you might also have a problem with your video card, because 2 fps means that you don't have a graphics card that can handle HDTV or that you don't have the accelerated drivers installed. What video card, BTW ?

For Ubuntu they must have some package somewhere for libmatroska and faad at least.
 
Old 06-14-2010, 10:11 AM   #4
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
MKV video player for Ubuntu, not vlc or xine? Codec?

H_TeXMeX_H,
The video card is the respectable ATI Radeon 4850, 512 MB. Windoz xp runs PowerDVD playing blu-ray dvds at 4 million pixels (2560x1600) at 27% cpu flawlessly. I do have the ATI x86.x86_64 proprietary driver (ati-driver-installer-10-5-x86.x86_64.run) installed too.

I do have libmatroska 0.8.1-1.1 (and dev 1.0.0-1) and faad 2.6.1-3.1 packages installed. The libmatroska 1.0 source version crashes on build with a dozen compiler errors in the cpp files and has zero documentation of any kind. It is supposed to be the first, polished, release 1.0 version?


Smoker,
I installed mkvtoolnix. I am not really sure what to do with it. mkvinfo gives me seek and entry info, but nothing about the types of the contained files. See an excerpt below.

The mkvmerge shows this command line for what it is worth:
"mkvmerge" -o "/home/brianp/Videos/cuttlefish_2/title02.mkv" "--language" "1:eng" "--default-track" "1:yes" "--forced-track" "1:no" "--display-dimensions" "1:1920x1080" "--language" "2:eng" "--track-name" "2:3/2+1" "--default-track" "2:yes" "--forced-track" "2:no" "--language" "3:eng" "--track-name" "3:3/2+1" "--default-track" "3:no" "--forced-track" "3:no" "--language" "4:fra" "--track-name" "4:2/0" "--default-track" "4:no" "--forced-track" "4:no" "--language" "5:eng" "--default-track" "5:yes" "--forced-track" "5:no" "--language" "7:eng" "--default-track" "7:no" "--forced-track" "7:no" "--language" "9:spa" "--default-track" "9:no" "--forced-track" "9:no" "--language" "11:fra" "--default-track" "11:no" "--forced-track" "11:no" "--language" "13:eng" "--default-track" "13:no" "--forced-track" "13:no" "--language" "15:spa" "--default-track" "15:no" "--forced-track" "15:no" "--language" "17:fra" "--default-track" "17:no" "--forced-track" "17:no" "--language" "19:eng" "--default-track" "19:no" "--forced-track" "19:no" "--language" "21:spa" "--default-track" "21:no" "--forced-track" "21:no" "--language" "23:fra" "--default-track" "23:no" "--forced-track" "23:no" "--language" "25:eng" "--default-track" "25:no" "--forced-track" "25:no" "-a" "2,3,4" "-d" "1" "-s" "5,7,9,11,13,15,17,19,21,23,25" "-T" "--no-global-tags" "/home/brianp/Videos/cuttlefish_2/title02.mkv" "--track-order" "0:1,0:2,0:3,0:4,0:5,0:7,0:9,0:11,0:13,0:15,0:17,0:19,0:21,0:23,0:25

Again, nothing about the encoding of the files contained.

There is supposed to be an mkvpropedit program in the tool kit, but it is not included and I did an updatedb and scoured the entire system. Here are the only *mkv* commands installed:
brianp_trex:~/Videos/cuttlefish_2$ fcmd.pl mkv
/usr/bin/makemkv
/usr/bin/mkvmerge
/usr/bin/mkvinfo-text
/usr/bin/mkvextract
/usr/bin/makemkvcon
/usr/bin/mkvinfo
/usr/bin/mkvinfo-gui

The MPlayer error message "cannot find codec matching selected -vo and video format 0x31435657" is complaining about some contained video, but I can't figure out which file type it is. Which MKV utility tells this?

Here's something interesting:
brianp@trex:~/Videos/cuttlefish_2$ mplayer -v -v -vc coreavc13
this_opt = option: vc
Setting vc=coreavc13
MPlayer UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 10
CPU: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz (Family: 6, Model: 23, Stepping: 7)
extended cpuid-level: 8
extended cache-info: 402686016
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/brianp/.mplayer/codecs.conf'
Reading /home/brianp/.mplayer/codecs.conf: Can't open '/home/brianp/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.

brianp@trex:~/Videos/cuttlefish_2$ mplayer -v -v -v -vo help
this_opt = option: v
Setting v=-vo
this_opt = option: vo
Setting vo=help
MPlayer UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 10
CPU: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz (Family: 6, Model: 23, Stepping: 7)
extended cpuid-level: 8
extended cache-info: 402686016
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
Available video output drivers:
xmga Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
mga Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
tdfxfb 3Dfx Banshee/Voodoo3/Voodoo5
3dfx 3dfx (/dev/3dfx)
xv X11/Xv
vdpau VDPAU with X11
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
fbdev Framebuffer Device
fbdev2 Framebuffer Device
svga SVGAlib
caca libcaca
v4l2 V4L2 MPEG Video Decoder Output
directfb Direct Framebuffer Device
dfbmga DirectFB / Matrox G200/G400/G450/G550
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
xvmc XVideo Motion Compensation
mpegpes MPEG-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame

get_path('codecs.conf') -> '/home/brianp/.mplayer/codecs.conf'
Reading /home/brianp/.mplayer/codecs.conf: Can't open '/home/brianp/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.

*** uninit(0x0)
vo: x11 uninit called but X11 not initialized..
max framesize was 0 bytes


I have no codecs.conf anywhere on my system.

Any ideas?

Thank you,

BrianP




(MKVInfo) + EBML head at 0
(MKVInfo) |+ Doc type: matroska at 5
(MKVInfo) |+ Doc type version: 2 at 16
(MKVInfo) |+ Doc type read version: 2 at 20
(MKVInfo) + Segment, size 26619068680 at 24
(MKVInfo) |+ Seek head at 36
(MKVInfo) | + Seek entry at 41
(MKVInfo) | + Seek ID: 0x15 0x49 0xa9 0x66 (KaxInfo) at 44
(MKVInfo) | + Seek position: 131 at 51
(MKVInfo) | + Seek entry at 62
(MKVInfo) | + Seek ID: 0x16 0x54 0xae 0x6b (KaxTracks) at 65
(MKVInfo) | + Seek position: 282 at 72
(MKVInfo) | + Seek entry at 83
(MKVInfo) | + Seek ID: 0x1c 0x53 0xbb 0x6b (KaxCues) at 86
(MKVInfo) | + Seek position: 26618836216 at 93
(MKVInfo) | + Seek entry at 104
(MKVInfo) | + Seek ID: 0x1f 0x43 0xb6 0x75 (KaxCluster) at 107
(MKVInfo) | + Seek position: 5386 at 114
(MKVInfo) | + Seek entry at 125
(MKVInfo) | + Seek ID: 0x10 0x43 0xa7 0x70 (KaxChapters) at 128
(MKVInfo) | + Seek position: 2097 at 135
(MKVInfo) | + Seek entry at 146
(MKVInfo) | + Seek ID: 0x11 0x4d 0x9b 0x74 (KaxSeekHead) at 149
(MKVInfo) | + Seek position: 26618955601 at 156
(MKVInfo) |+ Segment information at 167
(MKVInfo) | + Timecode scale: 1000000 at 173
(MKVInfo) | + Muxing application: libmakemkv v1.5.6 beta (0.7.7/0.8.1) x86_64-linux-gnu at 180
(MKVInfo) | + Writing application: MakeMKV v1.5.6 beta linux(x64-release) at 236
(MKVInfo) | + Duration: 9368.159s (02:36:08.159) at 277
(MKVInfo) | + Segment UID: 0x7a 0x98 0xf3 0xdc 0x7a 0xe0 0x34 0x0e 0x1f 0x7a 0xe3 0xd6 0x45 0xa9 0x7f 0x86 at 288
(MKVInfo) | + Date: Sun Jun 13 20:55:43 2010 UTC at 307
<much more of the same...>
 
Old 06-14-2010, 12:03 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Ah, I think I know, you should run mplayer like:

Code:
mplayer -vo gl movie.mkv
 
Old 06-14-2010, 12:49 PM   #6
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
mplayer -vo gl ??

brianp@trex:~/Videos/cuttlefish_2$ mplayer -vo gl title02.mkv
MPlayer UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing title02.mkv.
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_DTS) "3/2+1", -aid 0, -alang eng
[mkv] Track ID 3: audio (A_AC3) "3/2+1", -aid 1, -alang eng
[mkv] Track ID 4: audio (A_AC3) "2/0", -aid 2, -alang fra
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 5: subtitles (S_HDMV/PGS), -sid 0, -slang eng
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 7: subtitles (S_HDMV/PGS), -sid 1, -slang eng
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 9: subtitles (S_HDMV/PGS), -sid 2, -slang spa
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 11: subtitles (S_HDMV/PGS), -sid 3, -slang fra
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 13: subtitles (S_HDMV/PGS), -sid 4, -slang eng
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 15: subtitles (S_HDMV/PGS), -sid 5, -slang spa
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 17: subtitles (S_HDMV/PGS), -sid 6, -slang fra
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 19: subtitles (S_HDMV/PGS), -sid 7, -slang eng
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 21: subtitles (S_HDMV/PGS), -sid 8, -slang spa
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 23: subtitles (S_HDMV/PGS), -sid 9, -slang fra
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 25: subtitles (S_HDMV/PGS), -sid 10, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [WVC1] 1920x1080 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[vc1 @ 0x7f12874e0a80]Incomplete extradata
Could not open codec.
VDecoder init failed
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1920 x 1080 (preferred colorspace: VC1 VDPAU acceleration)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Unsupported PixelFormat -1
[vc1_vdpau @ 0x7f12874e0a80]decoding to PIX_FMT_NONE is not supported.
Could not open codec.
VDecoder init failed
Cannot find codec matching selected -vo and video format 0x31435657.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
[pulse] working around probably broken pause functionality,
see http://www.pulseaudio.org/ticket/440
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 0.5 (00.5) of 9368.2 ( 2:36:08.1) 2.4%

MPlayer interrupted by signal 2 in module: key_events
A: 0.6 (00.5) of 9368.2 ( 2:36:08.1) 2.4%
Exiting... (Quit)


Trying mplayer -vo gl:nomanyfmts title02.mkv
mplayer -vo gl:nomanyfmts title02.mkv
MPlayer UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing title02.mkv.
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_DTS) "3/2+1", -aid 0, -alang eng
[mkv] Track ID 3: audio (A_AC3) "3/2+1", -aid 1, -alang eng
[mkv] Track ID 4: audio (A_AC3) "2/0", -aid 2, -alang fra
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 5: subtitles (S_HDMV/PGS), -sid 0, -slang eng
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 7: subtitles (S_HDMV/PGS), -sid 1, -slang eng
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 9: subtitles (S_HDMV/PGS), -sid 2, -slang spa
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 11: subtitles (S_HDMV/PGS), -sid 3, -slang fra
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 13: subtitles (S_HDMV/PGS), -sid 4, -slang eng
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 15: subtitles (S_HDMV/PGS), -sid 5, -slang spa
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 17: subtitles (S_HDMV/PGS), -sid 6, -slang fra
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 19: subtitles (S_HDMV/PGS), -sid 7, -slang eng
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 21: subtitles (S_HDMV/PGS), -sid 8, -slang spa
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 23: subtitles (S_HDMV/PGS), -sid 9, -slang fra
[mkv] Subtitle type 'S_HDMV/PGS' is not supported.
[mkv] Track ID 25: subtitles (S_HDMV/PGS), -sid 10, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [WVC1] 1920x1080 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[vc1 @ 0x7f98c20b0a80]Incomplete extradata
Could not open codec.
VDecoder init failed
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1920 x 1080 (preferred colorspace: VC1 VDPAU acceleration)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Unsupported PixelFormat -1
[vc1_vdpau @ 0x7f98c20b0a80]decoding to PIX_FMT_NONE is not supported.
Could not open codec.
VDecoder init failed
Cannot find codec matching selected -vo and video format 0x31435657.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
[pulse] working around probably broken pause functionality,
see http://www.pulseaudio.org/ticket/440
waitpid(): No child processes
AO: [pulse] Init failed: Internal error
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 1.2 (01.1) of 9368.2 ( 2:36:08.1) 1.7%

MPlayer interrupted by signal 2 in module: play_audio
A: 1.2 (01.2) of 9368.2 ( 2:36:08.1) 1.7%
Exiting... (Quit)


Synaptec shows /usr/lib/libavcodec.so.52.20.0 installed. 5624 kB

The program runs only in the terminal and there is no gui control or video box. The sound is good.

Puzzled,

BrianP
 
Old 06-14-2010, 02:09 PM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Take a look:

Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.

This means the video codec is wmv, you need to install the codecs pack, usually there's a package for your distro, win32-codecs or something like that. That's the only way to get it to play wmv video.
 
Old 06-14-2010, 02:52 PM   #8
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Try this link.
 
Old 06-14-2010, 04:38 PM   #9
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
GUI requires libavcodec with PNG support (needs zlib)

Smoker,
I tried that link, http://www.ubuntugeek.com/install-mp...10-karmic.html

root@trex:/usr/local/lib/codecs# sudo apt-get install w64codecs libdvdcss2
Unpacking w64codecs (from .../w64codecs_20071007-0medibuntu2_amd64.deb) ...
Setting up libdvdcss2 (1.2.10-0.3medibuntu1) ...

Setting up w64codecs (20071007-0medibuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Got the codec and the css library.

Built ffmpeg from source:
<snip>
install -c -m 755 ffmpeg ffserver "/usr/local/bin"
install -d "/usr/local/share/ffmpeg"
install -m 644 /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-baseline.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-default.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-fastfirstpass.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-hq.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-ipod320.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-ipod640.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-lossless_fast.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-lossless_max.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-lossless_medium.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-lossless_slower.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-lossless_slow.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-lossless_ultrafast.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-main.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-max.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-normal.ffpreset /home/brianp/download/ffmpeg/ffmpeg-0.5.2/ffpresets/libx264-slowfirstpass.ffpreset "/usr/local/share/ffmpeg"



I rebuilt mplayer again from source. No video:

brianp@trex:~/Videos/cuttlefish_2$ ll /usr/local/bin/mplayer
-rwxr-xr-x 1 root root 10M 2010-06-14 15:36 /usr/local/bin/mplayer
brianp@trex:~/Videos/cuttlefish_2$ /usr/local/bin/mplayer title02.mkv
MPlayer SVN-r31394-snapshot-4.4.3 (C) 2000-2010 MPlayer Team

Playing title02.mkv.
libavformat file format detected.
[matroska @ 0x16a25b0]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (vc1), -vid 0
[lavf] stream 1: audio (dca), -aid 0, -alang eng, 3/2+1
[lavf] stream 2: audio (ac3), -aid 1, -alang eng, 3/2+1
[lavf] stream 3: audio (ac3), -aid 2, -alang fra, 2/0
VIDEO: [WVC1] 1920x1080 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Can't open /dev/fb0: Permission denied
[fbdev2] Can't open /dev/fb0: Permission denied
VO: [v4l2] No such file or directory
vo_cvidix: No vidix driver name provided, probing available ones (-v option for details)!
[cyberblade] Error occurred during pci scan: Operation not permitted
[mach64] Error occurred during pci scan: Operation not permitted
[mga] Error occurred during pci scan: Operation not permitted
[mga] Error occurred during pci scan: Operation not permitted
[nvidia_vid] Error occurred during pci scan: Operation not permitted
[pm3] Error occurred during pci scan: Operation not permitted
[radeon] Error occurred during pci scan: Operation not permitted
[rage128] Error occurred during pci scan: Operation not permitted
[s3_vid] Error occurred during pci scan: Operation not permitted
[SiS] Error occurred during pci scan: Operation not permitted
[unichrome] Error occurred during pci scan: Operation not permitted
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
==========================================================================
Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg WVC1)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [null] 1920x1080 => 1920x1080 Planar YV12
A: 9.9 V: 9.9 A-V: 0.000 ct: -0.041 0/ 0 38% 0% 2.3% 0 0

MPlayer interrupted by signal 2 in module: key_events
A: 10.0 V: 10.0 A-V: -0.000 ct: -0.041 0/ 0 38% 0% 2.3% 0 0
Exiting... (Quit)

Configuring with video:
brianp@trex:~/download/mplayer/mplayer-export-2010-06-14$ ./configure --enable-gui
Checking for cc version ... 4.4.3
Detected operating system: Linux
Detected host architecture: x86_64
Checking for host cc ... cc
<snip>
Checking for Win32 codecs ... no <<<<<<< I installed the win64. Will that work?
<snip>
Checking for XMMS inputplugin support ... no
Checking for GUI ... yes

Error: The GUI requires libavcodec with PNG support (needs zlib).

Synaptic shows libavcodec-dev and libavcodec52, both 4.0.5.1 which is latest.

What am I doing wrong?

BrianP
 
Old 06-14-2010, 10:19 PM   #10
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
I did read somewhere that the 64 bit codecs are crap, and limited. But there are some long winded work-arounds, which including building a 32 bit version of mplayer. Towards the end of this thread.
 
Old 06-15-2010, 04:19 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by smoker View Post
I did read somewhere that the 64 bit codecs are crap, and limited. But there are some long winded work-arounds, which including building a 32 bit version of mplayer. Towards the end of this thread.
That's not true, I use the 64-bit codecs and they work fine, play any wmv I ever got.
 
Old 06-15-2010, 10:51 AM   #12
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
spammer reported
 
Old 06-16-2010, 11:48 AM   #13
no2498
Member
 
Registered: Jan 2010
Posts: 120

Rep: Reputation: 23
have you tried using smplayer it installs more coeds
im just asking
 
Old 06-16-2010, 02:06 PM   #14
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
Linux DOA, XP -> Matroska -> CCCP alive and not bad!

No,
Slick looking gui. Zero video.

I did find a less than optimal solution, however. Install Matroska Media Player Classic on xp (native, not virtual) and then install CCCP codecs. Looked fairly good. Intermittent 1-2 second video freezes but frequent and annoying 2-6 second silences. But, not a Linux solution.

Thank you,

BrianP
 
  


Reply



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
Ubuntu (7.10) -VLC media player will not play Nero 7 burned Data DVDs (mkv files) spiritsongtress Linux - Newbie 6 03-15-2008 02:06 AM
".cam" webcam video -- is there a codec? Can I play it with xine, Mplayer, VLC, ...? ErrorBound Linux - Software 0 07-09-2006 10:44 AM
Missing lib files for VLC player, Mplayer, Xine boston617 Linux - Software 1 06-24-2006 03:00 AM
vlc codec player installation aniljadhav Linux - Software 1 08-17-2005 05:23 AM
Xine + Win32 codec = choppy video Mechatrex Linux - Software 5 11-17-2004 08:31 AM

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

All times are GMT -5. The time now is 08:44 AM.

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