From owner-freebsd-chat Wed Jun 12 22:35:43 2002 Delivered-To: freebsd-chat@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id 51C1E37B40F for ; Wed, 12 Jun 2002 22:35:30 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id 82B5E471DA; Wed, 12 Jun 2002 22:35:29 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id 1BC51FEBE; Wed, 12 Jun 2002 22:35:27 -0700 (PDT) Message-ID: <3D082F1E.A335D67B@pantherdragon.org> Date: Wed, 12 Jun 2002 22:35:26 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Jason C. Wells" Cc: FreeBSD-chat Subject: Re: Capture Stream or MP3 from Flash site References: <20020612194338.W39397-100000@server2.highperformance.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Jason C. Wells" wrote: > > Does anyone know how I can capture an audio stream to a file? Also, how > can one "Save Link As" from a Flash page? > > I have been viewing heavy.com which has some pretty cool music on it. I > would really like to grab mp3s from it, but Flash is thwarting me. heavy.com seems to be using Shockwave audio, not MP3 for their songs? The HTTP request sent by my workstation to the webserver when I click to play "So, The Circus Is Back In Town" by Cato Salsa Experience shows a request for a .swf file, and a sending of a matching MIME type. This a tcpdump processed with tcpshow of the HTTP request and reply for the song file itself: Client request: TIME: 22:25:33.493172 (0.175149) LINK: 00:50:04:14:9A:5C -> 00:A0:C9:1F:3B:50 type=IP IP: speck -> 63.236.72.22 hlen=20 TOS=00 dgramlen=264 id=D2A6 MF/DF=0/1 frag=0 TTL=128 proto=TCP cksum=C92F TCP: port 1843 -> http seq=0011268461 ack=2648377315 hlen=20 (data=224) UAPRSF=011000 wnd=8264 cksum=D2F6 urg=0 DATA: GET /current/radio/tracks/hvysumosonic_3/catosalsa_circus.sw f HTTP/1.1. Accept: */*. Accept-Encoding: gzip, deflate. User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98). Host: www.heavy.com. Connection: Keep-Alive. . Server reply: TIME: 22:25:33.651740 (0.185284) LINK: 00:A0:C9:1F:3B:50 -> 00:50:04:14:9A:5C type=IP IP: 63.236.72.22 -> speck hlen=20 TOS=00 dgramlen=1500 id=48CF MF/DF=0/1 frag=0 TTL=41 proto=TCP cksum=A533 TCP: port http -> 1843 seq=2648377315 ack=0011268685 hlen=20 (data=1460) UAPRSF=010000 wnd=7504 cksum=9B6E urg=0 DATA: HTTP/1.1 200 OK. Date: Thu, 13 Jun 2002 05:25:29 GMT. Server: Apache/1.3.20 (Unix) PHP/4.0.6. Last-Modified: Tue, 04 Jun 2002 16:22:27 GMT. ETag: "55408d-1ad583-3cfce943". Accept-Ranges: bytes. Content-Length: 1758595. Keep-Alive: timeout=15, max=99. Connection: Keep-Alive. Content-Type: application/x-shockwave-flash. . <.swf file data snipped> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message