VIDEO→Secuencia Imágenes
ffmpeg -i video.mp4 -vsync 0 -f image2 img-%02d.jpg
some basic commands for video and audio processing:
- Converting Video Formats: FFmpeg allows you to easily convert video files from one format to another. For example, to convert an MP4 video to AVI, use the following command:
ffmpeg -i input.mp4 output.avi
- Resizing Videos: FFmpeg provides options to resize videos while maintaining their aspect ratio. To resize a video to a specific width, use the following command:
ffmpeg -i input.mp4 -vf scale=800:-1 output.mp4
- Extracting Audio: FFmpeg allows you to extract audio from video files. To extract the audio from a video and save it as an MP3 file, use the following command:
ffmpeg -i input.mp4 -vn -ab 128k -ar 44100 -y output.mp3
Última modificación: miércoles, 9 de octubre de 2024, 09:15