Playing .ASX files via/within Firefox ?
freebsd at edvax.de
Wed Dec 7 00:49:51 UTC 2011
On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote:
> I've been trying to look at California Dept. of Transportation webcams
> using Firefox on FreeBSD and so far it simply ain't workin'. Somebody
> please tell me what I'm doing wrong.
> Yes, I already installed the mozilla-mplayer port.
> Here's where you can get at the webcams:
> Any help would be appreciated.
Maybe not what you're searching for, but works:
First I arbitrarily choose a cam from the map. A
window opens with a "go to live camera" link.
Right click, copy link address.
I tried to directly play it with mplayer which
should have worked:
% mplayer "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx"
Did not work. So I checked the actual ASX file
% wget "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx"
The file contained some XML:
<asx version = "3.0">
<TITLE>80 at Whitmore Grade</TITLE>
<ref href = "http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80"/>
<ref href = "http://svdtsmsmedia1.dot.ca.gov/d3-whitmore-grade-80"/>
<ref href = "http://svdtsmsmedia2.dot.ca.gov/d3-whitmore-grade-80"/>
<ref href = "http://sv04msmedia.dot.ca.gov/d3-whitmore-grade-80"/>
<ref href = "http://sv07msmedia.dot.ca.gov/d3-whitmore-grade-80"/>
I then choose the first reference to test with mplayer:
% mplayer "http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80"
After the cache has been filled, IT WORKED! It can
even run in fullscreen (or you can do all the tricks
mplayer and mencoder is capable of).
I'm not sure how to integrate that with Firefox (as
I am an Opera person), sorry.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions