ffmpeg视频滤镜:替换部分帧-freezeframes

滤镜描述

freezeframes

官网地址 => FFmpeg Filters Documentation

这个滤镜接收两个输入,然后会将第一个视频中的部分帧替换为第二个视频的某一帧。

滤镜使用

参数

复制代码
freezeframes AVOptions:
   first             <int64>      ..FV....... set first frame to freeze (from 0 to I64_MAX) (default 0)
   last              <int64>      ..FV....... set last frame to freeze (from 0 to I64_MAX) (default 0)
   replace           <int64>      ..FV....... set frame to replace (from 0 to I64_MAX) (default 0)
  • first和last, 将first和last之间的帧替换

  • replace,从第二个视频中取第replace帧,填充到第一个视频的first和last之间

    ffmpeg -i ffm_media/gee_short.mp4 -i ffm_media/short_dancer.mp4 -filter_complex "freezeframes=first=30:last=60:replace=10" result/freezeframes/freezeframes_test_01.mp4

复制代码
## 祝你好运
 
hope("大神多多指点")
topic("有问题可以交流呀")
concat("球", "球" ," QUN", "61480", "9646")
include("学习","=", "用的","书")

相关推荐
wearegogog12311 分钟前
基于块匹配的MATLAB视频去抖动算法
算法·matlab·音视频
aqi007 小时前
FFmpeg开发笔记(八十二)使用国产直播服务器smart_rtmpd执行推流操作
ffmpeg·音视频·直播·流媒体
hazy1k11 小时前
K230基础-录放音频
人工智能·stm32·单片机·嵌入式硬件·音视频·k230
西瓜er21 小时前
JAVA:Spring Boot 集成 FFmpeg 实现多媒体处理
java·spring boot·ffmpeg
小美哥13141 天前
格式工厂转换视频很慢、Pr视频剪辑导出很慢的优化设置(就用显卡的默认设置即可)
音视频·格式工厂
宠友信息1 天前
仿小红书短视频APP源码:Java微服务版支持小程序编译的技术解析
java·微服务·音视频
QMCY_jason1 天前
ubuntu 24.04 FFmpeg编译 带Nvidia 加速记录
linux·ubuntu·ffmpeg
bylander1 天前
【论文阅读】通义实验室,VACE: All-in-One Video Creation and Editing
论文阅读·人工智能·计算机视觉·音视频
Black蜡笔小新1 天前
破解工地防盗难题:如何利用EasyCVR实现视频监控统一管理?
运维·音视频
eqwaak01 天前
动态图表导出与视频生成:精通Matplotlib Animation与FFmpeg
开发语言·python·ffmpeg·音视频·matplotlib