PDA

View Full Version : Uploaded animated map looks very weird after 20seconds



Amnesty SayGen
October 28th, 2024, 19:45
Hard to explain so I've provided a google doc to show what I mean.
https://docs.google.com/document/d/1C2wStJ-sW2Lk8N6Rlq5D-ZeuMDj_HIsiwXVTc_QROsc/edit?usp=sharing

To try and explain:

I created an animated map in Dungeon Alchemist.
The map renders in FGU when following the straight forward guide as found on:
https://www.dungeonalchemist.com/import-to-fantasy-grounds

However after 20 seconds, the map turns pinks, and has 'odd effects'. After another 10seconds, the map reverts to normal.

Any help would be appreciated.

pindercarl
October 28th, 2024, 20:09
Hard to explain so I've provided a google doc to show what I mean.
https://docs.google.com/document/d/1C2wStJ-sW2Lk8N6Rlq5D-ZeuMDj_HIsiwXVTc_QROsc/edit?usp=sharing

To try and explain:

I created an animated map in Dungeon Alchemist.
The map renders in FGU when following the straight forward guide as found on:
https://www.dungeonalchemist.com/import-to-fantasy-grounds

However after 20 seconds, the map turns pinks, and has 'odd effects'. After another 10seconds, the map reverts to normal.

Any help would be appreciated.

Can you provide a copy of the map? It'll certainly be too large to attach to a forum post, so can you add it to a Dropbox or Google drive and send a link to [email protected]? Thanks.

Amnesty SayGen
October 28th, 2024, 20:12
I have uploaded it to Google Drive. It can be found here:
https://drive.google.com/drive/folders/1aoYvjUyLfpMY3ZR5hpimD-sK8oxb7lwg?usp=drive_link

Zacchaeus
October 28th, 2024, 20:45
That's a .dam file. You'll need to export it from DA as a Fantasy Grounds or .uvtt file in order to import it into FG.

Amnesty SayGen
October 28th, 2024, 20:56
DA exports it as a webm and .xml file.
I've added both of those to my Google Drive link.

pindercarl
October 28th, 2024, 21:13
DA exports it as a webm and .xml file.
I've added both of those to my Google Drive link.

When I play the webm file in either Media Player or VLC player, the first couple of seconds are the same pink noise that is shown in your screenshots. The error looks to be in the webm export from Dungeon Alchemist.

Amnesty SayGen
October 28th, 2024, 21:48
Thank you. I've been speaking with the team at DA and they have forwarded this issue to the lead developer.

Trenloe
October 29th, 2024, 00:59
@Amnesty SayGen in addition to that WEBM video file appearing to be have issues for the first 9 seconds, that file is way too big for a video file for FG - 6048 x 7920 pixels! That's too big for even a static image in FG, let alone a video file.

General image guidelines can be found in the FG Wiki here: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/2037547009/Developer+Guide+-+Product+Guidelines

@pindercarl - the FG Wiki used to contain a specific recommendation for the resolution of a WEBM file, but that doesn't appear to be in the guidelines page any more. Has the recommendation changed?

Zacchaeus
October 29th, 2024, 12:03
@pindercarl - the FG Wiki used to contain a specific recommendation for the resolution of a WEBM file, but that doesn't appear to be in the guidelines page any more. Has the recommendation changed?

Are you looking in the right place?

damned
October 29th, 2024, 12:52
That is from the Developer guide - it probably really ought to be here on the GM guide too seeing as they add way more images than the Devs do :pirate:
https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996640166/Working+with+Images+as+the+GM

Trenloe
October 29th, 2024, 13:53
Are you looking in the right place?
Thanks, but I was more referring to resolution (pixel dimensions) which I'm sure there used to be a recommendation of 1920x1080 (1080p full HD). If we take the data in the current guidelines thread then it appears that for animated maps it's OK to have WEBM video file with 4k x 4k pixels resolution with less than 10MB file size, which I'd like clarification on from SmiteWorks. If that's the current recommendation, then that's good to know.

pindercarl
October 29th, 2024, 14:48
Thanks, but I was more referring to resolution (pixel dimensions) which I'm sure there used to be a recommendation of 1920x1080 (1080p full HD). If we take the data in the current guidelines thread then it appears that for animated maps it's OK to have WEBM video file with 4k x 4k pixels resolution with less than 10MB file size, which I'd like clarification on from SmiteWorks. If that's the current recommendation, then that's good to know.
Those numbers sound reasonable. Though I would shy away from 4k images unless you are using only one at a time.

The file size of an image has the greatest impact on network performance as the host has to send a copy to each client. E.g., a 10MB file with 4 players results in 40MB of upstream traffic for the host and 10MB downstream for the client.

The dimensions of an image have the greatest impact on performance and memory usage on the GPU. Images are loaded to and drawn by the GPU.

Webm images have a hybrid impact. Each frame is in memory on the GPU, but they are streamed in so it's only one frame at a time. The streaming, however, is performed on the CPU and can affect overall performance. Particularly if there are lots of webm movies being played.

If the images you are using are working for you and your players, then I wouldn't worry about it. If you are experiencing performance issues, consider reducing the size of your images.

WishX
October 29th, 2024, 21:59
That is from the Developer guide - it probably really ought to be here on the GM guide too seeing as they add way more images than the Devs do :pirate:
https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996640166/Working+with+Images+as+the+GM

I've added a little section about recommended image size, type and spec to the GM Images page and linked it to the Developer's Guide with the appropriate info. This allows us to keep all specs updated in one location while allowing everyone the ability to find what they need easilyu.
Link: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996640166/Working+with+Images+as+the+GM#Image-Sizes%2C-Types%2C-and-Specifications