编码器命令

-log /var/log/transcode_2.log -loglevel verbose -stats -y -vsync 1 -async 1 -telnet_port 1702 -discontinuity_exit -discontinuity_threshold 10 -f mosaic -v_stream 1 -video_size 960x540 -framerate 25 -pixel_format yuv420p -a_stream 1 -i 2_1 -f mosaic -v_stream 1 -video_size 960x540 -framerate 25 -pixel_format yuv420p -a_stream 1 -i 2_2 -f mosaic -v_stream 1 -video_size 960x540 -framerate 25 -pixel_format yuv420p -a_stream 1 -i 2_3 -f mosaic -v_stream 1 -video_size 960x540 -framerate 25 -pixel_format yuv420p -a_stream 1 -i 2_4 -filter_complex [0:v]setpts=PTS-STARTPTS[v_0];[1:v]setpts=PTS-STARTPTS[v_1];[2:v]setpts=PTS-STARTPTS[v_2];[3:v]setpts=PTS-STARTPTS[v_3];[v_0][v_1][v_2][v_3]xstack=4:layout=0_0|960_0|0_540|960_540|1920_1080[xstack_out] -8x8dct 1 -profile:v high -level 40 -bufsize 6000000 -minrate 8000000 -maxrate 8000000 -rc_init_occupancy 7200000 -bt 800000 -aud 1 -mbtree 0 -mixed-refs 0 -fast-pskip 1 -vflags +cgop -b_strategy 1 -b-bias 12 -trellis 0 -bidir_refine 0 -vflags +loop -deblock -2:-2 -cmp chroma -psy 0 -weightb 0 -weightp 2 -b-pyramid 0 -subq 4 -coder 1 -qcomp 0.01 -direct-pred auto -aq-strength 0.8 -i_qfactor 0.7 -b_qfactor 1.2 -nr 0 -x264opts chroma_qp_offset=12:ipratio=1.40:pbratio=1.20 -r 25 -b:v 8000000 -rc-lookahead 4 -g 50 -keyint_min 5 -bf 3 -refs 2 -mbd 0 -me_method dia -me_range 12 -sc_threshold 40 -qmax 50 -qmin 13 -qdiff 4 -vcodec libx264 -map [xstack_out] -b:a:0 96k -ar:a:0 48000 -ac:a:0 2 -codec:a:0 libmp3lame -map 0:a:0 -b:a:0 96k -ar:a:0 48000 -ac:a:0 2 -codec:a:0 libmp3lame -map 1:a:0 -b:a:0 96k -ar:a:0 48000 -ac:a:0 2 -codec:a:0 libmp3lame -map 2:a:0 -b:a:0 96k -ar:a:0 48000 -ac:a:0 2 -codec:a:0 libmp3lame -map 3:a:0 -ts_retain_pid 0 -f mpegts /usr/local/yckj/tmp/transcode_out_fifo_2

posted @ 2020-11-26 11:48  虾兵  阅读(134)  评论(0编辑  收藏  举报