PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 01:16:36 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Help! Mplayer does not load!  (Read 1105 times)
tantrik
Guest
« on: January 14, 2010, 12:45:22 PM »

Hello friends,

I am having trouble with mplayer. I installed mplayer, smplayer and kplayer. But mplayer does not load at all. I also installed mplayer gui. Then I tried to play some videos with smplayer and kplayer but an error occurs everytime and I cannot watch those videos. I also installed win32codecs. Still no success. I don't know why this is happenning. But I am really getting frustrated.

Please help me to solve this problem. I cannot watch any videos.

Thanks in advance.
Logged
Leiche
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2702


God knows, i'm not an Angel!


WWW
« Reply #1 on: January 14, 2010, 12:56:36 PM »

What videos files did you play?
MediaInfo gives more info about your files
Logged

tantrik
Guest
« Reply #2 on: January 14, 2010, 01:15:19 PM »

Hi Leiche,

Thanks for the reply. The fact is that I cannot play any video. Later I also tried xine and kaffeine but the fact is they cannot play mp4, mkv and avi files. The error says those files have unsupported codec mp4a (Mpeg4 AAC). I don't know where to get that codec. Can you give me a detailed procedure of packages that I need to install to watch mp4,mkv,avi,dvd etc videos with ease and with subtitles? I tried everything and I failed. Mplayer never loaded no matter how much I clicked its icon from menu.

Please help in this problem. Thanks in advance. 
Logged
T6
Super Villain
******
Offline Offline

Posts: 16990


i can rest now :D


« Reply #3 on: January 14, 2010, 01:28:26 PM »

what video card do you have?  what driver is using?

are you on kde3 or another desktop?

are you using compiz or kde4 desktop effects?

have you updated your system completely?

about videos

"The error says those files have unsupported codec mp4a (Mpeg4 AAC). I don't know where to get that codec."

the win32 codecs should be enough to handle them, maybe the aac part could be a problem, have you tested vlc from synaptic?
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
rogaven
PCLinuxOS Tester
Sr. Member
*******
Offline Offline

Posts: 469


be patient, I'm German


« Reply #4 on: January 14, 2010, 01:35:38 PM »

What is it again

Code:
$ mplayer
mplayer: error while loading shared libraries: libdirectfb-0.9.so.25: cannot open shared object file: No such file or directory

no changes, no updates, nothing Shocked
Logged

Nothing is perfect, not even my english
3.2.16-pclos1.bfs x86_64 - KDE: 4.8.2 Intel(R) Pentium(R) D CPU 3.00GHz  - RAM: 6 GB - GeForce 9600 GT
T6
Super Villain
******
Offline Offline

Posts: 16990


i can rest now :D


« Reply #5 on: January 14, 2010, 01:40:53 PM »

calling form konsole mplayer should be written gmplayer to call the graphical version of mplayer but by writing just mplayer i had no response at all, no warning, nothing

i never used mplayer this way, maybe i need to write a route to a file or something

by writing gmplayer this is what i got

j@localhost ~]$ gmplayer
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
mplayer: could not connect to socket                                 
mplayer: No such file or directory                                   
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `perl /usr/share/themes/QtCurve/gtk-2.0/map_kde_icons.pl /usr/share/themes/QtCurve/gtk-2.0/icons4 /usr/share/icons/ 4 16 22 32 16 16 32 oxygencolors(v2.2) 0.69.2 > /home/j/.config/qtcurve/gtk-icons.6680 && mv /home/j/.config/qtcurve/gtk-icons.6680 /home/j/.config/qtcurve/gtk-icons'
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".

still the app is playing a 2 hour movie without any problem
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
Leiche
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2702


God knows, i'm not an Angel!


WWW
« Reply #6 on: January 14, 2010, 01:46:21 PM »

I don't know what is wrong, but my mplayer works
Code:
$ mplayer /home/daniel/Videos/star-trek.avi
MPlayer SVN-r30040-4.4.1 (C) 2000-2009 MPlayer Team            
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 /home/daniel/Videos/star-trek.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  656x272  24bpp  25.000 fps  1150.3 kbps (140.4 kbyte/s)
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 2.41:1 - prescaling to correct movie aspect.
VO: [xv] 656x272 => 656x272 Planar YV12  [zoom]
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".

and mediainfo says to the file
Code:
General
Complete name                    : /home/daniel/Videos/star-trek.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 1.31 GiB
Duration                         : 2h 1mn
Overall bit rate                 : 1 544 Kbps

Video
ID                               : 0
Format                           : MPEG-4 Visual
Format profile                   : Advanced Simple@L5
Format settings, BVOP            : Yes
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default (H.263)
Codec ID                         : XVID
Codec ID/Hint                    : XviD
Duration                         : 2h 1mn
Bit rate                         : 1 150 Kbps
Width                            : 656 pixels
Height                           : 272 pixels
Display aspect ratio             : 2.40:1
Frame rate                       : 25.000 fps
Resolution                       : 8 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.258
Stream size                      : 1 002 MiB (75%)
Writing library                  : XviD 1.2.1 (UTC 2008-12-04)

Audio
ID                               : 1
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : 2000
Duration                         : 2h 1mn
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Stream size                      : 334 MiB (25%)
Alignment                        : Aligned on interleaves
Interleave, duration             : 40 ms (1.00 video frame)


Open synaptic and search for "codecs"
I've installed, see image



[attachment deleted by admin]
Logged

tschommer
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 1367


PCLinuxOS - without rivals


« Reply #7 on: January 14, 2010, 01:58:13 PM »

What is it again

Code:
$ mplayer
mplayer: error while loading shared libraries: libdirectfb-0.9.so.25: cannot open shared object file: No such file or directory

no changes, no updates, nothing Shocked

This error should go away if you install/reinstall the package libdirectfb0.9_25 (that's where libdirectfb-0.9.so.25 is located). It should be installed by default, but maybe something went wrong during some update or other.

I have both libdirectfb0.9_25 and libdirectfb1.4_0 installed on my box.
Logged


ASUS M4N68T-M-LE-V2, AMD Phenom II X6 1055T, 4GB RAM, NVIDIA 460GTS
Network Ralink RT2870, MCP61 HD Audio, kernel 3.2.15-pclos1.bfs
T6
Super Villain
******
Offline Offline

Posts: 16990


i can rest now :D


« Reply #8 on: January 14, 2010, 04:22:11 PM »

"I have both libdirectfb0.9_25 and libdirectfb1.4_0 installed on my box."

same here, try that suggestion, sound like a solution
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
AndrzejL
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11990


Registered Linux User #490933


WWW
« Reply #9 on: January 14, 2010, 05:03:28 PM »

Permissions for the video files are set to?

Andy
Logged

rogaven
PCLinuxOS Tester
Sr. Member
*******
Offline Offline

Posts: 469


be patient, I'm German


« Reply #10 on: January 25, 2010, 10:00:40 AM »

Code:
$ ldd /usr/bin/mplayer | grep libdirect
        libdirectfb-0.9.so.25 => not found
        libdirectfb-1.4.so.0 => /usr/lib/libdirectfb-1.4.so.0 (0xb5038000)
        libdirect-1.4.so.0 => /usr/lib/libdirect-1.4.so.0 (0xb5017000)

Huh Where can I find libdirectfb-0.9.so.25?
Logged

Nothing is perfect, not even my english
3.2.16-pclos1.bfs x86_64 - KDE: 4.8.2 Intel(R) Pentium(R) D CPU 3.00GHz  - RAM: 6 GB - GeForce 9600 GT
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM