Page 1 of 1

Crash when importing ac3

Posted: Fri Jul 23, 2010 6:07 pm
by oderfla331
Hi. I am running Audacity 1.3.12 on Windows7 Professional 64bit.
I ran Audacity some weeks ago and I could import .ac3 files without problems using FFMpeg for audacity.
Now when I try to import/export an .ac3 file I get an error: "Audacity the Cross-Platform Sound editor has stopped working".
I tried to run ffmpeg.exe separately from command line and it seems to work.
I tried to uninstall and reinstall both Audacity and FFMpeg for audacity, I also tried to erase Audacity user settings.

Help, please. :(

Re: Crash when importing ac3

Posted: Fri Jul 23, 2010 11:26 pm
by Gale Andrews
oderfla331 wrote:Hi. I am running Audacity 1.3.12 on Windows7 Professional 64bit.
I ran Audacity some weeks ago and I could import .ac3 files without problems using FFMpeg for audacity.
Now when I try to import/export an .ac3 file I get an error: "Audacity the Cross-Platform Sound editor has stopped working".
I tried to run ffmpeg.exe separately from command line and it seems to work.
I tried to uninstall and reinstall both Audacity and FFMpeg for audacity, I also tried to erase Audacity user settings.
Thanks. I think at this stage the best would be if you could supply an example .ac3 file that causes Audacity to crash. You can upload it to a file transfer service like
http://www.yousendit.com
http://www.megaupload.com
http://www.sendspace.com

and post the link here where we can download the file.



Gale

Re: Crash when importing ac3

Posted: Tue Jul 27, 2010 4:14 pm
by oderfla331
Here is a sample of a file I cannot open:
http://www.megaupload.com/?d=EOELDTLE

Re: Crash when importing ac3

Posted: Tue Jul 27, 2010 6:52 pm
by Gale Andrews
oderfla331 wrote:Here is a sample of a file I cannot open:
http://www.megaupload.com/?d=EOELDTLE
It says the file is temporarily unavailable. Did you miss a letter off the link? You can upload an ac3 file of up to 1 MB here (Upload attachment underneath the Preview/Post Message buttons). A 30 seconds file should be well within the limit.


Gale

Re: Crash when importing ac3

Posted: Tue Jul 27, 2010 11:20 pm
by oderfla331
You can upload an ac3 file of up to 1 MB here (Upload attachment underneath the Preview/Post Message buttons)
Ok.

Re: Crash when importing ac3

Posted: Wed Jul 28, 2010 1:37 am
by Gale Andrews
Thanks for the file. It imports fine for me in Win7 x64 in 1.3.13 alpha and 1.3.12. If you are crashing when exporting AC3 as well there may be a conflict with some other version of FFmpeg on your computer.

Also have you ever used Audacity 1.2? If so, and those 1.2 preferences in the Windows Registry are still there, deleting the audacity.cfg file won't give you a clean set of 1.3 Preferences because Audacity will look at the 1.2 Preferences. To make sure your preferences are initialised, please rename the attached to audacity.cfg and paste it into the Users<user name>AppDataRoamingAudacity folder. Overwrite the existing audacity.cfg file if you are asked.

If there is still a crash, remove FFmpeg for Audacity using the uninstaller in the "FFmpeg for Audacity" folder (if you obtained the zip, just delete the zip file). Now install FFmpeg again. Launch Audacity and click Edit > Preferences: Libraries. Follow the instructions in the Manual at "2.Installation" to browse for and locate avformat-52.dll.

You should now see F, C and U numbers in "FFmpeg Library Version" in Preferences. Click Help > Show Log and copy the contents of Help > Show Log and paste it somewhere safe. If you still get the crash, paste the log contents you copied from Help > Show Log here. If Audacity doesn't recognise FFmpeg in Preferences, also post the log.

Re: Crash when importing ac3

Posted: Wed Jul 28, 2010 10:05 am
by oderfla331
It seems I solved.
Audacity uses the PATH environment variable to locate the FFMpeg library and there was a conflict with eac3to, which was in PATH and has its own FFMpeg library in its same directory.

Thanks for your support. ;)