ffmpeg-quality-metrics
vidgear
Our great sponsors
ffmpeg-quality-metrics | vidgear | |
---|---|---|
17 | 14 | |
367 | 3,183 | |
- | - | |
5.0 | 7.2 | |
about 2 months ago | 15 days ago | |
Python | Python | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ffmpeg-quality-metrics
-
VMAF is confusing me
Have you seen ffmpeg-quality-metrics? I went with the docker option. I figured that would keep it simple with ffmpeg versions/whatever.
-
VMAF
I'm not good at computers, so I love ffmpeg-quality-metrics. I use the docker version because I didn't want to fight with dependencies.
-
Encoding tv shows and movies
There are even tools that can compare the quality for us, like ffmpeg-quality-metrics can give a VMAF score as used by Netflix for the visual quality difference.
-
Should I recompress video I shot with mobile?
You can at least test the quality difference between two encodes with something like ffmpeg-quality-metrics. If it has a high VMAF score and saved a bunch of space for something that doesn't need to be perfect, then I consider it fine.
-
did I fail at preserving dvds? mpeg2 vs h264 vs av1
ffmpeg-quality-metrics is nice for comparing quality between copies. Better than squinting at pixels IMO.
-
Movie or scene to test out different bitrates and resolutions
If you're re-encoding video then ffmpeg-quality-metrics is a great tool IMO. Can give you a scale from 0-100 of how similar it appears based on SSIM or VMAF. If I get a VMAF in the high 90's, like 95+, then I know the encode is decent and if it saved significant space (if that's the goal?) then it's a keeper.
-
av1an crashing when using vmaf on Windows 10
It's working. I found this [model](https://github.com/slhck/ffmpeg-quality-metrics/blob/master/ffmpeg_quality_metrics/vmaf_models/vmaf_v0.6.1neg.json) with the help of u/Felixkruemel and I specified the vmaf path in av1an using `--vmaf-path=path to the/vmaf/model.json"`
-
How to examine video quality?
Then, after the encode, if you want to compare original vs encoded quality there's ffmpeg-quality-metrics which makes it easy to get VMAF & SSIM scores between the two.
-
If FLAC for audio = Remux for video, what's the video equivalent for 320kbps MP3 when it comes to 1080p Movies/TV shows?
ffmpeg-quality-metrics is a good tool to compare before & after encodes. It can easily calculate VMAF & SSIM scores. If I understand it correctly (I might not), then anything in the high 90s for VMAF is considered hard-pressed to be able to tell. Sometimes it hits 100, which makes me fairly confident about those encodes.
-
High Bitrate
idk. When I did a re-encode with CRF 23 and preset 'veryslow' it went down to 2,236 kb/s. When I do a VMAF and SSIM test with ffmpeg-quality-metrics I was getting decent scores. It takes the file size down to 2.1GB. So my guess is they either set a significantly lower CRF or set a manual bitrate and aimed for the moon.
vidgear
-
Why HTTP/3 is eating the world
My experience that played out over the last few weeks lead me to a similar belief, somewhat. For rather uninteresting reasons I decided I wanted to create mp4 videos of an animation programmatically, from scratch.
The first solution suggested when googling around is to just create all the frames, save them to disk, and then let ffmpeg do its thing from there. I would have just gone with that for a one-off task, but it seems like a pretty bad solution if the video is long, or high res, or both. Plus, what I really wanted was to build something more "scalable/flexible".
Maybe I didn't know the right keywords to search for, but there really didn't seem to be many options for creating frames, piping them straight to an encoder, and writing just the final video file to disk. The only one I found that seemed like it could maybe do it the way I had in mind was VidGear[1] (Python). I had figured that with the popularity of streaming, and video in general on the web, there would be so much more tooling for these sorts of things.
I ended up digging way deeper into this than I had intended, and built myself something on top of Membrane[2] (Elixir)
[1] https://abhitronix.github.io/vidgear/
-
Need help to choose toolchain for setting up a video streaming server on my PC.
I've been googling and reading for a while but I'm very unsure about which tools I need, which tools will help me achieve what I want the easiest way. What about (pylivestream)[https://pypi.org/project/pylivestream/] for example? Will this do the job for me? What about a lower level approach including (pyopencv)[https://pypi.org/project/opencv-python/]? What about a higher level approach using (vidgear)[https://github.com/abhiTronix/vidgear], which seems promising but I don't feel confident in assessing if it's the tool I really need?
-
Which not so well known Python packages do you like to use on a regular basis and why?
Vidgear and new deffcode library are my best. I bet you don't know none of them. But they're pretty awesome when it comes to video-processing and stuff.
-
Deffcode: FFmpeg decoding made easy with python.
Yes, fortunately I already resolved it in my previous(popular) library called vidgearthrough its WriteGear API: https://abhitronix.github.io/vidgear/latest/gears/writegear/compression/overview/
- VidGear Is a High-Performance Video Processing Python Library
- VidGear: Making Video-Processing with Python as easy as pie
-
I created VidGear that makes Video-Processing with Python as easy as can be
Code: https://github.com/abhiTronix/vidgear
- VidGear 0.2.3: Video-Processing with Python as easy as can.
- VidGear – A High-Performance Video Processing Python Framework
What are some alternatives?
Av1an - Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
moviepy - Video editing with Python
vmaf - Perceptual video quality assessment based on multi-method fusion.
scikit-video - Video processing routines for SciPy
video-to-ascii - It is a simple python package to play videos in the terminal using characters as pixels
OpenCV - Open Source Computer Vision Library
ab-av1 - AV1 re-encoding using ffmpeg, svt-av1 & vmaf.
SaveTube - Youtube-dl GUI Wrapper
TikTokBot - A TikTokBot that downloads trending tiktok videos and compiles them using FFmpeg
opencv-steel-darts - Automatic scoring system for steel darts using OpenCV, a Raspberry Pi 3 Model B and two webcams.
NotEnoughAV1Encodes-Qt - Linux GUI for AV1 Encoders
ffmpeg-normalize - Audio Normalization for Python/ffmpeg