欧卡2中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

需要三步,才能开始

只需两步,慢速开始

欧卡2入门方向盘选莱仕达V9莱仕达折叠便携游戏方向盘支架欢迎地图Mod入驻
查看: 1081|回复: 0
收起左侧

[其他] ffmpeg concat produces DTS out of order errors

[复制链接]
知行 发表于 2023-4-14 18:34 | 显示全部楼层 |阅读模式

ffmpeg concat产生如下报错

[concat @ 0x7fee11822a00] DTS 0 < 2500 out of order
[webm @ 0x7fee11011000] Non-monotonous DTS in output stream 0:0; previous: 2500, current: 0; changing to 2500. This may result in incorrect timestamps in the output file.

解决方案:

视频文件需要有相同的编码,fps, tbn等参数,可以考虑如下命令:

ffmpeg.exe -hwaccel cuvid -hwaccel_output_format cuda -resize 2560x1440 -vcodec h264_cuvid -i $video -vcodec h264_nvenc -b:v 10000k -acodec copy -video_track_timescale 15360 -vf fps=60 $DEST/$video-2k.mp4

参考资料:https://stackoverflow.com/questions/31691943/ffmpeg-concat-produces-dts-out-of-order-errors

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系我们|手机版|欧卡2中国 ( 湘ICP备11020288号-1 )

GMT+8, 2024-5-14 19:21 , Processed in 0.035133 second(s), 9 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表