[vlc] Can not download an mmsh stream on Ubuntu.

Jeroen Van Goey jeroen.vangoey at gmail.com
Mon Mar 23 21:45:47 CET 2009


Hey all,

I'm trying to download the streaming news program from this page:
http://iwatch.be/2007/player.php?category_id=hetnieuws&item_id=hetnieuws_3_19&dc=nieuws

It plays just fine on Ubuntu Jaunty (Yay!), but now I want to download that
program because I have a small guest appearance in it.

Some poking around in the source code reveals the URL
http://streaming.vtm.be/VTM/agility/20090318_hn19.wmv but downloading that
doesn't give me a .wmv file but a text file with 2 other URLs in. Trying to
download from those URLs gives time-out errors.

$ wget http://streaming.vtm.be/VTM/agility/20090318_hn19.wmv
--2009-03-23 21:12:09--
http://streaming.vtm.be/VTM/agility/20090318_hn19.wmv
Resolving streaming.vtm.be... 194.0.174.8
Connecting to streaming.vtm.be|194.0.174.8|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 159 [video/x-ms-wvx]
Saving to: `20090318_hn19.wmv'

100%[======================================>] 159         --.-K/s   in
0s

2009-03-23 21:12:09 (6.37 MB/s) - `20090318_hn19.wmv' saved [159/159]

$ file 20090318_hn19.wmv
20090318_hn19.wmv: ASCII text, with CRLF line terminators
$ cat 20090318_hn19.wmv
[Reference]
Ref1=http://streaming.vtm.be/VTM/agility/20090318_hn19.wmv?MSWMExt=.asf
Ref2=http://192.168.68.71:80/VTM/agility/20090318_hn19.wmv?MSWMExt=.asf
$ wget http://192.168.68.71:80/VTM/agility/20090318_hn19.wmv
--2009-03-20 20:46:20--  http://192.168.68.71/VTM/agility/20090318_hn19.wmv
Connecting to 192.168.68.71:80... failed:             Connection timed out.

When I play the streaming file in Totem it gives as location
mmsh://streaming.vtm.be/VTM/agility/20090318_hn19.wmv

After installing mplayer and mimms, I also tried:

$ mplayer -dumpstream
mmsh://streaming.vtm.be/VTM/agility/20090318_hn19.wmv-dumpfile
2009_03_18_nieuws_vtm.wmv
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T8100  @
2.10GHz (Family: 6, Model: 23, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE:     1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory

Playing mmsh://streaming.vtm.be/VTM/agility/20090318_hn19.wmv.
No stream found to handle url mmsh://
streaming.vtm.be/VTM/agility/20090318_hn19.wmv


Exiting... (End of file)

I the tried VLC. First I selected Media > Convert/Save >  Network tab >
paste mmsh://streaming.vtm.be/VTM/agility/20090318_hn19.wmv as network
protocol and checked as output File and Dump raw input.  I then get a popup
with the message:

 VLC can't recognize the input's format:
The format of 'mmsh://streaming.vtm.be/VTM/agility/20090318_hn19.wmv' cannot
be detected. Have a look the log for details.

The log file gives the following information:

[00000410] access_mms access error: cannot read data 2
[00000413] main demux error: no demux module matched "dump :demuxdump-file="
[00000408] main input error: no suitable demux module for `mmsh/://
streaming.vtm.be/VTM/agility/20090318_hn19.wmv'

Next I triedthe following command from the commandline:


$ vlc mms://streaming.vtm.be/VTM/agility/20090318_hn19.wmv --sout
file/avi:movie.avi
VLC media player 0.9.8a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko -
(c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure
'--build=i486-linux-gnu' '--enable-maintaner-mode'
[... some more flags snipped ...] 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS='
'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc'
to use vlc without interface.
[00000417] access_mms access error: failed to open a connection (tcp)
[00000417] access_mms access error: failed to open a connection (tcp)
[00000417] access_mms access error: cannot connect to server
[00000417] access_mms access error: cannot read data 2
[00000414] main mux error: cannot add a new stream (unsupported while muxing
to this format). You can try increasing sout-mux-caching value
[00000422] main packetizer error: cannot create packetizer output (wma2)

After moe then half an hour it giva the impression that it was stalled, so I
killed the process. I indeed got a file called movie.avi, but when I tried
to play it with mplayer it plays only the first seconds and without sound.
Then it crashes (both in vlc and mplayer)

$ mplayer movie.avi
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz (Family: 6, Model: 23,
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing movie.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
AVI: No audio stream found -> no sound.
VIDEO:  [WMV3]  640x360  24bpp  22.331 fps  447.6 kbps (54.6 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: wmv9dmod.dll, /usr/lib/win32/wmv9dmod.dll,
/usr/local/lib/win32/wmv9dmod.dll
IMediaObject ERROR: 0x88e75e9  could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wmv9dmod.dll.
You need to upgrade/install the binary codecs package.
Go to http://www.mplayerhq.hu/dload.html
VDecoder init failed :(
Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: wmvdmod.dll, /usr/lib/win32/wmvdmod.dll,
/usr/local/lib/win32/wmvdmod.dll
IMediaObject ERROR: 0x88e75e9  could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wmvdmod.dll.
You need to upgrade/install the binary codecs package.
Go to http://www.mplayerhq.hu/dload.html
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[wmv3 @ 0x8972350]Extra data: 8 bits left, value: 0
Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg M$ WMV3/WMV9)
==========================================================================
Audio: no sound
Starting playback...
[wmv3 @ 0x8972350]warning: first frame is no keyframe
VDec: vo config request - 640 x 360 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x360 => 640x360 Planar YV12
No bind found for key 'MOUSE_BTN2'.
V:  45.7 1021/1021 15%  0%  0.0% 0 0
GNOME screensaver enabled

Exiting... (End of file)

So, know I'm starting to run out of ideas. Does any body else know what the
correct way is to download an mmsh stream in Ubuntu. Or, if you succeed in
ripping the file, could you mail it to me/put it somewhere online?

Thanksin advance,
Jeroen Van Goey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20090323/862d2cd2/attachment.html>


More information about the vlc mailing list