Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [ffmpeg]

Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated. For help with CLI use only of ff* binaries - ffmpeg, ffprobe, ffplay. For help with API usage, post on Stack Overflow.

Filter by
Sorted by
Tagged with
1 vote
0 answers
12 views

Encode and Decode Decklink SDI with FFMPEG

Has anyone ever setup a encode/decode pair using FFMPEG and Decklink SDI Cards? (or any other capture cards). The end goal is to bring in a remote camera feed into the studio switcher so quality and ...
John Munoz's user avatar
-1 votes
0 answers
19 views

Deinterlace / Inverse telecine color ghosting [closed]

I'm trying to get an interlaced/telcined video back to its original framerate. I already tried yadif, fieldmatch and pretty much every other solution/filter. I even tried swapping the U&V channel ...
SamMaguku's user avatar
0 votes
1 answer
35 views

FFmpeg fell into a cycle at concatenation on Ubuntu Desktop i386 16.04.4

I use FFmpeg at 2016 but I need concat much short video from 4 to 180 sec. This is on a notebook with Windows 7 and Ubuntu Desktop i386 16.04.4. If tool can read filter script from file it cannot ...
Nick's user avatar
  • 11
1 vote
0 answers
20 views

How can I get exact frame count when export video to image?

When using labling tools, the count frame count by duration*fps, but for ffmpeg export, I get different frame count. e.g. Metadata: major_brand : isom minor_version : 512 ...
wener's user avatar
  • 113
-1 votes
0 answers
33 views

How to create1080p and 4k black png background text in center using ffmpeg?

I’m trying to create a png black background with text in center using ffmpeg I left an image example from Canva. Please someone help by giving command line/parameters example for 1080p and 4K?
Eddie Valentin's user avatar
0 votes
0 answers
37 views

Rotating WMV videos without reencoding

I'm open to any tool, but I know that ffmpeg can do this for .mp4 files. Also tools like exiftool. I have tried something like this: ffmpeg -i LEFT_OUTBOARD.wmv -c copy -metadata:s:v:0 rotate=180 tmp....
Blindy's user avatar
  • 121
0 votes
1 answer
20 views

"Bitrate" function in udp out don't working if more than 1.35 Mbps

"Bitrate" function in udp out don't working if more than 1.35 Mbps on Windows with differents versions of ffmpeg. I see similar question on Internet without solution ex: with option -Muxate ...
Dominique's user avatar
0 votes
0 answers
30 views

ffmpeg: Apply an expression to dynamically control intensity of lowpass, highpass, aphaser, or aecho

I'm fading in and out two sources, intertwined in the output. Now I want to apply lowpass, highpass, aphaser, and/or aecho to the transitions using a time-based expr. I've already succeeded using the ...
Wes Modes's user avatar
  • 171
0 votes
1 answer
50 views

cut the video at certain time and add another video at end , repeat this whole process for full video and make every video has seperate video parts

I have two videos. If one video length is 42 minutes 35 seconds and another video length is 46 seconds, now I need to add this 46 second video after every three minutes 50 seconds so that the added ...
Jaga G's user avatar
  • 11
0 votes
0 answers
21 views

The bot doesn't play music (discord.py) [closed]

The code works fine, but when using the command in guild the bot enters the voice channel but doesn't play music, immediately console gives: ffmpeg process 56560 successfully terminated with return ...
Naydar's user avatar
  • 1
-1 votes
0 answers
29 views

How to install ffmpeg, ffmpeg-discord to AWS EC2-USER instance (nextcord.py)

Trying to install ffmpeg, ffmpeg-discord to aws ec2-user instance but it's failing, not working. I connect to ec2 console through powershell and run the following "pip install ffmpeg", "...
Roy Eastman-Kodak's user avatar
0 votes
0 answers
13 views

How to install discord ffmpeg to aws ec2 instance (running Windows)

I have ffmpeg installed locally onto my computer, on my computer it is configured correctly, ffmpeg is installed into the path. But I wish to install ffmpeg onto aws ec2 instance. I have WinSCP ...
Roy Eastman-Kodak's user avatar
0 votes
0 answers
26 views

how to generate video with video, images, audio and text file using ffmpeg

I want to generate video using video, audio, images and text. and there will be sequence for all the inputs. According to those sequence new generated video will play. Like if, video1 - sequence1, ...
vinod's user avatar
  • 1
0 votes
1 answer
32 views

Using ffmpeg and blend to compare two videos, how to I make no difference show up as medium gray, not green?

To check the effects of additional compression on a video file, I found this useful ffmpeg trick: ffmpeg -i orig.mkv -i compressed.mkv -filter_complex "blend=all_mode=difference" -c:v ...
kshetline's user avatar
  • 165
1 vote
0 answers
25 views

D3D11 hardware screen recording with ffmpeg using Intel H264 QSV hardware encoding

I'm trying to screen record using ffmpeg and having it all done via hardware on my Intel integrated graphics. Specs For reference, here are my specs: Windows 11 Pro Version 10.0.22631 Build 22631 ...
Cactus's user avatar
  • 11
-1 votes
0 answers
59 views

m3u8 playlist files that are PNG but have MP4 data and converting it

So I have this m3u8 file. I will call it 1080.m3u8 and in this file it doesn't have standard ts files you would normally see it has a bunch of PNG files. I downloaded a few of those PNG files and ...
kryptic knight's user avatar
0 votes
0 answers
28 views

Please help me ffmpeg and ffprobe update

Should I use XUI.one for ffmpeg 7.0 version? Does that ffmpeg 7.0 version support the XUI.one? I am using XUI Dashboard to use ffmpeg. I upgraded the ffmpeg version to 7.0. However, testing cannot be ...
simba dream's user avatar
0 votes
2 answers
49 views

FFmpeg is not using some images as frames

I've a series of 400 images here a selection and I want to make a video. The images are are basically the original images or some transofrmations of that (i.e. desaturated and inverted, or with a red ...
SteZano's user avatar
0 votes
1 answer
56 views

FFmpeg image swipe animation

I want to animate with ffmpeg as in the picture. The animation must be 3 seconds long. Zoom in for 0.5 seconds at the beginning of the video Swipe left for 1 second Swipe right for 1 second Zoom out ...
zetrabit's user avatar
0 votes
0 answers
30 views

Split Videos using File Size in ffmpeg

How do I split videos by file size using ffmpeg? For example, I have a 1.92GB video and I want to split it into 200MB videos. There are two ways how I want to split them: Losslessly by using the -c ...
David Pilling's user avatar
0 votes
2 answers
37 views

Will FFmpeg continue encoding, converting when sleep mode?

Will it run? I was curious so I could make a 24 hour video. It doesn't even matter what my space is, but is it possible? For example I take my live video and put FFmpeg, then I will leave it overnight....
Micery999's user avatar
2 votes
0 answers
41 views

ffmpeg not rendering all characters

am trying to burn captions on a video using below ass file [Script Info] ; // 此字幕由爱幕生成 Synch Point:1 ScriptType:v4.00+ Collisions:Normal [V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, ...
fady taher's user avatar
-1 votes
0 answers
23 views

How can I burn/add emoji on a video?

it doesn't seem there is away to burn an emoji on a video using ffmpeg and ass files, How does klap.app or captions.ai do it ?
fady taher's user avatar
0 votes
0 answers
14 views

FFmpeg fps detection bug?

I have ffmpeg setup which produces rtmp stream from remote rtsp stream. The rtsp stream comes from ip camera which support multiple profiles. Each profile has 1080p 30 fps, 1080p 15 fps. The weird ...
I have 10 fingers's user avatar
0 votes
0 answers
28 views

Is there a way to select the video parts you want and automatically include the audio?

I was guessing if there is way to select only the video parts you want in ffmpeg but automatically include the audio for the selected parts without having to use aselect ex: ffmpeg -i input.mp4 -vf &...
Ricardo Bohner's user avatar
1 vote
0 answers
27 views

VMAF Quality Loss when applying bicubic interpolation to a video when upscaling with ffmpeg

First of all, I'm a bit of a beginner to this specific topic therefore any advice would be greatly appreciated! For a project that I've currently been working on, I've been essentially trying to ...
Solomon Williams's user avatar
1 vote
1 answer
57 views

Difference between crf and cq settings in ffmpeg

What is the difference between -crf and -cq parameters of ffmpeg? I am trying to compress 1080p h264 videos into 1080p h265 videos with high quality and low size. I have noticed that in some guides ...
jamana's user avatar
  • 65
1 vote
0 answers
31 views

Out-of-order frames when using FFmpeg to download DASH stream

I'm trying to use ffmpeg to download a DASH stream. It works OK but it seems like in the output file there are some frames that are out-of-order (e.g. for some frames the pts value is lower than the ...
Danj's user avatar
  • 11
0 votes
1 answer
16 views

MKV Audio track stop playing

I have a show with two sources, Blu-Ray and DVD. Blu-Ray doesn't contain the correct audio language but DVD does. I want to add the DVD audio track to the Blu-Ray. So I have decided to rip them. Using ...
Meslam's user avatar
  • 1
0 votes
0 answers
25 views

ffmpeg -c:s dvdsub continues processing after writing the outuput

When running ffmpeg -y -t 20 -i test-in.ts -c:s dvdsub test-out.mp4 ffmpeg continues to use CPU after writing the 20 seconds of output. Observed with versions 6.1.1 and 7.0. There is no such problem ...
Peter's user avatar
  • 11
0 votes
1 answer
27 views

FFMPEG cant render from transparent webm a transparent png frame

I want export every frame like original source, in webm video is alpha/transparent video track, and if I try export with my base command will export with black background. ffmpeg \ -hide_banner \ -...
aClassicKoder's user avatar
1 vote
0 answers
47 views

ffmpeg extremely slow HEVC without any major changes in the system

I have the same dedicated NAS machine for a while now with AMD Ryzen 7 3700X 8-Core it's not the strongest but more than enough for my home NAS usage. I also use the same machine to re-encode h264 and ...
kali's user avatar
  • 379
0 votes
0 answers
37 views

How to use -map to pick certain tracks based on english/5.1 etc

Good day all. Using ffmpeg I'm trying to auto select audio tracks based on language and type of stream but not sure on the syntax. Below is an extract from my batch file, this relies on me feeding the ...
Griff's user avatar
  • 1
0 votes
0 answers
42 views

Automatically synchronize two audio streams with ffmpeg

Say I have a video of a talk but the soundtrack is bad, and I happen to have an audio recording of the same talk made with a good mike. Is there a way, with ffmpeg, to replace the bad audio with the ...
Sulli's user avatar
  • 137
0 votes
0 answers
62 views

FFmpeg RTSP Recording: Video Timestamp Does not Match With Recorded MP4 File Timestamp

I'm currently testing by streaming a 30 fps example flv video using a local Happy-Time RTSP server. This is the flv file i am streaming with RTSP: I recorded the video with below ffmpeg command: ...
lastpeony4's user avatar
0 votes
0 answers
38 views

Convert h264 files to H265 using HEVC, multiple issues

I am using RiaanAspeling's script for the conversion of my library that I currently have, most of it is H264 and I want to convert it to H265 to reduce the size of the files that I have hosted on my ...
tito-willis's user avatar
0 votes
1 answer
45 views

How to convert videos of any format to MP4 and only take the first minute of the video

I'm working on a project, essentially a social media app for the traveler community. In this application, users can upload videos in any format, but I need to save them in MP4 format so that any ...
thecoderscamp's user avatar
-1 votes
0 answers
75 views

Auto-Crop Images Using Cropdetect in FFmpeg

How do I use the cropdetect and/or crop filters in ffmpeg to automatically crop frames from videos while extracting them at the same time? I'm using Windows 11, by the way. I tried this but it didn't ...
David Pilling's user avatar
1 vote
1 answer
70 views

ffmpeg scale2ref with overlay complex filters returning audio only mp4 output

I am trying to find out why the result of using scale2ref with overlay complex filters is returning audio-only mp4 output. ffmpeg -i input.mp4 -i watermark.png -filter_complex "[1][0]scale2ref=w=...
Sushil's user avatar
  • 111
2 votes
1 answer
78 views

QSV hardware acceleration does not work with ffmpeg 7.0

I've been using Intel Quick Sync (QSV) hardware acceleration for several years with ffmpeg for decoding, encoding, and filtering. I've been using only 4.4-full_build-www.gyan.dev on Windows 7 and 10 ...
Bart Lederman's user avatar
1 vote
0 answers
32 views

ffmpeg enables subtitles even when copying a video

I'm trying to work out why the subtitles are enabled after copying a video. Given the following: ffmpeg -i "in.mkv" -c:v copy -c:a copy -c:s copy -map_metadata 0 -map 0 out.mkv Then out.mkv ...
Tom B's user avatar
  • 111
0 votes
0 answers
35 views

Can't stream two rtmp streams simultaneously on nginx server

I'm having a problem streaming two streams at the same time using nginx/1.22.1 and ffmpeg on raspberrypi 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux nginx....
Dinamo's user avatar
  • 1
1 vote
0 answers
30 views

Can anyone help e with FFMPEG on Centos 7

I have a script that requires FFMPEG but I cant seem to get it working on my Centos 7 server the script gives the following error: ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers ...
Nick Eyre's user avatar
0 votes
0 answers
32 views

How to run ffmpeg with hardware encoding when using --filter_complex to hardcode subtitles?

I'm converting MKV files and hardcoding subtitles into MP4 format. I have over 100 files and want to speed the process up by enabling hardware encoding. I am able to hardware encode without hardcoding ...
user2006141's user avatar
0 votes
0 answers
55 views

Ffmpeg - Generate loudnorm conversion log file

I have a bat file that reads several audio files in the "µudios LUFS" folder and performs LUFS normalization by copying the files to the "Normalized µudios Lufs" folder. I'm trying ...
Clamarc's user avatar
  • 657
0 votes
0 answers
17 views

Expected speedup comparing x_videotoolbox vs x_libx encoding

I just got a new M3 pro mac and it is indeed much quicker than my previous intel based machine. However, I was expecting more of a speedup in doing h264/hevc_toolbox encoding compared to libx encoding....
Misha's user avatar
  • 225
-1 votes
2 answers
45 views

Install file doesnt work when installing ffmpeg

How to install ffmpeg on pc? It seems really complicated. I downloaded and extracted the files and then clicked on install.md but nothing.. Checked few places but couldn't understand the procedure. Do ...
upstream's user avatar
  • 107
0 votes
0 answers
28 views

How to merge videos without overlap maintaining ratio 16:9 using ffmpeg

I have 2 videos in format 16:9. I need to merge together without any overlap and I need to keep final ratio 16:9 as well. One video need to be large (covering 80 % or more) and other has to be smaller ...
Petr Glaser's user avatar
0 votes
1 answer
76 views

ffmpeg creates out-of-sync and glitchy audio when using concatenate filter to cut segments of video

I have created an artificial test case where I want to have red + middle C, green + middle D, and blue + middle E each for 2.5 seconds, cut down to each for 1.5 seconds. This is a simplification of ...
grendell's user avatar
0 votes
0 answers
24 views

FFMPEG: RTSP Client sending "Keep Alive" packets back to camera

I am using the FFMPEG Libraries (Windows Build) to connect and stream RTSP Streams from IP Cameras, this works with no issues on Dahua, Hikvision, etc. Pseudo code : avformat_open_input (...) .... .......
adder's user avatar
  • 1

1
2 3 4 5
142