DICE PACKS BUNDLE
Page 1 of 3 123 Last
  1. #1
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,830

    Useful threads for using Animated maps and tokens and using Sounds

    Since there are now a number of threads detailing various methods of using the webm format for images and tokens I've gathered them all up here so that they don't get lost. Let me know if I missed any and I'll add them.

    Images and Tokens

    Resources https://www.fantasygrounds.com/forum...webp-resources
    Using Shutter Encoder https://www.fantasygrounds.com/forum...hutter-Encoder
    Dungeon Alchemist https://www.fantasygrounds.com/forum...h-instructions
    Using Handbrake https://www.fantasygrounds.com/forum...sing-Handbrake
    Check which Codec https://www.fantasygrounds.com/forum...dec-Windows-11
    See post #5 here for a batch file https://www.fantasygrounds.com/forum...l=1#post690584
    Visual Guide: https://www.fantasygrounds.com/forum...mation-support

    Sounds

    Fantasy Grounds Wiki Article
    Using Local Sounds https://www.fantasygrounds.com/forum...ith-v4-4-sound
    Using Tarks extension to play sounds via Discord https://www.fantasygrounds.com/forums/showthread.php?78105-How-to-use-the-new-sound-triggers-in-discord-using-the-free-VLC-media-player
    Last edited by Zacchaeus; July 5th, 2023 at 09:21.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  2. #2
    Using Tarks extension, VLC and Kenku (free programs) to play sounds in Discord.

    https://www.fantasygrounds.com/forum...C-media-player

  3. #3
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,830
    Quote Originally Posted by bayne7400 View Post
    Using Tarks extension, VLC and Kenku (free programs) to play sounds in Discord.

    https://www.fantasygrounds.com/forum...C-media-player
    Thanks, added to the first post
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  4. #4
    Thanks, Zacchaeus - useful to have them in one place!

  5. #5
    SCRIPT TO TRANSFORM VIDEOS TO WEBM VP8 USING FFMPEG

    Comments:
    1. You need ffmpeg in your computer (https://www.videoproc.com/resource/h...all-ffmpeg.htm)
    2. What this does is to go to my D Dropbox folder -> ANIMATED MAPS and converts all the webm files in there.... WITH NO ALPHA LAYER. That is, this is for maps. For tokens you have to add alpha_mode="1" to the line that has ffmpeg ...
    3. If you don't have NVIDIA graphics remove -hwaccel cuda
    4. -threads 8 indicates that it must use 8 Cores of my CPU, if you have less (or more) you can modify this value.
    4. The script keeps the same name and adds VP8 at the end, this then serves to check (if the script is cancelled or you want to stop it and continue the next day) if the file is ALREADY transformed.
    5. The rest of parameters (crf, -b:v, etc) indicate the quality you want to have, these I use here are the "most accurate" to keep more or less high quality in 1080p videos.
    6. Simply save the file as NAME.bat and execute it, modifying the path to your folder with the files.

    @echo off
    :: Disable command echoing to keep the console output clean

    setlocal
    :: Set local environment variables. This confines any variable changes to this script

    set "folder=D:\Dropbox\ANIMATED MAPS"
    :: Set the folder to process. Change this to your specific path

    for /R "%folder%" %%F in (*.webm) do (
    :: Loop through every .webm file in the specified folder and its subdirectories

    echo %%~nF | findstr /C:"VP8" 1>nul
    :: Check if the file name (excluding extension) contains "VP8". Discard standard output

    if errorlevel 1 (
    :: If the file name does not contain "VP8" (findstr sets errorlevel to 1 if "VP8" was not found)

    if not exist "%%~dpnF - VP8%%~xF" (
    :: If the output file (with " - VP8" added to the name) does not already exist

    ffmpeg -hwaccel cuda -threads 8 -i "%%~F" -c:v libvpx -crf 12 -b:v 7M -r 30 -an -vbr on -deadline best -minrate 7M -maxrate 7M -b:v 7M "%%~dpnF - VP8%%~xF"
    :: Run the ffmpeg command to convert the file. This will only run if the previous two conditions were met
    )
    )
    )

    endlocal
    :: End local environment. This restores the original environment variables

    pause
    :: Pause the script at the end to keep the console window open

  6. #6

    Join Date
    Jan 2023
    Location
    Reggio nell'Emilia, Italy
    Posts
    58
    Is there any way to get the animated images work as tokens for NCPs?

  7. #7
    Quote Originally Posted by Saramund View Post
    Is there any way to get the animated images work as tokens for NCPs?
    If you copy the animated image you want to use as a token in the tokens/ folder of Fantasy Grounds, they will appear when you click on Assets inside Fantasy Grounds. From there, just drag the token you want to use on the token area of your NPC.

  8. #8

    Join Date
    Mar 2006
    Location
    Arkansas
    Posts
    7,402
    There are several Devin Knight top down token packs that were released with 4.4.0
    https://www.fantasygrounds.com/store...Animated+Token

    He's a great artist but I personally don't like top down tokens. These are the tokens shown in the video by Doug on the new features.

  9. #9

    Join Date
    Jan 2023
    Location
    Reggio nell'Emilia, Italy
    Posts
    58
    thank you all!

  10. #10

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in