Skip to content

Play an input video decoded with libmpeg2, then render whatever you want, then record the texture back to a video format with ffmpeg.

License

Notifications You must be signed in to change notification settings

kaandesu/raylib-basic-ffmpeg-video-edit-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raylib-basic-ffmpeg-video-edit-example

Play an input video decoded with libmpeg2, then render whatever you want, then record the texture back to a video format with ffmpeg.

Project Setup for macOS and Linux

This document outlines the steps to set up the development environment for the project on both macOS and Linux. (haven't tested on linux yet)

Prerequisites

macOS

  1. Install Homebrew (if not already installed):

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install Dependencies:

    brew install libmpeg2 raylib

Linux

  1. Install Dependencies:
sudo apt update
sudo apt install build-essential libmpeg2-4-dev libgl1-mesa-dev libraylib-dev pkg-config

Setting Up the Project

git clone https://github.com/kaandesu/raylib-mpeg2-examle
cd raylib-mpeg2-examle

make
# "make build" to only build without running

Notes

  • Ensure that pkg-config is installed on both macOS and Linux, as it is used to manage library compile and link flags.

  • On macOS, make sure you have the Xcode command line tools installed:

xcode-select --install

About

Play an input video decoded with libmpeg2, then render whatever you want, then record the texture back to a video format with ffmpeg.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages