Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ffprobe not found" when using 'ffmpeg_location' on binary #13498

Closed
ghost opened this issue Jun 26, 2017 · 1 comment
Closed

"ffprobe not found" when using 'ffmpeg_location' on binary #13498

ghost opened this issue Jun 26, 2017 · 1 comment
Labels

Comments

@ghost
Copy link

@ghost ghost commented Jun 26, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.06.25
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

I'm using sl4a to run a python script on Android which uses the YoutubeDL API. I want to download from youtube and convert to .mp3, thus I've taken a prebuilt binary from [https://github.com/WritingMinds/ffmpeg-android] , put it in the script root directory path and used 'ffmpeg_location' in the ydl_opts dict (code and error pictures below).

The problem is it gives me a "ffprobe not found" error. Isn't the ffprobe included in the ffmpeg binary? What could be a solution?

ydl_opts = {
		'ffmpeg_location': '/sdcard/sl4a/scripts/yt-sync/ffmpeg',
		'format': 'bestaudio/best',
		'postprocessors': [{
			'key': 'FFmpegExtractAudio',
        	'preferredcodec': 'mp3',
        	'preferredquality': '320',
		}]
	}
	
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    ydl.download(['https://www.youtube.com/watch?v=WHRnvjCkTsw'])

Picture when setting the wrong ffmpeg binary file path:
screenshot_2017-06-26-14-53-24

Here I've set the correct path and the error dissapeard meaning YoutubeDL got the ffmpeg.
screenshot_2017-06-26-14-54-16

Thank you.

@ghost ghost closed this Jun 26, 2017
@ghost ghost reopened this Jun 26, 2017
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 26, 2017

ffprobe is a standalone binary. The solution is to install ffprobe.

@dstftw dstftw closed this Jun 26, 2017
@dstftw dstftw added the invalid label Jun 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.