当前位置:网站首页>FFmpeg multimedia file processing (FFMPEG logging system)
FFmpeg multimedia file processing (FFMPEG logging system)
2022-08-09 13:47:00 【One Leaf Knows Autumn @qqy】
FFMPEG Logging System
- include
reference ffmpeg header file - av_log_set_level(AV_LOG_DEBUG) Set the ffmpeg log level, the debug level is the lowest level of ffmpeg
- av_log(NULL, AV_LOG_INFO, “…%S\N”, op) Print the log. The first parameter is generally set to NULL, which is ignored first. Later, the second parameter is the log level, and the third parameter is available.Variable parameters, usage is similar to printf.
Common log levels
- AV_LOG_ERROR
- AV_LOG_WARNING
- AV_LOG_INFO
- AV_LOG_DEBUG
The print levels of these are decreasing from top to bottom, that is, ERROR is the highest and DEBUG is the lowest. When set to DEBUG, all logs are printed.
INFO is to print when entering an important link, and INFO is mainly used for output.
DEBUG is used for debugging, see if the value is correct.
WARNING is when the program goes to something it should not go to
ERROR is when the program goes to the wrong branch, and the program affects the runtime
边栏推荐
- 5G China unicom repeater network management protocol real-time requirements
- ctfshow七夕杯2022
- Introduction to Flutter advanced trip Dialog&Toast (10)
- FPGA - Summary of bugs in ISE (in update)
- 如何求最大公约数?
- ARM board adds routing function
- 面试题精选:神奇的斐波那契数列
- leetcode 20. Valid Parentheses 有效的括号(中等)
- R语言kaggle 游戏数据探索与可视化
- WebView注入Js代码实现大图自适应屏幕点击图片预览详情
猜你喜欢
随机推荐
glide工具类的简单封装
透明tune proxy
GIN初探,环境安装
剑指 Offer 57 - II. 和为s的连续正数序列(滑动窗口)
leetcode 20. Valid Parentheses 有效的括号(中等)
SQL Server查询优化 (转载非原创)
十六进制字符→十进制数字
绘制混合密度函数图以及添加分位数线
FPGA-近日工作总结
陈强教授《机器学习及R应用》课程 第十八章作业
Rust from entry to proficient 04 - data types
kustomize入门示例及基本语法使用说明
WSA toolkit installed app store tip doesn't work how to solve?
陈强教授《机器学习及R应用》课程 第十六章作业
The FPGA - work summary recently
Anta and Huawei Sports Health jointly verify the champion running shoes and lead Chinese sports with innovation
基于 R 语言的判别分析介绍与实践 LDA和QDA
第六届“强网杯”全国网络安全挑战赛
CPU-MIPS32 instruction architecture (unlocked pipeline microprocessor)
WSA工具箱安装应用商店提示无法工作怎么解决?