All Questions
Tagged with image-processing ffmpeg
19
questions
0
votes
2
answers
189
views
How to extract frames from a video using ffmpeg?
Basically I want to extract all frames from the video where the images will be resized to be 720p. All of this I know how to do. But for testing I want to extract every Nth frame. So every 30th image ...
0
votes
0
answers
90
views
How to draw a moving line as slider for the image comparison video generator script in Python with FFmpeg
I have the below script to generate a video slider with FFmpeg
You can see example here (first 10 seconds) : https://youtu.be/F_wf1uHqZRA
I am trying to replicate effect of imgsli like a person is ...
0
votes
0
answers
177
views
Creating silent video from an image file (like png) using FFmpeg
ffmpeg -y -loop 1 -i '$inputFile' -f lavfi -i anullsrc=r=44100:cl=stereo -vf "scale=1280:720" -c:v libx264 -pix_fmt yuv420p -c:a aac -strict experimental -t $seconds -crf 28 -preset ...
10
votes
4
answers
3k
views
How to resize an animated webp?
I want to be able to change the size of a dynamic webp.
Sample picture. I found this website to do just that.
So how can I implement something similar in my own program?
I tried using ImageMagick7 or ...
1
vote
0
answers
4k
views
avoid duplicate frames in ffmpeg
I have a video.mp4 which I need to convert losslessly into a sequence of images.
I used
ffmpeg -i input.mp4 $filename%05d.tiff
but I get a lot (thousands) of duplicated frames. What are they? is it ...
0
votes
1
answer
1k
views
ffmpeg - How to create a video with a PNG file and keep the same colors
I use a PNG file to create a video.
I create the PNG file with Inkscape.
The SVG file in Inkscape, the PNG file opened in Chrome show the same colors.
Nevertheless the colors of the video (opened in ...
0
votes
1
answer
405
views
Overlay GIF on MP4 at certain time interval (while maintaining GIF transparency) [FFMPEG]
I'm looking for a way to implement a gif overlay on top of an mp4, having the following characteristics:
Maintaining GIF transparency on video
Having the GIF only showing up for a certain time ...
1
vote
1
answer
602
views
Drawing text on a gif while preserving transparency [FFMPEG]
Using the regular method, input > drawtext seems to remove transparency for GIFs and messes with the coloring
ffmpeg -i test.gif drawtext=text='Test':fontcolor=red:fontsize=24 output.gif
I've ...
0
votes
0
answers
32
views
Overlay image on FFMPEG running on and on
I wanted to overlay images on my video but no impact to any audio. My video is of length 01:32:34 and my below script continue running from 3 hrs and then I closed it. Looks some issue. Please can you ...
0
votes
0
answers
1k
views
FFmpeg image slideshow (multiple images) with infinite loop till audio file ends
I want to make an image slideshow (multiple images) with an infinite loop until the audio file ends, and with a full duration audio file. Is there anybody who can help me out....
Earlier I was doing ...
4
votes
1
answer
5k
views
ffmpeg cropping: 'Invalid too big or non positive size for width'
I'm trying to generate images thumbnails using ffmpeg. The folder contains various jpeg files with different resolutions.
ffmpeg -y -i input1.jpg -filter_complex "scale=(iw*sar)*max(238/(iw*sar)\,358/...
1
vote
1
answer
421
views
ffmpeg png to gif losing first half of frame list with fifo filter
Can anybody suggest a solution to (or at least a cause for) the following snag I'm experiencing in Windows 10, please?
While I originally thought this was, maybe, a problem with the source images, I'm ...
1
vote
1
answer
944
views
How could I resize this image without misplacing pixels?
I wanna resize an upscaled 1366x768 image down to its native 480x270 again.
Every time I do it, lines of pixels are misplaced. Example with highlighted areas. The image on the right is slightly out ...
2
votes
2
answers
900
views
How to pad images with imagemagick?
I need to process a set of identically formatted images to get them to conform with my client's website format. I wanted to use ImageMagick's convert or mogrify instead of ffmpeg but I just cant make ...
3
votes
1
answer
5k
views
How to use ffmpeg removelogo filter
I am trying to use ffmpeg removelogo filter, there is no syntax error but result has some kind of weird magenta triangle where mask is applied.
I am using following command
ffmpeg -y -i sample_image....