merger = youtube_dl.postprocessor.FFmpegMergerPP() merger._determine_executables() print(merger.get_versions())
@staticmethoddef get_versions(downloader=None): return FFmpegPostProcessor(downloader)._versions
self._versions = dict( (p, get_exe_version(self._paths[p], args=['-version'])) for p in programs)
def get_exe_version(exe, args=['--version'], version_re=None, unrecognized='present'): """ Returns the version of the specified executable, or False if the executable is not present """ try: out, _ = subprocess.Popen( [encodeArgument(exe)] + args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT).communicate() except OSError: return False if isinstance(out, bytes): # Python 2.x out = out.decode('ascii', 'ignore') return detect_exe_version(out, version_re, unrecognized)
{'avprobe': False, 'avconv': False, 'ffmpeg': False, 'ffprobe': False}
with this code
def test_ffmpeg():try:import subprocessprint(subprocess.check_output(['ffmpeg', '-version']))except Exception as e:print(e)print('==> ffmpeg is not good :(, nooooooooooooo')else:print('==> ffmpeg is good :)')test_ffmpeg()
[Errno 13] Permission denied: 'ffmpeg'==> ffmpeg is not good :(, nooooooooooooo
which indicate that ffmpeg in not installed in android
requirements = python3,kivy,ffmpeg,youtube_dl,kivymd,kivmob,ffpyplayer,ffpyplayer_codecs,ffmpeg-python
except ffmpeg rest all package are installed properly
def build_arch(self, arch): with current_directory(self.get_build_dir(arch.arch)): env = arch.get_env() flags = ['--disable-everything']
which indicate that ffmpeg in not installed in android
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/miDze3NQ5Ck/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/2a3c4d28-8f10-4e44-92d8-a461310e69d1o%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to kivy-...@googlegroups.com.