public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] smplayer and kmplayer only works (almost) OK as root
@ 2011-07-03  2:24 Francisco Ares
  2011-07-03  8:27 ` Mick
  0 siblings, 1 reply; 7+ messages in thread
From: Francisco Ares @ 2011-07-03  2:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]

Hi, All,

I am trying to use smplayer or kmplayer as a regular user. They both don't
work: kmplayer keeps saying that it is waiting mplayer buffering and
smplayer reports "Mplayer has finished unexpectedly. Exit code:1".

Running both as root from a terminal, the following message appeared:


KGlobal::locale::Warning your global KLocale is being recreated with a valid
main component instead of a fake component, this usually means you tried to
call i18n related functions before your main component was created. You
should not do that since it most likely will not work
kmplayer(8687): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)


I did that export while still as root, and then both started to work, so
there is no problem with them, but some setting is missing. Additionally,
even that export did not work for smplayer/kmplayer as regular user.

What should I do next? Where to look at?

Thanks a lot
Francisco
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas." -
George Bernard Shaw

[-- Attachment #2: Type: text/html, Size: 1349 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] smplayer and kmplayer only works (almost) OK as root
  2011-07-03  2:24 [gentoo-user] smplayer and kmplayer only works (almost) OK as root Francisco Ares
@ 2011-07-03  8:27 ` Mick
  2011-07-03 15:12   ` Francisco Ares
  0 siblings, 1 reply; 7+ messages in thread
From: Mick @ 2011-07-03  8:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1815 bytes --]

On Sunday 03 Jul 2011 03:24:27 Francisco Ares wrote:
> Hi, All,
> 
> I am trying to use smplayer or kmplayer as a regular user. They both don't
> work: kmplayer keeps saying that it is waiting mplayer buffering and
> smplayer reports "Mplayer has finished unexpectedly. Exit code:1".
> 
> Running both as root from a terminal, the following message appeared:
> 
> 
> KGlobal::locale::Warning your global KLocale is being recreated with a
> valid main component instead of a fake component, this usually means you
> tried to call i18n related functions before your main component was
> created. You should not do that since it most likely will not work
> kmplayer(8687): Session bus not found
> To circumvent this problem try the following command (with Linux and bash)
> export $(dbus-launch)
> 
> 
> I did that export while still as root, and then both started to work, so
> there is no problem with them, but some setting is missing. Additionally,
> even that export did not work for smplayer/kmplayer as regular user.
> 
> What should I do next? Where to look at?
> 
> Thanks a lot
> Francisco
> "If you have an apple and I have an apple and we exchange apples then you
> and I will still each have one apple. But if you have an idea and I have
> one idea and we exchange these ideas, then each of us will have two
> ideas." - George Bernard Shaw

Is dbus running?  What do you get from:

# /etc/init.d/dbus status

and 

$ echo $(dbus-launch)

Finally, launch mplayer -msglevel all=6 <some_video_file> to see what you get 
on the command line.  You can increase -msglevel 6 up to 9 to get more verbose 
debugging output.  Press q to stop the debugging session - you only need the 
first couple of screenfulls, until it starts the PARSE messages.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] smplayer and kmplayer only works (almost) OK as root
  2011-07-03  8:27 ` Mick
@ 2011-07-03 15:12   ` Francisco Ares
  2011-07-03 21:41     ` Mick
  0 siblings, 1 reply; 7+ messages in thread
From: Francisco Ares @ 2011-07-03 15:12 UTC (permalink / raw
  To: gentoo-user

On Sun, Jul 3, 2011 at 5:27 AM, Mick <michaelkintzios@gmail.com> wrote:
>
> On Sunday 03 Jul 2011 03:24:27 Francisco Ares wrote:
> > Hi, All,
> >
> > I am trying to use smplayer or kmplayer as a regular user. They both don't
> > work: kmplayer keeps saying that it is waiting mplayer buffering and
> > smplayer reports "Mplayer has finished unexpectedly. Exit code:1".
> >
> > Running both as root from a terminal, the following message appeared:
> >
> >
> > KGlobal::locale::Warning your global KLocale is being recreated with a
> > valid main component instead of a fake component, this usually means you
> > tried to call i18n related functions before your main component was
> > created. You should not do that since it most likely will not work
> > kmplayer(8687): Session bus not found
> > To circumvent this problem try the following command (with Linux and bash)
> > export $(dbus-launch)
> >
> >
> > I did that export while still as root, and then both started to work, so
> > there is no problem with them, but some setting is missing. Additionally,
> > even that export did not work for smplayer/kmplayer as regular user.
> >
> > What should I do next? Where to look at?
> >
> > Thanks a lot
> > Francisco
> > "If you have an apple and I have an apple and we exchange apples then you
> > and I will still each have one apple. But if you have an idea and I have
> > one idea and we exchange these ideas, then each of us will have two
> > ideas." - George Bernard Shaw
>
> Is dbus running?  What do you get from:
>
> # /etc/init.d/dbus status
>
> and
>
> $ echo $(dbus-launch)
>
> Finally, launch mplayer -msglevel all=6 <some_video_file> to see what you get
> on the command line.  You can increase -msglevel 6 up to 9 to get more verbose
> debugging output.  Press q to stop the debugging session - you only need the
> first couple of screenfulls, until it starts the PARSE messages.
> --
> Regards,
> Mick


Thanks for your reply, Mick

I think I forgot to say: mplayer always works, kmplayer and smplayer don't.

Following your steps (a few words are in my current locale):

# /etc/init.d/dbus status
 * status: started

# echo $(dbus-launch)
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-mU2yodqLmm,guid=cf51aed93a7b9b4a16af650c00000198
DBUS_SESSION_BUS_PID=17859

# mplayer -msglevel all=6 video.avi
MPlayer SVN-r32624-4.5.2 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 10
CPU: Intel(R) Core(TM)2 Quad  CPU   Q9300  @ 2.50GHz (Family: 6,
Model: 23, Stepping: 7)
extended cpuid-level: 8
extended cache-info: 201351232
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compilado para CPU x86 com extenções: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/home/user/.mplayer/codecs.conf'
Reading /home/user/.mplayer/codecs.conf: Can't open
'/home/user/.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
Usando codecs.conf interno padrão
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/user/.mplayer/fonts'
Configuration: --cc=i686-pc-linux-gnu-gcc
--host-cc=i686-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer
--datadir=/usr/share/mplayer --libdir=/usr/lib --disable-svga
--disable-svgalib_helper --disable-ass-internal --disable-arts
--disable-kai --enable-networking --enable-joystick --disable-nemesi
--disable-bl --disable-bluray --disable-ftp --disable-fribidi
--disable-libnut --disable-smb --disable-lirc --disable-lircc
--disable-apple-ir --disable-cdparanoia --disable-dvdread-internal
--disable-libdvdcss-internal --charset=UTF-8 --disable-tv-bsdbt848
--disable-ivtv --disable-pvr --disable-tv-v4l1 --disable-tv-v4l2
--disable-radio-v4l2 --disable-radio-bsdbt848 --disable-musepack
--disable-faad-internal --disable-libmpeg2-internal --disable-libbs2b
--disable-libgsm --disable-liblzo --disable-librtmp
--disable-libopencore_amrnb --disable-libopencore_amrwb
--disable-libmpeg2 --disable-mpg123 --disable-pnm --disable-xanim
--disable-libvpx-lavc --codecsdir=/opt/RealPlayer/codecs
--disable-md5sum --disable-aa --disable-fbdev --disable-zr
--disable-mga --disable-xmga --disable-3dfx --disable-tdfxvid
--disable-tdfxfb --disable-xvr100 --disable-ladspa --disable-nas
--disable-openal --disable-ossaudio --disable-gui --disable-dxr3
--disable-ggi --disable-dga1 --disable-dga2 --enable-menu
--disable-vdpau --disable-vidix --disable-vidix-pcidb --enable-xvmc
--with-xvmclib=XvMCW
CommandLine: '-msglevel' 'all=6' 'video.avi'
Using nanosleep() timing
get_path('input.conf') -> '/home/user/.mplayer/input.conf'
Can't open input config file /home/user/.mplayer/input.conf: No such
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 91 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
get_path('video.avi.conf') -> '/home/user/.mplayer/video.avi.conf'
Reproduzindo video.avi
get_path('sub/') -> '/home/user/.mplayer/sub/'
[file] File size is 759553200 bytes
STREAM: [file] video.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: AVI format
Detectado formato de arquivo AVI!
list_end=0x22A6
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 168680   initial: 0
streams: 2
Suggested BufferSize: 68186
Size:  560 x 464
==========================
list_end=0x10F4
==> Trilha de video encontrada: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids   FCC: DIVX (58564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 168680
Suggested BufferSize: 68186
Quality -1
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 560
  biHeight 464
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 779520
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x219A
==> Trilha de audio encontrada: 1
[aviheader] Audio stream found, -aid 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 16000/1 = 16000.000
Start: 0   Len: 107954141
Suggested BufferSize: 3567
Quality 10000
Sample size: 1
==========================
Found 'wf', 50 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
==========================================================================
list_end=0x22A6
AVI: dmlh found (size=248) (total_frames=168680)
list_end=0x2D1471A8
Found movie at 0x280C - 0x2D1471A8
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:-1)
Auto-selected AVI audio ID = 1
XXX initial  v_pts=0.160  a_pos=0 (0.000)
AVI video size=650239367 (168680)  audio size=107954141
VIDEO:  [DIVX]  560x464  24bpp  25.000 fps  771.0 kbps (94.1 kbyte/s)
Auto-selected AVI audio ID = 1
[V] filefmt:3  fourcc:0x58564944  size:560x464  fps:25.000  ftime:=0.0400
get_path('sub/') -> '/home/user/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1440x900 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 8192x8192
==========================================================================
Abrindo decodificador de vídeo: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Abrindo decodificador de audio: [mp3lib] MPEG layer-2, layer-3
dec_audio: Alocando 4608 + 65536 = 70144 bytes para o buffer de saída
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Trying every known audio driver...
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.23
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: got buffersize=96000
alsa-init: got period size 1500
alsa: 48000 Hz/2 channels/4 bpf/96000 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under development
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Iníciando reprodução...
Increasing filtered audio buffer size from 0 to 65536
[mpeg4 @ 0x87024e0]looks like this file was encoded with
(divx4/(old)xvid/opendivx) -> forcing low_delay flag
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 560 x 464 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Aspecto do filme é indefinido - nenhum pré-redimensionamento aplicado.
VO Config (560x464->560x464,flags=0,'MPlayer',0x32315659)
VO: [xv] 560x464 => 560x464 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 310 for hw scaling
*** [vo] Allocating (slices) mp_image_t, 560x464x12bpp YUV planar, 389760 bytes
Unicode font: 5162 glyphs.
Unicode font: 5162 glyphs.
A:   0.2 V:   0.0 A-V:  0.243 ct:  0.000   1/  1 ??% ??% ??,?% 0 0
*** [vo] Allocating (slices) mp_image_t, 560x464x12bpp YUV planar, 389760 bytes
A:   6.3 V:   6.3 A-V:  0.000 ct:  0.000 158/158  4%  0%  0.4% 3 0
Uninit audio filters...
[libaf] Removing filter dummy
finalizando audio: mp3lib
finalizando vídeo: ffmpeg
alsa-uninit: pcm closed
vo: uninit ...

Saindo... (Sair)


The directory /home/user/.mplayer/ contains two files:

# l /home/user/.mplayer/
total 34K
drwxr-x---   2 user users  96 Out 17  2009 ./
drwxrwx--- 194 user users 27K Jul  3 12:07 ../
-rw-r-----   1 user users  44 Out  7  2009 config
-rw-r-----   1 user users 345 Jan 20 02:00 registry

the config file is empty and the registry looks like an excerpt of a
few Windoze registry entries. I've renamed the directory .mplayer and
a new one was created. Apparently it affected nothing.

Thanks
Francisco
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and
I have one idea and we exchange these ideas, then each of us will have
two ideas." - George Bernard Shaw



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] smplayer and kmplayer only works (almost) OK as root
  2011-07-03 15:12   ` Francisco Ares
@ 2011-07-03 21:41     ` Mick
  2011-07-04  4:21       ` Francisco Ares
  0 siblings, 1 reply; 7+ messages in thread
From: Mick @ 2011-07-03 21:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2305 bytes --]

On Sunday 03 Jul 2011 16:12:46 Francisco Ares wrote:

> I think I forgot to say: mplayer always works, kmplayer and smplayer don't.

smplayer and kmplayer are front ends for mplayer.  If they do not work there's 
probably something amiss with Qt4 and KDE.


> Following your steps (a few words are in my current locale):
> 
> # /etc/init.d/dbus status
>  * status: started

OK this is good.


> # echo $(dbus-launch)
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-mU2yodqLmm,guid=cf51aed93a
> 7b9b4a16af650c00000198 DBUS_SESSION_BUS_PID=17859

I've asked for this:

$ echo $(dbus-launch)

^
as a plain user.


> # mplayer -msglevel all=6 video.avi
> MPlayer SVN-r32624-4.5.2 (C) 2000-2010 MPlayer Team
> CPU vendor name: GenuineIntel  max cpuid level: 10
> CPU: Intel(R) Core(TM)2 Quad  CPU   Q9300  @ 2.50GHz (Family: 6,
[snip ...]

This looks OK, but can you please run it as a plain user?


> The directory /home/user/.mplayer/ contains two files:
> 
> # l /home/user/.mplayer/
> total 34K
> drwxr-x---   2 user users  96 Out 17  2009 ./
> drwxrwx--- 194 user users 27K Jul  3 12:07 ../
> -rw-r-----   1 user users  44 Out  7  2009 config
> -rw-r-----   1 user users 345 Jan 20 02:00 registry
> 
> the config file is empty and the registry looks like an excerpt of a
> few Windoze registry entries. I've renamed the directory .mplayer and
> a new one was created. Apparently it affected nothing.

What is a MSWindows registry file doing in there?!  o_O

> 
> Thanks
> Francisco
> "If you have an apple and I have an apple and we exchange apples then
> you and I will still each have one apple. But if you have an idea and
> I have one idea and we exchange these ideas, then each of us will have
> two ideas." - George Bernard Shaw

Talking about apples ... you could add this:

[default]
user-agent=QuickTime/7.6.2

in your ~/.mplayer/config and it will be able to stream HD apple trailers:

mplayer -cache 150000 -user-agent QuickTime/7.6.2 \ 
http://trailers.apple.com/movies/independent/senna/senna-tlr1_480p.mov
  Anyway, back to your original problem.

Are you running an updated Gentoo system?  Did you run 'revdep-rebuild -v -- 
--ask' to see if there is any KDE/Qt packages that need rebuilding?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] smplayer and kmplayer only works (almost) OK as root
  2011-07-03 21:41     ` Mick
@ 2011-07-04  4:21       ` Francisco Ares
  2011-07-04  7:43         ` [gentoo-user] " Alberto Luaces
  0 siblings, 1 reply; 7+ messages in thread
From: Francisco Ares @ 2011-07-04  4:21 UTC (permalink / raw
  To: gentoo-user

On Sun, Jul 3, 2011 at 6:41 PM, Mick <michaelkintzios@gmail.com> wrote:
> On Sunday 03 Jul 2011 16:12:46 Francisco Ares wrote:
>
>> I think I forgot to say: mplayer always works, kmplayer and smplayer don't.
>
> smplayer and kmplayer are front ends for mplayer.  If they do not work there's
> probably something amiss with Qt4 and KDE.
>
>
>> Following your steps (a few words are in my current locale):
>>
>> # /etc/init.d/dbus status
>>  * status: started
>
> OK this is good.
>
>
>> # echo $(dbus-launch)
>> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-mU2yodqLmm,guid=cf51aed93a
>> 7b9b4a16af650c00000198 DBUS_SESSION_BUS_PID=17859
>
> I've asked for this:
>
> $ echo $(dbus-launch)
>
> ^
> as a plain user.
>

Yes, it is from a plain user login


>
>> # mplayer -msglevel all=6 video.avi
>> MPlayer SVN-r32624-4.5.2 (C) 2000-2010 MPlayer Team
>> CPU vendor name: GenuineIntel  max cpuid level: 10
>> CPU: Intel(R) Core(TM)2 Quad  CPU   Q9300  @ 2.50GHz (Family: 6,
> [snip ...]
>
> This looks OK, but can you please run it as a plain user?
>
>

That was from a plain user... I think.  Just in case, there goes another one:

# mplayer -msglevel all=6 sleeping\ suricates.wmv
MPlayer SVN-r32624-4.5.2 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 10
CPU: Intel(R) Core(TM)2 Quad  CPU   Q9300  @ 2.50GHz (Family: 6,
Model: 23, Stepping: 7)
extended cpuid-level: 8
extended cache-info: 201351232
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compilado para CPU x86 com extenções: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/home/user/.mplayer/codecs.conf'
Reading /home/user/.mplayer/codecs.conf: Can't open
'/home/user/.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
Usando codecs.conf interno padrão
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/user/.mplayer/fonts'
Configuration: --cc=i686-pc-linux-gnu-gcc
--host-cc=i686-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer
--datadir=/usr/share/mplayer --libdir=/usr/lib --disable-svga
--disable-svgalib_helper --disable-ass-internal --disable-arts
--disable-kai --enable-networking --enable-joystick --disable-nemesi
--disable-bl --disable-bluray --disable-ftp --disable-fribidi
--disable-libnut --disable-smb --disable-lirc --disable-lircc
--disable-apple-ir --disable-cdparanoia --disable-dvdread-internal
--disable-libdvdcss-internal --charset=UTF-8 --disable-tv-bsdbt848
--disable-ivtv --disable-pvr --disable-tv-v4l1 --disable-tv-v4l2
--disable-radio-v4l2 --disable-radio-bsdbt848 --disable-musepack
--disable-faad-internal --disable-libmpeg2-internal --disable-libbs2b
--disable-libgsm --disable-liblzo --disable-librtmp
--disable-libopencore_amrnb --disable-libopencore_amrwb
--disable-libmpeg2 --disable-mpg123 --disable-pnm --disable-xanim
--disable-libvpx-lavc --codecsdir=/opt/RealPlayer/codecs
--disable-md5sum --disable-aa --disable-fbdev --disable-zr
--disable-mga --disable-xmga --disable-3dfx --disable-tdfxvid
--disable-tdfxfb --disable-xvr100 --disable-ladspa --disable-nas
--disable-openal --disable-ossaudio --disable-gui --disable-dxr3
--disable-ggi --disable-dga1 --disable-dga2 --enable-menu
--disable-vdpau --disable-vidix --disable-vidix-pcidb --enable-xvmc
--with-xvmclib=XvMCW
CommandLine: '-msglevel' 'all=6' 'sleeping suricates.wmv'
Using nanosleep() timing
get_path('input.conf') -> '/home/user/.mplayer/input.conf'
Can't open input config file /home/user/.mplayer/input.conf: No such
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 91 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
get_path('sleeping suricates.wmv.conf') ->
'/home/user/.mplayer/sleeping suricates.wmv.conf'
Reproduzindo sleeping suricates.wmv
get_path('sub/') -> '/home/user/.mplayer/sub/'
[file] File size is 3245657 bytes
STREAM: [file] sleeping suricates.wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: ASF format
Checking for YUV4MPEG2
Detectado formato de arquivo ASF!
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 51 bytes,  stream: 0 bytes  ID: 1
unk1: 0  unk2: 0
FILEPOS=0x162
==> Trilha de video encontrada: 1
[asfheader] Video stream found, -vid 1
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 827739479='WMV1'
  biSizeImage 230400
===========================
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 22 bytes,  stream: 8 bytes  ID: 2
unk1: 0  unk2: 0
FILEPOS=0x1E3
==> Trilha de audio encontrada: 2
[asfheader] Audio stream found, -aid 2
======= WAVE Format =======
Format Tag: 352 (0x160)
Channels: 2
Samplerate: 22050
avg byte/sec: 8000
Block align: 371
bits/sample: 16
cbSize: 4
Unknown extra header dump: [0] [0] [1] [0]
==========================================================================
ASF: audio scrambling: 1 x 1 x 371
ASF: packets: 1014  flags: 2  max_packet_size: 3200  min_packet_size:
3200  max_bitrate: 1064000  preroll: 3100
Found movie at 0x28B - 0x31858B
ASF: 1 audio and 1 video streams found
Auto-selected ASF audio ID = 2
Auto-selected ASF video ID = 1
ASF: Procurando por trilha de audio (id:2)
VIDEO:  [WMV1]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6  fourcc:0x31564D57  size:320x240  fps:1000.000  ftime:=0.0010
get_path('sub/') -> '/home/user/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1440x900 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 8192x8192
==========================================================================
Abrindo decodificador de vídeo: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffwmv1] vfm: ffmpeg (FFmpeg WMV1/WMV7)
==========================================================================
==========================================================================
Abrindo decodificador de audio: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Alocando 192000 + 65536 = 257536 bytes para o buffer de saída
FFmpeg's libavcodec audio codec
INFO: libavcodec "wmav1" init OK!
AUDIO: 22050 Hz, 2 ch, s16le, 64.0 kbit/9.07% (ratio: 8000->88200)
Selected audio codec: [ffwmav1] afm: ffmpeg (DivX audio v1 (FFmpeg))
==========================================================================
Building audio filter chain for 22050Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 22050Hz/2ch/s16le
[dummy] Was reinitialized: 22050Hz/2ch/s16le
Trying every known audio driver...
alsa-init: requested format: 22050 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.23
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
[AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to
connect: Connection refused

[AO_ALSA] Playback open error: Connection refused
[AO ESD] esd_open_sound failed: Connection timed out
waitpid(): No child processes
AO: [pulse] Init failed: Internal error
[JACK] cannot open server
[AO SDL] Samplerate: 22050Hz Channels: Stereo Format s16le
waitpid(): No child processes
waitpid(): No child processes
[AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to
connect: Internal error

[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 22050Hz 2ch s16le (2 bytes per sample)
AO: Description: Null audio output
AO: Author: Tobias Diedrich <ranma+mplayer@tdiedrich.de>
Building audio filter chain for 22050Hz/2ch/s16le -> 22050Hz/2ch/s16le...
[dummy] Was reinitialized: 22050Hz/2ch/s16le
[dummy] Was reinitialized: 22050Hz/2ch/s16le
Iníciando reprodução...
Increasing filtered audio buffer size from 0 to 20480

avg. framerate: 30 fps
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Aspecto do filme é indefinido - nenhum pré-redimensionamento aplicado.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [xv] 320x240 => 320x240 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 310 for hw scaling
*** [vo] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
Unicode font: 5162 glyphs.
Unicode font: 5162 glyphs.
A:   3.3 V:   3.1 A-V:  0.191 ct:  0.000   1/  1 ??% ??% ??,?% 0 0
*** [vo] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
A:  28.6 V:  28.6 A-V:  0.000 ct:  0.000 764/764  1%  0%  0.1% 2 0
ds_fill_buffer: EOF reached (stream: video)
A:  28.6 V:  28.6 A-V: -0.000 ct:  0.000 764/764  1%  0%  0.2% 2 0
EOF code: 1

Uninit audio filters...
[libaf] Removing filter dummy
finalizando audio: ffmpeg
finalizando vídeo: ffmpeg
vo: uninit ...

Saindo... (Fim do arquivo)



This last ones means "Exiting... (End of file)"




>> The directory /home/user/.mplayer/ contains two files:
>>
>> # l /home/user/.mplayer/
>> total 34K
>> drwxr-x---   2 user users  96 Out 17  2009 ./
>> drwxrwx--- 194 user users 27K Jul  3 12:07 ../
>> -rw-r-----   1 user users  44 Out  7  2009 config
>> -rw-r-----   1 user users 345 Jan 20 02:00 registry
>>
>> the config file is empty and the registry looks like an excerpt of a
>> few Windoze registry entries. I've renamed the directory .mplayer and
>> a new one was created. Apparently it affected nothing.
>
> What is a MSWindows registry file doing in there?!  o_O
>

Strange, isn't it? I thought on wine messing up on things over here.
Deleted it, no effect felt.

>>
>> Thanks
>> Francisco
>> "If you have an apple and I have an apple and we exchange apples then
>> you and I will still each have one apple. But if you have an idea and
>> I have one idea and we exchange these ideas, then each of us will have
>> two ideas." - George Bernard Shaw
>
> Talking about apples ... you could add this:
>
> [default]
> user-agent=QuickTime/7.6.2
>
> in your ~/.mplayer/config and it will be able to stream HD apple trailers:
>
> mplayer -cache 150000 -user-agent QuickTime/7.6.2 \
> http://trailers.apple.com/movies/independent/senna/senna-tlr1_480p.mov
>  Anyway, back to your original problem.

Thanks for the tip - noted for processing after all this mess is cleared.

>
> Are you running an updated Gentoo system?  Did you run 'revdep-rebuild -v --
> --ask' to see if there is any KDE/Qt packages that need rebuilding?

Yes, quite updated and revdep-rebuild didn't need to rebuild anything.

I will try to create a new user, just to see what happens

> --
> Regards,
> Mick
>

Thanks a lot Mick, and best regards
Francisco

-- 
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and
I have one idea and we exchange these ideas, then each of us will have
two ideas." - George Bernard Shaw



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: smplayer and kmplayer only works (almost) OK as root
  2011-07-04  4:21       ` Francisco Ares
@ 2011-07-04  7:43         ` Alberto Luaces
  2011-07-04 11:47           ` Mick
  0 siblings, 1 reply; 7+ messages in thread
From: Alberto Luaces @ 2011-07-04  7:43 UTC (permalink / raw
  To: gentoo-user

Francisco Ares writes:

> # mplayer -msglevel all=6 sleeping\ suricates.wmv
  ^

That hash suggests that you are running the command as root. Type
`whoami' to make sure.

-- 
Alberto




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: smplayer and kmplayer only works (almost) OK as root
  2011-07-04  7:43         ` [gentoo-user] " Alberto Luaces
@ 2011-07-04 11:47           ` Mick
  0 siblings, 0 replies; 7+ messages in thread
From: Mick @ 2011-07-04 11:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 967 bytes --]

On Monday 04 Jul 2011 08:43:48 Alberto Luaces wrote:
> Francisco Ares writes:
> > # mplayer -msglevel all=6 sleeping\ suricates.wmv
> 
>   ^
> 
> That hash suggests that you are running the command as root. Type
> `whoami' to make sure.

Unless Francisco has changed his prompt to confuse us all?!  :-)

Either way, from what mentioned so far I don't think there is anything wrong 
with mplayer.  Running applications as root confuses matters and can give 
errors not related to running the application as a plain user (which is how it 
should run at all times anyway).

The buffering error however, which you have not shown verbatim, could well be 
related to very high bufferring limit and or a slow connection (if this is 
occurring when you are trying to stream videos - you haven't said).

Can you increase smplayer/mplayer's verbosity in the log and show the exact 
error that comes up when being run as a plain user?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-04 11:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-03  2:24 [gentoo-user] smplayer and kmplayer only works (almost) OK as root Francisco Ares
2011-07-03  8:27 ` Mick
2011-07-03 15:12   ` Francisco Ares
2011-07-03 21:41     ` Mick
2011-07-04  4:21       ` Francisco Ares
2011-07-04  7:43         ` [gentoo-user] " Alberto Luaces
2011-07-04 11:47           ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox