I want to experiment with converting a DV-AVI 29.97i video to x265 .MP4 without losing the separate interlaced fields. Also, I would like to have a two-pass encode. Is there a way to adjust this command (pasted below) to do these things? Thanks a lot!

Code:
ffmpeg.exe -v verbose -i test.avi -threads auto -sws_flags lanczos -vf "yadif=1:1,mcdeint=0:1:10,scale=iw*sar:ih,unsharp=3:3:2.03" -codec:v libx265 -b:v 1500k -minrate 1k -maxrate 128k -flags +loop -me_method full -g 300 -qcomp 0.6 -qmin 01 -qmax 81 -qdiff 4 -bf 16 -b_strategy 4 -i_qfactor 0.81 -af "aresample=32000" -codec:a aac -strict -2 -b:a 96k -ac 2 -y test.mp4