Author Topic: What is different about this screenshot?  (Read 2646 times)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
What is different about this screenshot?
« on: 12 May 2012, 19:19:56 »
Can anyone tell me what this means :)


will

  • Golem
  • ******
  • Posts: 783
    • View Profile
Re: What is different about this screenshot?
« Reply #1 on: 12 May 2012, 20:43:51 »
you should have set it up as an animated GIF with only one frame being Rick :)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: What is different about this screenshot?
« Reply #2 on: 13 May 2012, 06:29:05 »
We will support playing videos (like intro videos) using libvlc.

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: What is different about this screenshot?
« Reply #3 on: 14 May 2012, 05:29:08 »
Really looking forward to movie intros + scenario cut-scenes!
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: What is different about this screenshot?
« Reply #4 on: 18 May 2012, 20:10:26 »
Now that is all working nicely, where else should we allow for video's to be played? Menu background instead of a model? Others?

MightyMic

  • Technician
  • ****
  • Posts: 150
  • To mod, or not to mod...
    • View Profile
Re: What is different about this screenshot?
« Reply #5 on: 18 May 2012, 23:46:33 »
Now that is all working nicely
does that mean in the latest svn it's supported?

Menu background instead of a model? Others?
definitely in scenarios... so a lua command that suspends the game, plays the video and then restarts the game after the video is finished. At least that's what I was thinking when you said video support (along with the menu background of course)

TotalNoob

  • Guest
Re: What is different about this screenshot?
« Reply #6 on: 19 May 2012, 08:43:16 »
Vid in main menu would definitely reduce resource demand there but on the other hand I like the way menu switches between elements (that passing effect between points) which would be difficult to achieve if there would be only vid. Maybe vid should be only in Internet Game menu, since we sit there most of the time waiting for other players :)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: What is different about this screenshot?
« Reply #7 on: 19 May 2012, 10:34:47 »
I like the idea of having interstitials (possibly implemented as videos) between stacked scenarios. This would be a bit like the storyline screens Wesnoth has there, which I also find nice. On the other hand I have my doubts as to whether there will be people producing videos for this, but then I assume libvlc can also play back formats which consist of stacked single images, displayed for a fixed duration, which seems more likely to be used.
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 · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: What is different about this screenshot?
« Reply #8 on: 19 May 2012, 16:18:53 »
I'd rather that a video be used only for an intro, leaving the main menu model, as it's more practical, allowing interactivity, and of course, videos are massive, best to use prudently (a half decent quality intro video could add some serious bytes to MegaGlest's download size, alone).
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: What is different about this screenshot?
« Reply #9 on: 21 May 2012, 20:17:08 »
Just tested and it will work for streaming youtube videos also, which is great as it will allow you to change the videos after a version has been installed.

UPDATE:

New lua method added in svn that allows auto pausing of the game and playing a video:

playStreamingVideo('https://www.youtube.com/watch?v=r4d3bJUHaEU#39;)
« Last Edit: 22 May 2012, 06:30:12 by softcoder »

treba

  • Guest
Re: What is different about this screenshot?
« Reply #10 on: 24 May 2012, 13:41:52 »
really cool feature!
but what happens if there's no internet connection available? is there a way to check that or to specify alternatives?

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: What is different about this screenshot?
« Reply #11 on: 25 May 2012, 16:42:11 »
Done in svn, you may specify a primary and a fallback URL / filename:

IntroVideoURL=https://www.youtube.com/watch?v=r4d3bJUHaEU
IntroVideoURLFallback=/media/dlinknas/pilgrimsprogress.avi

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: What is different about this screenshot?
« Reply #12 on: 25 May 2012, 16:55:55 »
Done in svn, you may specify a primary and a fallback URL / filename:

IntroVideoURL=https://www.youtube.com/watch?v=r4d3bJUHaEU
IntroVideoURLFallback=/media/dlinknas/pilgrimsprogress.avi
What would be the point of a fallback, though? Wouldn't it be better to just use the local version only, as you'd have to download the video either way, and streaming it would just use bandwidth every time, not to mention slow connections would experience a lot of lag.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: What is different about this screenshot?
« Reply #13 on: 25 May 2012, 17:09:57 »
To me, it looks like the same person criticising embedded / offline videos for their filesize is now criticising streaming videos for the bandwidth they cause. You can only optimize one or the other.

Unrelated to that the fallback, quite clearly, is useful when streaming of one or more videos fails, in which case a small locally stored fallback video can still provide visual feedback on this situation to the user.

I do think that streaming downloads should be either opt-in or opt-out, though (think of 3G connections).
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 · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: What is different about this screenshot?
« Reply #14 on: 25 May 2012, 21:19:49 »
Streaming allows for dynamic changes over time, wheres files are just static content. Agreed, we can make this feature togglable so we never try to load streaming videos.

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: What is different about this screenshot?
« Reply #15 on: 25 May 2012, 21:26:14 »
Done in svn, you may specify a primary and a fallback URL / filename:

IntroVideoURL=https://www.youtube.com/watch?v=r4d3bJUHaEU
IntroVideoURLFallback=/media/dlinknas/pilgrimsprogress.avi
What would be the point of a fallback, though? Wouldn't it be better to just use the local version only, as you'd have to download the video either way, and streaming it would just use bandwidth every time, not to mention slow connections would experience a lot of lag.

An option to save download time is to include a shortened or low res video with game and have more higher/longer quality videos available via streaming is one idea.

I think having the ability for a  video as a menu option is a good idea for mods. 

I think having videos for faction + Scenarios are good ideas too. Show casing gameplay or units or even a nice cinematic. Would be great as previews for Mods, Scenarios + Tilesets in mods menu as well!  Since the view space would be small, videos could be small in resolution to save disk space.
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: What is different about this screenshot?
« Reply #16 on: 25 May 2012, 23:01:25 »
- added faction preview videos in svn! If we find preview_video.* then first match will be used, otherwise the old behavior is used.