2vin / opencv-ffmpeg Goto Github PK
View Code? Open in Web Editor NEWConverting opencv image to ffmpeg
License: MIT License
Converting opencv image to ffmpeg
License: MIT License
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.