When I use videowriter, coredump happened


this is my code

please, NO screenshots of code or errors here
replace with text, thank you.