filmstro / filmstro_ffmpeg Goto Github PK
View Code? Open in Web Editor NEWRead/write/display videos into JUCE using ffmpeg
License: Other
Read/write/display videos into JUCE using ffmpeg
License: Other
I am not sure, if the decoder converts the sample format. There is an option AVCodecContext.request_sample_fmt, but it says "Decoder will decode to this format if it can."
So better handle that explicitly.
Hi,
I'd like to test AnimationWriter example as I need to do something similar in my project. I'm using precompiled 4.3.2 ffmpeg binaries for windows x64.
I've got memory exception on sws_scale() call.
uint8_t* source[4] = {data.data, nullptr, nullptr, nullptr};
sws_scale (scalerContext,
source,
inLinesizes,
0,
image.getHeight(),
frame->data,
frame->linesize);
If I change the code this way:
sws_scale (scalerContext,
(uint8_t const * const *) data.data,
inLinesizes,
0,
image.getHeight(),
frame->data,
frame->linesize);
Video is exported but only a green screen appears.
Any kind of help is really appreciate.
Thank you in advanced.
I realize this isn't the most maintained repo on github, but it was perfect for hacking together a project. At the moment I'm scratching my head around how VideoReader::setNextReadPosition is supposed to work, I can't get a slider to work as a seek control reliably. If you check out the VideoPlayer example the same issue is present, jumping back and forth in the video with cause the video stream to hang, in debug configuration the message "No Frame Available" is continuously printed to the terminal, meanwhile the audio stream is unaffected.
Not sure where to start looking to fix this.
Howdy. Just curious if this will ever be implemented. it would be EXTREMELY handy!
void FFmpegVideoWriter::writeNextVideoFrame (const juce::Image& image, const AVRational timestamp) { // TODO: use scaler and add interface for image processing / e.g. branding }
Thank you so much for creating this API! ffmpeg is not easy to use!
There are too many combinations, and some of them only work on certain players.
It would be good to have a preset, like "MP4:H264:AAC" or other common accepted formats.
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.