logai=6
simple_ai_bind_aenc&
sleep 5
killall simple_ai_bind_aenc
checkmd5sum /tmp/aenc.g726
simple_ai_bind_aenc -r 8000 -t g711a -o /tmp/8k_aenc.g711a&
sleep 5
killall simple_ai_bind_aenc
checkmd5sum /tmp/8k_aenc.g711a
simple_ai_bind_aenc -r 16000 -t g711u -o /tmp/16k_aenc.g711u&
sleep 5
killall simple_ai_bind_aenc
checkmd5sum /tmp/16k_aenc.g711u

simple_adec_bind_ao -r 8000 -t g726 -c 1 -i /tmp/simple/output/_simple_ai_bind_aenc.bin
simple_adec_bind_ao -r 8000 -t g711a -c 1 -i /tmp/simple/output/_simple_ai_bind_aenc_-r_8000_-t_g711a_-o__tmp_8k_aenc_g711a.bin
simple_adec_bind_ao -r 16000 -t g711u -c 1 -i /tmp/simple/output/_simple_ai_bind_aenc_-r_16000_-t_g711u_-o__tmp_16k_aenc_g711u.bin

logai=6
simple_ai_get_frame&
sleep 1
killall simple_ai_get_frame
checkmd5sum /tmp/ai.pcm
simple_ai_get_frame -r 16000 -R 16000 -v 1 -o /data/ai.pcm&
sleep 1
killall simple_ai_get_frame
checkmd5sum /data/ai.pcm
simple_ai_get_frame -r 16000 -R 16000 -v 0 -o /data/ai.pcm&
sleep 1
killall simple_ai_get_frame
checkmd5sum /data/ai.pcm
simple_ai_get_frame -r 8000 -R 16000 -b 0 -v 1 -o /data/ai.pcm&
sleep 1
killall simple_ai_get_frame
checkmd5sum /data/ai.pcm
simple_ai_get_frame -r 8000 -R 16000 -b 0 -v 0 -o /data/ai.pcm&
sleep 1
killall simple_ai_get_frame
checkmd5sum /data/ai.pcm
simple_ai_get_frame -r 16000 -R 8000 -v 1 -o /data/ai.pcm&
sleep 1
killall simple_ai_get_frame
checkmd5sum /data/ai.pcm
simple_ai_get_frame -r 16000 -R 8000 -v 0 -o /data/ai.pcm&
sleep 1
killall simple_ai_get_frame
checkmd5sum /data/ai.pcm
simple_ai_get_frame -r 8000 -R 8000 -b 0 -v 1 -o /data/ai.pcm&
sleep 1
killall simple_ai_get_frame
checkmd5sum /data/ai.pcm
simple_ai_get_frame -r 8000 -R 8000 -b 0 -v 0 -o /data/ai.pcm&
sleep 1
killall simple_ai_get_frame
checkmd5sum /data/ai.pcm

logao=6
simple_ao_send_frame -r 8000 -R 8000 -i /tmp/simple/output/_simple_ai_get_frame_-r_8000_-R_16000_-b_0_-v_1_-o__data_ai_pcm.bin
simple_ao_send_frame -r 16000 -R 8000 -i /tmp/simple/output/_simple_ai_get_frame_-r_8000_-R_16000_-b_0_-v_1_-o__data_ai_pcm.bin
simple_ao_send_frame -r 16000 -R 8000 -v 2 -i /tmp/simple/output/_simple_ai_get_frame_-r_8000_-R_16000_-b_0_-v_1_-o__data_ai_pcm.bin

logvi=6
simple_vi_get_frame&
sleep 1
killall simple_vi_get_frame
sleep 1
simple_vi_get_frame -I 0 -w 1920 -h 1080 -c 10 -o 1
checkmd5sum /data/test_0.yuv
simple_vi_get_frame -I 0 -w 320 -h 240 -c 10 -o 1
checkmd5sum /data/test_0.yuv
simple_vi_get_frame -I 1 -w 1920 -h 1080 -c 10 -o 1
checkmd5sum /data/test_1.yuv
simple_vi_get_frame -I 1 -w 320 -h 240 -c 10 -o 1
checkmd5sum /data/test_1.yuv
simple_vi_get_frame -I 2 -w 1920 -h 1080 -c 10 -o 1
checkmd5sum /data/test_2.yuv
simple_vi_get_frame -I 2 -w 320 -h 240 -c 10 -o 1
checkmd5sum /data/test_2.yuv

simple_vi_get_frame_rkaiq&
sleep 1
killall simple_vi_get_frame_rkaiq
sleep 1
simple_vi_get_frame_rkaiq -I 0 -w 1920 -h 1080 -c 10 -o 1
checkmd5sum /data/test_0.yuv
simple_vi_get_frame_rkaiq -I 0 -w 320 -h 240 -c 10 -o 1
checkmd5sum /data/test_0.yuv
simple_vi_get_frame_rkaiq -I 1 -w 1920 -h 1080 -c 10 -o 1
checkmd5sum /data/test_1.yuv
simple_vi_get_frame_rkaiq -I 1 -w 320 -h 240 -c 10 -o 1
checkmd5sum /data/test_1.yuv
simple_vi_get_frame_rkaiq -I 2 -w 1920 -h 1080 -c 10 -o 1
checkmd5sum /data/test_2.yuv
simple_vi_get_frame_rkaiq -I 2 -w 320 -h 240 -c 10 -o 1
checkmd5sum /data/test_2.yuv
simple_vi_get_frame_rkaiq -I 0 -w 1920 -h 1080 -c 10 -o 1 -d 1
checkmd5sum /data/test_0.yuv
simple_vi_get_frame_rkaiq -I 0 -w 1920 -h 1080 -c 10 -o 1 -m 1
checkmd5sum /data/test_0.yuv

simple_vi_get_frame_tde -a /etc/iqfiles -w 1920 -h 1080 -l 10 -o /tmp
checkmd5sum /tmp/tde_out.bin

simple_vi_get_frame_send_vo -w 1920 -h 1080 -I 0 -l 0 -d 0&
sleep 1
killall simple_vi_get_frame_send_vo
sleep 1
logivs=6
simple_vi_bind_ivs&
sleep 1
killall simple_vi_bind_ivs
sleep 1
simple_vi_bind_ivs -I 0 -w 1920 -h 1080 -A 0 -S 2&
sleep 1
killall simple_vi_bind_ivs
sleep 1
simple_vi_bind_ivs -I 0 -w 1920 -h 1080 -A 1 -S 2&
sleep 1
killall simple_vi_bind_ivs
sleep 1
simple_vi_bind_ivs -I 0 -w 1920 -h 1080 -A 1 -S 0&
sleep 1
killall simple_vi_bind_ivs
sleep 1
simple_vi_bind_ivs -I 0 -w 1920 -h 1080 -A 1 -S 1&
sleep 1
killall simple_vi_bind_ivs
sleep 1
simple_vi_bind_ivs -I 0 -w 1920 -h 1080 -A 1 -S 3&
sleep 1
killall simple_vi_bind_ivs
sleep 1
simple_vi_bind_ivs -I 0 -w 1920 -h 1080 -A 1 -S 4&
sleep 1
killall simple_vi_bind_ivs
sleep 1
logvenc=6
simple_vi_bind_venc&
sleep 1
killall simple_vi_bind_venc
sleep 1
simple_vi_bind_venc -I 0 -w 1920 -h 1080 -c 30 -e h265 -o /tmp/venc.h265
checkmd5sum /tmp/venc.h265
simple_vi_bind_venc -I 0 -w 1920 -h 1080 -c 30 -e mjpeg -o /tmp/venc.mjpeg
checkmd5sum /tmp/venc.mjpeg
simple_vi_bind_venc -I 0 -w 320 -h 240 -c 30 -e h265 -o /tmp/venc.h265
checkmd5sum /tmp/venc.h265
simple_vi_bind_venc -I 0 -w 320 -h 240 -c 30 -e mjpeg -o /tmp/venc.mjpeg
checkmd5sum /tmp/venc.mjpeg
simple_vi_bind_venc -I 0 -w 320 -h 240 -c 30 -e h264 -o /tmp/venc.h264
checkmd5sum /tmp/venc.h264

simple_vi_bind_vpss_bind_venc&
sleep 1
killall simple_vi_bind_vpss_bind_venc
sleep 1
simple_vi_bind_vpss_bind_venc -I 0 -w 1920 -h 1080 -c 30 -e h265 -o /tmp/venc.h265
checkmd5sum /tmp/venc.h265
simple_vi_bind_vpss_bind_venc -I 0 -w 1920 -h 1080 -c 30 -e mjpeg -o /tmp/venc.mjpeg
checkmd5sum /tmp/venc.mjpeg
simple_vi_bind_vpss_bind_venc -I 0 -w 320 -h 240 -c 30 -e h265 -o /tmp/venc.h265
checkmd5sum /tmp/venc.h265
simple_vi_bind_vpss_bind_venc -I 0 -w 320 -h 240 -c 30 -e mjpeg -o /tmp/venc.mjpeg
checkmd5sum /tmp/venc.mjpeg
simple_vi_bind_vpss_bind_venc -I 0 -w 320 -h 240 -c 30 -e h264 -o /tmp/venc.h264
checkmd5sum /tmp/venc.h264

simple_vi_bind_venc_wrap&
sleep 1
killall simple_vi_bind_venc_wrap
sleep 1
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -o 1 -r 1 -L 180
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -o 1 -r 1 -L 360
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -o 1 -r 1 -L 720
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -D 1 -o 1 -r 1 -L 180
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -D 1 -o 1 -r 1 -L 360
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -D 1 -o 1 -r 1 -L 720
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -C 12 -o 1 -r 1 -L 180
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -C 12 -o 1 -r 1 -L 360
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -C 12 -o 1 -r 1 -L 720
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -C 9 -o 1 -r 1 -L 180
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -C 9 -o 1 -r 1 -L 360
checkmd5sum /data/venc_wrap_0.bin
simple_vi_bind_venc_wrap -I 0 -w 1280 -h 720 -W 1980 -H 1080 -l 30 -C 9 -o 1 -r 1 -L 720
checkmd5sum /data/venc_wrap_0.bin

simple_vi_bind_venc_osd&
sleep 1
killall simple_vi_bind_venc_osd
sleep 1
simple_vi_bind_venc_osd -I 0 -w 1920 -h 1080 -c 30 -e h265 -o /tmp/venc.h265
checkmd5sum /tmp/venc.h265
simple_vi_bind_venc_osd -I 0 -w 1920 -h 1080 -c 30 -e mjpeg -o /tmp/venc.mjpeg
checkmd5sum /tmp/venc.mjpeg
simple_vi_bind_venc_osd -I 0 -w 320 -h 240 -c 30 -e h265 -o /tmp/venc.h265
checkmd5sum /tmp/venc.h265
simple_vi_bind_venc_osd -I 0 -w 320 -h 240 -c 30 -e mjpeg -o /tmp/venc.mjpeg
checkmd5sum /tmp/venc.mjpeg
simple_vi_bind_venc_osd -I 0 -w 320 -h 240 -c 30 -e h264 -o /tmp/venc.h264
checkmd5sum /tmp/venc.h264

simple_vi_bind_venc_rtsp&
sleep 1
killall simple_vi_bind_venc_rtsp
sleep 1
simple_vi_bind_venc_svc_rtsp&
sleep 1
killall simple_vi_bind_venc_svc_rtsp
sleep 1
simple_vi_bind_venc_change_resolution&
sleep 1
killall simple_vi_bind_venc_change_resolution
sleep 1
simple_vi_bind_venc_change_resolution -I 0 -w 1920 -h 1080 -c 1000 -e h264
simple_vi_bind_venc_change_resolution -I 0 -w 1920 -h 1080 -c 1000 -e h265
simple_vi_bind_venc_change_resolution -I 0 -w 1920 -h 1080 -c 1000 -e mjpeg

simple_vi_bind_venc_combo -a /etc/iqfiles&
sleep 1
killall simple_vi_bind_venc_combo
sleep 1
simple_vi_bind_venc_combo -a /etc/iqfiles -w 1920 -h 1080 -l 30 -o /tmp/ -r 1 -j 1
checkmd5sum /tmp/venc_0.bin
checkmd5sum /tmp/jpeg_chn1_0.jpeg

simple_vi_bind_venc_combo -a /etc/iqfiles -w 1920 -h 1080 -l 30 -o /tmp/ -r 0 -j 2
checkmd5sum /tmp/venc_0.bin
checkmd5sum /tmp/jpeg_chn1_0.jpeg
checkmd5sum /tmp/jpeg_chn1_1.jpeg


simple_vi_bind_venc_jpeg&
sleep 1
killall simple_vi_bind_venc_jpeg
sleep 1
checkmd5sum /tmp/test_jpeg0.jpeg
rm /tmp/test*

simple_vi_bind_venc_chn_sharebuf&
sleep 1
killall simple_vi_bind_venc_chn_sharebuf

simple_vi_bind_venc_chn_sharebuf -c 10 -o /tmp/venc.h264
checkmd5sum /tmp/venc.h264

simple_vi_bind_venc_chn_sharebuf -c 10 -o /tmp/venc.h264 -x 960 -y 540 -X 0 -Y 0
checkmd5sum /tmp/venc.h264

simple_vi_bind_venc_chn_sharebuf -c 10 -o /tmp/venc.h264 -w 960 -h 540 -W 960 -H 1080 -x 0 -y 0 -X 0 -Y 540
checkmd5sum /tmp/venc.h264

simple_vi_bind_venc_rtsp_dev_chn_sharebuf -w 640 -h 480 -W 2304 -H 1760&
sleep 5
killall simple_vi_bind_venc_rtsp_dev_chn_sharebuf

# sample_demo_dual_camera_wrap -s 0 -W 1920 -H 1080 -w 640 -h 360 -f 15 -r 0 -s 1 -W 1920 -H 1080 -w 640 -h 360 -f 15 -r 0 -n 1 -S 0 -x 1920 -y 1080 -l 72

simple_vi_bind_venc_rawstream_wrap&
sleep 1
killall simple_vi_bind_venc_rawstream_wrap

simple_vi_bind_venc_rawstream_wrap --pipe_mb_cnt 2&
sleep 1
killall simple_vi_bind_venc_rawstream_wrap

simple_vi_bind_venc_rawstream_wrap -c 8 --iw 1920 --ih 1080 --ow 1920 --oh 1080 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_64.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 1920 --ih 1080 --ow 1920 --oh 1080 -d /data -w 1 -l 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 1920 --ih 1080 --ow 1920 --oh 1080 -d /data -w 1 -l 270 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_270.h264
#
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 1920 --ih 1080 --ow 2880 --oh 1620 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_64.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 1920 --ih 1080 --ow 2880 --oh 1620 -d /data -w 1 -l 1620 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_1620.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 1920 --ih 1080 --ow 2880 --oh 1620 -d /data -w 1 -l 360 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_360.h264
#
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 1920 --ih 1080 --ow 320 --oh 240 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_64.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 1920 --ih 1080 --ow 320 --oh 240 -d /data -w 1 -l 240 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_240.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 1920 --ih 1080 --ow 320 --oh 240 -d /data -w 1 -l 120 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_120.h264

simple_vi_bind_venc_rawstream_wrap -c 12 --iw 1920 --ih 1080 --ow 1920 --oh 1080 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_64.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 1920 --ih 1080 --ow 1920 --oh 1080 -d /data -w 1 -l 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 1920 --ih 1080 --ow 1920 --oh 1080 -d /data -w 1 -l 270 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_270.h265
#
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 1920 --ih 1080 --ow 2880 --oh 1620 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_64.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 1920 --ih 1080 --ow 2880 --oh 1620 -d /data -w 1 -l 1620 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_1620.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 1920 --ih 1080 --ow 2880 --oh 1620 -d /data -w 1 -l 360 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_360.h265
#
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 1920 --ih 1080 --ow 320 --oh 240 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_64.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 1920 --ih 1080 --ow 320 --oh 240 -d /data -w 1 -l 240 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_240.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 1920 --ih 1080 --ow 320 --oh 240 -d /data -w 1 -l 120 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_120.h265

simple_vi_bind_venc_rawstream_wrap -c 9 --iw 1920 --ih 1080 --ow 1920 --oh 1080 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_64.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 1920 --ih 1080 --ow 1920 --oh 1080 -d /data -w 1 -l 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 1920 --ih 1080 --ow 1920 --oh 1080 -d /data -w 1 -l 270 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_270.mjpeg
#
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 1920 --ih 1080 --ow 2880 --oh 1620 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_64.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 1920 --ih 1080 --ow 2880 --oh 1620 -d /data -w 1 -l 1620 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_1620.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 1920 --ih 1080 --ow 2880 --oh 1620 -d /data -w 1 -l 360 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_360.mjpeg
#
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 1920 --ih 1080 --ow 320 --oh 240 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_64.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 1920 --ih 1080 --ow 320 --oh 240 -d /data -w 1 -l 240 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_240.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 1920 --ih 1080 --ow 320 --oh 240 -d /data -w 1 -l 120 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_120.mjpeg

simple_vi_bind_venc_rawstream_wrap -c 8 --iw 2880 --ih 1620 --ow 1920 --oh 1080 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_64.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 2880 --ih 1620 --ow 1920 --oh 1080 -d /data -w 1 -l 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 2880 --ih 1620 --ow 1920 --oh 1080 -d /data -w 1 -l 270 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_270.h264
#
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 2880 --ih 1620 --ow 2880 --oh 1620 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_64.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 2880 --ih 1620 --ow 2880 --oh 1620 -d /data -w 1 -l 1620 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_1620.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 2880 --ih 1620 --ow 2880 --oh 1620 -d /data -w 1 -l 360 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_360.h264
#
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 2880 --ih 1620 --ow 320 --oh 240 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_64.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 2880 --ih 1620 --ow 320 --oh 240 -d /data -w 1 -l 240 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_240.h264
simple_vi_bind_venc_rawstream_wrap -c 8 --iw 2880 --ih 1620 --ow 320 --oh 240 -d /data -w 1 -l 120 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_120.h264

simple_vi_bind_venc_rawstream_wrap -c 12 --iw 2880 --ih 1620 --ow 1920 --oh 1080 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_64.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 2880 --ih 1620 --ow 1920 --oh 1080 -d /data -w 1 -l 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 2880 --ih 1620 --ow 1920 --oh 1080 -d /data -w 1 -l 270 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_270.h265
#
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 2880 --ih 1620 --ow 2880 --oh 1620 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_64.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 2880 --ih 1620 --ow 2880 --oh 1620 -d /data -w 1 -l 1620 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_1620.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 2880 --ih 1620 --ow 2880 --oh 1620 -d /data -w 1 -l 360 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_360.h265
#
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 2880 --ih 1620 --ow 320 --oh 240 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_64.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 2880 --ih 1620 --ow 320 --oh 240 -d /data -w 1 -l 240 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_240.h265
simple_vi_bind_venc_rawstream_wrap -c 12 --iw 2880 --ih 1620 --ow 320 --oh 240 -d /data -w 1 -l 120 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_120.h265

simple_vi_bind_venc_rawstream_wrap -c 9 --iw 2880 --ih 1620 --ow 1920 --oh 1080 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_64.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 2880 --ih 1620 --ow 1920 --oh 1080 -d /data -w 1 -l 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 2880 --ih 1620 --ow 1920 --oh 1080 -d /data -w 1 -l 270 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_270.mjpeg
#
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 2880 --ih 1620 --ow 2880 --oh 1620 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_64.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 2880 --ih 1620 --ow 2880 --oh 1620 -d /data -w 1 -l 1620 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_1620.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 2880 --ih 1620 --ow 2880 --oh 1620 -d /data -w 1 -l 360 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x1620_360.mjpeg
#
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 2880 --ih 1620 --ow 320 --oh 240 -d /data -w 1 -l 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_64.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 2880 --ih 1620 --ow 320 --oh 240 -d /data -w 1 -l 240 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_240.mjpeg
simple_vi_bind_venc_rawstream_wrap -c 9 --iw 2880 --ih 1620 --ow 320 --oh 240 -d /data -w 1 -l 120 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_120.mjpeg


simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 1920 --ih 1080 --iw1 1920 --ih1 1080 --ow 1920 --oh 1080 -ow1 2880 --oh1 1620 -d /data -w 1 -l 96 -W 1 -L 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_96.h264
checkmd5sum /data/venc_chn1_2880x1620_64.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 1920 --ih 1080 --iw1 1920 --ih1 1080 --ow 1920 --oh 1080 -ow1 2880 --oh1 1620 -d /data -w 1 -l 480 -W 1 -L 320 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_480.h264
checkmd5sum /data/venc_chn1_2880x1620_320.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 1920 --ih 1080 --iw1 1920 --ih1 1080 --ow 1920 --oh 1080 -ow1 2880 --oh1 1620 -d /data -w 1 -l 1080 -W 1 -L 720 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.h264
checkmd5sum /data/venc_chn1_2880x1620_720.h264
#
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 1920 --ih 1080 --iw1 1920 --ih1 1080 --ow 1920 --oh 1080 -ow1 1920 --oh1 1080 -d /data -w 1 -l 64 -W 1 -L 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_64.h264
checkmd5sum /data/venc_chn1_1920x1080_64.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 1920 --ih 1080 --iw1 1920 --ih1 1080 --ow 1920 --oh 1080 -ow1 1920 --oh1 1080 -d /data -w 1 -l 270 -W 1 -L 320 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_270.h264
checkmd5sum /data/venc_chn1_1920x1080_270.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 1920 --ih 1080 --iw1 1920 --ih1 1080 --ow 1920 --oh 1080 -ow1 1920 --oh1 1080 -d /data -w 1 -l 1080 -W 1 -L 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.h264
checkmd5sum /data/venc_chn1_1920x1080_1080.h264
#
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 1920 --ih 1080 --iw1 1920 --ih1 1080 --ow 320 --oh 240 -ow1 320 --oh1 240 -d /data -w 1 -l 64 -W 1 -L 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_64.h264
checkmd5sum /data/venc_chn1_320x240_64.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 1920 --ih 1080 --iw1 1920 --ih1 1080 --ow 320 --oh 240 -ow1 320 --oh1 240 -d /data -w 1 -l 120 -W 1 -L 320 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_120.h264
checkmd5sum /data/venc_chn1_320x240_120.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 1920 --ih 1080 --iw1 1920 --ih1 1080 --ow 320 --oh 240 -ow1 320 --oh1 240 -d /data -w 1 -l 240 -W 1 -L 720 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_240.h264
checkmd5sum /data/venc_chn1_320x240_240.h264



simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 2880 --ih1 1620 --ow 2880 --oh 1620 -ow1 1920 --oh1 1080 -d /data -w 1 -l 64 -W 1 -L 96 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x_1620_64.h264
checkmd5sum /data/venc_chn1_1920x1080_96.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 2880 --ih1 1620 --ow 2880 --oh 1620 -ow1 1920 --oh1 1080 -d /data -w 1 -l 320 -W 1 -L 480 --frame_cnt 10
checkmd5sum /data/venc_chn0_2560x1080_320.h264
checkmd5sum /data/venc_chn1_1920x1080_480.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 2880 --ih1 1620 --ow 2880 --oh 1620 -ow1 1920 --oh1 1080 -d /data -w 1 -l 1620 -W 1 -L 2430 --frame_cnt 10
checkmd5sum /data/venc_chn0_2560x1080_1620.h264
checkmd5sum /data/venc_chn1_1920x1080_2430.h264
#
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 2880 --ih1 1620 --ow 1920 --oh 1080 -ow1 1920 --oh1 1080 -d /data -w 1 -l 64 -W 1 -L 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_64.h264
checkmd5sum /data/venc_chn1_1920x1080_64.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 2880 --ih1 1620 --ow 1920 --oh 1080 -ow1 1920 --oh1 1080 -d /data -w 1 -l 270 -W 1 -L 320 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_270.h264
checkmd5sum /data/venc_chn1_1920x1080_270.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 2880 --ih1 1620 --ow 1920 --oh 1080 -ow1 1920 --oh1 1080 -d /data -w 1 -l 1080 -W 1 -L 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.h264
checkmd5sum /data/venc_chn1_1920x1080_1080.h264
#
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 2880 --ih1 1620 --ow 320 --oh 240 -ow1 320 --oh1 240 -d /data -w 1 -l 64 -W 1 -L 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_64.h264
checkmd5sum /data/venc_chn1_320x240_64.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 2880 --ih1 1620 --ow 320 --oh 240 -ow1 320 --oh1 240 -d /data -w 1 -l 120 -W 1 -L 320 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_120.h264
checkmd5sum /data/venc_chn1_320x240_120.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 2880 --ih1 1620 --ow 320 --oh 240 -ow1 320 --oh1 240 -d /data -w 1 -l 240 -W 1 -L 720 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_240.h264
checkmd5sum /data/venc_chn1_320x240_240.h264


simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 1920 --ih1 1080 --ow 2880 --oh 1620 -ow1 1920 --oh1 1080 -d /data -w 1 -l 64 -W 1 -L 96 --frame_cnt 10
checkmd5sum /data/venc_chn0_2880x_1620_64.h264
checkmd5sum /data/venc_chn1_1920x1080_96.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 1920 --ih1 1080 --ow 2880 --oh 1620 -ow1 1920 --oh1 1080 -d /data -w 1 -l 480 -W 1 -L 720 --frame_cnt 10
checkmd5sum /data/venc_chn0_2560x1080_480.h264
checkmd5sum /data/venc_chn1_1920x1080_720.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 1920 --ih1 1080 --ow 2880 --oh 1620 -ow1 1920 --oh1 1080 -d /data -w 1 -l 720 -W 1 -L 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_2560x1080_720.h264
checkmd5sum /data/venc_chn1_1920x1080_1080.h264
#
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 1920 --ih1 1080 --ow 1920 --oh 1080 -ow1 1920 --oh1 1080 -d /data -w 1 -l 64 -W 1 -L 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_64.h264
checkmd5sum /data/venc_chn1_1920x1080_64.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 1920 --ih1 1080 --ow 1920 --oh 1080 -ow1 1920 --oh1 1080 -d /data -w 1 -l 270 -W 1 -L 320 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_270.h264
checkmd5sum /data/venc_chn1_1920x1080_270.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 1920 --ih1 1080 --ow 1920 --oh 1080 -ow1 1920 --oh1 1080 -d /data -w 1 -l 1080 -W 1 -L 1080 --frame_cnt 10
checkmd5sum /data/venc_chn0_1920x1080_1080.h264
checkmd5sum /data/venc_chn1_1920x1080_1080.h264
#
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 1920 --ih1 1080 --ow 320 --oh 240 -ow1 320 --oh1 240 -d /data -w 1 -l 64 -W 1 -L 64 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_64.h264
checkmd5sum /data/venc_chn1_320x240_64.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 1920 --ih1 1080 --ow 320 --oh 240 -ow1 320 --oh1 240 -d /data -w 1 -l 120 -W 1 -L 320 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_120.h264
checkmd5sum /data/venc_chn1_320x240_120.h264
simple_vi_bind_venc_rawstream_wrap -n 2 -c 8 --iw 2880 --ih 1620 --iw1 1920 --ih1 1080 --ow 320 --oh 240 -ow1 320 --oh1 240 -d /data -w 1 -l 240 -W 1 -L 720 --frame_cnt 10
checkmd5sum /data/venc_chn0_320x240_240.h264
checkmd5sum /data/venc_chn1_320x240_240.h264


#The eptz test must be the last one
sleep 1
simple_vi_bind_venc_rtsp_eptz&
sleep 1
killall simple_vi_bind_venc_rtsp_eptz
