rem VR180 SBS 4096x2048 to VR360 TOB 4096x2048 (zoom in , Support DanceXR)
ffmpeg -i %1.mp4 %1_tmp.wav -y
ffmpeg -i %1.mp4 -vf crop=2048:1440:0:306 -c:v hevc_nvenc -b:v 50M %1_l1d.mp4 -y
ffmpeg -i %1.mp4 -vf crop=2048:1440:2048:306 -c:v hevc_nvenc -b:v 50M %1_r1d.mp4 -y
ffmpeg -i %1_l1d.mp4 -c:v hevc_nvenc -b:v 50M -vf field=type=top %1_ld.mp4 -y
ffmpeg -i %1_r1d.mp4 -c:v hevc_nvenc -b:v 50M -vf field=type=bottom %1_rd.mp4 -y
ffmpeg -i %1_ld.mp4 -i %1_rd.mp4 -filter_complex vstack=inputs=2 -c:v hevc_nvenc -b:v 50M %1_tob_md.mp4 -y
rem ffmpeg -i %1_tob_md.mp4 -vf scale=-1:2160 -c:v hevc_nvenc -b:v 50M %1_tob_y2160d.mp4 -y
ffmpeg -i %1_tob_md.mp4 -vf scale=-1:2048 -c:v hevc_nvenc -b:v 50M %1_tob_y2048d.mp4 -y
rem ffmpeg -i %1_tob_2048d.mp4 -s 4096x2048 -c:v hevc_nvenc -b:v 50M %1_tob360_nosound.mp4 -y
ffmpeg -i 4096x2048_g3.png -i %1_tob_y2048d.mp4 -filter_complex "overlay=x=592:y=0" -c:v hevc_nvenc -b:v 50M %1_tob360d_nosound.mp4 -y
ffmpeg -i %1_tob360_nosound.mp4 -i %1_tmp.wav -c:v copy -c:a aac -map 0:v:0 -map 1:a:0 %1_tob360.mp4 -y
del /q %1_l1d.mp4
del /q %1_r1d.mp4
del /q %1_ld.mp4
del /q %1_rd.mp4
del /q %1_tob_md.mp4
del /q %1_tob_y2048d.mp4
del /q %1_tob360_nosound.mp4
del /q %1_tmp.wav