Skip to main content

All Questions

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 ...
The Traveling Salesman's user avatar
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]...
goodkid38's user avatar
2 votes
2 answers
7k views

How to compress a video to VVC(h266) or Versatile video Coding

I have a h264 video. I want to compress it to Versatile Video Coding(h266) by using ffmpeg. Can anyone tell me how to do it by using ffmpeg or any other way.
Md.Rakib's user avatar
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
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
-1 votes
1 answer
1k views

ffmpeg - losslessly compress upscaled video

I cannot seem to find a good answer to this. I have a video file, h264, 1280x720, 251.2 MB. However the video is upscaled, the actual quality is 1024x576. And not just the numbers are different, there ...
mikey_john's user avatar
1 vote
1 answer
609 views

ffmpeg add picture to audio without reduction in quality

I am trying to combine a picture and an audio file without any quality loss. I am currently using the following command: ffmpeg -r 1 -loop 1 -i ./pic.JPG -i ./audio.wav -acodec copy -r 1 -shortest ...
dinamix's user avatar
  • 113
69 votes
3 answers
73k views

Why does preset "veryfast" in FFmpeg generate the most compressed file compared to all other presets?

The FFmpeg wiki says that the best compression rate is by preset "veryslow". But when I am trying it with my video then preset veryfast provides the best compression in my case. The following is the ...
Faisal's user avatar
  • 801
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 ...
Ryan's user avatar
  • 1,976