请问x264的裁边指令是什么?
dwing吧
全部回复
仅看楼主
level 5
有个屏录视频,想裁边二压,求助~谢谢~
2013年12月27日 05点12分 1
level 12
--vf, --video-filter <filter0>/<filter1>/... Apply video filtering to the input file
Filter options may be specified in <filter>:<option>=<value> format.
crop:left,top,right,bottom
removes pixels from the edges of the frame
大概--vf crop:left=20,top=20 这样子吧
2013年12月27日 12点12分 2
我试试,谢谢~
2013年12月27日 13点12分
--vf crop:16,0,16,0
2013年12月27日 22点12分
level 5
如果是黑边有一键avs脚本,可以尝试使用
2014年01月01日 06点01分 3
就是不想用AVS才来问的,已经弄好了,谢谢~
2014年01月03日 15点01分
level 9
ffmpeg autocrop
@echo off & cd/d "%~dp0
ffmpeg -i blu_ray.m2ts -vf cropdetect=40:2:0 -f null - 2>cropdetect.txt
for /f "eol=# delims=" %%a in ('type cropdetect.txt^|findstr /i "Parsed_cropdetect"') do set str=%%a
for /f "tokens=14 delims= " %%a in ("%str%") do set crop=%%a
ffmpeg -i blu_ray.m2ts -vf "%crop%,scale='1280:trunc((1280/dar)/16+0.5)*16',setsar='sar=1/1'" -c:v libx264 -c:a copy -c:s copy output.mkv
pause
2014年01月04日 00点01分 4
1