MP4 from Youtube short-loaded using FFMPEG

Sorry, skipped a bit, trying to concentrate on one or two test cases.

I quit Audacity between most tests, but not in all tests.



That is the correct length. When imported in Audacity 2.1.1 alpha on my system, it’s zero seconds, according to the numbers below the wave form. It plays in under a second. Pic:


Log from this session:

16:11:19: Audacity 2.1.1-alpha-May  5 2015
16:11:19: Error: dlopen(.bundle, 2): image not found
16:11:20: Trying to load FFmpeg libraries...
16:11:20: Trying to load FFmpeg libraries from default path, '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
16:11:20: Checking for monolithic avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
16:11:20: avformat not monolithic
16:11:20: Loading avutil from '/Library/Application Support/audacity/libs/./libavutil.52.dylib'.
16:11:20: Loading avcodec from '/Library/Application Support/audacity/libs/./libavcodec.55.dylib'.
16:11:20: Loading avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
16:11:20: Actual avutil path /Library/Application Support/audacity/libs/./libavutil.52.dylib
16:11:20: Actual avcodec path /Library/Application Support/audacity/libs/./libavcodec.55.dylib
16:11:20: Actual avformat path /Library/Application Support/audacity/libs/libavformat.55.dylib
16:11:20: Importing symbols...
16:11:20: All symbols loaded successfully. Initializing the library.
16:11:20: Retrieving FFmpeg library version numbers:
16:11:20:    AVCodec version 0x373466 - 55.52.102 (built against 0x373466 - 55.52.102)
16:11:20:    AVFormat version 0x372164 - 55.33.100 (built against 0x372164 - 55.33.100)
16:11:20:    AVUtil version 0x344264 - 52.66.100 (built against 0x344264 - 52.66.100)
16:11:20: FFmpeg libraries loaded successfully.
16:11:47: File name is /Users/wim/Desktop/Test files audio & video/TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi
16:11:47: Mime type is *
16:11:47: Opening with libsndfile
16:11:47: Opening with liboggvorbis
16:11:47: Opening with libflac
16:11:47: Opening with libmad
16:11:47: Open(/Users/wim/Desktop/Test files audio & video/TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi) succeeded







That’s with all the misbehaving files. MP3, wav and any other AUDIO file works. I haven’t been able to find any VIDEO file that imports audio into Audacity.

It’s not really a biggy, I never import video files into Audacity that way. It’s just that I’m baffled, since there doesn’t seem to be anything wrong with these files. And some of them I’ve been using as test files for a very long time.

And Audacity 2.1.0 and 2.1.1. alpha seem to be very well behaved on my system. I haven’t really turned up any problem in testing, apart from a very minor graphical glitch…

Could something like Flip4Mac interfere with ffmpeg or lame?

I exported the TEST.m4a. This is what is sounds like:

Cyrano, to save going round in circles, please delete audacity.cfg after quitting Audacity. I think you may have corrupted or altered settings which are the cause of this. Open Finder, Go > Go to Folder and type:

~/Library/Application Support/audacity/

Now you can delete audacity.cfg. If you don’t want to do that, can you attach that file?

And there is what I said was the problem - libmad is opening the file. That doesn’t make Audacity crash for me, but if you are adding plugins using Effect > More… Audacity could crash in that session at any time. We still have to solve that .

Here is what should happen with that AVI, FFmpeg (libav) attempts the file before other importers:

17:36:13: FFmpeg libraries loaded successfully.
17:36:20: File name is /Users/gale/Downloads/TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi
17:36:20: Mime type is *
17:36:20: Opening with libav
17:36:20: Open(/Users/gale/Downloads/TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi) succeeded



That also imports fine for me.

Flip4Mac as I understand it would make the QuickTime importer in Audacity take WMA/WMV files. So I don’t think it’s relevant.

Have you installed Flip4Mac or other audio-related software just before this started happening?


Gale

Deleting audacity.cfg sorted it. All files import audio. Even the big ones. I was somehow assuming quitting the app was enough. Yes, I’m dense :laughing:

Thanks, Gale!

I had already deleted flip4mac, as I’m trouwbleshooting something else. Black screen in all browsers when streaming video after approx. 25 mins. Sound goes on, picture stops…