Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
ERROR: WARNING: unable to obtain file audio codec with ffprobe #13398
Comments
|
Having the same problem. |
|
Having the same issue as well:
|
|
Same issue. Works on some videos but not others.
|
|
What version is that actually supposed to be?
Maybe try updating FFmpeg. |
|
I tired updating everything and nothing worked for me so I took matters into my own hands a found a work around.
In case if anyone was wondering about the files I have in the target directory:
|
|
? Fix that formatting please. |
|
(Apologies for lack of formatting) So I used
I then proceeded to change the location from the target folder to the where it's located in windows and got the same error
I also updated scoop and ran it again and still received the same error. I even also updated ffprobe as well and still receive the same error. |
|
Okay, first of all, that result of I'm starting to think it's not the ffmpeg version. I will see if I can reproduce.. Second, for debugging etc. please run youtube-dl with Like this:
|
|
Ok that seemed to work fine with no errors and the mp3 file is in the directory opposed to the .webm file:
|
|
Good. Yeah, just wanted to say, works for me as well. |
|
I'm definitely ok with waiting a little bit longer for conversion vs having it flat out fail. Thanks for the recommendation and your help @Hrxn !. |
|
Still doesn't work for me.
|
Of course.. and after all, it's a two hours long audio file. @michaelcaterisano Try it with an updated ffmpeg version.. |
|
I'm on version 3.4 which is the highest I can find. It does work on some videos, but not others.
…On Fri, Oct 20, 2017 at 12:43 PM, H R X N ***@***.***> wrote:
I'm definitely ok with waiting a little bit longer for conversion vs
having it flat out fail.
Of course.. and after all, it's a two hours long audio file.
@michaelcaterisano <https://github.com/michaelcaterisano> Try it with an
updated ffmpeg version..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13398 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARZSZp1ovhlYCj9fIBs6KFUFSTDlOy6Pks5suM2pgaJpZM4N78GV>
.
|
|
@michaelcaterisano i don't understand why you pass a Gmail urls to youtube-dl, obviously the file that has been downloaded is not a media file(most likely it's an html file) and ffmpeg won't be able to anything with it. |
|
wowie, typo in the thread. Same result with this youtube link though.
|
|
That still shows
I don't know what this is. Normally, ffmpeg always prints it real version number, or the commit ID if it's a git build, but not Not completely sure about macOS, but I'd guess it is the same there. |
|
works fine for me:
@michaelcaterisano post the output of |
|
Solved by ~ » youtube-dl --extract-audio --audio-format mp3 "https://youtu.be/xxx" stasbar@stasbar
[youtube] eT3at25Kits: Downloading webpage
[youtube] eT3at25Kits: Downloading video info webpage
[download] Destination: xxx.webm
[download] 100% of 2.32MiB in 00:00
ERROR: WARNING: unable to obtain file audio codec with ffprobe
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » ffmpeg -v stasbar@stasbar
dyld: Library not loaded: /usr/local/opt/x265/lib/libx265.165.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: image not found
[1] 31817 abort ffmpeg -v
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » brew upgrade ffmpeg
...
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » youtube-dl --extract-audio --audio-format mp3 "https://youtu.be/xxx" stasbar@stasbar
[youtube] eT3at25Kits: Downloading webpage
[youtube] eT3at25Kits: Downloading video info webpage
[download] xxx.webm has already been downloaded
[download] 100% of 2.32MiB
[ffmpeg] Destination: xxx.mp3
Deleting original file Mr. xxx.webm (pass -k to keep) |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.06.12. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
When attempting to extract audio using youtube-dl it fails with the following error message: Error: WARNING: unable to obtain file audio codec with ffprobe