Author Topic: Freeze during intro video workarounds?  (Read 832 times)

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Freeze during intro video workarounds?
« on: 7 June 2013, 05:59:23 »
This is more of a feature request than a bug fix IMO.

I was working on a intro video file for Annex, (to use the cool VLC libraries) when on testing on an unplugged laptop i noticed an issue:
The issue is that in some cases, when a video has difficulties playing, game will freeze up during the video's playback. This is particularly bad for the intro as this prevents access to the menu in which to turn it off. Not to mention it looks real bad on our part.
While I know this can be enabled/disabled in .ini and through command line options, this may not be so intuitive for people not already used to Glest, or people just not that tech savy.

-I was proposing some sort of method that can detect if a video freezes/crashes and will automatically skip the video?

-Or some sort of way to force termination of a video when it locks up or just anytime? (Pressing any key during  video for example)

-Or maybe we could set a timer that force skips intro video after a set time limit. (configurable in INI) to insure that players are not permanently stuck on intro video and could get access to main menu.

Ideas/ comments?

PS I'm NOT looking for answers as why my computer doesn't play the video (I already know), just how to prevent new players from being blocked out of the game if intro video won't play.
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Freeze during intro video workarounds?
« Reply #1 on: 7 June 2013, 09:27:11 »
I guess that if that's technically feasible, hitting escape should allow skip the video, whether or not the VLC code is responsive (i.e., kill any child processes, proceed to menu / next screen).
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Freeze during intro video workarounds?
« Reply #2 on: 8 June 2013, 00:00:24 »
I guess that if that's technically feasible, hitting escape should allow skip the video, whether or not the VLC code is responsive (i.e., kill any child processes, proceed to menu / next screen).

Escape or really any key should skip a video if playing.
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Freeze during intro video workarounds?
« Reply #3 on: 20 June 2013, 21:52:56 »
Need details about exactly where this hangs (As i mentioned on IRC)