Город МОСКОВСКИЙ
00:48:46

FFMPEG + libx264 Compiling On Windows With MSVC: The Complete Walkthrough

Аватар
Реактивные Основы JuniorDev
Просмотры:
38
Дата загрузки:
28.11.2023 03:39
Длительность:
00:48:46
Категория:
Технологии и интернет

Описание

Today we are compiling FFmpeg with libx264 on Windows 10, using MSVC (Microsoft Visual C++) as compiler.
First we compile libx264 in order to be included later.
Then we compile FFmpeg with all the necessary flags.
In the end, we test our result.

I tried to explain the whole process and the meaning of all the flags. Just in case there are questions or doubts, feel free to comment down below!

Script with all the commands used in the video:
https://github.com/DevStefIt/ffmpeg_compile/blob/main/ffmpeg_compile_windows_msvc.bat

References:
https://www.roxlu.com/2019/062/compiling-ffmpeg-with-x264-on-windows-10-using-msvc
https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC
https://www.ffmpeg.org/platform.html

Github repos for the automatic build for Windows:
https://github.com/m-ab-s/media-autobuild_suite
https://github.com/rdp/ffmpeg-windows-build-helpers

How to solve ERROR: libx264 not found
https://stackoverflow.com/questions/55633765/ffmpeg-configure-error-libx264-not-found

Sample video:
► Big Buck Bunny
Download page available at https://peach.blender.org/download/

??? FOLLOW ME ???
--------------------------
► Instagram: https://www.instagram.com/devstefit/
► TikTok: https://www.tiktok.com/@devstefit

??? MUSIC CREDIT ???
---------------------------
► Evolution - Royalty Free Music by Benjamin Tissot
https://www.bensound.com/royalty-free-music/track/evolution-epic-nature

? CHAPTERS ?
---------------------------
00:00 Intro
01:43 Visual Studio Build Tools installation
06:01 MSYS2 installation and configuration
10:09 MSYS packages installation and environment preparation
16:34 libx264 compiling
27:41 FFmpeg compiling
42:15 FFmpeg program test
46:34 Conclusions

#devstefit #ffmpeg #compile #windows

Рекомендуемые видео