• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    C
  • License
    The Unlicense
  • Created almost 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Filter for applying GLSL shaders to movies via ffmpeg

Minimal example of an ffmpeg video filter which applies a pair of OpenGL shaders to each frame of its input, and emits the shaded frames.

Building

~/FFmpeg$ ln -s ~/ffmpeg-opengl/vf_gearstitch.c libavfilter/
~/FFmpeg$ git apply ~/ffmpeg-opengl/FFmpeg.diff
~/FFmpeg$ ./configure  --enable-libx264 --enable-filter=genericshader \
          --enable-gpl --enable-opengl --extra-libs='-lGLEW -lglfw'
~/FFmpeg$ make
  • You may want to pass --cc=clang on OS X.
  • There may slight variation in how GLEW and glfw are named (with regard to--extra-libs, above), e.g. -lglew or -lglfw3 - check pkg-config.
  • The above example builds a minimal FFmpeg binary with libx264, which you'll need to build/install if that's the route you go. There's nothing codec-specific about the filter itself.

Running

./ffmpeg -i input.mp4 -vf genericshader -y output.mp4

License

ffmpeg-opengl is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.

More Repositories

1

cljs-lambda

Utilities around deploying Clojurescript functions to AWS Lambda
Clojure
311
star
2

sputter

Ethereum Virtual Machine (EVM) implementation
Clojure
120
star
3

eulalie

Asynchronous AWS client for Clojure & Clojurescript/Node
Clojure
86
star
4

serverless-cljs-plugin

Serverless plugin for Clojurescript deployment w/ cljs-lambda
JavaScript
73
star
5

kvlt

Multi-target Clojure/script HTTP client
Clojure
69
star
6

hildebrand

Asynchronous DynamoDB client for Clojure & Clojurescript/Node
Clojure
66
star
7

fink-nottle

Asynchronous Clojure/Clojurescript client for Amazon's SNS & SQS services
Clojure
48
star
8

java-unsigned-integers

Optimized, immutable Java implementations of fixed-width, unsigned integers.
Java
31
star
9

chemtrack-example

Clojurescript/Node/Reagent/Lambda Example Application
Clojure
17
star
10

cljs-nodejs-externs

Packaged externs for the Node.js standard library + utilities
Clojure
12
star
11

balonius

Clojure/script Poloniex (cryptocurrency exchange) client
Clojure
11
star
12

cljs-rollbar

Clojurescript/Node-friendly Rollbar client
Clojure
10
star
13

youtube-eliza

Answering the hard questions w/ Clojurescript, AWS Lambda & Slack
Clojure
8
star
14

sns-beanstalk-chat

Clojure
7
star
15

iris-examples

Clojure Iris examples
Clojure
5
star
16

shapeshiftr

Clojure/script shapeshift.io client
Clojure
5
star
17

promesa-check

Utilities for running asynchronous test.check trials
Clojure
4
star
18

cljs-lambda-slack-command

Clojure
2
star
19

aws-polling-task-scheduler

Clojure
2
star
20

glossop

Clojure
1
star
21

fink-nottle-demo

Clojure
1
star
22

thelema

Clojurescript/AWS Mixtape-creating application
Clojure
1
star