LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-10-2010, 07:13 PM   #1
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Recording whatever sound is playing


I need to record an audio track that seems only available via youtube or blip.fm. There does not seem to be any way to purchase this track and various methods involving Audacity don't work for me. Any tips or useful links are much appreciated. Apologies if in some way I am breaking any copyright laws - that's not my intention. I just to need to record what plays from a website.
 
Old 11-11-2010, 10:54 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Why not just download the flv or mp4 from youtube and use mencoder or ffmpeg to extract the audio ?
 
Old 11-11-2010, 12:20 PM   #3
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
I have downloaded the flv from youtube using the Unplug Firefox plugin but I had a problem extracting the audio with ffmpeg. Unfortunately the man page for mencoder is 6500 lines on my system so obviously paging through all that is a real pain. Ffmpeg failed with:
Code:
[libmp3lame @ 0x64a080]lame: output buffer too small (buffer index: 9195, free bytes: 597)
Audio encoding failed"
and as i don't have a man page for ffmpeg figuring the fix out was not obvious - google time again.

I have found some hints on how to do this with "mencoder -dumpaudio" but thankfully I have found a page hosting an mp3 so I now have a copy. This is something that I would have though was very simple - just recording what was playing - but it tuned into a real chore.

I'm going to continue trying to get Audacity to do this as I'm sure it should be quite simple - maybe just not obvious. I found a page dedicated to this here but I'm having problems with this so far. Thanks for the reply.
 
Old 11-11-2010, 01:00 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What version of lame are you using ? I recommend version 3.97, other versions have problems like that.
 
Old 11-11-2010, 01:22 PM   #5
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
What version of lame are you using ? I recommend version 3.97, other versions have problems like that.
Version 3.98.2. Maybe I should downgrade to 3.97 ?
 
Old 11-11-2010, 01:56 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Yes, try it. You may have to recompile ffmpeg.
 
Old 11-12-2010, 10:32 AM   #7
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 39
On my Fedora 13 desktop I have opened a terminal in the directory where my .flv files are and then run:
Code:
ffmpeg -i file.flv -f mp3 file.mp3
of course you must have the necessary codecs installed for .mp3.

phil

EDIT: Also you could use the FF addon DownloadHelper and when listening to say "blip.fm" use that to d'load the file.

Last edited by Ryptyde; 11-12-2010 at 10:55 AM. Reason: add DownloadHelper info.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a sound card for recording sound sycamorex Linux - Hardware 4 05-06-2010 03:23 PM
loud sound occurs when exiting pages or windows that have sound playing already zorb Fedora 1 11-27-2009 05:32 PM
Microphone Working, Sound playing back, Sound Not Recording (Gentoo 2.6.29) kingzog Linux - Software 3 04-23-2009 09:09 PM
which codec for playing xvidcap mpeg4 recording demmylls Linux - Software 1 08-29-2006 03:24 PM
no sound after recording something ludama Linux - Newbie 0 04-29-2002 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration