Skip to content

Commit

Permalink
Run scale filters on EU instead fixed-function (5ms -> 0.5ms filter t…
Browse files Browse the repository at this point in the history
…ime) (#3)
  • Loading branch information
tjanczak authored Dec 6, 2023
1 parent d3bfbec commit 0496616
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test_scripts/docker_multiviewer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ docker run -it \
-framerate 50 -pixel_format yuv422p10le -width 3840 -height 2160 -port $NIC_PORT -local_addr $LOCAL_IP_ADDRESS -src_addr $SOURCE_IP_ADDRESS -udp_port 20002 -total_sessions 4 -ext_frames_mode 1 -f kahawai -i "2" \
-framerate 50 -pixel_format yuv422p10le -width 3840 -height 2160 -port $NIC_PORT -local_addr $LOCAL_IP_ADDRESS -src_addr $SOURCE_IP_ADDRESS -udp_port 20003 -total_sessions 4 -ext_frames_mode 1 -f kahawai -i "3" \
-filter_complex "\
[0:v]hwupload=extra_hw_frames=4,scale_qsv=w=iw/2:h=ih/2[tile0];\
[1:v]hwupload,scale_qsv=w=iw/2:h=ih/2[tile1];\
[2:v]hwupload,scale_qsv=w=iw/2:h=ih/2[tile2];\
[3:v]hwupload,scale_qsv=w=iw/2:h=ih/2[tile3];\
[0:v]hwupload=extra_hw_frames=4,scale_qsv=w=iw/2:h=ih/2:mode=compute[tile0];\
[1:v]hwupload,scale_qsv=w=iw/2:h=ih/2:mode=compute[tile1];\
[2:v]hwupload,scale_qsv=w=iw/2:h=ih/2:mode=compute[tile2];\
[3:v]hwupload,scale_qsv=w=iw/2:h=ih/2:mode=compute[tile3];\
[tile0][tile1][tile2][tile3]xstack_qsv=inputs=4:layout=0_0|0_h0|w0_0|w0_h0[out];\
[out]hwdownload,format=y210[multiview]" \
-map "[multiview]" -f rawvideo -pix_fmt y210le /config/out_y210le.yuv

0 comments on commit 0496616

Please sign in to comment.