Coder Social home page Coder Social logo

ffmpeg_examples's Introduction

FFmpeg Examples

Trying to learn FFmpeg was almost impossible for me when I was attempting use it. The examples were all over the internet, but I had spent so much time wrestling with outdated codes: deprecated functions and really, really sparse documentation. I don't think I have understood much of it yet, but I had taken a long time to piece enough together to do some useful stuff.

Nothing wrong with using deprecated code, by the way. If some quick and dirty code that needs no future maintenance is what you need, you can of course use #pragma warning(disable:4996), which will disable the errors. However, the examples here will be handy when the older functions are completely phased out.

One of the resources that kickstarted my journey of pain and torment was Dranger's tutorial (http://dranger.com/ffmpeg/). It explained the concepts in FFmpeg really well. Having said that, it's a little old now, but if you're not averse to setting up your examples with older libraries (uses SDL1.2), check it out.

Also, +1 to those wonderful people on StackOverflow and irc.lc/freenode/ffmpeg who helped me along the way and keeping my sanity hanging on the edge of the cliff. Now, I would like to give back to the community. So here it is: my attempt to add just another piece of example to the heap of examples already found on the internet. The examples here are based on FFmpeg 3.1 and to the best of my knowledge works as intended. (Having said that, the best of my knowledge isn't the best of knowledge.)

Do what you will with it, but I would really appreciate it that you could contribute back to this repository also. Cheers.

List of examples:

  • Video encoding
  • Audio encoding

Resources that really helped me (but may be slightly old)

ffmpeg_examples's People

Contributors

bot1131357 avatar

Watchers

 avatar  avatar

Forkers

webstorage119

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.