当前位置:网站首页>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
边栏推荐
- 流量焦虑背后是企业对客户关系管理的不足
- Customize VIEW to realize in-app message reminder to rotate up and down
- WSA toolkit installed app store tip doesn't work how to solve?
- LnReader编译
- 5G Unicom Network Management Design Ideas
- Rmarkdown教程
- Redis源码剖析之跳表(skiplist)
- Redis源码剖析之robj(redisObject)
- 如何修改data work上jdbc驱动的版本
- 剑指 Offer 57 - II. 和为s的连续正数序列(滑动窗口)
猜你喜欢
WSA工具箱安装应用商店提示无法工作怎么解决?
快来扔鸡蛋。
[HCIP Continuous Update] Principle and Configuration of IS-IS Protocol
造自己的芯,让谷歌买单!谷歌再度开源 180nm 工艺的芯片
kustomize入门示例及基本语法使用说明
ctfshow七夕杯2022
Flutter Getting Started and Advanced Tour (2) Hello Flutter
5G China unicom 直放站 网管协议 实时性要求
我的2020年终总结
Ten minutes to teach you how to use VitePress to build and deploy a personal blog site
随机推荐
Explanation of RTSP protocol
ftplib+ tqdm upload and download progress bar
剑指offer,剪绳子2
使用RecyclerView实现三级折叠列表
Redis源码剖析之跳表(skiplist)
用场景定义硬件,英码科技破解“边缘计算”密码
glide工具类的简单封装
Simple encapsulation of glide tool class
leetcode 20. Valid Parentheses 有效的括号(中等)
GIN Bind模式获取参数和表单验证
ctfshow七夕杯2022
kustomize entry example and basic syntax instructions
LeetCode 37.解数独
FFmpeg多媒体文件处理(ffmpeg处理流数据的基本概念)
Data Mining-06
WebView注入Js代码实现大图自适应屏幕点击图片预览详情
Rmarkdown教程
Extract EventBus encapsulation to base class using annotations
WSA toolkit installed app store tip doesn't work how to solve?
陈强教授《机器学习及R应用》课程 第十三章作业