Skip to main content

All Questions

Tagged with
8 votes
1 answer
12k views

Using ffmpeg + MPDecimate to get rid of exact duplicate frames (i.e. losslessly)

According to the documentation, mpdecimate will "Drop frames that do not differ greatly from the previous frame in order to reduce frame rate." I would like to be able to remove only exact ...
JohnDoughmaker22's user avatar
0 votes
0 answers
370 views

Losslessly reducing framerate of a 'video of a video'

I asked this yesterday but it was incorrectly closed as a dupe of question:Reduce video frame rate without dropping useful frames The difference between that question and this question is - in that ...
JohnDoughmaker22's user avatar
0 votes
1 answer
774 views

Losslessly compressing screenrecording of video chat [duplicate]

I have a screenrecording of a video chat I had and the filesize is massive because the screen recording itself was done at 59.93 fps. However, I think the video chat was something like 15-30 fps. Plus ...
JohnDoughmaker22's user avatar
2 votes
1 answer
415 views

Check whether output is smaller than input? (ffmpeg conversion with batch)

I've made a batch file that's able to compress many png files (with ffmpeg) as well as remove any unneeded metadata (using exiftool). @echo off title Compress png to png color 08 FOR %%a IN (*.png) ...
goldnick7's user avatar
  • 442
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 ...
SideSky's user avatar
  • 111
-1 votes
2 answers
992 views

How to Compress Files Quickly and Efficiently?

I have a folder containing various videos that I want to compress so that I may share it with someone who has an unstable internet connection. I tried 7z, gzip, tar, lzma, xz, and many more for ...
Mayank's user avatar
  • 218
1 vote
1 answer
1k views

Downscaling VP9 from 4K to 1080p without re-compression

I have a video file that is a 4K upscale of a 1080p video in VP9 (upscaled to 4K to force Youtube to use higher bitrate for the video). I want to downscale the 4K video file to 1080p while (...
yuuuu's user avatar
  • 113
0 votes
0 answers
29 views

FFmpeg compression anomalies

I have a 24 fps video. First, I split it into frames: ffmpeg -i input.mp4 frame%06d.png Secondly, I joined these frames, and compressed the result in another command: ffmpeg -r 24 -i frame%06d.png -c:...
z32a7ul's user avatar
  • 141
0 votes
1 answer
608 views

FFmpeg reencoding x264 with the same crf multiple times

I have a video, a screen recording: recording00.mp4. I compressed it with FFmpeg: ffmpeg -i recording00.mp4 -c:v -libx264 -pix_fmt yuv420p -crf 27 -preset veryslow output00.mp4 If I compress output00....
z32a7ul's user avatar
  • 141
0 votes
1 answer
42 views

Pine64 fails to compress videos with ffmpeg and H264

I have a Pine64+ (1GB) - A64-DB-Rev B (2016-02-24) with an All Winner Tech chip. I'd like to use to compress videos from 4K to 960. I installed Armbian using these directions, I verified that ffmpeg ...
emonigma's user avatar
  • 2,037
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 ...
navanax's user avatar
  • 11
0 votes
0 answers
260 views

How can I reduce the file size of a video encoded with wmv2 in ffmpeg?

I have some videos of a slide presentation with audio and need to put them in a wmv container. These videos are intended to be viewed with Windows Media Player. I initially made the mistake to use the ...
Fabian Sander Kratz's user avatar
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 ...
connor449's user avatar
  • 121
0 votes
1 answer
463 views

FFmpeg HEVC compression?

I'm part way through a video processing program and am using ffmpeg to read a frame, process it and then write it to an output file. Input files are HEVC codec and are currently being read and then ...
Pentacle's user avatar
2 votes
1 answer
976 views

Why are ffmpeg processed videos per default multiple times smaller in file size than the input file?

I have a mp4 movie of 1:15min length, made with the Sony Alpha 6400 4k camera. It has a size of 528MB. I want to cut it using ffmpeg. Although I only cut a few seconds, the new video was much smaller. ...
Lion's user avatar
  • 905

15 30 50 per page