You are not logged in.
I want to play some online radio stations from the console using "cvlc". Works great for stations that have an .asx http address or an mms:// URL but for stations such as cbc.ca/radio2 and http://www.cfax1070.com/ I cannot seem to locate a valid streaming website address - these are usually .php pages with their own players. Any ideas on how to determine valid streaming URL's from such radio stations?
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
In this case (a flash player) you need to do header dump to get the GET requests (but this works, for other types of embedded players, is a general solution). If you use firefox you can install livehttpheaders to have a simple interface. For this example cfax1070, the url is http://208.80.54.87/CFAXAMAAC?streamthe … 5976656534
For more power you can try tcpdump.
EDIT If you gonna use tcpdump this is the filter for GET headers
tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420
And, as tcdump have a big man page you can use something like this
sudo tcpdump -vvv -A 'tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420'
Last edited by kazuo (2010-06-08 06:33:20)
Offline