![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
video
weimeitiankong980
这个作者很懒,什么都没留下…
展开
-
ffmpeg的使用
1. 缩放frameffmpeg -i input.h264 -vf scale=w=width:h=height output.h264 (tmp.h264)2. 截取videoffmpeg -i input.h264 -ss 00:00:00.991 -t 1.1 -c:v copy output.h264-ss 为起始时间-t 为持续时间3. 合并videoffmpeg -i concat:"video1.h264|video2.h264" -c copy output.h原创 2022-02-17 19:05:33 · 1280 阅读 · 0 评论 -
视频码流的认知
1.概念ES: element stream, 基本流,即NAL裸流,无时戳信息,可以在sps和pps中看到粗略的帧率信息。可使用eseys_u等软件进行解析。TS: transmission stream, 传输流,可根据协议对裸流进行打包PS: present stream, 呈现流,打包后的播放流。dts: decode timestamp 解码时戳pts: present timestamp 呈现时戳2. 裸流播放感觉有加速现象的原因?裸流在编码过程后能够区分帧与帧,原创 2022-01-25 11:09:52 · 3012 阅读 · 0 评论