Crash when importing ac3

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Locked
oderfla331
Posts: 4
Joined: Fri Jul 23, 2010 5:41 pm
Operating System: Please select

Crash when importing ac3

Post by oderfla331 » Fri Jul 23, 2010 6:07 pm

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. :(

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Crash when importing ac3

Post by Gale Andrews » Fri Jul 23, 2010 11:26 pm

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

oderfla331
Posts: 4
Joined: Fri Jul 23, 2010 5:41 pm
Operating System: Please select

Re: Crash when importing ac3

Post by oderfla331 » Tue Jul 27, 2010 4:14 pm

Here is a sample of a file I cannot open:
http://www.megaupload.com/?d=EOELDTLE

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Crash when importing ac3

Post by Gale Andrews » Tue Jul 27, 2010 6:52 pm

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

oderfla331
Posts: 4
Joined: Fri Jul 23, 2010 5:41 pm
Operating System: Please select

Re: Crash when importing ac3

Post by oderfla331 » Tue Jul 27, 2010 11:20 pm

You can upload an ac3 file of up to 1 MB here (Upload attachment underneath the Preview/Post Message buttons)
Ok.
Attachments
test.ac3
(212.24 KiB) Downloaded 47 times

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Crash when importing ac3

Post by Gale Andrews » Wed Jul 28, 2010 1:37 am

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.
Attachments
audacity.txt
audacity config file - rename to audacity.cfg
(21 Bytes) Downloaded 52 times
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

oderfla331
Posts: 4
Joined: Fri Jul 23, 2010 5:41 pm
Operating System: Please select

Re: Crash when importing ac3

Post by oderfla331 » Wed Jul 28, 2010 10:05 am

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. ;)

Locked