Page 1 of 1

Media Player error with 8 bit characters

PostPosted:Thu Mar 04, 2010 9:09 am
by pthoirey
Hello!
I have noticed that the media player does not work when:

1. the media file is within a folder containing an 8 bit character: okm:root/Vidéo/atester.flv, for instance ;
2. the media file contains an 8 character: okm:root/Video/àtester.flv, for instance .

This is clearly a bug as the OKMDownloadServlet throws in both cases an exception:
Code: Select all
09:57:46,327 ERROR [[OKMDownloadServlet]] Servlet.service() for servlet OKMDownloadServlet threw exception
es.git.openkm.frontend.client.OKMException: okm:root/Vid?o/atester.flv
Code: Select all
09:50:36,848 ERROR [[OKMDownloadServlet]] Servlet.service() for servlet OKMDownloadServlet threw exception
es.git.openkm.frontend.client.OKMException: okm:root/Video/?tester.flv
Note that renaming the folder or file by replacing the 8 bit character with a 7 bit character fixes the problem.

Best Regards.

Re: Media Player error with 8 bit characters

PostPosted:Fri Mar 05, 2010 4:24 pm
by jllort
I've added in our issues tracking.

Thanks.

Re: Media Player error with 8 bit characters

PostPosted:Fri Mar 05, 2010 6:05 pm
by pavila
I thought this bug was already solved. I'll take a look and will fix it (again?). Perhaps we should access the file by UUID and not using the path, which can contain international characters.

BTW, OpenKM runs on Windows or Linux? Which browser are you using?

Re: Media Player error with 8 bit characters

PostPosted:Fri Mar 05, 2010 8:41 pm
by jllort
I don't remember make this change pavila. I think path it continues being used to get document. I think it must be chaged.

Re: Media Player error with 8 bit characters

PostPosted:Fri Mar 05, 2010 9:38 pm
by pthoirey
BTW, OpenKM runs on Windows or Linux? Which browser are you using?
My OpenKM runs on Linux and my browser is Firefox 3.5.8, on Linux as well.

Also note that I have experienced the same problem on the demo site. Go to "http://demo.openkm.com/OpenKM/repositor ... okm:root/à tester" and try to play test.mp3 in there. Then if you rename "à tester" into "a tester", playing the MP3 file will work.

:wink:

Re: Media Player error with 8 bit characters

PostPosted:Thu Mar 25, 2010 6:31 am
by mikelangelo11
I am running WMP 11 on vista and I am able to view/hear .avi files. However, I am unable to watch .avi files at speeds greater than 1x. I know computers are able to perform this feature because I am forced to watch these videos at school. Are there codecs for th

Re: Media Player error with 8 bit characters

PostPosted:Thu Mar 25, 2010 11:11 pm
by jllort
If I understand well the problem is that you would like fast forwarding while reproducing video ? is that ?

Re: Media Player error with 8 bit characters

PostPosted:Wed Mar 31, 2010 10:25 am
by pavila
We have schedule a fix for this issue for OpenKM 4.1.

Re: Media Player error with 8 bit characters

PostPosted:Thu Apr 15, 2010 3:45 pm
by jllort
Solved, now donwload is based in UUID not in OpenKM doc path.