LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2003, 04:12 PM   #1
Incanus
Member
 
Registered: May 2003
Posts: 30

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mplayer from ASF to MP3 foomanchew Linux - Software 4 12-05-2005 01:51 PM
[aviplay, mplayer, ASX, ASF] MrGreg Linux - Software 12 06-08-2004 09:53 PM
MPlayer Error playing ASF File scatterbrain Linux - Software 0 03-28-2004 03:24 PM
How to record streaming wmv/asf format? samxiao Linux - Software 0 03-13-2004 04:50 AM
I can't get .asf files to play in mplayer..... garymansell Linux - Software 0 07-10-2003 09:21 AM


All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration