All Questions
Tagged with ffmpeg compression
25
questions with no upvoted or accepted answers
10
votes
1
answer
4k
views
How can I compress video by taking advantage of its static content?
I have an HD video that is a presentation, so it consists mostly of still images. It's a 50 minute, 200MB MP4 file, downloaded from YouTube.
Is there a way to take advantage of the static nature of ...
3
votes
1
answer
2k
views
How to compress gif effectively to reduce size?
We use gifs for our blog extensively. We used to embed tenor nano gifs(90px height maintaining aspect ratio, used for GIF previews and shares on mobile) in it. Now we wanted to create our own gifs and ...
2
votes
0
answers
2k
views
Extract timestamp of I-frames of video using ffmpeg
If I understand correctly, I-frames are the frames that are unaltered during video compression. I want to extract the exact timestamps of these I-frames and save the output in a txt file. How do I do ...
1
vote
0
answers
34
views
Determine format of uncompressed ZIP file with ffprobe
I am working on a project where I need to handle ZIP archives that contain media files. Specifically, I have two files, video1.hevc and video2.mp4. For testing purposes, I created two ZIP archives ...
1
vote
0
answers
346
views
How to extract individual macroblock types and their corresponding motion vectors
I need to make a pair for each macroblock from a frame of a video containing its type and motion vector.
I extracted motion vectors by using the python module of mv-extractor.
For macroblock type I ...
1
vote
0
answers
5k
views
FFMPEG Convert image format with best possible output?
With the standard command you can theoretically convert almost anything (ffmpeg -i input.png output.tiff),
but I'm afraid that the output will differ from the input in terms of quality and/or ...
1
vote
1
answer
474
views
In what order should I use stabilization and compression with ffmpeg?
I shoot videos of soccer games on a Canon Vixia which records at 60fps HD with h264 compression. From the camera it results in 20GB files which I have been recompressing (to save on storage and ...
1
vote
0
answers
111
views
OBS settings for recording presentation (still screen) with mouse cursor in low size and good quality?
How could I reproduce these settings with OBS Studio FFmpeg recorder?
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
Format : AVC
Format profile : [email protected]
Format ...
1
vote
0
answers
445
views
FFmpeg CRF compression slower on master than old version
I use FFmpeg to compress videos (amongst other things) on Android. I have been using an FFmpeg build from 2015 for some time now and wanted to upgrade, preferably to the git master. I built FFmpeg ...
1
vote
1
answer
2k
views
Why does FFmpeg append blank black video to the end of my MP4 files when compressed from MOV?
I have several large MOV files that I want to compress to MP4.
Unfortunately, when I use FFmpeg, it appends lots of black (blank) video at the end.
(The destination file is longer than the source ...
1
vote
0
answers
2k
views
compressing video with ffmpeg while maintaining high frame rate
Update: I watched the output video on a different machine and it was fine. The issue must've been with the program I was using to watch the video. Nevermind.
I'm trying to compress videos taken with ...
0
votes
0
answers
122
views
FFmpeg batch compressing mp4s and changing them to gifs
I want to take a folder of mp4s and with ffmpeg compress them and turn them into gifs.
I do this for each file using this code:
ffmpeg -i input.mp4 -c:v libx264 -tune zerolatency -preset ultrafast -...
0
votes
0
answers
266
views
Best Lossless Video Codec for 8 bpc RGB image sequences?
I render 3D animations, many of which take days or even weeks to render at a time, and I need to keep a lossless archive of the output files. The output format from the render engine is 8 bit per ...
0
votes
0
answers
1k
views
mp4 encoded with ffmpeg not displaying on chrome
I am using the command
ffmpeg -i input.mp4 -c:v libx265 -vtag hvc1 -c:a copy output.mp4
in order to compress my mp4 files. This is the output:
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg ...
0
votes
1
answer
241
views
Looking to compress just a PGS stream of a video
I have a video stored as an mkv with pgs subtitles. I noticed when I burn the subtitles in with this command hereffmpeg -i "movie.mkv" -filter_complex [0:v][vid];[0:s:1][sub];[vid][sub]...