随笔分类 - ffmpeg
摘要:x265: ffmpeg -f dshow -video_size 352x288 -framerate 30 -pixel_format yuyv422 -i video="USB2.0 Camera" -vf "format=pix_fmts=yuv420p,scale=352:288" -vc
阅读全文
摘要:ret = avcodec_encode_video2(c, &pkt, frame, &got_output); 编码开始后,等过了30多帧才会得到码流,got_output才有输出,之后就是每编码一帧都有输出。 导致接收端解码延迟了好几秒。 办法: Low Latency libx264 off
阅读全文
摘要:c->profile =FF_PROFILE_H264_MAIN ; FFmpeg and x264 Encoding Guide 参数说明:http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide preset 与编码速度和质量相关 av_opt_s
阅读全文
摘要:输出的avs码流是.cavs格式的。 编码:ffmpeg -s 640x480 -i test.yuv -b 300k -vcodec libxavs test.cavs 解码:ffmpeg -i test.cavs test.yuv http://xavs.sourceforge.net/xavs
阅读全文
摘要:最大支持的图像大小,sws_getContext 源码中: #define VOFW 2048 http://ffmpeg.org/doxygen/0.6/libswscale_2utils_8c-source.html#l00782
阅读全文