25,796 questions
Score of -5
0 answers
78 views
FFmpeg encode fps in AVFrame structure [closed]
I would like to encode the frames per second (fps) in the FFmpeg AVFrame C structure.
I can see a int64_t pkt_duration as a possible field to encode this value.
However, the documentation/comments are ...
Score of -1
2 answers
142 views
Problems in rendering gif created with ffmpeg
I created a small applet to solve a simple PDE (1D advection) and create a GIF to display within it. It seems to work, but the GIF appears to have a mess of colors. How is this possible? I'm attaching ...
Score of -2
1 answer
84 views
FFmpeg in Unity for Android and iOS Build
I'm trying to get ffmpeg-kit-audio-6.0-2.LTS.arr to compile and function in my Android App. The arr file is located in the Assets/Plugins/Android folder and so are the smart-exception-java-0.2.1.jar ...
Score of 0
1 answer
193 views
How to get a dependency's MAJOR version in CMake (for ffmpeg)?
I am using some ffmpeg code whose API is different in different ffmpeg versions, and I need to be able to handle both versions.
To do that, I thought I could use macros, like the following:
#ifdef ...
Score of -1
1 answer
138 views
Discord.py Bot Isn't Playing Sounds
I'm trying to make a bot that can join on command to play the 'Open the noor' sound as a joke for a friend. But every time I launch it and run the command, it connects but just sits there, it doesnt ...
Score of 1
0 answers
121 views
FlyleafLib throws "Loading FFmpeg libraries failed" on Engine.Start in WPF application
I am developing a WPF application and decided to use FlyleafLib for video playback. I installed FlyleafLib via NuGet. Then, I downloaded the FFmpeg shared build (with .dll files) and placed it in C:\...
Score of -1
2 answers
141 views
Detecting audio transcoding with ffmpeg
I'm building a small CLI tool for myself to help me find transcoded audio files. The idea is to detect "fake" high-bitrate files that have actually been transcoded from a lower-quality ...
Score of 0
0 answers
185 views
Linking FFmpeg 8.1 CLI into an Android NDK Shared Library: Header Resolution and Symbol Errors
I am attempting to build a custom video processing engine for Android using FFmpeg 8.1. Instead of re-implementing the muxing logic using libavformat/libavcodec APIs, I want to "library-ify" ...
Score of 2
1 answer
178 views
VP9 video black screen after merging (stream copy)
Is there a specific bitstream filter required for VP9 in an MP4 container, or is AVFMT_FLAG_AUTO_BSF required for VP9 but failing for another reason?
I am using FFmpeg libraries libavformat/libavcodec ...
Score of -1
4 answers
167 views
How to distrbute a C++ program that used SDL2/FFMPEG?
I have a C++ program that uses SDL2. Failing to find static linking for SDL2, I decided to change the architecture such that I no longer need SDL2 but now it used FFMPEG.
I'm confused as to how I can ...
Score of 1
1 answer
160 views
How do I escape this FFmpeg command's filepath in PowerShell? [closed]
I have an issue with adding a .ASS file to MP4 file using FFmpeg in PowerShell:
# Function to add ASS subtitles to video
function Add-Subtitles-To-Video {
param ($videoPath, $assPath, $outputPath)
...
Score of 5
0 answers
167 views
Why can't rust-lld see symbols in a static build of Libsvtav1?
This is not to Rust-specific; Libsvtav1 built with GCC is not linkable with lld. I am attempting to link a static build of FFmpeg's Libav* libraries for use in a Rust application. I built FFmpeg and ...
Score of -1
1 answer
158 views
Onvif device manager crash [closed]
I'm building a Python-based ONVIF server that streams the desktop using Flask (MJPEG) and FFmpeg (RTSP). The MJPEG stream works fine, and FFmpeg is running, but ONVIF Device Manager (ODM) crashes when ...
Score of 0
1 answer
123 views
Using user-defined constant in ffmpeg filtergraph?
In a Windows batch file, is it possible to define a constant when using a filter or when chaining filters? E.g. to pad a video with 15 pixels, I can use:
-filter_complex "[0:v:0] pad= iw+30 : ih+...
Score of 0
1 answer
228 views
Exclude ffmpeg on installation
I use Playwright for recording and playback of the tests, but because of specific constraints, I can't have ffmpeg installed as part of Playwright. I want to find a way to exclude ffmpeg from being ...