First time here? Check out the FAQ!

Ask Your Question
1

Problem with russian letters

asked May 29 '14

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 :)

Preview: (hide)

2 answers

Sort by » oldest newest most voted
1

answered Jun 4 '15

ممد اتیش gravatar image

The file name should be English.

Preview: (hide)
0

answered May 29 '14

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

Preview: (hide)

Question Tools

Stats

Asked: May 29 '14

Seen: 598 times

Last updated: Jun 04 '15