Skip to content
小飞侠
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
菜单

博客

  1. 首页>
  2. 其他>
  3. ffmpeg fails with error “max delay reached. need to consume packet”

ffmpeg fails with error “max delay reached. need to consume packet”

  • Post author:xfxia
  • Post published:2023年10月1日
  • Post category:其他


rtsp服务默认使用udp协议,容易丢包,报这个错误。改为tcp,则解决。

ffmpeg-设置rtsp推流/拉流使用的协议类型(TCP/UDP)(转)

拉流(设置TCP/UDP)

//设置参数
AVDictionary *format_opts = NULL;
av_dict_set(&format_opts, "stimeout", std::to_string( 2* 1000000).c_str(), 0); //设置链接超时时间(us)
av_dict_set(&format_opts, "rtsp_transport&


你可能也喜欢

FPGA学习之 RAM

2万字揭秘阿里巴巴数据治理平台建设经验

跟着Cell学单细胞转录组分析(六):细胞比例计算及可视化

desync technique

STM32F103基础(寄存器)——(2)外部中断控制LED灯

同步与异步

idea mapper.xml文件中的 resultMap property=’字段名’ 标红

拥有创造力的程序员究竟有多吃香?不要跟年轻人比学习!

nginx如何解决超长请求串

SpringBoot入门

Android的五种布局

What are those AIX fcstat error numbers all about?

Appium中 setCapability的各种方法

AtCoder Beginner Contest 261 (ABC 261) B~F 题解

ai-writer.com第二轮测试: AI根据标题智能写作测试

servlet详解

Android ADT 默认的模拟器内存调整

如何安装vagrant虚拟机

InvalidStorage.NotFound The StorageLocation does not exist.报错的解决方法

JS中数组方法map()的亿点点使用细节

目录

  • APICloud (3)
  • golang (228)
  • java (8,236)
  • linux (4,002)
  • mysql (2,800)
  • php (1,070)
  • python (5,439)
  • solidity (25)
  • uniapp (235)
  • vue (2,463)
  • 其他 (88,233)
  • 小程序 (801)

文章归档

  • 2023年十二月 (1872)
  • 2023年十一月 (477)
  • 2023年十月 (17371)
  • 2023年九月 (44974)
  • 2023年八月 (26399)
  • 2023年七月 (14793)
  • 2023年六月 (1)
  • 2023年五月 (2186)
  • 2023年四月 (3838)
  • 2023年三月 (1544)
  • 2023年二月 (3)
  • 2023年一月 (4)
  • 2022年十二月 (3)
  • 2022年十一月 (36)
  • 2022年十月 (16)
  • 2022年九月 (8)
  • 2021年九月 (1)
  • 2020年九月 (6)
  • 2020年八月 (5)

标签

Aave (1) cosmos (6) defi (255) flag (27) gitee (1) github (1) golang (234) java (8234) linux命令 (82) List (1) map (1115) mysql (3093) npm (237) tendermint (6) uuid (43) vant (64) vmware (270) 区块链 (63) 合约 (37) 小程序版本更新 (3)
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
Copyright xfxia.com 鲁ICP备19024253号-2
关闭菜单