25,958 questions
1
vote
0
answers
58
views
Performance issues with generating video thumbnail and overlaying video on video
I'm working on a video processing feature in my application where user upload a video with that flow:
Call my API for uploading a video
Generate a video thumbnail
Create an overlay video on top video ...
Tooling
0
votes
0
replies
39
views
Broadcasting software help BlackMagic decklink
I'm building a broadcasting system to replace a Grass Valley K2 server using BlackMagic DeckLink cards (Recorder and Monitor 4K). I need basic playback and recording functionality for clips. Current ...
2
votes
1
answer
100
views
Libav* encoding to FLAC results in MD5 Signature Mismatch
I am trying to learn how to use the FFmpeg libav* libraries but have encountered an issue when encoding to FLAC audio.
Running FFmpeg 5.1.7
I have copied the transcoding.c example from https://www....
0
votes
0
answers
43
views
Compiling ffmpeg and android.mk
I'm trying to compile ffmpeg for Android, but I'm having a problem.When the file is read, it enters the libavformat directory, but when it reads, for example, the avformat.h file, it has some ...
3
votes
1
answer
121
views
Finding the previous keyframe in a video using Ffmpeg
I want to create a short clip from an existing video using ffmpeg and moviepy, which I have accomplished using this code:
ffmpeg_extract_subclip(inputfile, start, end, targetname=outputfile)
This ...
1
vote
0
answers
134
views
How to slice using FFMPEG in Python
I have been trying to slice my audio files based on silero-vad outputs using the following code.
for time_stamp in speech_timestamps_sec:
output_destination = f"{DESTINATION_FOLDER}/{...
4
votes
1
answer
130
views
ffmpeg: How to merge multiple audio files into stereo
I have an initially undefined number of input mono audio files (.wav) that I want to merge into a single stereo output audio file (.mp3), so that one of the input files goes into left channel, and all ...
1
vote
0
answers
88
views
C# WinUI3 Is it possible to use ffmpeg to decode using hardware and then render using win2d?
I'm using FFmpeg.AutoGen and Microsoft.Graphics.Win2D in C# to decode and render from an H264 Frame byte[] event. I've currently achieved smooth AirPlay screen mirroring using CanvasAnimatedControl ...
1
vote
2
answers
105
views
Can't get a "ffmpeg_g" file during making a "static" ffmpeg
Currently I'm trying to get a static-linked ffmpeg from source rpi-ffmpeg git.
It's a Raspberry Pi oriented fork of original ffmpeg. And my working environment is RaspiOS (port of Debian "...
1
vote
0
answers
78
views
PHP signed video URL with HMAC works initially but fails with 500 error after multiple downloads
I have a video streaming site, and I want to add an expire time and HMAC hash to my download/stream URLs.
I’m using the following function to generate signed URLs:
function generate_signed_url($...
2
votes
2
answers
115
views
Why does ffmpeg command work in terminal but not subprocess.call
I reviewed the "similar questions", but those seem to refer to using the full path for ffmpeg to ensure using the same version, which I am already doing so posting my question.
I am using a ...
1
vote
1
answer
150
views
Write EPIPE after upgrade Node.js
I am using this code for detecting audio replay gain. It was working well with Node.js 16, but after upgrading to Node.js 22, it started crashing a few times in an hour with this error:
write EPIPE
...
0
votes
0
answers
111
views
Continuously stream audio from .m3u8 file between FFmpeg processes
My webserver streams audio using HLS. I'm using a Python script to create an FFmpeg process that takes a random MP3 file and segments it so it can be delivered by the webserver. My issue occurs when ...
-1
votes
1
answer
523
views
FFmpeg WASM Compilation with Hardware-Accelerated H.264/HEVC Decoding
I'm working on a media processing SDK with a substantial C++ codebase that currently uses FFmpeg for video decoding on native platforms (Windows/Linux). I need to port this to browsers while ...
1
vote
0
answers
242
views
"Could not find com.arthenica:ffmpeg-kit-https:6.0-2" after ffmpeg_kit_flutter deprecation
I am at latest flutter 3.32.4
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ffmpeg_kit_flutter:compileDebugJavaWithJavac'.
> Could not resolve all files ...
1
vote
1
answer
128
views
How to install pytorch and opencv using a fixed conda channel order?
Conda creates a pristine environment, configures a fixed channel order, and then starts installing pytorch torchvisioni pytorch-cuda and opencv, and it prompts for dependency conflicts. Do I have to ...
3
votes
1
answer
109
views
App Store Submission Fails Due to Unsupported Architectures and Invalid Segment Alignment [closed]
I’m using ffmpegkit in my iOS app, but when I submit the app to the App Store, I get these errors:
Validation failed
Unsupported Architectures. The executable for MyApp.app/Frameworks/ffmpegkit....
-1
votes
2
answers
246
views
Real time HLS editing with FFmpeg filter_complex without re-encoding full stream
I'm new to FFmpeg and working on a lightweight video editor for HLS streams that allows cutting and trimming without re-encoding the entire video. I'm using FFmpeg to only process the segments that ...
0
votes
0
answers
51
views
Why are rectangular boxes ([]) showing instead of text in burned subtitles when using ffmpeg/MoviePy on Google Colab?
I'm working on a Python script that adds subtitles to a video using MoviePy and burns/hardcodes them directly onto the video. The subtitles contain Hindi text, and I’ve specified a custom font that ...
0
votes
2
answers
461
views
Flutter ffmpeg_kit_flutter_new can't build Android app in any version
I can't build my project on Android ( on Ios it works and the project itself without ffmpeg_kit_flutter_new builds without problems )
This is the error i obtain:
/GeneratedPluginRegistrant.java:51: ...
0
votes
1
answer
77
views
How to install MPD filter "ffmpeg" into MPD running on RaspberryPi [closed]
I’m using Moode audio player OS on a Raspberry Pi 5 to play audio through two USB devices: headphones (card 3: Device_1) for the full spectrum and a subwoofer (card 0: Device) for low frequencies (20–...
2
votes
0
answers
69
views
Stream Recorder Using FFmpeg Fails on AWS Lambda
I am trying to stream audio from URLs and save them to a file in S3 using AWS Lambda with FFmpeg. Here is an example FFmpeg command I'm using:
ffmpeg -hide_banner -loglevel error -t 10 -i http://...
0
votes
1
answer
200
views
How to correctly pass Windows path with spaces to FFmpeg -vf ass filter in Python?
ass_path = r'C:\Users\username\Desktop\Title Of Video.ass'
command = [
'ffmpeg',
'-i', mp4_path,
'-vf', f"ass='{ass_path}'", # Embed the full ...
0
votes
0
answers
215
views
ffmpeg.wasm in Angular 19
I am developing an Angular app that records videos. Since the videos that come out usually have variable and "wrong" framerates, I want to re-encode them using FFmpeg, particularly ffmpeg....
1
vote
0
answers
68
views
Why can't I seek using PTS while reading an MXF file until av_write_trailer() is called?
I'm writing an MXF file using FFmpeg in C++ and then reading it back for real-time playback. However, I'm running into a problem: seeking by PTS (av_seek_frame()) doesn't work properly until I call ...