当前位置:网站首页>[ffmpeg] [reprint] image mosaic: picture in picture with wheat
[ffmpeg] [reprint] image mosaic: picture in picture with wheat
2022-07-01 05:23:00 【Better go against the wind than wait for the wind to come】
- The so-called picture in picture is to play another smaller video in one video . Lianmai is a product form of interactive live broadcast , It was during the live broadcast of the anchor , The audience initiates the connection , Other viewers can see the picture of connected viewers in the lower right corner of the anchor picture , Hear the voice of the anchor and the connected audience at the same time .
Reprint the great God tutorial
Experimental material :
ad_inner.mp4: The resolution is only 180x120, It must be smaller than the video outside , Otherwise, you can't see two
ad_BQ.mp4: The resolution is 720x480
Picture in picture will appear in the upper left corner
ffmpeg -i ad_BQ.mp4 -vf "movie=ad_inner.mp4[inner]; [in][inner] overlay [out]" -y ad_merge.mp4
The lower right corner
- ffmpeg -i ad_BQ.mp4 -vf “movie=ad_inner.mp4 [lianmai]; [in][lianmai] overlay=main_w-overlay_w-20:main_h-overlay_h-20 [out]” ad_BQ_lianmai.mp4 -y
Left right merger
- Input :left.mp4 and right.mp4 Two videos Output :sidebyside.mp4
- ffmpeg -i left.mp4 -i right.mp4 -filter_complex “[0:v][1:v]hstack=inputs=2[v]; [0:a][1:a]amerge[a]” -map “[v]” -map “[a]” -ac 2 sidebyside.mp4
边栏推荐
- C# wpf 使用DockPanel实现截屏框
- Global and Chinese markets of gps/gnss receiver modules 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market for instant messaging security and compliance solutions 2022-2028: Research Report on technology, participants, trends, market size and share
- QT waiting box production
- 了解 JVM 中几个相关问题 — JVM 内存布局、类加载机制、垃圾回收
- el-form表单新增表单项动态校验;el-form校验动态表单v-if不生效;
- Rainbow combines neuvector to practice container safety management
- 0xc000007b the application cannot start the solution normally (the pro test is valid)
- El cascade echo failed; El cascader does not echo
- Global and Chinese market of 3D design and modeling software 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

Data consistency between redis and database

LevelDB源码分析之memtable

LeetCode1497-检查数组对是否可以被 k 整除-数组-哈希表-计数

Copier le matériel de conseils de bébé ne peut pas être vide, comment résoudre?

Detailed explanation of distributed global unique ID solution

And search: the suspects (find the number of people related to the nth person)

LRU cache for leveldb source code analysis

Mathematical knowledge: finding the number of divisors

Use and principle of Park unpark

How to traverse massive data in redis
随机推荐
导电滑环使用的注意事项
Fluentd is easy to use. Combined with the rainbow plug-in market, log collection is faster
如何选择导电滑环材料
Youqitong [vip] v3.7.2022.0106 official January 22 Edition
Simple read / write verification of qdatastream
Set集合詳細講解
Worried about infringement? Must share copyrightless materials on the website. Don't worry about the lack of materials for video clips
Actual combat: gateway api-2022.2.13
AcWing 888. Finding combinatorial number IV (the problem of finding combinatorial number with high precision)
Flutter can refresh data every time the interface comes in
[NLP Li Hongyi] notes
Global and Chinese market of enterprise wireless LAN 2022-2028: Research Report on technology, participants, trends, market size and share
Implementation of distributed lock
Set集合详细讲解
Use and principle of reentrantlock
Intelligent operation and maintenance: visual management system based on BIM Technology
Global and Chinese market of paper machine systems 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets for soft ferrite cores 2022-2028: Research Report on technology, participants, trends, market size and share
FileOutPutStream
How to meet the requirements of source code confidentiality and source code security management