Comments (4)
You're going to have to create your own video source class to convert the OpenCV mat to a format that ffmpeg understands (see https://github.com/Raveler/ffmpeg-cpp/blob/master/source/ffmpeg-cpp/ffmpeg-cpp/Sources/RawVideoDataSource.cpp for an example). I don't know about RTMP - does ffmpeg support this?
from ffmpeg-cpp.
@TimTreurniet I think this repo does exactly what you are looking for
from ffmpeg-cpp.
@juniorxsound This is what I have been using so far. However I do not believe it supports audio streams, which is something I need since my project requires youtube streaming. Somehow adding an empty audio stream would be fine which I'm currently doing using a ffmpeg session in command line. This adds an unnecessary step with encoding and decoding. I find ffmpeg in cpp a difficult subject to get into...
from ffmpeg-cpp.
I have added support for audio streams in the latest version of ffmpeg-cpp.
from ffmpeg-cpp.
Related Issues (20)
- Links are dead HOT 1
- Amerge filter
- Win32 version
- transcode to memory HOT 2
- Using namespace is not allowed in header file HOT 4
- For your information
- C++17 / v142 / 4.2.3 HOT 1
- Is this library good for Real-time IP Camera Video capturing and recording? HOT 1
- demo with 'GENERATED video failed
- filter output HOT 1
- Linux support HOT 5
- cannot support Alpha-Channel video? HOT 2
- Reading timecode metadata from file?
- [ERROR] Dead Link on the Code -> README.MD : Raveler FFMPEG CPP
- UDP streaming
- Can I use this library for video captureing from my screen? ( as Screen Recorder)
- Setting packet duration
- support for latest ffmpeg version
- compiling error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-cpp.