You are not logged in.

#1 2010-12-19 23:58:12

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

[SOLVED] Cannot 'seek' in stream using mplayer

Hi,

When I try to play a video of a television broadcasting of the Netherlands Public Broadcasting using Uitzendinggemist.nl, I get an mplayer box playing the video, e.g. within this window (I hope it's available outside of my country).

In Windows Media Player (running in my favourite operating system) I can use the 'seek' functionality to fast forward a stream by moving the scroller (e.g., after playing got stuck, which happens every now and then, especially during interaction with the user interface; the screen just goes black, mplayer tries to connect to the server and then displays 'Idle'). In mplayer, I can't.

After retrieving the URL of the video stream I started mplayer from the command line to get more information. I also tried to seek by using arrow forward and backward:

MPlayer SVN-r32678-4.5.1 (C) 2000-2010 MPlayer Team
161 audio & 350 video codecs

Playing mms://blaster.omroep.nl/public/ug-od/media2/00/ceres/1/nps/rest/2010/NPS_1162967/bb.20101219.asf?wmt=4d0e9732&wmhash=2c598e38.
STREAM_ASF, URL: mms://blaster.omroep.nl/public/ug-od/media2/00/ceres/1/nps/rest/2010/NPS_1162967/bb.20101219.asf?wmt=4d0e9732&wmhash=2c598e38
Resolving blaster.omroep.nl for AF_INET...
Connecting to server blaster.omroep.nl[145.58.33.155]: 1755...

connect error: Connection refused
Resolving blaster.omroep.nl for AF_INET...
Connecting to server blaster.omroep.nl[145.58.33.155]: 80...
Resolving blaster.omroep.nl for AF_INET...
Connecting to server blaster.omroep.nl[145.58.33.155]: 80...

Cache size set to 950 KBytes
Cache fill: 19.83% (192865 bytes)   

ASF file format detected.
[asfheader] Video stream found, -vid 1
[asfheader] Audio stream found, -aid 2
VIDEO:  [WMV3]  320x180  24bpp  1000.000 fps  452.0 kbps (55.2 kbyte/s)
Clip info:
 title: 
==========================================================================
Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: /usr/lib/codecs/wmv9dmod.dll
IMediaObject ERROR: 0x894c80a  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: /usr/lib/codecs/wmvdmod.dll
IMediaObject ERROR: 0x894c80a  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 @ 0x89c26a0]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, 48.0 kbit/3.40% (ratio: 6003->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: [xv] 320x180 => 320x180 Planar YV12 
A:   9.9 V:   9.9 A-V: -0.009 ct: -0.039 173/173  8%  0%  2.5% 1 0 10% 
Cannot seek in this file.
A:  10.4 V:  10.4 A-V:  0.006 ct: -0.040 184/184  8%  0%  2.5% 1 0 12% 
Cannot seek in this file.

Last edited by Marcel- (2010-12-20 21:49:20)

Offline

#2 2010-12-20 06:33:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Cannot 'seek' in stream using mplayer

http://www.linuxquestions.org/questions … eo-351309/
It's a couple years old but it may still be valid.

Offline

#3 2010-12-20 21:20:41

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: [SOLVED] Cannot 'seek' in stream using mplayer

That's indeed the same issue, thanks. In short, as these streams are served using the mms: protocol, I cannot use wget to get the file, so I used the second option to save the stream to my harddisk:

mplayer -dumpstream -dumpfile filename.wmv mms://example.com/nameofstream

Offline

Board footer

Powered by FluxBB