Page 1 of 1
VideoPlayer example not work
Posted: Thu Jun 01, 2023 10:42 am
by Lerio69
When I try to play an mp4 file I get this error:
Error in line 241 (VideoPlayer.hws): This functionality is not available with this display adapter!
I run the script in:
Windows 11 64bit ver.22H2
Hollywood 10
RapaGUI 2.1
Re: VideoPlayer example not work
Posted: Thu Jun 01, 2023 1:16 pm
by plouf
mistake same
but msut something about win11 since IrfanView also say the same "Windwos canot play this file"
Re: VideoPlayer example not work
Posted: Thu Jun 01, 2023 1:54 pm
by plouf
above post was a mistake
i had some corrupted mp4, but cant edit above post
your problem is that video player fals on top of rapagui display, which also has take ove display of hollywood
have you se a hollywood.diplay? have some sample test script?
hollywood example VideoPlayer is not Rapagui, and uses directly hollywood display...
Re: VideoPlayer example not work
Posted: Thu Jun 01, 2023 2:21 pm
by Lerio69
I run script incuded in RapaGUI's examples
There would be no point in incuding it in library if didn't work in RapaGUI
Re: VideoPlayer example not work
Posted: Thu Jun 01, 2023 2:24 pm
by Lerio69
plouf wrote: ↑Thu Jun 01, 2023 1:16 pm
mistake same
but msut something about win11 since IrfanView also say the same "Windwos canot play this file"
Files that i have tested are played by IrfanView
Re: VideoPlayer example not work
Posted: Thu Jun 01, 2023 5:13 pm
by plouf
so you use videoplayer within rapagui examples AS IS without any modifications ?
do you have any sample mp4 that fails? to crosscheck?
does other formats play ok?
Re: VideoPlayer example not work
Posted: Sun Jun 04, 2023 11:36 am
by airsoftsoftwair
I think you need to install avcodec.hwp first. If avcodec.hwp isn't installed, the Video Player example will try to play the video using Windows' MediaFoundation system but that is not compatible with RapaGUI. RapaGUI only supports video playback using Hollywood's video renderer.
Re: VideoPlayer example not work
Posted: Sun Jun 04, 2023 1:33 pm
by Lerio69
airsoftsoftwair wrote: ↑Sun Jun 04, 2023 11:36 am
I think you need to install avcodec.hwp first. If avcodec.hwp isn't installed, the Video Player example will try to play the video using Windows' MediaFoundation system but that is not compatible with RapaGUI. RapaGUI only supports video playback using Hollywood's video renderer.
Ok thanks. But because this is a RapaGUI problem, I suggest to add a line in example that explain this. Or in the help file.