Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2011 01:49:48 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Ronald F. Guilmette" <rfg@tristatelogic.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Playing .ASX files via/within Firefox ?
Message-ID:  <20111207014948.9fb0cb4b.freebsd@edvax.de>
In-Reply-To: <84865.1323216144@tristatelogic.com>
References:  <84865.1323216144@tristatelogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> 
> http://www.dot.ca.gov/dist3/departments/traffic/cameras/
> 
> 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
content:

	% 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>
  <entry>
    <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"/>;
  </entry>
</asx>

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.






-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111207014948.9fb0cb4b.freebsd>