FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-10-2012, 08:22 AM
Carlos Hendson
 
Default (s)mplayer problems

On Fri, 2012-02-10 at 09:31 +0100, Helmut Jarausch wrote:
> Many thanks, the workaround mentioned in this link fixes the segment
> fault.
> Still, audio doesn't work, yet.

It seems mplayer doesn't have the codec required for the WMV format.
You should check mplayer has the win32codecs use flag enabled. You can
do this with equery or eix (or other equivalent tools).

equery uses mplayer
eix mplayer

Use the information from the the wiki to help you pick the right flags
and required packages:
http://en.gentoo-wiki.com/wiki/MPlayer


For example, the mplayer output posted in another message has the text:

Xlib: extension "NV-GLX" missing on display ":0".
[vdpau] Error when calling vdp_device_create_x11: 1

The use flag description for vdpau says:

+ + vdpau : Enables experimental VDPAU support (requires
nVidia video cards) to offload MPEG2/MPEG4/VC1/WMV CPU processing to
video card

Since you have an ATI graphics card in this machine, you can safely
disable the vdpau use flag.


Hope that helps.

Regards,
Carlos
 
Old 02-11-2012, 09:01 AM
Helmut Jarausch
 
Default (s)mplayer problems

On 02/10/2012 10:22:42 AM, Carlos Hendson wrote:
> On Fri, 2012-02-10 at 09:31 +0100, Helmut Jarausch wrote:
> > Many thanks, the workaround mentioned in this link fixes the
> segment
>
> > fault.
> > Still, audio doesn't work, yet.
>
> It seems mplayer doesn't have the codec required for the WMV format.
> You should check mplayer has the win32codecs use flag enabled. You
> can
> do this with equery or eix (or other equivalent tools).
>

Sorry, but now I'm completely confused.
I've emerge mplayer2 and it DOES play video and SOUND !
But smplayer2 doesn't play sound - no idea why since it invokes
mplayer2, doesn't it?

Here the output of mplayer2 (which is working fine)

MPlayer2 2.0-435-g637d6b7 (C) 2000-2012 MPlayer Team

Playing Spion_120131.wmv.
Detected file format: ASF format (libavformat)
[wmv3 @ 0x7f4c48d4ec00]Extra data: 8 bits left, value: 0
[lavf] stream 0: audio (wmav2), -aid 0
[lavf] stream 1: video (wmv3), -vid 0
VIDEO: [WMV3] 688x384 24bpp 25.000 fps 1400.0 kbps (170.9 kbyte/s)
Clip info:
WMFSDKVersion: 12.0.7601.17514
WMFSDKNeeded: 0.0.0.0000
IsVBR: 0
artist: ZDF
copyright: (c) 2012 ZDF
Load subtitles in .
Xlib: extension "NV-GLX" missing on display ":0".
[vdpau] Error when calling vdp_device_create_x11: 1
Xlib: extension "XVideo" missing on display ":0".
[VO_XV] Sorry, Xv not supported by this X11 version/driver
[VO_XV] ******** Try with -vo x11 or -vo sdl *********
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
================================================== ========================
Requested video codec family [wmv9dmo] (vfm=dmo) not available.
Enable it at compilation.
Requested video codec family [wmvdmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Asking decoder to use 4 threads if supported.
[wmv3 @ 0x7f4c48d4ec00]Extra data: 8 bits left, value: 0
Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
================================================== ========================
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24002->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
================================================== ========================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [gl_nosw] 688x384 => 688x384 Planar YV12


############################

And here the output of mplayer for the same video on the same machine :

MPlayer SVN-r34625 (Gentoo)-4.6.2 (C) 2000-2012 MPlayer Team

Playing Spion_120131.wmv.
Cache fill: 0.00% (0 bytes)

libavformat version 53.31.100 (external)
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO: [WMV3] 688x384 24bpp 1000.000 fps 1400.0 kbps (170.9 kbyte/
s)
Clip info:
title:
author: ZDF
copyright: (c) 2012 ZDF
comments:
Load subtitles in ./
Xlib: extension "NV-GLX" missing on display ":0".
[vdpau] Error when calling vdp_device_create_x11: 1
Xlib: extension "XVideo" missing on display ":0".
[VO_XV] Sorry, Xv not supported by this X11 version/driver
[VO_XV] ******** Try with -vo x11 or -vo sdl *********
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
================================================== ========================
Requested video codec family [wmv9dmo] (vfm=dmo) not available.
Enable it at compilation.
Requested video codec family [wmvdmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.60.100 (external)
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
[wmv3 @ 0x7fbdcde4ac00]Extra data: 8 bits left, value: 0
Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
================================================== ========================
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[NULL @ 0x7fbdcde4ac00]Value 165600.000000 for parameter 'drc_scale'
out of range
[NULL @ 0x7fbdcde4ac00]Error setting option drc_scale to value 165600.
Could not open codec.
ADecoder init failed
ADecoder init failed
Requested audio codec family [wmadmo] (afm=dmo) not available.
Enable it at compilation.
Requested audio codec family [divx] (afm=acm) not available.
Enable it at compilation.
Cannot find codec for audio format 0x161.
Audio: no sound
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is undefined - no prescaling applied.
VO: [gl_nosw] 688x384 => 688x384 Planar YV12


Many thanks,
Helmut.
 
Old 02-11-2012, 09:12 AM
Alex Schuster
 
Default (s)mplayer problems

Helmut Jarausch writes:

> Sorry, but now I'm completely confused.
> I've emerge mplayer2 and it DOES play video and SOUND !
> But smplayer2 doesn't play sound - no idea why since it invokes
> mplayer2, doesn't it?

Not as default. You have to define the player in the settings dialog.

Wonko
 
Old 02-11-2012, 09:27 AM
Helmut Jarausch
 
Default (s)mplayer problems

On 02/11/2012 11:12:38 AM, Alex Schuster wrote:
> Helmut Jarausch writes:
>
> > Sorry, but now I'm completely confused.
> > I've emerge mplayer2 and it DOES play video and SOUND !
> > But smplayer2 doesn't play sound - no idea why since it invokes
> > mplayer2, doesn't it?
>
> Not as default. You have to define the player in the settings dialog.
>
Thanks Alex,
I've set the preferences in smplayer (not smplayer2) to invoke mplayer2
and that works just fine.

Helmut.
 

Thread Tools




All times are GMT. The time now is 07:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org