Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Android FFmpegKit-Full dependencies missing
9 mai, par Adrián PrimoI've tried to compile the app on Android and now it won't run as it can't find these files. I knew the *FFmpegKit *project was going to remove its binaries so I downloaded the package locally but I totally forgot about Android's specific files.
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not find com.arthenica:ffmpeg-kit-full:6.0-2. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/arthenica/ffmpeg-kit-full/6.0-2/ffmpeg-kit-full-6.0-2.pom - https://repo.maven.apache.org/maven2/com/arthenica/ffmpeg-kit-full/6.0-2/ffmpeg-kit-full-6.0-2.pom - https://jcenter.bintray.com/com/arthenica/ffmpeg-kit-full/6.0-2/ffmpeg-kit-full-6.0-2.pom - https://storage.googleapis.com/download.flutter.io/com/arthenica/ffmpeg-kit-full/6.0-2/ffmpeg-kit-full-6.0-2.pom Required by: project :app > project :ffmpeg_kit_flutter_full
I've tried to download the dependencies manually from the repository, but the owner has removed the files.
Does anybody have the required files for the ffmpegkit-full package? I found in a forked repository with the https package installed locally, but I need the full package.
-
Flutter_ffmpeg is discontinued. Is there a way still to use it in a flutter project ?
9 mai, par Saad MushtaqI have been using the flutter_ffmpeg package in a Flutter project. But now, when I run the project, I get a build failure exception. Is there a way to still use it in a Flutter project?
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.arthenica:mobile-ffmpeg-https:4.4. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/arthenica/mobile-ffmpeg-https/4.4/mobile-ffmpeg-https-4.4.pom - https://repo.maven.apache.org/maven2/com/arthenica/mobile-ffmpeg-https/4.4/mobile-ffmpeg-https-4.4.pom - https://storage.googleapis.com/download.flutter.io/com/arthenica/mobile-ffmpeg-https/4.4/mobile-ffmpeg-https-4.4.pom - https://jcenter.bintray.com/com/arthenica/mobile-ffmpeg-https/4.4/mobile-ffmpeg-https-4.4.pom Required by: project :app > project :flutter_ffmpeg
-
How to correctly pass Windows path with spaces to FFmpeg -vf ass filter in Python ?
9 mai, par Utopiaass_path = r'C:\Users\username\Desktop\Title Of Video.ass' command = [ 'ffmpeg', '-i', mp4_path, '-vf', f"ass='{ass_path}'", # Embed the full path in the filter string, with single quotes '-c:v', 'libx264', '-c:a', 'copy', output_path ]
In the error message I'm getting this message: Unable to parse option value "UsersusernameDesktopTitle Of Video.ass" as image size. Somehow in the command it's stripping the \ away and removed the C:
Does anyone know how to fix this? Thanks.
-
Error importing VideoFileClip from moviepy : AttributeError : 'PermissionError' object has no attribute 'message'
9 mai, par TahlilI'm using jupyter notebook. I have also tried from anaconda console as well.
Tried importing with both the ways shown below
from moviepy.editor import VideoFileClip from moviepy.video.io.VideoFileClip import VideoFileClip
Both of them gave me same error. Full trace is below
AttributeError Traceback (most recent call last) in
() 6 import glob 7 import math ----> 8 from moviepy.editor import VideoFileClip 9 from moviepy.video.io.VideoFileClip import VideoFileClip C:\Program Files\Anaconda3\lib\site-packages\moviepy\editor.py in () 20 # Clips 21 ---> 22 from .video.io.VideoFileClip import VideoFileClip 23 from .video.io.ImageSequenceClip import ImageSequenceClip 24 from .video.io.downloader import download_webfile C:\Program Files\Anaconda3\lib\site-packages\moviepy\video\io\VideoFileClip.py in () 1 import os 2 ----> 3 from moviepy.video.VideoClip import VideoClip 4 from moviepy.audio.io.AudioFileClip import AudioFileClip 5 from moviepy.Clip import Clip C:\Program Files\Anaconda3\lib\site-packages\moviepy\video\VideoClip.py in () 18 19 import moviepy.audio.io as aio ---> 20 from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video 21 from .io.ffmpeg_tools import ffmpeg_merge_video_audio 22 from .io.gif_writers import (write_gif, C:\Program Files\Anaconda3\lib\site-packages\moviepy\video\io\ffmpeg_writer.py in () 13 DEVNULL = open(os.devnull, 'wb') 14 ---> 15 from moviepy.config import get_setting 16 from moviepy.tools import verbose_print 17 C:\Program Files\Anaconda3\lib\site-packages\moviepy\config.py in () 49 success, err = try_cmd([FFMPEG_BINARY]) 50 if not success: ---> 51 raise IOError(err.message + 52 "The path specified for the ffmpeg binary might be wrong") 53 AttributeError: 'PermissionError' object has no attribute 'message' Python version info
Python 3.5.2 |Anaconda custom (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
Running ffmpeg -version in a console gives me
ffmpeg version N-83507-g8fa18e0 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib libavutil 55. 47.100 / 55. 47.100 libavcodec 57. 80.100 / 57. 80.100 libavformat 57. 66.102 / 57. 66.102 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 73.100 / 6. 73.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100
I'm running 64 bit version of Windows 10.
I can't find any solution anywhere and its driving me crazy! Seems like its not finding the ffmpeg binary but I have put it in C:\ffmpeg\bin and added this to path environment variable. Followed the instruction from here.
-
Scale image overlay over the time with ffmpeg
9 mai, par Nazarii KahaniakI have an overlay image and background video. I want to make the overlay 3 times bigger when 10 seconds of video pass, the scaling animation should take 1 second. Is it possible to do something like this with ffmpeg?