Date: Tue, 25 Jul 2006 17:11:36 -0400 (EDT) From: Andy Reitz <reitz@eecs.cwru.edu> To: Lars Eighner <eighner@io.com> Cc: Gary Kline <kline@tao.thought.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: any audio wizards know howto store *.smil files? Message-ID: <Pine.SOL.4.53.0607251709060.1501@brak> In-Reply-To: <20060725160111.V22288@goodwill.io.com> References: <20060725201655.GA53556@thought.org> <20060725160111.V22288@goodwill.io.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Jul 2006, Lars Eighner wrote: > On Tue, 25 Jul 2006, Gary Kline wrote: > > > > > Is there a way of saving *.[ra|ram|smil] or any real audio > > type files locally? I've poked around and haven't found any > > means of saving real* stuff. > > If mplayer will play it, you can (probably) dump it with > -dumpaudio -dumpfile <filename> > > dumpfile defaults to ./stream.dump Actually, I tend to use the '-dumpstream' parameter instead of '-dumpaudio', because that will get both audio and video. If all you want is the audio part, however, then by all means go with '-dumpaudio'. I'm not sure if mplayer can parse smil files. If you can't get that to work, then just download the smil file (it is just a small text file), and pick out the URLs for the media files, and hand those to mplayer. For example, I just pulled this smil file from NPR: <smil> <meta name="title" content="Talk of the Nation - Tuesday, July 25, 2006" /> <meta name="author" content="http://www.npr.org/" /> <meta name="copyright" content="2006" /> <body> <audio src="rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_01.rm?v1st=&mt=2" title="Will Syria Help Ease Mideast Turmoil?" author="Talk of the Nation - Tuesday, July 25, 2006" copyright="2006" /> <audio src="rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_02.rm?v1st=&mt=2" title="Henry V and the 'Battle That Made England'" author="Talk of the Nation - Tuesday, July 25, 2006" copyright="2006" /> <audio src="rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_03.rm?v1st=&mt=2" title="The Adaptations of Philip K. Dick" author="Talk of the Nation - Tuesday, July 25, 2006" copyright="2006" /> <audio src="rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_04.rm?v1st=&mt=2" title="Is Third World War Talk Just Hyperbole?" author="Talk of the Nation - Tuesday, July 25, 2006" copyright="2006" /> <audio src="rtsp://real.npr.org:80/real.npr.na-central/totn/20060725_totn_05.rm?v1st=&mt=2" title="Letters: Middle East Fighting, India.Arie" author="Talk of the Nation - Tuesday, July 25, 2006" copyright="2006" /> </body> </smil> You can see the <audio> tags contain the good bits (in this case, RTSP-style URLs). You can feed those URLs directly to mplayer, which in my testing should work fine. -Andy Reitz.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.53.0607251709060.1501>