Hello again, thank you both for your answers !
bgravato wrote:Have you tried to extract the audio using other programs?
Install avidemux (should be in Debian repos). Open the video there. You can save the audio only by selecting "Save..." from the Audio menu.
You can then import the audio file you just saved into audacity.
I've just downloaded avidemux and did what you said, importing the video - saving the soundtrack after choosing the audio codec - importing the result in Audacity, and it works flawlessly. So thank you very much I will use this method for the time being.
bgravato wrote:
If you're comfortable using the command line you may also use mplayer/mencoder to extract the audio.
If the video file is DMCA protected you might not be able to extract the audio.
If you want to extract audio from youtube videos have a look at youtube-dl (also available on debian repos).
It's a command line tool to download youtube videos, it has an option to extract audio only.
Thanks, I didn't know those tools either, I will try them as well.
steve wrote:Malrob wrote:Segmentation fault.
That means it's crashed. (Not very specific I know, but basically that is what it means

)
Indeed not very specific but it helped me find this forum by googling "segmentation fault audacity" so it's still helpful.
steve wrote:Malrob wrote:Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server socket
jack server is not running or cannot be started
That's normal.
Audacity is looking to see what sound services you have running. It goes through a list of possibilities - any sound services that are not running on your machine will return an "error". It's not really an error, it's just saying that that particular sound service is not running.
Just out of curiosity what do you mean by "sound service" ? I think that on Windows a service is a program that is run automatically when the OS starts without user intervention, which is called a daemon on Linux. Is this what you mean ? And if it's the case why is Audacity looking for such programs ?
steve wrote:Malrob wrote:wma-proprietary
FFMpeg currently has only partial support for WMA.
DRM is not supported, and I don't think that WMA lossless is currently supported. WMA version 2 should be OK, but other versions are likely to fail.
I just looked on
Wikipedia, there seems to be four families of Windows Media Audio codecs : Standard, Professional, Lossless and Voice. So if I understand you correctly, Audacity doesn't support Professional, Lossless and Voice, only Standard (version 1 and 2), and none of them if they are DRM protected.
steve wrote:Malrob wrote:for example with this video
I downloaded that as a FLV file using the "Easy YouTube Video Downloader version 5.9" add-on in Firefox 10.0. Audacity opens that fine.
I've installed the same addon and I'm also using Firefox 10.0 (well Iceweasel but it's the same thing I think). I've tried with 360p and 240p, none of them could be imported in Audacity.
I don't know if it's important but sometimes Audacity says this when I try to import a video file :
(Audacity:number, probably pid = process ID): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
I don't understand what it means but I see the terms "text" and "utf8" so I supposed that maybe there was a problem with the name of the file like a too long length or some characters that Audacity didn't like (space for example). I tried renaming the file giving it something much more simple like "SH.flv" and the error message disappeared. But after a reboot of the machine the same message appears with the same file "SH.flv".
By the way how did you import the video file ? I've tried several methods, all failed :
- Open a terminal > type 'audacity' > File > Open
Open a terminal > type 'audacity' > File > Import > Audio
Open a terminal > type 'gksu audacity' > File > Open
Open a terminal > type 'gksu audacity' > File > Import >Audio
Alt + F2 > audacity > File > Open
Alt + F2 > audacity > File > Import > Audio
The only successful way that I've found is : open a terminal > type 'audacity' > File > Import > Raw Data. The problem is that the result is just mere noise, not the soundtrack I want to extract.
Anyway, I was pretty sure you would succeed. Indeed, I've shown my sister how to extract soundtrack from video files with Audacity on the Ubuntu 11.10 I installed on her old laptop and she has no problems whatsoever doing it. I know the problem is not really coming from Audacity but from me, or more precisely from my installation of Debian.
I just don't know what I've done wrong or what I haven't done. Maybe I forgot to install some package ? A conflict between dependencies ? Should I have removed the ffmpeg from official repos before upgrading with the version from Debian Multimedia ?
steve wrote:Malrob wrote: I decided to add Debian Multimedia repositories to have a newer version of the latter.
That's what I'm using. It still does not support some WMA files.
What I don't understand is why I see "wma-proprietary" every time I click on "Help" after seeing the message "Audacity recognized the type of the file '
name'. Importers supposedly supporting such files are: FFmpeg-compatible files, but none of them understood this file format." ?
Are all the videos on youtube and more generally on the web using WMA audio codec ? I've just checked on
Wikipedia and in the chart I only see MP3, AAC and Vorbis as possible audio codecs, no WMA.
And even if all videos on which I stumbled were using WMA, why could I import some of them with the ffmpeg from official repos but none of them with the one from Debian Multimedia ? Even weirder I remember that with the ffmpeg from official repos and with the exact same video sometimes I could import it sometimes Audacity would just crash.
I don't know if it's important but here's my sources.list maybe there's a problem with it :
As you can see the only things worth to mention are the backports and Opera repos.
steve wrote:Malrob wrote:Linux debian 2.6.32-5-686 #1 SMP Mon Jan 16 16:04:25 UTC 2012 i686 GNU/Linux
Same here. Good isn't it

I don't know much about Linux, just a little about Ubuntu and Debian. I switched from Ubuntu to Debian in order to better understand how works an OS and be more confident when using one. Well all I can say is that so far it's kinda difficult but I'm not complaining, I knew perfectly well what I was going into when I installed Debian on my machine, and I cheer myself up by thinking it could be far worse : I could be on Gentoo.
