rendering video and audio

This commit is contained in:
Lucas committed 2023-04-21 22:09:53 -03:00
1 parent 405b1f89eb
commit 5a103e76cd
4 files changed
+17 -13

No files matched your search

+2 -2
View File
@@ -34,8 +34,8 @@ resolution_h = { optional = false, default = 1920, example = 2560, explantation
[settings.background]
background_video = { optional = true, default = "minecraft", example = "rocket-league", options = ["minecraft", "gta", "rocket-league", "motor-gta", "csgo-surf", "cluster-truck", "minecraft-2","multiversus","fall-guys","steep", ""], explanation = "Sets the background for the video based on game name" }
background_audio = { optional = true, type = "bool", default = false, example = false, options = [true, false,], explanation = "Sets a audio to play in the background (put a background.mp3 file in the assets/backgrounds directory for it to be used.)" }
background_audio_volume = { optional = true, type = "float", default = 0.3, example = 0.1, explanation="Sets the volume of the background audio. only used if the background_audio is also set to true" }
background_audio = { optional = true, type = "bool", default = false, example = false, options = ["minecraft","lofi"], explanation = "Sets a audio to play in the background (put a background.mp3 file in the assets/backgrounds directory for it to be used.)" }
background_audio_volume = { optional = true, type = "float", default = 0.1, example = 0.05, explanation="Sets the volume of the background audio. Warning: if you set more than 1.0, the volume will be increased" }
background_thumbnail = { optional = true, type = "bool", default = false, example = false, options = [true, false,], explanation = "Generate a thumbnail for the video (put a thumbnail.png file in the assets/backgrounds directory.)" }
background_thumbnail_font_family = { optional = true, default = "arial", example = "arial", explanation = "Font family for the thumbnail text" }
background_thumbnail_font_size = { optional = true, type = "int", default = 96, example = 96, explanation = "Font size in pixels for the thumbnail text" }
+10
View File
@@ -4,5 +4,15 @@
"https://www.youtube.com/watch?v=2p3nBYUaJz8",
"minecraft.mp3",
"adriPixs"
],
"lofi":[
"https://www.youtube.com/watch?v=BEXL80LS0-I",
"lofi.mp3",
"stompsPlaylist"
],
"undertale":[
"https://www.youtube.com/watch?v=TIokr8jJPkM",
"undertale.mp3",
"abby"
]
}