#moviepy #error #solucion #video #ffmpeg #errormoviepy #configuracion #setup
En este video te muestro como instalar FFMPEG y utilizarlo con Moviepy. Además contiene la solución para el error de procesamiento de video:
Solución error:
"raise IOError(("MoviePy error: failed to read the duration of file %s.\n"
OSError: MoviePy error: failed to read the duration of file video.mp4.
Here are the file infos returned by ffmpeg:
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100Input #0, matroska,webm, from 'video.mp4': Metadata: encoder : Chrome Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Stream #0:1(eng): Video: vp8, yuv420p(progressive), 1366x768, SAR 1:1 DAR 683:384, 1k tbr, 1k tbn, 1k tbc (default)
Metadata:
alpha_mode : 1
At least one output file must be specified"
***************************************
Corrección
El comando para ver la versión del ffmpeg instalada es:
ffmpeg -version
Comando para obtener ayuda:
ffmpeg -h
Version Python instalada: Python 3.10.7
Versión FFMPEG instalada: n5.1.2-1
Versión Moviepy instalada: 1.0.3