VideoPlayer example not work

Discuss GUI programming with the RapaGUI plugin here
Post Reply
User avatar
Lerio69
Posts: 29
Joined: Sat Sep 24, 2016 11:47 pm
Location: Italy

VideoPlayer example not work

Post 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
plouf
Posts: 467
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: VideoPlayer example not work

Post by plouf »

mistake same

but msut something about win11 since IrfanView also say the same "Windwos canot play this file"
Christos
plouf
Posts: 467
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: VideoPlayer example not work

Post 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...
Christos
User avatar
Lerio69
Posts: 29
Joined: Sat Sep 24, 2016 11:47 pm
Location: Italy

Re: VideoPlayer example not work

Post 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
Last edited by Lerio69 on Thu Jun 01, 2023 2:30 pm, edited 1 time in total.
User avatar
Lerio69
Posts: 29
Joined: Sat Sep 24, 2016 11:47 pm
Location: Italy

Re: VideoPlayer example not work

Post 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
plouf
Posts: 467
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: VideoPlayer example not work

Post 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?
Christos
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: VideoPlayer example not work

Post 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.
User avatar
Lerio69
Posts: 29
Joined: Sat Sep 24, 2016 11:47 pm
Location: Italy

Re: VideoPlayer example not work

Post 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.
Post Reply