Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-18 Thread Tim
On Sat, 2010-07-17 at 17:53 +0530, ranjan sundar wrote:
 I am playing Shoutcast radio online in my browser and looking at many
 websites i tried to do some steps on vlc,audacity etc etc. nothing
 works. Moreover those websites ask me to download the metafile and
 look for mms,rtsp and stuff like that and the do the recording stuffs.
 im unable to get those metafiles. 

Often, but not always, when you have one of those metafile URIs, you can
give the address to mplayer, and let it handle it.

e.g. mplayer -playlist http://example.com/playlist.m3u
(likewise with various other protocols than HTTP).

If that manages to play it, then you can so something similar, adding
dumpstream options to the command line.  To pipe the output to a file,
instead of through the sound hardware.

mplayer -dumpfile savedfilename -vc dummy -vo null -dumpstream -playlist 
http://example.com/streamname.m3u

Then, if you want to monitor what's happening, you can play the file
being dumped to the drive, *as* it's being dumped, with another instance
of mplayer.  Just wait a while before issuing the command, so that
you've got enough of the stream downloaded to your drive.

mplayer savedfilename

Messy and convoluted, but I've done that with a radio station stream
that was impossible to listen to live (it kept on stuttering).

 is there a generic procedure to record audio output from sound card in
 my Fedora Linux 11 ?

Well, to answer your query literally, if you want to record the audio
that's put out by the card, it is possible to connect a patch lead from
the output socket, back to an input socket, and record *that*.  Be sure
that the input socket doesn't go back through to the output, as well.

e.g. Sound card line out to sound card line in.
 Line in recording volume control turned up sufficiently.
 Line in monitoring volume control completely off.

There were some sound cards that did make it easy to record the output
data just by playing with the mixer controls.  But if you had one of
them, you'd probably have found the controls to play with, by now.


-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread ranjan sundar
Hello all !!

I want to record audio output from sound card in my Fedora Linux 11 (from
any generic audio source streams). But unable to do so with existing Sound
recorder. Nothing gets recorded when i do so.

I am playing Shoutcast radio online in my browser and looking at many
websites i tried to do some steps on vlc,audacity etc etc. nothing works.
Moreover those websites ask me to download the metafile and look for
mms,rtsp and stuff like that and the do the recording stuffs. im unable to
get those metafiles.

Given this case is there a generic procedure to record audio output from
sound card in my Fedora Linux 11 ?

Any help is really appreciated !!

Thanks
Jan
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread Patrick O'Callaghan
On Sat, 2010-07-17 at 17:53 +0530, ranjan sundar wrote:
 Hello all !!
 
 
 I want to record audio output from sound card in my Fedora Linux 11
 (from any generic audio source streams). But unable to do so with
 existing Sound recorder. Nothing gets recorded when i do so.

AFAIK you can't record directly from the *output* of the sound card. The
sound recorder is for recording input.

 I am playing Shoutcast radio online in my browser and looking at many
 websites i tried to do some steps on vlc,audacity etc etc. nothing
 works. Moreover those websites ask me to download the metafile and
 look for mms,rtsp and stuff like that and the do the recording stuffs.
 im unable to get those metafiles. 

If your browser can play the stream, you can capture it. However it's
not a one-button procedure. You need to check exactly how the stream is
being downloaded and figure out how to intercept it. mplayer is pretty
good at this once you have the right URI. In fact it even has a specific
mode for capturing radio streams.

 Given this case is there a generic procedure to record audio output
 from sound card in my Fedora Linux 11 ?

No. As I said, recording from the output is not supported. I'm not even
sure it makes sense.

Also, note that F11 is now unsupported. You should upgrade your system
(that won't solve this problem but you should do it anyway).

poc


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread JD
  On 07/17/2010 07:37 AM, Patrick O'Callaghan wrote:
 On Sat, 2010-07-17 at 17:53 +0530, ranjan sundar wrote:
 Hello all !!


 I want to record audio output from sound card in my Fedora Linux 11
 (from any generic audio source streams). But unable to do so with
 existing Sound recorder. Nothing gets recorded when i do so.
 AFAIK you can't record directly from the *output* of the sound card. The
 sound recorder is for recording input.

 I am playing Shoutcast radio online in my browser and looking at many
 websites i tried to do some steps on vlc,audacity etc etc. nothing
 works. Moreover those websites ask me to download the metafile and
 look for mms,rtsp and stuff like that and the do the recording stuffs.
 im unable to get those metafiles.
 If your browser can play the stream, you can capture it. However it's
 not a one-button procedure. You need to check exactly how the stream is
 being downloaded and figure out how to intercept it. mplayer is pretty
 good at this once you have the right URI. In fact it even has a specific
 mode for capturing radio streams.

 Given this case is there a generic procedure to record audio output
 from sound card in my Fedora Linux 11 ?
 No. As I said, recording from the output is not supported. I'm not even
 sure it makes sense.

 Also, note that F11 is now unsupported. You should upgrade your system
 (that won't solve this problem but you should do it anyway).

 poc


Well, not meaning to be a devil's advocate,
someone had emailed me quiet a few years back that the
driver sends pcm data to sound card. So, it is possible to add
a shim to capture (i.e. copy) that pcm data.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread Takehiko Abe
 Given this case is there a generic procedure to record audio output from
 sound card in my Fedora Linux 11 ?

Try pavucontrol. (I don't know if it's available on the Fedora 11 repo 
though.) I found it via:

 Redirect Audio Out to Mic In
 http://www.kirsle.net/blog.html?u=kirsleid=79
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread kalinix
On Sat, 2010-07-17 at 17:53 +0530, ranjan sundar wrote:
 Hello all !!
 
 
 I want to record audio output from sound card in my Fedora Linux 11
 (from any generic audio source streams). But unable to do so with
 existing Sound recorder. Nothing gets recorded when i do so.
 
 
 I am playing Shoutcast radio online in my browser and looking at many
 websites i tried to do some steps on vlc,audacity etc etc. nothing
 works. Moreover those websites ask me to download the metafile and
 look for mms,rtsp and stuff like that and the do the recording stuffs.
 im unable to get those metafiles. 
 
 
 Given this case is there a generic procedure to record audio output
 from sound card in my Fedora Linux 11 ?
 
 
 Any help is really appreciated !!
 
 
 Thanks
 Jan


Not the answer to your question, but might be the solution of your
problem: 
You should try mplayer. It can dump the stream to an raw file. 


-- 


Calin

Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

=
A woman was in love with fourteen soldiers. It was clearly platoonic.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread Patrick O'Callaghan
On Sat, 2010-07-17 at 07:47 -0700, JD wrote:
 Well, not meaning to be a devil's advocate,
 someone had emailed me quiet a few years back that the
 driver sends pcm data to sound card. So, it is possible to add
 a shim to capture (i.e. copy) that pcm data.

It may well be. I make no claim to be an expert, but the OP did say the
output from the sound card rather than the PCM data being sent to the
sound card. This leads me to think he isn't any more of an expert than I
am, so he may have been mistaken in what he thinks he wants to do.

Be that as it may, there are ways to capture streams from online sites,
though they often need a bit of tweaking to get right, e.g. RealPlayer
is one thing, Flash is another thing etc. etc.

I guess a general-purpose capture the PCM data shim would be useful if
it existed.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread Carroll Grigsby
On Sat, 17 Jul 2010 17:53:44 +0530
ranjan sundar nja...@gmail.com wrote:

 Hello all !!
 
 I want to record audio output from sound card in my Fedora Linux 11
 (from any generic audio source streams). But unable to do so with
 existing Sound recorder. Nothing gets recorded when i do so.
 
 I am playing Shoutcast radio online in my browser and looking at many
 websites i tried to do some steps on vlc,audacity etc etc. nothing
 works. Moreover those websites ask me to download the metafile and
 look for mms,rtsp and stuff like that and the do the recording
 stuffs. im unable to get those metafiles.
 
 Given this case is there a generic procedure to record audio output
 from sound card in my Fedora Linux 11 ?
 
 Any help is really appreciated !!
 
 Thanks
 Jan

Jan:
I've never used it, but there is a program called streamripper which
may meet your requirements. It's available from rpmfusion, and carries
an .fc11 suffix. FWIW, it can be used with streamtuner (a web radio
station finder and tuner) which I have been using for a long time with
considerable success.

-- cmg
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread JD
  On 07/17/2010 08:38 AM, Patrick O'Callaghan wrote:
 On Sat, 2010-07-17 at 07:47 -0700, JD wrote:
 Well, not meaning to be a devil's advocate,
 someone had emailed me quiet a few years back that the
 driver sends pcm data to sound card. So, it is possible to add
 a shim to capture (i.e. copy) that pcm data.
 It may well be. I make no claim to be an expert, but the OP did say the
 output from the sound card rather than the PCM data being sent to the
 sound card. This leads me to think he isn't any more of an expert than I
 am, so he may have been mistaken in what he thinks he wants to do.

 Be that as it may, there are ways to capture streams from online sites,
 though they often need a bit of tweaking to get right, e.g. RealPlayer
 is one thing, Flash is another thing etc. etc.

 I guess a general-purpose capture the PCM data shim would be useful if
 it existed.

 poc

That's exactly what I mean.
What else would the driver send the sound card? TEXT???
I am talking about OUTPUT - that a shim can capture the output
PCM data.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread Patrick O'Callaghan
On Sat, 2010-07-17 at 10:18 -0700, JD wrote:
  I guess a general-purpose capture the PCM data shim would be
 useful if
  it existed.
 
  poc
 
 That's exactly what I mean.
 What else would the driver send the sound card? TEXT???
 I am talking about OUTPUT - that a shim can capture the output
 PCM data.

I know that's what you mean. Was that not clear from my last reply?
However the OP wanted to capture the output *from* the sound card, not
the output *to* the sound card. I just said that taken literally I
didn't think that made sense.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread Frank Murphy
On 17/07/10 18:39, Patrick O'Callaghan wrote:
 I know that's what you mean. Was that not clear from my last reply?
 However the OP wanted to capture the output *from* the sound card, not
 the output *to* the sound card. I just said that taken literally I
 didn't think that made sense.

 poc




Attach a minijack to stereo phono-leads to the speaker output,
and the other end to your Hi-Fi system aux input.
Record to CD-R :D

-- 
Regards,

Frank Murphy
UTF_8 Encoded
Friend of Fedora
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread JD
  On 07/17/2010 10:39 AM, Patrick O'Callaghan wrote:
 On Sat, 2010-07-17 at 10:18 -0700, JD wrote:
 I guess a general-purpose capture the PCM data shim would be
 useful if
 it existed.

 poc

 That's exactly what I mean.
 What else would the driver send the sound card? TEXT???
 I am talking about OUTPUT - that a shim can capture the output
 PCM data.
 I know that's what you mean. Was that not clear from my last reply?
 However the OP wanted to capture the output *from* the sound card, not
 the output *to* the sound card. I just said that taken literally I
 didn't think that made sense.

 poc

How do you think output even gets to the soundcard?

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Question on recording of audio output of steaming websites from sound card in my Fedora Linux 11

2010-07-17 Thread Patrick O'Callaghan
On Sat, 2010-07-17 at 10:47 -0700, JD wrote:
 On 07/17/2010 10:39 AM, Patrick O'Callaghan wrote:
  On Sat, 2010-07-17 at 10:18 -0700, JD wrote:
  I guess a general-purpose capture the PCM data shim would be
  useful if
  it existed.
 
  poc
 
  That's exactly what I mean.
  What else would the driver send the sound card? TEXT???
  I am talking about OUTPUT - that a shim can capture the output
  PCM data.
  I know that's what you mean. Was that not clear from my last reply?
  However the OP wanted to capture the output *from* the sound card, not
  the output *to* the sound card. I just said that taken literally I
  didn't think that made sense.
 
  poc
 
 How do you think output even gets to the soundcard?

Stop. Take a deep breath. Read my various posts again. *I'm not
disagreeing with you*.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines