Jump to content

unstable Mplayer


cenobite
 Share

Recommended Posts

HI !

 

I have just installed/updated my mplayer via urpmi , because I didn't have the wmv9 codec installed +++, but there is one thing I can't figure out; could someone please look at my verbose when running Mplayer in console ?

 

@localhost ole]$ gmplayer -v

MPlayer 1.0pre5-3.4.1 © 2000-2004 MPlayer Team

 

CPU: Intel 1609 MHz (Family: 8, Stepping: 10)

Detected cache-line size is 64 bytes

CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1

Compiled with runtime CPU detection - WARNING - this is not optimal!

To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

Reading config file /etc/mplayer/mplayer.conf

Reading config file /home/ole/.mplayer/config

[cfg] read config file: /home/ole/.mplayer/gui.conf

Reading config file /home/ole/.mplayer/gui.conf

vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)

Disabling DPMS

Reading /home/ole/.mplayer/codecs.conf: Can't open '/home/ole/.mplayer/codecs.conf': No such file or directory

Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs

CommandLine: '-v'

init_freetype

Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay

Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument

Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

Using usleep() timing

get_path('input.conf') -> '/home/ole/.mplayer/input.conf'

Can't open input config file /home/ole/.mplayer/input.conf: No such file or directory

Parsing input config file /etc/mplayer/input.conf

Input config file /etc/mplayer/input.conf parsed: 53 binds

Opening joystick device /dev/input/js0

Can't open joystick device /dev/input/js0 : No such file or directory

Can't init input joystick

Setting up LIRC support...

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.

vo: X11 truecolor visual 0x23, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x24, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x25, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x26, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x27, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x28, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x29, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x2a, depth 16, R:F800 G:7E0 B:1F

get_path('Skin') -> '/home/ole/.mplayer/Skin'

SKIN dir 1: '/home/ole/.mplayer/Skin'

SKIN dir 2: '/usr/share/mplayer/Skin'

vo: X11 truecolor visual 0x23, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x24, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x25, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x26, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x27, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x28, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x29, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x2a, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x23, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x24, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x25, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x26, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x27, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x28, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x29, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x2a, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x23, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x24, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x25, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x26, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x27, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x28, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x29, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x2a, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x23, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x24, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x25, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x26, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x27, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x28, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x29, depth 16, R:F800 G:7E0 B:1F

vo: X11 truecolor visual 0x2a, depth 16, R:F800 G:7E0 B:1F

Unicode font: 255 glyphs.

[x11] NET style stay on top (layer 0). Using state _NET_WM_STATE_STAYS_ON_TOP.

Unicode font: 255 glyphs.

 

 

I then open a wmv9 file:

 

Playing /home/ole/div/test.wmv.

[file] File size is 306609 bytes

STREAM: [file] /home/ole/div/test.wmv

STREAM: Description: File

STREAM: Author: Albeu

STREAM: Comment: based on the code from ??? (probably Arpi)

CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0

Cache fill: 3,66% (306609 bytes) Checking for YUV4MPEG2

DEMUXER: freeing demuxer at 0x87a4630

ASF file format detected.

============ ASF Stream group == START ===

object size = 38

stream count=[0x2][2]

stream id=[0x1][1]

max bitrate=[0xa72e][42798]

stream id=[0x2][2]

max bitrate=[0x2fe4b][196171]

============ ASF Stream group == END ===

ASF: packets: 210 flags: 2 max_packet_size: 1444 min_packet_size: 1444 max_bitrate: 238969 preroll: 5000

stream type: guid_audio_stream

stream concealment: guid_audio_conceal_interleave

type: 28 bytes, stream: 8 bytes ID: 1

unk1: 0 unk2: 6CCE6200

FILEPOS=0x8D0

==> Found audio stream: 1

======= WAVE Format =======

Format Tag: 353 (0x161)

Channels: 2

Samplerate: 22050

avg byte/sec: 4006

Block align: 744

bits/sample: 16

cbSize: 10

Unknown extra header dump: [0] [44] [0] [0] [17] [0] [41] [17] [0] [0]

===========================

ASF: audio scrambling: 1 x 1 x 744

stream type: guid_video_stream

stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b

type: 55 bytes, stream: 0 bytes ID: 2

unk1: 0 unk2: 20E2B400

FILEPOS=0x942

==> Found video stream: 2

======= VIDEO Format ======

biSize 44

biWidth 200

biHeight 150

biPlanes 1

biBitCount 24

biCompression 861293911='WMV3'

biSizeImage 0

Unknown extra header dump: [4e] [29] [1a] [1]

===========================

Found movie at 0xB3D - 0x4ABC5

ASF: 1 audio and 1 video streams found

Auto-selected ASF video ID = 2

VIDEO: [WMV3] 200x150 24bpp

ASF: Searching for audio stream (id:1).

Auto-selected ASF audio ID = 1

[V] filefmt:6 fourcc:0x33564D57 size:200x150 fps:1000,00 ftime:=0,0010

get_path('sub/') -> '/home/ole/.mplayer/sub/'

get_path('default.sub') -> '/home/ole/.mplayer/default.sub'

==========================================================================

Trying to force audio codec driver family libmad...

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer.

FFmpeg's libavcodec audio codec

INFO: libavcodec init OK!

AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 4006->88200 (32,0 kbit)

Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))

==========================================================================

==========================================================================

Trying to force video codec driver family vfwex...

Opening video decoder: [dmo] DMO video codecs

External func OLEAUT32.dll:8

get_path('registry') -> '/home/ole/.mplayer/registry'

DMO dll supports VO Optimizations 0 1

DMO dll might use previous sample when requested

GetOutput r=0x0 size:90000 align:1

StreamCount r=0x0 1 1

Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU ?

Decoder is capable of YUV output (flags 0x1b)

VDec: vo config request - 200 x 150 (preferred csp: Packed YUY2)

Trying filter chain: vo

VDec: using BGR 16-bit as output csp (no 5)

Movie-Aspect is undefined - no prescaling applied.

VO Config (200x150->200x150,flags=4,'MPlayer',0x42475210)

VO: [x11] 200x150 => 200x150 BGR 16-bit [zoom]

VO: Description: X11 ( XImage/Shm )

VO: Author: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>

Sharing memory.

SwScaler: using unscaled BGR 16-bit -> BGR 16-bit special converter

INFO: Win32/DMO video codec init OK.

Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)

==========================================================================

Checking audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...

[libaf] Adding filter dummy

[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2

AF_pre: af format: 2 bps, 2 ch, 22050 hz, little endian signed int

AF_pre: 22050Hz 2ch Signed 16-bit (Little-Endian)

AO: [arts] Connected to sound server

AO: [arts] Stream opened

AO: [arts] buffer size: 20480

AO: [arts] packet size: 2048

AO: [arts] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)

AO: Description: aRts audio output

AO: Author: Michele Balistreri <brain87@gmx.net>

Building audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...

[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2

[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps = 2

Starting playback...

 

avg. framerate: 30 fps

*** [vo] Allocating mp_image_t, 200x150x16bpp BGR packed, 60000 bytes

Unicode font: 255 glyphs.

ds_fill_buffer: EOF reached (stream: audio) /293 4% 1% 0,4% 0 0 0%

ds_fill_buffer: EOF reached (stream: video) /299 4% 1% 0,4% 0 0 0%

EOF code: 1 14,9 A-V: -0,005 ct: -0,042 299/299 4% 1% 0,4% 0 0 0%

 

Uninit audio filters...

[libaf] Removing filter dummy

uninit audio: ffmpeg

uninit video: dmo

DEMUXER: freeing demuxer at 0x87a4630

DEMUXER: freeing sh_audio at 0x8731708

DEMUXER: freeing sh_video at 0x87a71d0

Successfully enabled DPMS

get_path('test.wmv.conf') -> '/home/ole/.mplayer/test.wmv.conf'

Segmentation fault

[ole@localhost ole]$

 

It plays well, but then trying to open another file or click anywhere on the mplayer (stop,open,preferences,etc.), or just clicking in the video window while playing, Mplayer just closing down or locks up, leaving no traces or error message in kde ?!?! I made the new install/update to make this lock up to go away, but it's still there.....

 

Anyone ?

 

Best regards

 

Ole (noob) :-)

Link to comment
Share on other sites

my suggestion............

 

go to Easy URPMI, set up PLF & Contrib sources, then get the MPlayer & codecs from PLF. PLF builds a very stable MPlayer that plays any media file i throw at it, provided you install the codecs. the files to get would be.............

 

for MPlayer:

mplayer

mplayer-fonts

mplayer-gui

mplayer-skins

mplayerplugin

 

for codecs:

real-codecs

win32-codecs

xanim-codecs

 

if you go that route, uninstall the version of MPlayer & codecs you currently have, first.

 

Chris

Link to comment
Share on other sites

Ok, now I've tried uprmi.removemedia -a, did a new setup of urpmi again.

uninstalled mplayer.rpm and mplayer-gui.rpm in remove software in kde. Then I urpmi those files you mentioned and everything is installed (except the skins, because urpmi couldn't find the package.....downloaded from rpmfind instead)

 

Still the Mplayer is buggy ! Take a look at the far end of my verbose (post above). What does "segmentation fault" means ? This appear the moment i try to push the eject button (or whatever button) when trying to load another mp3 or video (mplayer hangs or shut down)?!?! I have to start mplayer for each mp3 or video. Very annyoing :wall:

 

Do I need to uninstall some other packages too (or maybe upgrade some)? and if so which packages and how to remove everything in a simple way ?

 

Best regards

 

Noob with a Mplayer :oops:

 

PS! Kaffeine + xmms, etc works fine, but not with updated codecs like wmv

Link to comment
Share on other sites

it may just be audio/video/codec settings need some adjusting. right click MPlayer->preferences. check the audio, video, & codecs tabs. audio should prolly be set to OSS or Alsa. video should be xv X11/xv, codecs should be libmad mpeg. also, in misc, check that your cdrom settings are correct.

 

a segfault generally means a buggy app. but, i've never had a problem with MPlayer since day one. try adjusting preference settings & see how it goes.

 

Chris

Link to comment
Share on other sites

Hi !

 

Thanx for the tips. I finally made it more stable with these settings:

 

Audio driver = OSS

Video driver = X11

Video codec= FFmpeg's libavcodec codec family

Audio codec= libmad mpeg audio decoder

 

All runs well now, but I think Mplayer a pretty slow loading the formats (MP3, WMV, etc.). Xine start the Mp3 file instantly, wile Mplayer uses aprox. 6-10 (sometimes even more) sec. to load a file ? Is this normal for Mplayer ?

 

Maybe my configuration still aren't optimal or maybe I just have to wait for the official MDK 10.1 :juggle:

 

Thanx !

Link to comment
Share on other sites

cenobite: it's normal(ish). mplayer is quite conservative with caching - it caches 20% of the file on startup. Other players don't cache so much so early. With an mp3 file this should be barely noticeable (it's just spooling about 1MB of data from hard disk to memory, after all) but with a big video file you'll notice it; the bigger the file, the slower your hard disk, the more you'll notice it. (If you try loading a 650MB movie over a wireless network link, you'll REALLY notice it :>)

Link to comment
Share on other sites

cenobite: it's normal(ish). mplayer is quite conservative with caching - it caches 20% of the file on startup. Other players don't cache so much so early. With an mp3 file this should be barely noticeable (it's just spooling about 1MB of data from hard disk to memory, after all) but with a big video file you'll notice it; the bigger the file, the slower your hard disk, the more you'll notice it. (If you try loading a 650MB movie over a wireless network link, you'll REALLY notice it :>)

 

Hi !

 

Then everything is OK ! Mplayer runs great at the moment. It's the only player in my Linux box that got all the codecs working :headbang:

 

So thanx to chris z & adamw for the tips !

I think this post is now SOLVED !

 

:thanks:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...