Re: [SLUG] Re: capturing a Real Audio stream

From: Eben King (eben1@tampabay.rr.com)
Date: Fri Nov 11 2005 - 17:08:16 EST


On Fri, 11 Nov 2005, Levi Bard wrote:

> On 11/11/05, Eben King <eben1@tampabay.rr.com> wrote:
> > This is probably a FAQ, but how do I capture a streaming Real Audio stream,
> >
> > and make it into something usable next week, when the URL changes? A
> > Windows-only solution is suboptimal, naturally, but it'll do.
>
> You can do it with mencoder - something like:
> mencoder -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vhq -ofps
> 30000:1001 -o realcapture.avi rtsp://whatever.url.rm

Alas:

[eben@pc MPlayer-1.0pre4]$ ./mencoder ...
MEncoder 1.0pre4-3.2 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2002 MHz (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /home/eben/.mplayer/codecs.conf: Can't open
'/home/eben/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/eben/.mplayer/mencoder: No such file or directory
Font /home/eben/.mplayer/font/font.desc loaded successfully! (206 chars)
Resolving rmv8.bbc.net.uk for AF_INET...
Connecting to server rmv8.bbc.net.uk[212.58.240.194]:554 ...
Cache size set to 640 KBytes
Connected to server: rmv8.bbc.net.uk
success: format: 11 data: 0x0 - 0x0
REAL file format detected.
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 32041
Block align: 465
bits/sample: 16
cbSize: 26
Unknown extra header dump: [5d] [0] [10] [0] [15] [0] [d1] [1] [10] [0] [1]
[0] [0] [3] [8] [0] [0] [20] [0] [0] [0] [0] [0] [2] [0] [4]
===========================
Video stream is mandatory!
Exiting...

Looks like I'm missing the Real codec? Odd, I've shown .rm files. The
"Video stream is mandatory" means a video format is selected, and the source
is audio-only (which is true), right? How do I tell it to forget the
(nonexistent) video stream, and just make an MP3 (or whatever) file?

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
CANCER:  The position of Jupiter says that you should spend the
rest of the week face down in the mud.  Try not to shove a roll of
duct tape up your nose when taking your driver's test.  -- Weird Al

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:58:59 EDT