![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
FFmpeg
逆风了我
乐于奉献
展开
-
FFmepg之获取流信息(ffprobe)
ffprobe -show_frames -select_streams v /data/test1s.mp4原创 2022-04-08 16:38:28 · 163 阅读 · 0 评论 -
FFmpeg之抽帧抓图
ffmpeg -i 666051400.mp4 -vf "select=eq(pict_type\,I)" -vsync vfr -qscale:v 2 -f image2 ./%08d.jpg原创 2022-04-08 16:36:46 · 2360 阅读 · 0 评论 -
FFmpeg转码B帧
三种方法此去除B帧的方法只适用于采用 libx264 编码器编码的视频引用链接:ffmpeg x264 选项指南第一种参数中加 -bf 0ffmpeg -i test.mp4 -vcodec libx264 -bf 0 test-640x480.h2641ffmpeg -i test.mp4 -vcodec libx264 -x264opts "bframes=0" test-640x480.h2641第三种参数中加 -profile:v baselineffmpeg原创 2022-03-31 16:56:25 · 2911 阅读 · 0 评论 -
FFMPEG解码错误:No start code is found,Error splitting the input into NAL units.解决办法。
错误[h264 @ 000001549d341740] No start code is found.[h264 @ 000001549d341740] Error splitting the input into NAL units.方法添加avcodec_parameters_to_context(vctx, ifmt->streams[video_index]->codecpar);原创 2022-03-31 12:04:06 · 3652 阅读 · 2 评论