Ask Your Question
1

Problem with russian letters

asked 2014-05-29 08:02:38 -0600

zhim001 gravatar image

Hello!

This string works good:

VideoWriter * writer = new VideoWriter("D:\video\film.avi", codec, frame_rate, Size(width, height), true);

This string throws exception "Access violation reading location":

VideoWriter * writer = new VideoWriter("D:\Видео\film.avi", codec, frame_rate, Size(width, height), true);

What is the problem? Thank you :)

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2015-06-04 08:39:27 -0600

ممد اتیش gravatar image

The file name should be English.

edit flag offensive delete link more
0

answered 2014-05-29 08:41:09 -0600

Amit gravatar image

Actually Window can not recognize the name of folder in russian language,(if your window default language is in English)

for test i create a folder with name "Видео" and in command it show "????"(check screenshot)

image description

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-05-29 08:02:38 -0600

Seen: 490 times

Last updated: Jun 04 '15