ffmpeg之vsync、async
来源:互联网 发布:数据库自然连接 编辑:程序博客网 时间:2024/06/07 23:49
-vsync parameter
Video sync method. For compatibility reasons old values can be specified as numbers. Newly added values will have to be specified as strings always.
- 0, passthrough
Each frame is passed with its timestamp from the demuxer to the muxer.
- 1, cfr
Frames will be duplicated and dropped to achieve exactly the requested constant frame rate.
- 2, vfr
Frames are passed through with their timestamp or dropped so as to prevent 2 frames from having the same timestamp.
- drop
As passthrough but destroys all timestamps, making the muxer generate fresh timestamps based on frame-rate.
- -1, auto
Chooses between 1 and 2 depending on muxer capabilities. This is the default method.
Note that the timestamps may be further modified by the muxer, after this. For example, in the case that the format option avoid_negative_ts is enabled.
With -map you can select from which stream the timestamps should be taken. You can leave either video or audio unchanged and sync the remaining stream(s) to the unchanged one.
Audio sync method. "Stretches/squeezes" the audio stream to match the timestamps, the parameter is the maximum samples per second by which the audio is changed. -async 1 is a special case where only the start of the audio stream is corrected without any later correction.
Note that the timestamps may be further modified by the muxer, after this. For example, in the case that the format option avoid_negative_ts is enabled.
This option has been deprecated. Use the aresample
audio filter instead.
- ffmpeg之vsync、async
- 【Android】Android SurfaceFlinger之VSync
- vs2010之Async一瞥
- libuv之async使用
- Android之Async-http
- vs2010之Async一瞥
- nodeJS之async
- 13、ES6 之async
- nodejs之async,await
- ajax之async属性
- GUI系统之SurfaceFlinger(13)VSync信号的处理
- GUI系统之SurfaceFlinger(13)VSync信号的处理
- android display之VSync和线程处理关系
- Unity优化大全(五)之CPU- VSync Count
- Unity优化大全(五)之CPU- VSync Count
- Unity优化大全(四)之CPU- VSync Count
- Android SurfaceFlinger 学习之路(五)----VSync 工作原理
- nodejs之async异步编程
- 主流开发语言和开发环境
- MNIST基础手写体识别 tensorflow+Python
- Quartus II 中常见Warning 原因及解决方法
- Ubuntu 设置 wifi 无线热点
- php处理中英文字符串用法
- ffmpeg之vsync、async
- mysql5.6 二进制包安装 centOS6.8
- maven搭建nexus私服
- [Err] 1235 - This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'
- HTTP协议
- HTTP协议
- 推荐系统:标签兴趣计算
- 【英语】--动起来的英语进度
- idea快捷键一点记录