压制720P
ffmpeg -i "input" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=deint=interlaced[v],[0:a]aresample=min_comp=0.05 -map [v] -map 0:a -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
倍帧720P ffmpeg -i "input" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=mode=1:deint=interlaced[v],[0:a]aresample=min_comp=0.05 -map [v] -map 0:a -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
双音轨
ffmpeg -i "input" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=deint=interlaced[v],[0:a:0]aresample=min_comp=0.05[a1],[0:a:1]aresample=min_comp=0.05[a2] -map [v] -map [a1] -map [a2] -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
嵌入DVB字幕
ffmpeg -i "C:\狀王宋世傑#39[粵]_及_新聞檔案[粵].ts" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=deint=interlaced[v],[v][0:s]overlay[v1],[0:a]aresample=min_comp=0.05 -map [v1] -map 0:a -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
处理5烂2为逐行23.97
ffmpeg -i "input" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex fieldmatch=order=tff:combmatch=full,yadif=deint=interlaced,decimate[v],[0:a]aresample=min_comp=0.05 -map [v] -map 0:a -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
保留隔行压制
ffmpeg -i "input" -flags +ilme+ildct -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 3000k -vsync cfr -filter_complex [0:a]aresample=min_comp=0.05 -map 0:v -map 0:a:0 -pix_fmt yuv420p -f mpegts "output.ts"
转为576i
ffmpeg -i "c:/12.ts" -c:v libx264 -flags +ilme+ildct -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=1[v],[v]scale=720*576[v1],[v1]fps=50[v2],[v2]interlace=lowpass=0[v3],[0:a:0]aresample=min_comp=0.05[a1] -map [v3] -map [a1] -pix_fmt yuv420p -f mpegts "output.ts"
ffmpeg -i "input" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=deint=interlaced[v],[0:a]aresample=min_comp=0.05 -map [v] -map 0:a -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
倍帧720P ffmpeg -i "input" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=mode=1:deint=interlaced[v],[0:a]aresample=min_comp=0.05 -map [v] -map 0:a -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
双音轨
ffmpeg -i "input" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=deint=interlaced[v],[0:a:0]aresample=min_comp=0.05[a1],[0:a:1]aresample=min_comp=0.05[a2] -map [v] -map [a1] -map [a2] -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
嵌入DVB字幕
ffmpeg -i "C:\狀王宋世傑#39[粵]_及_新聞檔案[粵].ts" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=deint=interlaced[v],[v][0:s]overlay[v1],[0:a]aresample=min_comp=0.05 -map [v1] -map 0:a -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
处理5烂2为逐行23.97
ffmpeg -i "input" -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex fieldmatch=order=tff:combmatch=full,yadif=deint=interlaced,decimate[v],[0:a]aresample=min_comp=0.05 -map [v] -map 0:a -s 1280*720 -pix_fmt yuv420p -f mpegts "output.ts"
保留隔行压制
ffmpeg -i "input" -flags +ilme+ildct -c:v libx264 -x264opts force-cfr=1:me=hex -c:a aac -b:v 3000k -vsync cfr -filter_complex [0:a]aresample=min_comp=0.05 -map 0:v -map 0:a:0 -pix_fmt yuv420p -f mpegts "output.ts"
转为576i
ffmpeg -i "c:/12.ts" -c:v libx264 -flags +ilme+ildct -x264opts force-cfr=1:me=hex -c:a aac -b:v 2000k -vsync cfr -filter_complex idet,yadif=1[v],[v]scale=720*576[v1],[v1]fps=50[v2],[v2]interlace=lowpass=0[v3],[0:a:0]aresample=min_comp=0.05[a1] -map [v3] -map [a1] -pix_fmt yuv420p -f mpegts "output.ts"