Hi Nullack,
Originally Posted by
Nullack
Code:
cd ~/src/mplayer
svn checkout svn://svn.ffmpeg.org/soc/wmapro wmapro
cp wmapro/wma* libavcodec
patch -p0 <wmapro/audioframesize.patch
patch -p0 <wmapro/mplayer.patch
patch -p0 <wmapro/wmapro_ffmpeg.patch
It has taken a little prodding on these forums and a pointer from the MPlayer-users but I have finally taken your advice and installed the wmapro work from SOC. You of course were right: it works brilliantly!
Only slight modification I made is copying the files a little differently:
Code:
cp -v wmapro/wma3dec.c wmapro/wma3data.h wmapro/wma3.h libavcodec
It is a minor niggle but copying as 'wm*' also copies wmapro_ffmpeg.patch, this makes no difference but I am a little anal at times .
Playing a demo file now gives:
Code:
andrew@skamandros~/samples$ mplayer WMVHDsplash.wmv
MPlayer SVN-r29318-4.2.4 (C) 2000-2009 MPlayer Team
Playing WMVHDsplash.wmv.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO: [WMV3] 1280x720 24bpp 1000.000 fps 6500.0 kbps (793.5 kbyte/s)
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 1280 x 720 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1280x720 => 1280x720 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[wmapro @ 0x8f576f0][18] [0] [3f] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [e0] [0] [0] [0]
[wmapro @ 0x8f576f0] ed sample bit depth = 16
[wmapro @ 0x8f576f0] ed decode flags = e0
[wmapro @ 0x8f576f0] samples per frame = 2048
[wmapro @ 0x8f576f0] log2 frame size = 17
[wmapro @ 0x8f576f0] max num subframes = 16
[wmapro @ 0x8f576f0] len prefix = 1
[wmapro @ 0x8f576f0] num channels = 6
[wmapro @ 0x8f576f0] lossless = 0
AUDIO: 48000 Hz, 6 ch, s16le, 384.0 kbit/8.33% (ratio: 48000->576000)
Selected audio codec: [ffwmapro] afm: ffmpeg (FFmpeg WMA Pro audio)
==========================================================================
AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)
Starting playback...
[wmapro @ 0x8f576f0]input buffer to small413/413 24% 4% 1.8% 0 0
A: 22.9 V: 22.9 A-V: 0.004 ct: 0.086 479/479 23% 4% 1.8% 0 0
Exiting... (End of file)
I am not sure if this belongs in the Jaunty guide but I might consider adding it in this weekend as I am rewriting some sections based on advice from Carl Eugene you may have seen in MPlayer-users. Exciting times indeed for MPlayer .
Andrew
Bookmarks