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.
Check also for ffmpeg/ffprobe/avconv/avprobe.exe #447
Comments
|
This should work on Windows by default. We'll have to check the subprocess call. |
|
@FiloSottile Windows building is seriously broken right now, and it only seems to work on your system. On my system , even the (interactive!) Python installation fails with
(I'm looking for a solution, but it's messy. Well, duh, it's Windows.) Can you rebuild the binaries with a new release number and then release it? |
|
Sure, will do ASAP! Can I merge a couple of PR before? (audio-extract progress, Google Plus IE, small fixes) I know that the wine building is a mess, but @Tailszefox in #443 seems to have achieved it, so there are probably versions-related issues. (The interactive installation only happens the first time, building the environment) Let me know if I can help you with it. |
|
The installation of the building environment when trying to compile the Windows version under Linux itself worked nicely for me, creating the prefix and all. The only thing I had to do was to change some parts of the script for it not fail near the end. Note that the resulting exe doesn't work with Wine for me (throws a |
|
I can see this issue on Debian wheezy Copy pasting the error kumar@mybox:~/Music/Hindi/Movies/Fukrey$ youtube-dl --extract-audio https://www.youtube.com/watch?v=ArXLVS8_2cw |
|
I experience the same error on Mac mountain lion. |
|
@kumarldh or @hadifarnoud open a new isssue for that (with the output when running with the |
|
Was a new ticket ever open, re: @kumarldh and @hadifarnoud posts above? I am running 2014.05.31.4 release on OSX Mavericks with ffmpeg installed and lame installed, and I am receiving the same issue when attempting to download a youtube video and convert from m4a to audio file: person@place {~/a/directory}: youtube-dl -x https://www.youtube.com/watch?v=4pgbJaKemic --verbose The m4a file downloads in fine working conditions, it's just the post-processing where the issue arises. In all honesty, I don't think it's related to YTDL, as there seems to be an issue with ffmpeg's ability to load lame: person@place {~/a/directory}: ffmpeg I found a few references to the errors, but no substantial information. If you all think it's ticket-worthy, I'll open one, or if you're confident that the issue is unrelated to YTDL, I will let it be. Feel free to point me in the right direction if this has been discussed. Thanks, |
|
From what I'm seeing, it does seem unrelated, since the issue comes from ffmpeg, though it would be nice if you could run the command youtube-dl tries to execute on its own to see what output you get. The command should be How did you install ffmpeg? If you used homebrew or the like, it's possible you got a version without lame. Either try to find a version with it, or try compiling ffmpeg on your own, making sure to include lame. |
|
Thanks for the reply @Tailszefox. I actually provided the output of running ffmpeg with no arguments to demonstrate the general error that the program output on any run, regardless of the arguments person@place {~/a/directory}: ffprobe -show_streams Freddy\ Cannon\ Tallahassee\ Lassie-4pgbJaKemic.m4a I downloaded and installed ffmpeg through homebrew. Oddly enough, the -x audio extraction youtube-dl option (i.e. running ffmpeg) has worked for me in the environment in the past. So I am not sure if I installed an bad update or what. I seem to have ffmpeg and lame installed, but the library that ffmpeg is looking for (which is noted in the error message), if not there: person@place { I am trying to track that library down. If I can't, would you suggest I uninstall/reinstall lame, or compiling on my own? |
|
well, I found that library in (/usr/local/Cellar/lame/3.99.5/lib) and linked it to the location noted in the error, where ffmpeg was looking (/usr/local/lib), and that resolved that error, but a new error is resulting: person@place {~/a/directory}: youtube-dl -x https://www.youtube.com/watch?v=4pgbJaKemic --verbose person@place {~/a/directory}: ffprobe -show_streams Freddy\ Cannon\ Tallahassee\ Lassie-4pgbJaKemic.m4a I found out this was due to faac libraries existing in /usr/local/Cellar..., but not in /usr/local/lib, so I linked those too and that seems to have solved the errors. Now, however, there does appear to be a youtube-dl issue: [download] 100% of 2.01MiB in 00:02 I am not sure if I am using the -x flag incorrectly, but I was under the impression that it should convert the original m4a (video) file that was downloaded to an .mp3 audio file. The post-processing message suggests that its trying to convert to m4a, which already exists... I don't know, maybe I am using the command incorrectly. I will keep poking around and post back if I sort it out. THANKS FOR THE HELP! |
|
@orangeoval If you want to get the audio in an specific format you must use the |
|
just realized that right as you were posting. That resolved it: youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=4pgbJaKemic perfect. THANKS! By the way, I recently updated to Maverics, so I am not sure if that was responsible for the loss of library links, or what, but hopefully if anyone else encounters this issue they will find this page. |
On Windows we should check also for the .exe filenames.
Thanks @archagon from #438