Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / 100% [BUG] LoadVideo doesn't work on Windows 8 (tried AGK VideoPlayback example)

Author
Message
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 2nd May 2018 20:45
LoadVideo doesn't work on Windows 8.
I've tried with AppGameKit VideoPlayback example.
DX2010 installed.
Bengismo
6
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 2nd May 2018 22:53
Works on the machines I have here?

What error do you get? What value does load video return? The video being played is a MP4 and have you checked if you have a MP4 codec installed?
Have you tried SetErrorMode(2) before the load video command so you get a error message?

Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 2nd May 2018 23:55
"Error: Failed to load video, format may not be supported in main.agk at line 10"

I downloaded empty windows setup from microsoft for virtual machine. And it works fine on same fresh install XP, Vista, 7, 10.

I'm trying to load .wmv video.
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 3rd May 2018 00:13
Now I tried to install codecs. Same error shows. No matter .vmw or .mp4 file I read.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 7th May 2018 17:56 Edited at: 7th May 2018 17:58
it is recommended that you use wmv on Windows for maximum support. or
you use .mp4 files with the H264 (MPEG-4 AVC) codec for video. For audio it must be encoded in MP3 or AAC

it is dependant on having the codecs installed but you also have to chose a format that AppGameKit will support.

Failing that you could have installed bad codecs
fubar
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 15th May 2018 13:41
It seems that this bug appears when the audio card is not found by Windows.

Login to post a reply

Server time is: 2024-11-18 12:29:23
Your offset time is: 2024-11-18 12:29:23