当前位置:网站首页>[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
边栏推荐
- Global and Chinese market of enterprise wireless LAN 2022-2028: Research Report on technology, participants, trends, market size and share
- AcWing 886. Finding combinatorial number II (pretreatment factorial)
- Simple read / write verification of qdatastream
- Distributed transactions - Solutions
- STM32 expansion board digital tube display
- 复制宝贝提示材质不能为空,如何解决?
- C# wpf 使用DockPanel实现截屏框
- 积分商城游戏能够给商家带来什么?怎么搭建积分商城?
- Detailed explanation of distributed global unique ID solution
- Leetcode522- longest special sequence ii- hash table - String - double pointer
猜你喜欢

Implementation of distributed lock

Manually implement a simple stack

Distributed - summary list
![[data recovery in North Asia] a data recovery case of raid crash caused by hard disk drop during data synchronization of hot spare disk of RAID5 disk array](/img/22/606ff1e8dad3d5896b32d2146b0477.jpg)
[data recovery in North Asia] a data recovery case of raid crash caused by hard disk drop during data synchronization of hot spare disk of RAID5 disk array

How to create a progress bar that changes color according to progress

Distributed transactions - Solutions

Tcp/ip explanation (version 2) notes / 3 link layer / 3.2 Ethernet and IEEE 802 lan/man standards

Single page application

Principle, technology and implementation scheme of data consistency in distributed database

Sqlplus connects using the instance name
随机推荐
JS random verification code
Tcp/ip explanation (version 2) notes / 3 link layer / 3.2 Ethernet and IEEE 802 lan/man standards
printk 调试总结
Unit testing with mongodb
One click deployment of highly available emqx clusters in rainbow
Is there any good website or software for learning programming? [introduction to programming]?
Things generated by busybox
Dynamic verification of new form items in El form; El form verifies that the dynamic form V-IF does not take effect;
Usage and principle of synchronized
Global and Chinese markets of gps/gnss receiver modules 2022-2028: Research Report on technology, participants, trends, market size and share
Introduction to 3D modeling and processing software Liu Ligang University of science and technology of China
Rainbond结合NeuVector实践容器安全管理
0xc000007b应用程序无法正常启动解决方案(亲测有效)
液压滑环的特点讲解
Set集合詳細講解
Global and Chinese market of search engine optimization (SEO) software 2022-2028: Research Report on technology, participants, trends, market size and share
Flutter can refresh data every time the interface comes in
How to select conductive slip ring material
Manually implement a simple stack
AcWing 888. Finding combinatorial number IV (the problem of finding combinatorial number with high precision)