I noticed that ezthumb fails to do videos with the é character in the file name or anywhere else in the file's path. Possibly other characters will cause problems too. I'm using the cmdline version of v2.1.9 on Windows 7.
Sjakko
Last edit: Sjako 2012-08-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This looks like a codepage issue. I did a test by inserting the é into a filename, sméall.wmv. The hex sequence is 73 6D A8 A6 61 6C 6C 2E 77 6D 76. The é is coded as A8 A6. It's strange. This letter should be a single character in some code page. Anyway, after converting by MultiByteToWideChar(), it turned out to be
CreateFile() could not find the file so it failed. I think it might be caused by mixed codepage characters. The é is multibyte encoded and others are CP437. MultiByteToWideChar() was confused by the string. I need to do some research about this issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Andy,
I noticed that ezthumb fails to do videos with the é character in the file name or anywhere else in the file's path. Possibly other characters will cause problems too. I'm using the cmdline version of v2.1.9 on Windows 7.
Sjakko
Last edit: Sjako 2012-08-28
This looks like a codepage issue. I did a test by inserting the é into a filename, sméall.wmv. The hex sequence is 73 6D A8 A6 61 6C 6C 2E 77 6D 76. The é is coded as A8 A6. It's strange. This letter should be a single character in some code page. Anyway, after converting by MultiByteToWideChar(), it turned out to be
Codepage=437
sm┐¬all.wmv
73 0 6d 0 bf 0 aa 0 61 0 6c 0 6c 0 2e 0 77 0 6d 0 76 0 0 0
CreateFile() could not find the file so it failed. I think it might be caused by mixed codepage characters. The é is multibyte encoded and others are CP437. MultiByteToWideChar() was confused by the string. I need to do some research about this issue.
Hi Sjakko,
I think I have found a fix for this. It's been released in 2.1.10. Would you like to give it a go please?
Kind regards
Andy
Hi Andy,
Sorry for the delay. It works! Thanks.