All Questions
Tagged with ffmpeg ffmpeg-filters
51
questions
0
votes
0
answers
19
views
Merging some FFMPEG code into AutoHotKey
I'm using some ready-made AutoHotKey that calls upon FFMPEG. I need to tweak what FFMPEG does, but I'm just so lost, so would really appreciate some help.
It currently does some simple FFMPEG scaling (...
0
votes
0
answers
55
views
transition circleclose is not working in FFMPEG
wanted to add circleclose transition to 2 videos while adding. transition effect is not coming. What is the issue in below FFMPEG command?
ffmpeg -i D:/development/copy/...
0
votes
0
answers
33
views
To make 'trim' and 'atrim' work synchronously
The following command trims a video using the trim video filter:
ffmpeg -y -i input.mp4 -vf "trim='00\:00\:05':'00\:00\:10',setpts=PTS-STARTPTS" output.mp4
But if the video also contains ...
0
votes
0
answers
30
views
Some mp4 files converted with ffmpeg are off by .01 frames/second, how can I fix this (without resampling)
I have several mp4 files with a frame rate of 119.88 frames/second, I need to convert these to 29.97 frames/second without resampling.
To do this, I ran
ffmpeg -itsscale 4 -i input.mp4 -c copy ...
0
votes
0
answers
43
views
Use cropdetect to check blanking errors
cropdetect outputs the crop area for every frame.
I would like cropdetect with either ffprobe or ffmpeg to output only the frame where the crop is less than actual size of the video.
So for 1920x1080 ...
0
votes
1
answer
98
views
Ffmpeg LUFS Loudnorm normalization results
I use the Loundnorm filter in Ffmpeg to normalize LUFS in a folder containing three audios, Music1.mp3, Music2.mp3 and Music3.mp3 using the double-pass method.
The LUFS and True Peak values are the ...
0
votes
0
answers
49
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 ...
0
votes
1
answer
75
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 ...
0
votes
1
answer
127
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 ...
1
vote
0
answers
39
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
...
0
votes
0
answers
74
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 ...
0
votes
0
answers
66
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 ...
0
votes
0
answers
81
views
how to use ffmpeg to small size file .ts
How do I ensure that .ts files are no larger than 1024Kbps..?
I use this code
ffmpeg -i https://bitmovin-a.akamaihd.net/content/MI20192708/master.m3u8 -c:v libx264 -preset medium -crf 23 -c:a aac -b:a ...
0
votes
0
answers
1k
views
How to convert heic format to jpeg format
The ffmpeg master branch already supports the heic format. How do I pass parameters using the ffmpeg command to convert heic images to jpeg images of other resolutions?
ffmpeg -i test.heic output.jpg, ...
0
votes
2
answers
80
views
Creation of black half size frame in the middle of a split video stream results in an FFmpeg error
The error was raised against the creation of black half size frame in the middle of a split video stream.
The purpose of this script is to shift the dual fisheye images up by 20 pixels.
This file ...
0
votes
0
answers
53
views
FFmpeg scale filter unexpectedly adds padding
I'm using FFmpeg to transcode and shrink some videos to AV1 using the scale filter and AMD's hardware encoder, available in FFmpeg as av1_amf. Usually it works fine, but now I've run into a video ...
0
votes
0
answers
75
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 -...
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 ...
1
vote
1
answer
703
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 ...
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 ...
0
votes
0
answers
23
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 ...
1
vote
0
answers
225
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)
...
0
votes
0
answers
462
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 ...
1
vote
1
answer
94
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 ...
1
vote
1
answer
509
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
...
1
vote
1
answer
354
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?
...
0
votes
1
answer
67
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 (...
1
vote
1
answer
365
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 ...
2
votes
1
answer
144
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 ...
0
votes
1
answer
189
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: ...