随笔分类 - FFmpeg
摘要:ffmpeg.exe -i abc.mov -c copy out.avi-c copy : 设置编码格式为原来的格式-c:v mjpeg :设置编码器格式为mjpeg-an :丢弃音频数据-vn :丢弃视频数据-ss t1 -t t2 : 剪辑视频生成ts文件ffmpeg -i ...
阅读全文
摘要:pts单位:1/90 ms(每个单位代表1/90 ms) RTP包头有个STAMP对于视频 STAMP/90 就是 PTS (毫秒)对于音频 STAMP/samplerate * 1000 才是 GetTickCount:ms
阅读全文
摘要:int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options) { AVF...
阅读全文