MP4 from Youtube short-loaded using FFMPEG
Forum rules
This forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Re: MP4 from Youtube short-loaded using FFMPEG
Sounds like; in case I didn't already say, I loaded it directly into Audacity via FFMPEG.
Re: MP4 from Youtube short-loaded using FFMPEG
I've been doing some more testing. Can't seem to produce any audio output from video that doesn't either crash Audacity or opens, but doesn't play. My notes:
Import from 4K QuickTime mov
Audacity crashed with both test files
see Audacity crash report: Dolby AC3 5.1
Failed like YT downloads
HD1080 mp4
Failed like YT downloads
see Audacity crash report 2: AVCodec version 0x373466 - 55.52.102 (built against 0x373466 - 55.52.102)
AVFormat version 0x372164 - 55.33.100 (built against 0x372164 - 55.33.100)
AVUtil version 0x344264 - 52.66.100 (built against 0x344264 - 52.66.100)
path: /Library/Application Support/audacity/libs/./
Import from 4K QuickTime mov
Audacity crashed with both test files
see Audacity crash report: Dolby AC3 5.1
Failed like YT downloads
HD1080 mp4
Failed like YT downloads
see Audacity crash report 2: AVCodec version 0x373466 - 55.52.102 (built against 0x373466 - 55.52.102)
AVFormat version 0x372164 - 55.33.100 (built against 0x372164 - 55.33.100)
AVUtil version 0x344264 - 52.66.100 (built against 0x344264 - 52.66.100)
path: /Library/Application Support/audacity/libs/./
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: MP4 from Youtube short-loaded using FFMPEG
Are you using a 2.1.0-alpha from 5th March? The crash reports seem to suggest that and/or that the MP3 importer (libmad) is getting involved.cyrano wrote:I've been doing some more testing. Can't seem to produce any audio output from video that doesn't either crash Audacity or opens, but doesn't play. My notes:
Import from 4K QuickTime mov
Audacity crashed with both test files
see Audacity crash report: Dolby AC3 5.1
Failed like YT downloads
HD1080 mp4
Failed like YT downloads
see Audacity crash report 2: AVCodec version 0x373466 - 55.52.102 (built against 0x373466 - 55.52.102)
AVFormat version 0x372164 - 55.33.100 (built against 0x372164 - 55.33.100)
AVUtil version 0x344264 - 52.66.100 (built against 0x344264 - 52.66.100)
path: /Library/Application Support/audacity/libs/./
Have you added any rules in Extended Import Preferences?
What happens if you quit Audacity, delete audacity.cfg then use 2.1.0 release?
If the problem persists please provide all the example files then we can test.
Thanks.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: MP4 from Youtube short-loaded using FFMPEG
I used Audacity 2.1.0 on OSX 10.9.5. No rules. I opened up a new empty project for every test.
Test files: I couldn't find any mp4 that imported correctly. Posting the test files isn't really practical, as they are very big (and not publicly available). But any mp4 should do. I started out with Youtube downloads, downloaded with a python script.
I also have quit Audacity in between tests and restarted OSX. The error is consistent with any mp4 on my machine.
Most other imports work well (haven't tested them all yet). And even audio exported by QuickTime player as m4a produces the same error when imported into Audacity.
Note: the same files work perfectly in the Finder (preview), Sound Forge, Reaper...
Test files: I couldn't find any mp4 that imported correctly. Posting the test files isn't really practical, as they are very big (and not publicly available). But any mp4 should do. I started out with Youtube downloads, downloaded with a python script.
I also have quit Audacity in between tests and restarted OSX. The error is consistent with any mp4 on my machine.
Most other imports work well (haven't tested them all yet). And even audio exported by QuickTime player as m4a produces the same error when imported into Audacity.
Note: the same files work perfectly in the Finder (preview), Sound Forge, Reaper...
Re: MP4 from Youtube short-loaded using FFMPEG
Here you can find one of my mp4 test files. It's open...
https://mango.blender.org/download/
Unfortunately, it's a 740 MB download.
Another one is "TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi". You can find it all over the net.
And to test YT downloaded files, I used this one:
https://www.youtube.com/watch?v=IFD4xK5p5Vo
And dozens of others.
https://mango.blender.org/download/
Unfortunately, it's a 740 MB download.
Another one is "TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi". You can find it all over the net.
And to test YT downloaded files, I used this one:
https://www.youtube.com/watch?v=IFD4xK5p5Vo
And dozens of others.
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: MP4 from Youtube short-loaded using FFMPEG
I'll pass on that until I'm convinced I need to download it.cyrano wrote:Here you can find one of my mp4 test files. It's open...
https://mango.blender.org/download/
Unfortunately, it's a 740 MB download.
I would suggest you test with the latest 2.1.1-alpha from the top of http://www.audacity.homerow.net/index.p ... order=desc. 2.1.0 won't be retrospectively fixed.
That imports fine for me in 2.1.1-alpha or 2.1.0 release using FFmpeg 2.2.2 from http://manual.audacityteam.org/o/man/fa ... html#macff .cyrano wrote:Another one is "TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi". You can find it all over the net.
If Audacity does not crash please provide the Audacity log after trying to import it into 2.1.1-alpha.
If 2.1.1-alpha crashes please provide another crash report, in case it's different to the last two.
I tried a YouTube file that I downloaded on Windows using Internet Download Manager. It imported properly into 2.1.1-alpha using QuickTime (if FFmpeg was removed) or using FFmpeg (if that was available).cyrano wrote:And to test YT downloaded files, I used this one:
https://www.youtube.com/watch?v=IFD4xK5p5Vo
And dozens of others.
Obviously it will not import into 2.1.0 without FFmpeg due to the issue FFmpeg required for MP4/M4A/MOV/ALAC import that is now fixed in 2.1.1-alpha.
Again if Audacity does not crash, please provide the log from 2.1.1-alpha.
In 2.1.1-alpha I can reproduce importing MP4 as a few milliseconds of noise if I set an Extended Import rule to try the MP3 importer first. The MP3 importer should not be used to import MP4 files.
I suggest you look in Extended Import Preferences to make sure you have not set rules. Otherwise, QuickTime or FFmpeg should try the MP4 before the MP3 importer does. Here is my log from 2.1.1-alpha with FFmpeg removed, importing a YouTube video:
Code: Select all
20:45:10: Audacity 2.1.1-alpha-May 5 2015
20:45:10: Trying to load FFmpeg libraries...
20:45:10: mLibAVFormatPath ('libavformat.55.dylib') is not empty. Loading from it.
20:45:10: Checking for monolithic avformat from 'libavformat.55.dylib'.
20:45:10: Error: dlopen(libavformat.55.dylib, 1): image not found
20:45:10: Loading avutil from ''.
20:45:10: Error: dlopen(.bundle, 1): image not found
20:45:10: Loading avcodec from ''.
20:45:10: Error: dlopen(.bundle, 1): image not found
20:45:10: Loading avformat from 'libavformat.55.dylib'.
20:45:10: Error: dlopen(libavformat.55.dylib, 1): image not found
20:45:10: Error: Failed to load FFmpeg libraries.
20:45:10: Trying to load FFmpeg libraries from default path, '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
20:45:10: Checking for monolithic avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
20:45:10: Error: dlopen(/Library/Application Support/audacity/libs/libavformat.55.dylib, 1): image not found
20:45:10: Loading avutil from ''.
20:45:10: Error: dlopen(.bundle, 1): image not found
20:45:10: Loading avcodec from ''.
20:45:10: Error: dlopen(.bundle, 1): image not found
20:45:10: Loading avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
20:45:10: Error: dlopen(/Library/Application Support/audacity/libs/libavformat.55.dylib, 1): image not found
20:45:10: Error: Failed to load FFmpeg libraries.
20:45:10: Trying to load FFmpeg libraries from legacy path, '/usr/local/lib/audacity/libavformat.55.dylib'.
20:45:10: Checking for monolithic avformat from '/usr/local/lib/audacity/libavformat.55.dylib'.
20:45:10: Error: dlopen(/usr/local/lib/audacity/libavformat.55.dylib, 1): image not found
20:45:10: Loading avutil from ''.
20:45:10: Error: dlopen(.bundle, 1): image not found
20:45:10: Loading avcodec from ''.
20:45:10: Error: dlopen(.bundle, 1): image not found
20:45:10: Loading avformat from '/usr/local/lib/audacity/libavformat.55.dylib'.
20:45:10: Error: dlopen(/usr/local/lib/audacity/libavformat.55.dylib, 1): image not found
20:45:10: Error: Failed to load FFmpeg libraries.
20:45:10: Trying to load FFmpeg libraries from system paths. File name is 'libavformat.55.dylib'.
20:45:10: Checking for monolithic avformat from 'libavformat.55.dylib'.
20:45:10: Error: dlopen(libavformat.55.dylib, 1): image not found
20:45:10: Loading avutil from ''.
20:45:10: Error: dlopen(.bundle, 1): image not found
20:45:10: Loading avcodec from ''.
20:45:10: Error: dlopen(.bundle, 1): image not found
20:45:10: Loading avformat from 'libavformat.55.dylib'.
20:45:10: Error: dlopen(libavformat.55.dylib, 1): image not found
20:45:10: Error: Failed to load FFmpeg libraries.
20:45:10: Error: Failed to find compatible FFmpeg libraries.
20:45:10: Looking for FFmpeg libraries...
20:45:10: mLibAVFormatPath ('libavformat.55.dylib') is not empty.
20:45:12: User-specified path = 'libavformat.55.dylib'
20:45:12: Error: User-specified file does not exist. Failed to find FFmpeg libraries.
20:45:12: Trying to load FFmpeg libraries...
20:45:12: mLibAVFormatPath ('libavformat.55.dylib') is not empty. Loading from it.
20:45:12: Checking for monolithic avformat from 'libavformat.55.dylib'.
20:45:12: Error: dlopen(libavformat.55.dylib, 1): image not found
20:45:12: Loading avutil from ''.
20:45:12: Error: dlopen(.bundle, 1): image not found
20:45:12: Loading avcodec from ''.
20:45:12: Error: dlopen(.bundle, 1): image not found
20:45:12: Loading avformat from 'libavformat.55.dylib'.
20:45:12: Error: dlopen(libavformat.55.dylib, 1): image not found
20:45:12: Error: Failed to load FFmpeg libraries.
20:45:12: Trying to load FFmpeg libraries from default path, '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
20:45:12: Checking for monolithic avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
20:45:12: Error: dlopen(/Library/Application Support/audacity/libs/libavformat.55.dylib, 1): image not found
20:45:12: Loading avutil from ''.
20:45:12: Error: dlopen(.bundle, 1): image not found
20:45:12: Loading avcodec from ''.
20:45:12: Error: dlopen(.bundle, 1): image not found
20:45:12: Loading avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
20:45:12: Error: dlopen(/Library/Application Support/audacity/libs/libavformat.55.dylib, 1): image not found
20:45:12: Error: Failed to load FFmpeg libraries.
20:45:12: Trying to load FFmpeg libraries from legacy path, '/usr/local/lib/audacity/libavformat.55.dylib'.
20:45:12: Checking for monolithic avformat from '/usr/local/lib/audacity/libavformat.55.dylib'.
20:45:12: Error: dlopen(/usr/local/lib/audacity/libavformat.55.dylib, 1): image not found
20:45:12: Loading avutil from ''.
20:45:12: Error: dlopen(.bundle, 1): image not found
20:45:12: Loading avcodec from ''.
20:45:12: Error: dlopen(.bundle, 1): image not found
20:45:12: Loading avformat from '/usr/local/lib/audacity/libavformat.55.dylib'.
20:45:12: Error: dlopen(/usr/local/lib/audacity/libavformat.55.dylib, 1): image not found
20:45:12: Error: Failed to load FFmpeg libraries.
20:45:12: Trying to load FFmpeg libraries from system paths. File name is 'libavformat.55.dylib'.
20:45:12: Checking for monolithic avformat from 'libavformat.55.dylib'.
20:45:12: Error: dlopen(libavformat.55.dylib, 1): image not found
20:45:12: Loading avutil from ''.
20:45:12: Error: dlopen(.bundle, 1): image not found
20:45:12: Loading avcodec from ''.
20:45:12: Error: dlopen(.bundle, 1): image not found
20:45:12: Loading avformat from 'libavformat.55.dylib'.
20:45:12: Error: dlopen(libavformat.55.dylib, 1): image not found
20:45:12: Error: Failed to load FFmpeg libraries.
20:45:12: Error: Failed to find compatible FFmpeg libraries.
20:45:22: File name is /Users/gale/Downloads/If This Is Our Last Dance Lene Siel.mp4
20:45:22: Mime type is *
20:45:22: Opening with libav
20:45:24: Opening with libsndfile
20:45:24: Opening with liboggvorbis
20:45:24: Opening with libflac
20:45:24: Opening with lof
20:45:24: Opening with quicktime
20:45:25: Open(/Users/gale/Downloads/If This Is Our Last Dance Lene Siel.mp4) succeeded
Thanks,
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: MP4 from Youtube short-loaded using FFMPEG
Tested with Audacity 2.1.1-alpha-May 5 2015
Used import function in new, unsaved, empty project. MP3/wav import ok. All files play OK in the Finder and VLC.
- TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi
Imports, but plays way too fast.
- ToS-4k-1920.mov
Crashed Audacity, crash report: Log after opening Audacity:
- 10 - David Elias - Hawaiian Meditations - Big Island - HD 1080p.mp4
Hangs on import after 10 seconds. Chrashes eventually, after 20 min. Last log line:
23:17:40: Open(/Users/wim/Desktop/Test files audio & video/10 - David Elias - Hawaiian Meditations - Big Island - HD 1080p.mp4) succeeded
- The m4a Quicktime export of the OP's Youtube I made earlier opened, but produced a hell of a high pitched noise. The volume of this noise is 100%, no matter what system volume is set to (or RME's TotalMix).
- The original downloaded mp4 behaved the same as above.
One observation: when i zoom in on the wave form, it doesn't get longer. The zoom works, but there's no horizontal scrollbar appearing.
It changed a bit, but this bug seems to be something else.
Next, I'll try installing ffmpeg 2.2.2, just in case mine's not so recent.
Used import function in new, unsaved, empty project. MP3/wav import ok. All files play OK in the Finder and VLC.
- TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi
Imports, but plays way too fast.
- ToS-4k-1920.mov
Crashed Audacity, crash report: Log after opening Audacity:
Code: Select all
23:13:00: Audacity 2.1.1-alpha-May 5 2015
23:13:00: Error: dlopen(.bundle, 2): image not found
23:13:01: Trying to load FFmpeg libraries...
23:13:01: Trying to load FFmpeg libraries from default path, '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
23:13:01: Checking for monolithic avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
23:13:01: avformat not monolithic
23:13:01: Loading avutil from '/Library/Application Support/audacity/libs/./libavutil.52.dylib'.
23:13:01: Loading avcodec from '/Library/Application Support/audacity/libs/./libavcodec.55.dylib'.
23:13:01: Loading avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
23:13:01: Actual avutil path /Library/Application Support/audacity/libs/./libavutil.52.dylib
23:13:01: Actual avcodec path /Library/Application Support/audacity/libs/./libavcodec.55.dylib
23:13:01: Actual avformat path /Library/Application Support/audacity/libs/libavformat.55.dylib
23:13:01: Importing symbols...
23:13:01: All symbols loaded successfully. Initializing the library.
23:13:01: Retrieving FFmpeg library version numbers:
23:13:01: AVCodec version 0x373466 - 55.52.102 (built against 0x373466 - 55.52.102)
23:13:01: AVFormat version 0x372164 - 55.33.100 (built against 0x372164 - 55.33.100)
23:13:01: AVUtil version 0x344264 - 52.66.100 (built against 0x344264 - 52.66.100)
23:13:01: FFmpeg libraries loaded successfully.Hangs on import after 10 seconds. Chrashes eventually, after 20 min. Last log line:
23:17:40: Open(/Users/wim/Desktop/Test files audio & video/10 - David Elias - Hawaiian Meditations - Big Island - HD 1080p.mp4) succeeded
- The m4a Quicktime export of the OP's Youtube I made earlier opened, but produced a hell of a high pitched noise. The volume of this noise is 100%, no matter what system volume is set to (or RME's TotalMix).
- The original downloaded mp4 behaved the same as above.
One observation: when i zoom in on the wave form, it doesn't get longer. The zoom works, but there's no horizontal scrollbar appearing.
It changed a bit, but this bug seems to be something else.
Next, I'll try installing ffmpeg 2.2.2, just in case mine's not so recent.
Re: MP4 from Youtube short-loaded using FFMPEG
Installed ffmpeg 2.2.2 no change.
Did a restart no change.
Did a restart no change.
Re: MP4 from Youtube short-loaded using FFMPEG
Finally, tested with system audio only. Same result.
Might have saved some tweeters...
Might have saved some tweeters...
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: MP4 from Youtube short-loaded using FFMPEG
Did you delete audacity.cfg? If not, please quit Audacity then do so.cyrano wrote:Tested with Audacity 2.1.1-alpha-May 5 2015
Used import function in new, unsaved, empty project. MP3/wav import ok. All files play OK in the Finder and VLC.
How long is it supposed to be? The version I obtained was just over 48 seconds long in VLC and that's its length after importing into Audacity and that is how long it takes to play there.cyrano wrote:- TEST.TOOL.Ac3 Dolby Digital 5.1Ch Sound Test.avi
Imports, but plays way too fast.
I don't know what that file is but it appears to show the same problem that libmad is attempting the file.cyrano wrote:- ToS-4k-1920.mov
Crashed Audacity, crash report:
Please provide a log after incorrectly importing a file.cyrano wrote:Log after opening Audacity:
Please provide the log starting from "File name is" so that I can see what importer(s) attempted the file.cyrano wrote:- 10 - David Elias - Hawaiian Meditations - Big Island - HD 1080p.mp4
Hangs on import after 10 seconds. Chrashes eventually, after 20 min. Last log line:
23:17:40: Open(/Users/wim/Desktop/Test files audio & video/10 - David Elias - Hawaiian Meditations - Big Island - HD 1080p.mp4) succeeded
Please provide those files as they are short. I will try them if they are still problematic for you after you have quit Audacity and deleted audacity.cfg.cyrano wrote:The m4a Quicktime export of the OP's Youtube I made earlier opened, but produced a hell of a high pitched noise. The volume of this noise is 100%, no matter what system volume is set to (or RME's TotalMix).
- The original downloaded mp4 behaved the same as above.
Is that with all files or just the misbehaving ones?cyrano wrote:One observation: when i zoom in on the wave form, it doesn't get longer. The zoom works, but there's no horizontal scrollbar appearing.
Make sure you obtain it from the buanzo "lame" site.cyrano wrote:I'll try installing ffmpeg 2.2.2, just in case mine's not so recent.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual