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" -vcodec
libx265 -b 100000 -preset fast -x265-params keyint=8:bframes=0 out.hevc
-y
ffmpeg -i out.hevc -pixel_format yuv420p out265.yuv -y
ffmpeg -pixel_format yuv420p -framerate 30 -s 704x576 -i D:\seq\girl_D1_3500.yuv -vframes 500 -vcodec libx265 -b:v 250000 -x265-params keyint=8:bframes=0:fps=30:preset=ultrafast out.hevc -y -report
dshow采集:
ffmpeg -f dshow -video_size 800x600 -framerate 20 -pixel_format yuyv422 -i video="HD 720P Webcam" -vf "format=pix_fmts=yuv420p,scale=704:576,fps=fps=30" out.yuv -y
后缀名:
ffmpeg.exe -decoders>decoders.txt
VFS..D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
VFS..D hevc
HEVC (High Efficiency Video Coding)
264码流使用.h264 ,265 码流使用.hevc
原文:http://www.cnblogs.com/mlj318/p/3781591.html