[SWLUG] S4C use of wmv

Peter Bradley P.Bradley at dsl.pipex.com
Fri Jan 4 17:31:03 UTC 2008


Ysgrifennodd Pete Phillips:
> Pull up an xterm and do this:
>
>  mplayer "mms://s4c.unique-media.tv/s4c_uk/bsm/hsbc_jazz_aberhonddu___catrin_finch_ai0000803d21b8.wmv?sami=http://www.s4c.co.uk/sami/A290559874.smi"
>
> This works for me (Ubuntu Gutsy).
>   

Well, it works in the sense of opening mplayer and providing some 
pictures and some sound.  Too jerky and out of sync to be of any use, 
but they are there.  It also churns out tonnes of error messages (note 
that I have a reasonably fast DSL connection):

peter at linux:~> mplayer 
"mms://s4c.unique-media.tv/s4c_uk/bsm/hsbc_jazz_aberhonddu___catrin_finch_ai0000803d21b8.wmv?sami=http://www.s4c.co.uk/sami/A290559874.smi"
MPlayer 1.0rc2-SUSE Linux 10.0 (x86_64)-Packman-4.0.2 (C) 2000-2007 
MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 
43, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing 
mms://s4c.unique-media.tv/s4c_uk/bsm/hsbc_jazz_aberhonddu___catrin_finch_ai0000803d21b8.wmv?sami=http://www.s4c.co.uk/sami/A290559874.smi.
STREAM_ASF, URL: 
mms://s4c.unique-media.tv/s4c_uk/bsm/hsbc_jazz_aberhonddu___catrin_finch_ai0000803d21b8.wmv?sami=http://www.s4c.co.uk/sami/A290559874.smi
Resolving s4c.unique-media.tv for AF_INET...
Connecting to server s4c.unique-media.tv[74.53.143.210]: 1755...
Connected
file object, packet length = 4850 (4850)
unknown object
unknown object
unknown object
stream object, stream ID: 1
stream object, stream ID: 2
unknown object
data object
mmst packet_length = 4850
Cache size set to 64 KBytes
Cache fill:  0.00% (0 bytes)
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO:  [WMV2]  480x272  24bpp  1000.000 fps  324.0 kbps (39.6 kbyte/s)
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
==========================================================================
Requested video codec family [wmv8] (vfm=dshow) 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
Selected video codec: [ffwmv2] vfm: ffmpeg (FFmpeg M$ WMV2/WMV8)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 480 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 480x272 => 480x272 Planar YV12
[swscaler @ 0xd084f0]SwScaler: using unscaled yuv420p -> rgb32 special 
converter
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:  33.1 V:  22.4 A-V: 10.702 ct:  0.113  61/ 61  8%  5% 532.4% 50 0 9%

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the 
lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

[wmv2 @ 0xd10c00]J-type picture is not supported  6%  5% 233.5% 131 0 6%
Error while decoding frame!
[wmv2 @ 0xd10c00]J-type picture is not supported  6%  5% 219.5% 140 0 6%
Error while decoding frame!
[wmv2 @ 0xd10c00]J-type picture is not supported  6%  5% 218.0% 141 0 6%
Error while decoding frame!
[wmv2 @ 0xd10c00]J-type picture is not supported  6%  5% 216.6% 142 0 6%
Error while decoding frame!
[wmv2 @ 0xd10c00]J-type picture is not supported  6%  5% 215.2% 143 0 6%
Error while decoding frame!
[wmv2 @ 0xd10c00]J-type picture is not supported  5%  4% 150.3% 451 0 15%
Error while decoding frame!
A: 113.0 V:  56.8 A-V: 56.256 ct:  0.119 920/920  5%  3% 234.3% 906 0 6%
Exiting... (Quit)

> I don't know what type of stream mms is, but mplayer clearly does.
>
> If you want to download the stream to your machine, do this:
>
> mplayer -dumpstream "mms://s4c.unique-media.tv/s4c_uk/bsm/hsbc_jazz_aberhonddu___catrin_finch_ai0000803d21b8.wmv?sami=http://www.s4c.co.uk/sami/A290559874.smi"
>   

I shall try this now ...

Cheers



Peter




More information about the Swlug mailing list