Does VideoWriter can write a video file in path with chinese ?

asked 2013-08-12 04:23:19 -0600

elite gravatar image

updated 2013-08-12 09:17:35 -0600

Just as the title, when i use the open function in class VideoWirter with the first parameter that has Chinese characters, then the exception occurs "0xC0000005: Access violation reading location 0x00000000 ". How can i solve it?

Need your help! Thanks for your answer.

edit retag flag offensive close merge delete

Comments

Are you using relative or absolete paths? Try to use a basic path first, like for example C:/test.avi, then switch to more difficult or complicated paths, to extract the exact problem.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-12 06:05:48 -0600 )edit

while I using the absolute path, and the file name is chinese. when I try to save the video file using VideoWriter in python3,the file name is Garbled. Is there any solution? Thanks!

Harry_jr gravatar imageHarry_jr ( 2018-05-09 06:35:04 -0600 )edit

Its the Chinese, the internet is filled with issues when trying to write and read non-standard symbols :)

StevenPuttemans gravatar imageStevenPuttemans ( 2018-05-09 07:14:18 -0600 )edit