Giter Site home page Giter Site logo

opencv-ffmpeg's People

Contributors

2vin avatar

Watchers

 avatar

Forkers

liuwen-nj

opencv-ffmpeg's Issues

Command to compile

Hi,

I appreciate your code and it's quite helpful for me to understand it.

Could you share the command to compile with g++?

I tried with g++ writevideo.cpp -lavcodec -lavformat -lavutil -lswscale -lm pkg-config --cflags --libs opencv -o writevideo

But I'm getting error as 'undefined reference to symbol 'pthread_join@@GLIBC_2.4''
So I added -lpthread after which I got the error as 'undefined reference to symbol 'avpriv_solve_lls@@LIBAVUTIL_55'' even through -lavutil library is included while compiling.

It would be great if you could assist me in this.

Thank you.

Adapt your code to ffmpeg 4

Hello,

First over all, thank you very much for sharing your code, much appreciated !!

FYI I tried to build it, and after some modifications, I was able to make it work using ffmpeg 4.x and OpenCV 3.4.0 (should be forward compatibile without too much of problems)

Everything is now at : https://framagit.org/ericb/direct_cv_encode (apologies, I no longer use github repo)

Last but not least, I'll attach the full code diff (.txt since github does not accept .diff ...). Everything is under MIT License, so feel free to use it ... or not :-)

Thanks again !

Eric Bachard

ericb_changes_opencv-ffmpeg.diff.txt

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.