Audacity plante:import de fichier FLAC trop lourd?

Bonjour

Depuis que je suis passé sous Mac OS 10.9.2, Audacity 2.2 ne parvient plus à charger de fichier FLAC de plus de 500 Mo, que Audacity 2.5 ouvre cependant; mais Audacity 2.5 plante en essayant d’ouvrir un fichier FLAC au-delà de 1Go. Le chargement s’interrompt brutalement dans les dernières 30 secondes. Il s’agit de fichiers FLAC, encodés par VLC avec l’extension .ogg, dont l’un “pesait” environ 650 Mo pour une durée de 1h35mn, et l’autre 1,2 Go pour une durée de 3h. D’après préférences, Audacity place les fichiers temporaires dans “var” (dossier caché que j’ai pu ouvrir) ce n’est donc pas une question d’espace disque disponible. J’ai fait des recherches sur les sites français et anglais, je n’ai pas vu de sujet évoquant spécifiquement ce problème.

Pourquoi ce comportement différent entre les deux versions d’Audacity?
Quelle peut être la cause de leur plantage?

Merci pour les réponses et suggestions avisées.

tobele

Mon système: Mac OS 10.9.

Audacity crashes: Flac file import too heavy?
Hello
Since I passed under Mac OS 10.9.2, Audacity 2.2 is no longer able to load FLAC files over 500MB, Audacity 2.5 opens it, however; but Audacity 2.5 crashed trying to open a FLAC file beyond 1GB. Loading suddenly stops in the last 30 seconds. These FLAC files are encoded by VLC with the extension .Ogg. One “weighed” about 650 MB for a period of 1h35mn and another 1.2GB for 3h. According preferences, Audacity loads up temporary files in “var” (hidden folder that I could open ) this is therefore not a question of available disc space. I did some research on the French and English sites, I have not seen the subject specifically mentioning this problem.

Why this different behavior between the two versions of Audacity?
What can be the cause of crash?

Thanks for your answer
tobele

Google translation…

If you can write English, please do so. As you can see above, there is no official technical support in French.

There are no 2.2 or 2.5 versions of Audacity. You can get the latest 2.0.5 from http://audacityteam.org/download/mac . We can only help with that current 2.0.5 version.

You can read the available disk space in the Audacity temporary directory in the Directories Preferences. Be aware that if you import a 3 hour stereo 44100 Hz file in any format using default 32-bit float sample format, this will take 3.6 GB of temporary space, then if you apply an edit to the whole file this increases temporary space usage to 7.2 GB and so on. This is so Audacity can undo and redo edits.

Have you installed FFmpeg ( http://manual.audacityteam.org/o/man/faq_installation_and_plug_ins.html#macff ) ? Audacity can’t open OGG files containing FLAC using its standard libogg importer. If FFmpeg is not installed, Audacity should refuse to open an OGG file containing FLAC.

You can also transcode the file to WAV using VLC.

If none of this helps, I suggest you post an example file that crashes 2.0.5 to Dropbox or similar so we can examine it.

Gale

=========================

Si vous pouvez écrire en anglais, s’il vous plaît le faire. Comme vous pouvez le voir ci-dessus, il n’ya pas de support technique officiel en français.

Il n’y a pas de 2.2 ou 2.5 versions de Audacity. Vous pouvez obtenir la dernière 2.0.5 de http://audacityteam.org/download/mac. Nous ne pouvons aider avec cette version 2.0.5.

Vous pouvez lire l’espace disque disponible dans le répertoire temporaire Audacity dans les Répertoires Préférences. Soyez conscient que si vous importez un 44100 fichier Hz stéréo de 3 heures dans n’importe quel format en utilisant par défaut le format de l’échantillon de 32 bits virgule flottante, cela va prendre 3,6 Go d’espace temporaire, alors si vous appliquez une modification à l’ensemble du dossier ce qui augmente l’utilisation de l’espace temporaire pour 7,2 GB et ainsi de suite. Il en est ainsi Audacity peut défaire et refaire les modifications.

Avez-vous installé FFmpeg (http://manual.audacityteam.org/o/man/faq_installation_and_plug_ins.html # macff)? Audacity ne pas ouvert OGG contenant FLAC avec importateur de libogg. Si FFmpeg n’est pas installé, Audacity devrait refuser d’ouvrir un fichier OGG contenant FLAC.

Vous pouvez également transcoder le fichier au format WAV avec VLC.

Si rien de tout cela aide, je vous suggère de publier un fichier d’exemple qui s’écrase 2.0.5 de Dropbox ou similaire afin que nous puissions l’examiner.


Gale

Bonjour,
Merci pour votre réponse.
Excusez ma négligence:
-il s’agit bien sûr de Audacity 2.0.2 et 2.0.5 (et non 2.2 ou 2.5)
-La suite logicielle FFmpeg a été téléchargée et installée lors de ma première installation d’Audacity (2.0.0 il y a deux ans) et a été reconnue par les versions ultérieures d’Audacity
-Audacity 2.0.2 et 2.0.5 lisent donc sans problème les fichiers OGG/Vorbis et FLAC sous OGG
-Audacity a autant de place qu’il le désire dans le dossier où il met ses fichiers temporaires (actuellement 350 Go d’espace libre)
Ma question est donc simplement de savoir pourquoi:
1)Audacity 2.0.2 crashe en ouvrant un fichier FLAC/OGG de plus 650 Mo (90 minutes), alors que Audacity 2.0.5 l’ouvre sans problème
2)Audacity 2.0.5 crashe en ouvrant un fichier FLAC/OGG de 1,2 Go (180 minutes)

Je pense que c’est un problème d’horloge: le décompte entre “temps passé” et “temps restant” a du mal à se stabiliser et à s’ajuster. Les fichiers FLAC se comportant comme des paquets de zip à décompresser, l’horloge a l’air de s’affoler, le calcul du temps se dérègle et au-delà d’un certain moment le logiciel s’écrase, Audacity 2.0.5 résistant un peu plus longtemps à la tempête.

Voilà pour mes observations. Ce n’est pas bien grave. J’ouvre ces gros fichiers avec Ocenaudio, les divise et les rouvre sans problème avec mon logiciel préféré, pour l’instant Audacity 2.0.2.

Le problème est donc évité à défaut d’être résolu.http://forum.audacityteam.org/posting.php?mode=reply&f=7&t=78745#

Cordialement
tobele



Thank you for your reply.

My english is too poor, I don’t understand always what is written in the english forum; I need translation

Excuse my negligence:

  • it is of course Audacity 2.0.2 and 2.0.5 (not 2.2 or 2.5)
  • the FFmpeg-suite has been downloaded and installed on my first installation of Audacity (2.0.0 two years ago) and has been recognized by later versions of Audacity
  • therefore, Audacity 2.0.2 and 2.0.5 read without problem OGG / Vorbis and FLAC in OGG files
  • Audacity has as much space as he wants in the folder where he puts his temporary files (currently 350 GB of free space)
    My question is simply why:
  1. Audacity 2.0.2 crashes opening a FLAC / OGG file over 650MB (90 minutes), while Audacity 2.0.5 opens it without problems
  2. Audacity 2.0.5 crashes opening a FLAC / OGG file 1.2GB (180 minutes)

I think it is a problem of clock: the countdown between “past time” and"time remaining" has difficulties to stabilize and adjust . FLAC files behave as packets to unzip, the clock seems to panic, the calculation time goes awry and beyond a certain point the software crashes, Audacity 2.0.5 resists a little longer the storm.

Those are my observations. It’s not a matter. I open these large files with Ocenaudio, divide and reopen them without problem with my favorite software, Audacity 2.0.2 for now.

The problem is avoided if not resolved.

Regards
tobele

Again, without an example file, it is hard to say.

2.0.2 may crash with files in any format that have accented characters in the file name (like the French e acute). And whatever the problem in 2.0.2, we are now only interested in the current release.

If you like, you can attach the Mac crash report for 2.0.5. Open Finder, then choose Go > Go to Folder and type:

~/Library/Logs/DiagnosticReports/

This may give us some idea. Also tell us exactly where you import the OGG files from. Give us the the complete path to the file that caused the crash in your attached report, for example:

Macintosh HD/Users/tobele/audio folder/longue durée.ogg

If you import files from a folder on a computer on a network, the network may fail with a long file.


Gale

Merci pour votre réponse

Je n’ai que le récent rapport de crash d’Audacity 2.0.2 du 05/09/2014. (En faisant le ménage ONYX a effacé les rapports précédents). Je sais que qu’Audacity 2.0.2 n’intéresse plus le Team, mais il est sensiblement pareil au rapport de crash d’Audacity 2.0.5, sauf que 2.0.5 tient le coup plus longtemps. J’ ai recommencé le processus pour Audacity 2.0.5 . Voici les deux rapports et l’analyse de Mediainfo pour le fichier sur lequel 2.0.5 se casse les dents.

Cordialement
tobele


Thank you for your reply

I have only the recent crash report Audacity 2.0.2 from 05/09/2014. (While cleaning ONYX erased previous reports). I know Audacity 2.0.2 no longer interests the Team, but it is substantially similar to the crash report Audacity 2.0.5, except that 2.0.5 holds out longer. I have started the process for Audacity 2.0.5. Here are two reports and the analysis of MediaInfo for the file that 2.0.5 breaks teeth

Regards
tobele


Général
Nom complet : /Users/ooooo/Music/vlc mix.ogg
Format : OGG
Format/Info : Free Lossless Audio Codec
Taille du fichier : 1,11 Gio
Durée : 3h 1mn
Type de débit global : Variable
Débit global moyen : 878 Kbps
Audio
ID : 1101940352 (0x41AE4680)
Format : FLAC
Format/Info : Free Lossless Audio Codec
Type de muxing : pre-FLAC 1.1.1
Durée : 3h 1mn
Type de débit : Variable
Canaux : 2 canaux
Echantillonnage : 44,1 KHz
Profondeur des couleurs : 16 bits

“Upload attachment” seems not working for .crash reports…

If the 2.0.2 crash report shows a textension error, that is already fixed in 2.0.5.

It is up to you if you want to submit a crash report for the problem in 2.0.5 or not. Nothing will be fixed otherwise.

The crash report should be saved as a TXT file with a maximum file size of 1 MB then you can attach it here. Please see here for how to attach files: https://forum.audacityteam.org/t/how-to-attach-files-to-forum-posts/24026/1 .

A workaround may be to transcode the file to WAV in VLC (as I already said). Or try FLAC without putting it in an OGG container.


Gale

Merci pour votre réponse,

J’ai suivi vos conseils, à savoir:

-changé l’extension du fichier en .flac: Audacity 2.0.5 commence à l’ouvrir mais s’écrase avant la fin comme pour
l’extension .ogg
-VLC a transcodé ce fichier en WAV; il “pèse” maintenant 1,9 Go et Audacity 2.0.5 l’ouvre tranquillement etrapidement (en moins d’une minute, record de France battu)
Ce n’est donc définitivement pas un problème d’espace disponible .

Le Forum ne permet pas de joindre des fichiers avec l’extension .crash. Comme vous le suggérer, je vais donc les joindre au format texte.

Merci de me lire et pour vos bons conseils.

Joint: un rapport de crash d’Audacity 2.0.2 pour un fichier FLAC de 600 Mo (environ)
un rapport de crash d’Audacity 2.0.5 pour un fichier FLAC de 1,1 Go avec l’extension .ogg
un rapport de crash d’Audacity 2.0.5 pour le même fichier FLAC avec l’extension .flac


Thank you for your reply,

I followed your advice, namely:

-changed the file extension in flac. Audacity 2.0.5 starts to open but crashes before the end like .ogg extension.
-VLC transcoded this file in WAV format; it “weighs” now 1.9 GB and Audacity 2.0.5 opens quietly and quickly (in less than
a minute, record de France battu)
So this is definitely not a problem of space available.

The Forum can not attach files with the extension .crash. As you suggest, I will join them in text format.

Thank you for reading me and for your advice.

Attachment:
a crash report Audacity 2.0.2 for FLAC file 600 MB (approx.)
a crash report Audacity 2.0.5 for a FLAC file of 1.1 GB with the extension .ogg
a crash report Audacity 2.0.5 for the same FLAC file with the extension .flac
Audacity_2014-05-09-232105_iMac-de ooo.txt (60.4 KB)
Audacity_2014-05-11-144043_iMac-de-ooooo.txt (45.4 KB)
Audacity_2014-05-12-055949_iMac deoo.txt (45.4 KB)

I did not suggest changing the file extension. That does not change the format of the file from OGG to FLAC. I suggested encoding the file as FLAC. That should not make the file any larger if the encoding has the same compression level, sample rate and bit depth as the FLAC in OGG file.

OK. And I expect a proper FLAC file would not crash, because then the FLAC importer in Audacity would open it and not FFmpeg.

The reports all show the same problem - FFmpeg is causing the crash, apparently due to a memory problem. I assume it is not a shortage of memory on your computer, but you should open Activity Monitor and check it. More likely it is some issue in the FFmpeg code. I would assume if you used the FFmpeg program on its own (without Audacity) the crash would still happen.

Did you obtain FFmpeg from here: Audacity Manual ?

Are you making these OGG files containing FLAC yourself? If you make a file lasting five minutes with FLAC inside OGG, does that ever crash 2.0.5?

What is the exact version number of your VLC? It could also be you have an old VLC that has a bug in writing FLAC inside OGG.

There is not much we can do without having a file to test. If I knew your version of VLC and exactly how you you make the FLAC inside OGG files in VLC, I could try making a file myself and see if it crashes Audacity on my Mac.

But again, if it also crashes FFmpeg on its own, then the bug is in FFmpeg.


Gale

J’ai téléchargé la suite FFmpeg sur le site d’Audacity il y a deux ans en même temps que ma première version d’Audacity, en suivant les instructions du site. Y-a-t-il une autre version?
J’utilise la version la plus récente de VLC : 2.1.4 Rincewind (intel 64bit)

Cependant, je vous ai mieux compris cette fois-ci.
J’ai ouvert le fichier FLAC/OGG de 1,1 Go avec Ocenaudio sans problème. Ocenaudio l’a exporté en fichier FLAC/FLAC de 1,1 Go, et voilà-t-il pas qu’Audacity l’ouvre sans problème, tranquillement et rapidement (en 65 secondes chrono record de France battu)!!

Il semble donc que le problème vient du transcodage de VLC qui ne propose pas d’autre alternative que OGG pour extension aux fichiers FLAC, lorsqu’il les télécharge sur le net. VLC a parfois des comportements étranges: il lui arrive de produire des fichiers sans extension…….

Et pourtant Audacity 2.0.5 ouvre des fichiers FLAC/OGG de 600 à 700 Mo transcodés par VLC, mais s’écrase quand le temps de chargement est trop long avec un fichier de 1,1 Go. Ce même fichier qu’Ocenaudio ouvre cependant sans broncher.

J’ai fait un dernier essai. J’ai fait réencoder ce fichier FLAC/OGG, que VLC avait produit, par VLC lui-même en FLAC/FLAC. VLC l’a transcodé mais sans donner aucune extension! Mediainfo l’ayant reconnu comme fichier FLAC/FLAC, j’ai manuellement ajouté l’extension .flac et l’ai ouvert avec Audacity 2.0.5 qui n’a pas crashé, youpie. Mais pendant l’ouverture l’horloge avait un comportement à faire peur: “temps écoulé” était normal tandis que “temps restant” annonçait des temps variant de 1mn, 3mn, 5mn, 14mn, etc, et finalement le fichier s’est ouvert dans un temps champion de 90 secondes.

Problème partiellement résolu?

Merci pour votre patience,
tobele


Traduction Google difficile, I hope you can read it

I downloaded the FFmpeg-suite on the Audacity site two years ago at the same time that my first version of Audacity, following the given instructions. Is there another version?
I use the latest version of VLC : 2.1.4 Rincewind (intel 64bit)

However, I understood you better this time .
I opened the FLAC / OGG file of 1.1 GB with Ocenaudio smoothly. Ocenaudio exported it in FLAC / FLAC (1,1 GB), and now Audacity 2.0.5 opens this file smoothly, quietly and quickly ( 65 seconds record de France battu) !

So it seems that the problem is the VLC transcoding that does not offer alternative to FLAC files but .ogg extension when he downloads them on the net. VLC sometimes has a strange behavior : he sometimes produces files without extension…….

Yet, Audacity 2.0.5 opens FLAC / OGG files of 600-700 MB transcoded by VLC , but crashes when loading time is too long with a 1.1 GB file, while Ocenaudio opens this same file , however, without flinching.

I made a last attempt . I re-encoded this FLAC / OGG file produced by VLC, with VLC itself in FLAC / FLAC . VLC transcoded it but without any extension! Mediainfo having recognized it as a FLAC / FLAC file , I manually added the extension .flac and opened it with Audacity 2.0.5 which has not crashed , youpie . But while opening the clock had a scarily behavior: ” elapsed time " was normal while " remaining time " announced times ranging from 1 minute , 3 minutes , 5 minutes , 14mn , etc., and finally the file opened in champion time of 90 seconds.

Problem partially solved?
Thanks for your patience. Regards.
tobele

Thanks.

As far as I can tell from a search, Ocenaudio uses FFmpeg but it may not use FFmpeg to open OGG files containing FLAC. And it may use a later version of FFmpeg than Audacity does.

In my copy of VLC 2.0.6, if I enter a stream address, I can specify “Audio - FLAC” as the Convert/Save target then press the button that has the “spanner” icon and choose the encapsulation. I think if you choose “RAW” then it will give you a file without extension, then you can give it FLAC extension to play the file. It should also be fine to choose “WAV” then you will have FLAC format inside WAV.

Occasionally I record a stream in VLC, but I check the box “Dump raw input” then transcode the file after the recording. This way there can be no interruptions to the recording because the computer is busy using CPU cycles trying to transcode the captured stream at the same time as recording the next part of the stream.

If the problem only occurs when recording a very long stream in VLC, it may better to try the following yourself.

Open a terminal. Navigate to the directory where you have FFmpeg installed. Type “cd” (without quotes) then the name of the directory (in quotes) to do that.

Then type:

./ffmpeg -i <name of the ogg file containing flac> oggflac.wav

and see if FFmpeg manages to write oggflac.wav without crashing.

In other words, replace with the full path to the file in quotes (or put the file in the directory where ffmpeg is, then you can just type the name of the file).


Gale

Thanks to you, Gale.

Just to give some news.

Means-while, I have made a clean install of Mac OS 10.9.3, nothing really changes; and today added “Ram memory”. Mavericks jumps and runs now like a snow leopard, and Audacity works fine and smoothly, much better than before.

But the problem of importing big FLAC/OGG files persists.
I have no practice with the Terminal app; I’m not sure to understand your advice, (my english is too poor), and afraid to do a big mistake. So I have not tried it. It’s not really a problem, just a question about the strange behavior of Audacity 2.0.5 in importing this big hybrid Flac/OGG files.

What concernes VLC: since latest upgrading to 2.1.4 I have no more the possibility to transcode in WAV or uncompressed code; don’t know why. That’s what I did with VLC 2.0.8. Perhaps there is something to do in his mysterious advanced settings.

Thanks for your suggestions,
Regards
tobele

OK but I cannot make the crash happen on my Mac machine with a 1 GB “OGG file containing FLAC” written by VLC 2.1.4.

In any case Audacity 2.0.6 when released will either update to FFmpeg 2.2.x or use FFmpeg indirectly through another API (GStreamer). So the behaviour may change in any case.

In VLC 2.1.4 on Mac I chose the “CD” format then chose WAV encapsulation and FLAC codec. At least I can do that if converting an existing file.


Gale