ffmpeg. Converting through rawbitstream results to noise I tried consequentially commands below. On output I'm getting video with a mess (even.mp4).

ffmpeg -i in.MOV -an -vcodec rawvideo -pix_fmt yuv420p rawbitstream.yuv

ffmpeg -r 2 -s 640x480 -i rawbitstream.yuv -vf select="not(mod(n-1\,2))" -c:v rawvideo -r 1 -format rawvideo -pix_fmt yuv420p -an even.yuv

ffmpeg -f rawvideo -vcodec rawvideo -s 640x480 -r 25 -pix_fmt yuv420p -i even.yuv -c:v libx264 -preset ultrafast -qp 0 even.mp4




Here is full log.
Video files are here.
Use

ffmpeg -i in.MOV -an -vcodec rawvideo -pix_fmt yuv420p rawbitstream.yuv

ffmpeg -s 640x480 -i rawbitstream.yuv -vf select="not(mod(n+1\,2))" -c:v rawvideo -vsync 0 -an even.yuv

ffmpeg -f rawvideo -s 640x480 -pix_fmt yuv420p -i even.yuv -c:v libx264 -preset ultrafast -profile:v high -qp 1 even.mp4