测测你的电脑视频压缩

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/mao0514/article/details/85014362
@echo off
del test.h264
echo 现在时间是%time:~0,2%点%time:~3,2%分%time:~6,2%秒
set time1=%time:~0,2%%time:~3,2%%time:~6,2%
::软压缩
::ffmpeg.exe -i  baumer_video0002.avi test.h264 
::硬压缩
ffmpeg.exe -re -i  baumer_video0002.avi -c:v h264_qsv test.h264
echo 现在时间是%time:~0,2%点%time:~3,2%分%time:~6,2%秒
set time2=%time:~0,2%%time:~3,2%%time:~6,2%
set /a time3=%time2%-%time1%
echo 压缩yuv420p 1024*1024 500帧 耗时:%time3%秒
pause

 

猜你喜欢

转载自blog.csdn.net/mao0514/article/details/85014362
0条评论
添加一条新回复