LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-15-2006, 06:53 PM   #1
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Rep: Reputation: 30
Can not play WMV file with MPlayer


Hi all.
I compiled MPlayer using this Slackbuild:


#!/bin/sh
# Heavily based on the Slackware 10.2 SlackBuild
# Requirements: lame, libdvdread, libdvdcss
# http://www.MPlayerHQ.hu

CWD=`pwd`
if ["$TMP" = ""]; then
TMP=/tmp
fi
PKG=$TMP/package-MPlayer
NAME=MPlayer
VERSION=1.0pre7try2
ARCH=${ARCH:-i686}
BUILD=hrp

SKIN=Blue
SKINV=1.4
FONT=font-arial-iso-8859-2

if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow -msse -mfpmath=sse,387 -mcpu=athlon-xp"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2"
fi

if [ ! -d $TMP ]; then
mkdir -p $TMP
fi
if [ ! -d $PKG ]; then
mkdir -p $PKG
fi
cd $TMP
tar xjvf $CWD/$NAME-$VERSION.tar.bz2
tar xjvf $CWD/$SKIN-$SKINV.tar.bz2
tar xjvf $CWD/$FONT.tar.bz2

cd MPlayer-$VERSION
chown -R root.root .
CFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr \
--confdir=/etc/mplayer \
--enable-gui \
--language=it \
--with-livelibdir=/usr/lib/live \
--with-codecsdir=/usr/lib/codecs \
--with-reallibdir=/usr/lib/codecs \
--with-win32libdir=/usr/lib/codecs \
--with-xanimlibdir=/usr/lib/codecs
make
make install DESTDIR=$PKG

mkdir -p $PKG/usr/doc/$NAME-$VERSION
cp -a \
AUTHORS ChangeLog DOCS LICENSE README \
$PKG/usr/doc/$NAME-$VERSION

mkdir -p $PKG/usr/share/applications
cp $CWD/mplayer.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/pixmaps
cp Gui/mplayer/pixmaps/MPlayer_mini.xpm $PKG/usr/share/pixmaps/mplayer.xpm

( cd $PKG/usr/man
find . -name "*.?" | xargs gzip -9
)

( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)

mv -f $TMP/$SKIN $PKG/usr/share/mplayer/Skin/default/
mv -f $TMP/$FONT/font-arial-18-iso-8859-2/* $PKG/usr/share/mplayer/font

chown -R root.bin $PKG/usr/bin

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
makepkg -l y -c n $TMP/$NAME-$VERSION-$ARCH-$BUILD.tgz

if [ "$1" = "--cleanup" ]; then
rm -rf $TMP/$NAME-$VERSION
rm -rf $TMP/$FONT
rm -rf $PKG
fi


And in My /usr/lib/codecs i put theese codecs:

vidQTAVUICodec.qtx divxa32.acm mpg4ds32.ax vid_3ivX.xa*
BeHereiVideo.qtx divxc32.dll msadp32.acm vid_cvid.xa*
CLRVIDDC.DLL divxdec.ax msg711.acm vid_cyuv.xa*
CtWbJpg.DLL dnet.so.6.0* msgsm32.acm vid_h261.xa*
DECVW_32.DLL drv2.so.6.0* msh261.drv vid_h263.xa*
LCMW2.dll drv3.so.6.0* msms001.vwp vid_iv32.xa*
LCODCCMW2E.dll drv4.so.6.0* msnaudio.acm vid_iv41.xa*
LCodcCMP.dll drvc.so* msrle32.dll vid_iv50.xa*
QuickTime.qts dspr.so.6.0* msscds32.ax vivog723.acm
QuickTimeEssentials.qtx huffyuv.dll msvidc32.dll vmnc.dll
QuickTimeInternetExtras.qtx i263_32.drv mvoiced.vwp voxmsdec.ax
README iac25_32.ax nsrt2432.acm vp31vfw.dll
VDODEC32.dll iccvid.dll pclepim1.dll vp4vfw.dll
ViVD2.dll icmw_32.dll qdv.dll vp5vfw.dll
acelpdec.ax imaadp32.acm qpeg32.dll vp6vfw.dll
alf2cd.acm imc32.acm qtmlClient.dll vssh264.dll
aslcodec_dshow.dll ir32_32.dll rt32dcmp.dll vssh264core.dll
aslcodec_vfw.dll ir41_32.dll scg726.acm vssh264dec.dll
asusasv2.dll ir50_32.dll sipr.so.6.0* vsslight.dll
asusasvd.dll ivvideo.dll sp5x_32.dll vsswlt.dll
ativcr2.dll jp2avi.dll tm20dec.ax wma9dmod.dll
atrac3.acm l3codeca.acm tokf.so.6.0* wmadmod.dll
atrc.so.6.0* l3codecx.ax tokr.so.6.0* wmsdmod.dll
avimszh.dll lhacm.acm tsccvid.dll wmspdmod.dll
avizlib.dll lsvxdec.dll tsd32.dll wmv8ds32.ax
clrviddd.dll m3jp2k32.dll tssoft32.acm wmv9dmod.dll
cook.so* m3jpeg32.dll tvqdec.dll wmvadvd.dll
cook.so.6.0* m3jpegdec.ax ubv263d+.ax wmvdmod.dll
ctadp32.acm mcdvd_32.dll ubvmp4d.dll wmvds32.ax
ddnt.so.6.0* mcmjpg32.dll ultimo.dll wnvplay1.dll
divx.dll mi-sc4.acm vdowave.drv wnvwinx.dll
divx_c32.ax mpg4c32.dll vgpix32d.dll


But i have this error:
Too many packets in the video buffer: (4096 in 8280394 bytes)

HELP ME PLEASE!!!
 
Old 01-15-2006, 07:04 PM   #2
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Probably you need more informations:
This is the output of gmplayer from console.
(sorry, if something is written in italian.


franco@hell ~ $ gmplayer
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compilato per CPU x86 con estensioni: MMX MMX2 3DNow 3DNowEx SSE



vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
xscreensaver_disable: Could not find xscreensaver window.
In riproduzione /home/franco/foo.wmv
Rilevato formato file ASF!
VIDEO: [WMV3] 320x240 24bpp 1000,000 fps 0,0 kbps ( 0,0 kbyte/s)
Informazioni sulla clip:
name:
author:
copyright:
comments:
==========================================================================
Apertura decoder audio: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 113,4 kbit/8,04% (ratio: 14178->176400)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
xscreensaver_disable: Could not find xscreensaver window.
Xv: could not grab port 122
==========================================================================
Cerco di forzare l'uso della famiglia dei driver dei codec video 142118240...
Apertura decoder video: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:230400 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: configurazione richiesta dal vo - 320 x 240 (csp preferito: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect non definito - nessuna scalatura.
VO: [xv] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Inizio la riproduzione...
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
A: 138,0 V: 3,1 A-V:134,837 ct: 0,010 5/ 5 ??% ??% ??,?% 0 0
DEMUXER: Troppi (4096 in 3136510 byte) pacchetti video nel buffer!
(forse stai riproducendo un flusso/file senza interleave o il codec non funziona)
Per i file .AVI, prova a forzare la modalità 'no interleave' con l'opzione -ni.
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)??,?% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)15,0% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)14,1% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)13,3% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)12,6% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)12,0% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)11,4% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)10,9% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)10,4% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1)10,0% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 9,2% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 8,9% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 8,6% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 8,3% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 8,0% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 7,5% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 7,3% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 7,0% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 6,8% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 6,3% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 6,1% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 6,0% 0 0
ProcessInputError r:0x80004005=-2147467259 (keyframe: 1) 5,8% 0 0

In uscita... (Uscita)


THANK YOU!
 
Old 01-15-2006, 09:24 PM   #3
Widgeteye
Member
 
Registered: Mar 2005
Posts: 130

Rep: Reputation: 17
This is a mplayer problem, you need to get on thier mailing list.
 
Old 01-16-2006, 10:15 PM   #4
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
try mplayer -vo xv file

or set it in the gui prefs
 
  


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
How to make xine or mplayer play .wmv files kkempter Linux - Software 22 07-25-2006 11:03 AM
Mplayer cannot play wmv files jrmontg Linux - Software 5 01-27-2005 05:58 AM
Cant Play wmv files on mplayer or xine irish rebel Linux - Software 1 10-22-2004 10:32 PM
Cannot play wma or wmv files in mplayer Fear58 Linux - Software 4 07-31-2004 03:59 AM
Mplayer unable to play 'wmv' format harsha_vardhan Linux - Software 1 02-02-2004 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:40 PM.

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