关于ffmpeg出现Application provided invalid, non monotonically increasing dts to muxe

armarker 2017-01-10 07:48:19
mark@ubuntu:~/onvif/New_rtsp$ ./rtsp
Input #0, rtsp, from 'rtsp://admin:123456@192.168.1.95:554/mpeg4':
Metadata:
title : RTSP/RTP stream from Network Video Server
comment : mpeg4
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc, progressive), 1920x1080, 30 fps, 30 tbr, 90k tbn, 60 tbc
Stream #0:1: Audio: aac (LC), 16000 Hz, stereo, fltp
Output #0, avi, to 'receive.avi':
Stream #0:0: Unknown: none
Stream #0:1: Unknown: none
[avi @ 0x92ec4c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x92ec4c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[avi @ 0x92ec4c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
[avi @ 0x92ec4c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Receive 0 video frames from input URL
Receive 1 video frames from input URL
[avi @ 0x92ec4c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 15 >= 2
Error muxing packet
Error occurred.
mark@ubuntu:~/onvif/New_rtsp$ vi Makefile
...全文
3931 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
童政通 2021-01-14
  • 打赏
  • 举报
回复
叫他把,视频源时间戳重新打包下,就能解决~~~
童政通 2021-01-06
  • 打赏
  • 举报
回复
应该是视频推流的问题,他的时间戳出现了问题,后一帧的时间戳小于前面一帧就会出现这个错误,叫推流的哥们改下代码!检查下时间轴。因为ffpege机制就是这样,必须满足标准的时间戳格式,不然没得用
童政通 2021-01-06
  • 打赏
  • 举报
回复 1
我遇到同样的错误
slmax1 2019-09-30
  • 打赏
  • 举报
回复
估计外面也有很多同学会因为这个错误搜索到这里的. 我也出现了这个问题. 通过调查好像是源视频的时间戳出了问题.后续帧的时间戳小于前面的时间戳.就会出现这个错误. 希望能够帮到后面的人.
armarker 2017-01-10
  • 打赏
  • 举报
回复 1
为什么总是出现这个问题。。是摄像机的帧率还是ffmpeg检测的问题,看到网上是把那段代码注释掉了。。。

2,543

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 多媒体/流媒体开发
社区管理员
  • 多媒体/流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧