Skip to main content

Questions tagged [ffmpeg-filters]

Used for question that need help with FFmpeg's filters (i.e. a parameter specified by the -filter, -vf and -af options)

0 votes
0 answers
70 views

FFMPeg: Avoiding clipping of image when rotating overlay

Im trying to add an image overlay on top of a video and have to rotated the image arbitrarily. Below is the command I'm using to rotate by -30 deg. ffmpeg -i input_video.mp4 -i crown.png -...
Aneesh's user avatar
  • 115
0 votes
0 answers
65 views

Bug in FFmpeg signature?

I tried using the signature filter on two completely different videos. For below command where video1 and video2 are completely different videos, the signature filter code still passes the coarse ...
stilloo's user avatar
1 vote
1 answer
620 views

Error submitting a packet to the muxer: Cannot allocate memory

I'm attempting to trim and concatenate several video files using ffmpeg. These videos have already been transcoded with H.264 at a resolution of 720p. However, when executing the command, I encounter ...
Zahra's user avatar
  • 11
0 votes
0 answers
81 views

Pausing the video for 15 seconds

I have a video which is 40 seconds long, I want to make it 55 seconds long, I wanted that the video's first frame along with it's audio freezes (frame freezes) for the first 15 seconds and after the ...
AAB's user avatar
  • 21
0 votes
0 answers
35 views

FFMPEG - Any suggestions on how to achieve a lookahead with sidechaincompress?

I need sidechaincompress (i'll call it SCC) to look ahead 750ms and smoothly drop the audio level in that lookahead window. I'm currently using this: -filter_complex "0:a]sidechaincompress=...
BeardyMike's user avatar
0 votes
0 answers
20 views

Use font attachment from an mkv container when burning hard subtitles

I want to use the font that is in an mkv as an attachment when I burn in subtitles. I found a way to do this using -dump_attachment first. ffmpeg -dump_attachment:t "" -i video.mkv ffmpeg -i ...
Ilias Karim's user avatar
1 vote
0 answers
215 views

concatenating multiple files is giving Non-monotonic DTS in output stream error

I am trying to concatenate multiple video files with ffmpeg and python with the following code :- def story(path): videos = [f for f in os.listdir(path) if f.endswith(".mp4")] print(videos) ...
nish's user avatar
  • 41
0 votes
0 answers
419 views

How to extract keyframe timestamps from video using ffmpeg

I want to extract the timestamps of keyframes from a video using ffmpeg. I found this thread that explains pretty much how to do it. However, it appears that my video does not have the pkt_pts_time ...
K G's user avatar
  • 101
1 vote
1 answer
93 views

Splitting, trimming, converting to image and concatenating issues with FFmpeg

I am new to FFmpeg. I read some essential basics but cannot figure out why the following command does not work. The script is written in Windows in PowerShell. ffmpeg -hide_banner ` -loop 1 -t 3 -i ...
Celdor's user avatar
  • 711
1 vote
1 answer
487 views

Adding timer to video using FFmpeg

I'm trying to find a way to add a countdown text to videos using FFmpeg. I want the text to be "Time left: mm:ss" but to avoid leading zeros for minutes. So, for example: Time left: 10:01 ...
user1768741's user avatar
1 vote
1 answer
333 views

FFmpeg add text in a box with rounded corners

Is there a way to add a text with countdown timer to a video using FFmpeg where the text is contained in a semi-transparent box with rounded corners with one of the side borders in a different color? ...
user1768741's user avatar
0 votes
1 answer
66 views

Side-by-side Comparison with scale2ref & hstack: Wrong Content Received as Output

I have two videos (no other streams there) with a format of 1440x1080. The first video should be positioned left to the second (at the right), whilst the second must be rotated by 90° clockwise (...
EagleRainbow's user avatar
1 vote
1 answer
350 views

Flip video with hardware acceleration ffmpeg on Windows 11

I am trying to use hardware acceleration to horizontally flip videos but I can't seem to get it right. I don't want to change the codec but just keep the same (just hflipped). I am using Intel Arc Pro ...
Sha's user avatar
  • 321
2 votes
1 answer
137 views

Overlay a different png for each single frame of a video

I have a video and a set of images (each image for one video frame) I want to overlay the images over the video, each image over one single frame. The images and the video have the same size. I know ...
Catalin Morosan's user avatar
0 votes
1 answer
180 views

FFmpeg frame counter + resolution/bitrate/FPS box

I was trying to use drawtext FFmpeg filter to insert a frame counter at the bottom of my video by using this command: ffmpeg -i input.mp4 -vf "drawtext=fontfile=C\\:/Windows/fonts/consola.ttf: ...
NoyaZ_'s user avatar
  • 3

15 30 50 per page