![]() |
mplayer asf streaming
Im trying to get mplayer streaming asf files. I want to use the mplayerplugin so that the shot will be nice and embedded in the html page. im having trouble and im not sure why. my mplayerplugin for mozilla streams almost everything else I try. even other asf files. one thing to note is that this is live video feed coming from a cctv camera. So its not like im trying to stream a file that has been saved to disk on the server. i know it can be done though. it works in gxine. however xine doesnt have a cool mozilla plugin that embeds into the page. that and i've just preferred mplayer so i'd like to get that working.
for testing purposed i have been skipping the plugin altogether and just using mplayer here is what i get. user@workstation:~$ mplayer -v -cache 256 http://ipaddress:8090/cam1-slow.asf MPlayer 1.0pre1-3.2.2 (C) 2000-2003 MPlayer Team CPU: Intel Pentium 4 Northwood (Family: 8, Stepping: 7) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory Reading config file /home/user/.mplayer/config Reading /home/user/.mplayer/codecs.conf: 60 audio & 156 video codecs CommandLine: '-v' '-cache' '256' 'http://ipaddress:8090/cam1-slow.asf' get_path('font/font.desc') -> '/home/user/.mplayer/font/font.desc' Font /home/user/.mplayer/font/font.desc loaded successfully! (206 chars) Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Using Linux hardware RTC timing (1024Hz). get_path('input.conf') -> '/home/user/.mplayer/input.conf' Parsing input config file /home/user/.mplayer/input.conf Input config file /home/user/.mplayer/input.conf parsed: 52 binds get_path('cam1-slow.asf.conf') -> '/home/user/.mplayer/cam1-slow.asf.conf' Playing http://ipaddress:8090/cam1-slow.asf Connecting to server ipaddress[ipaddress]:8090 ... --- HTTP DEBUG HEADER --- START --- protocol: [HTTP/1.0] http minor version: [0] uri: [(null)] method: [(null)] status code: [200] reason phrase: [ASF Redirect follows] body size: [54] Fields: 0 - Content-type: video/x-ms-asf --- HTTP DEBUG HEADER --- END --- Content-Type: [video/x-ms-asf] Trying ASF/HTTP... Connecting to server ipaddress[ipaddress]:8090 ... =====> ASF Redirector Connected to server: ipaddress Parsing playlist http://ipaddress:8090/cam1-slow.asf... then it hangs there until the end of time if i dont ctrl+c. here are the results of my ./configure Enabled optional drivers: Input: ftp network tv-v4l2 tv-v4l edl tv live.com cdda mpdvdkit2 vcd smb Codecs: qtx xvid libavcodec real xanim dshow/dmo win32 faad2 libvorbis gif Audio output: esd arts oss sdl mpegpes(file) Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev opengl dga xv x11 xover tga Disabled optional drivers: Input: tv-bsdbt848 matroska dvdread dvdcss Codecs: opendivx divx5linux divx4linux libdv libtheora libmad liblzo Audio output: sgi sun alsa dxr2 nas win32 macosx Video output: bl zr dxr3 dxr2 directx svga aa ggi xmga mga xvmc directfb tdfx_vid tdfxfb 3dfx as you can see i have win32 and all that good stuff compiled in. i did disable inet6 because of a suggestion i found while googling the subject. It didnt help anything. im using mplayerplugin 0.91. i've read about some stuff about mms servers and some posts i have found say that you should be able to pick out an mms://somestrangeaddress from the html source. but when i view the source all i see is the http address i have listed above. (with a real ip). perhaps the strangest part of this is that gkrellm shows anywhere from 15-10k downloading while mplayer is hanging until i hit ctrl+c. |
All times are GMT -5. The time now is 02:39 PM. |