WIVRN_DUMP_VIDEO=/path/to/file will dump the raw video stream in /path/to/file-{idx}.{codec} where idx is the stream index (one stream per encoder) and codec is h264 or h265.