engine youtube-short2 {
enabled on;
perfile {
hwaccel qsv;
hwaccel_output_format qsv;
}
iformat live_flv;
vfilter {
v error;
filter_complex "[0:v]hwdownload,format=nv12,crop=1050:1080:435:0,hwupload,scale_qsv=1080:1112[main];[0:v]hwdownload,format=nv12,crop=593:444:1327:636,hwupload,scale_qsv=1080:808[face];[main][face]vstack_qsv,hwdownload,format=nv12[v]";
map "[v]";
map 0:a;
}
vcodec h264_qsv;
vprofile high;
vpreset medium;
vthreads 0;
vfps 60;
vwidth 1080;
vheight 1920;
vparams {
tune zerolatency;
bufsize 3300k;
b:v 10000k;
minrate 10000k;
maxrate 10000k;
g 120;
}
acodec copy;
oformat flv;
output rtmp://a.rtmp.youtube.com/live2/00000;
}