Comments (5)
我用的是ffmpeg的mpdecimate滤镜,只是简单地分块比对像素值,精度不是很高,但应该够用,一般情况下不会误删。
非一般的情况,比如固定背景上有一层变动的薄雾,会导致像素值的差在阈值以内,被判定为重复帧而删除。
另外还有最大连续删除帧数的设置,我设为2。
from ddfi-rife.
可以除去一拍三么
from ddfi-rife.
可以除去一拍三么
不做限制的话可以去除任意长度的连续重复帧
from ddfi-rife.
这个除重算法大概是一个什么思路呢(能简单描述下么
from ddfi-rife.
这个除重算法大概是一个什么思路呢(能简单描述下么
这是ffmpeg官方文档里对mpdecimate的解释:https://ffmpeg.org/ffmpeg-filters.html#mpdecimate
至于我新写的那个方法,就是计算某帧与前一帧的ssim以及逐像素差值的绝对值的最大值,ssim就不用说了,加入最大像素差值的判断是为了防止某些细微的变化无法使ssim降到阈值以下而被误删
from ddfi-rife.
Related Issues (8)
- How convert keeping audio? HOT 2
- google colab request HOT 4
- not sure what it tries to achieve
- hello i am not able to execute the commands HOT 2
- does version 1.3.1 use cuda no instead of nncn-Vulkan? librife.dll HOT 1
- "ssim parsing failed, please try again." issue
- Output File Still Has Duplicate Frames HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddfi-rife.