Recode videos with vp9
This commit is contained in:
parent
677f6e547e
commit
9dd6d30c71
16 changed files with 19 additions and 19 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.
BIN
resources/video/train_en.webm
Normal file
BIN
resources/video/train_en.webm
Normal file
Binary file not shown.
Binary file not shown.
BIN
resources/video/train_ru.webm
Normal file
BIN
resources/video/train_ru.webm
Normal file
Binary file not shown.
Binary file not shown.
BIN
resources/video/новый_син_беретта.webm
Normal file
BIN
resources/video/новый_син_беретта.webm
Normal file
Binary file not shown.
Binary file not shown.
BIN
resources/video/новый_син_глок.webm
Normal file
BIN
resources/video/новый_син_глок.webm
Normal file
Binary file not shown.
Binary file not shown.
BIN
resources/video/роз_беретта_новый.webm
Normal file
BIN
resources/video/роз_беретта_новый.webm
Normal file
Binary file not shown.
Binary file not shown.
BIN
resources/video/роз_глок_новый.webm
Normal file
BIN
resources/video/роз_глок_новый.webm
Normal file
Binary file not shown.
|
@ -16,9 +16,9 @@ func _ready():
|
||||||
var videoPlayer = $Video / VideoPlayer
|
var videoPlayer = $Video / VideoPlayer
|
||||||
var path = ""
|
var path = ""
|
||||||
if int(Dialogic.get_variable("Is_White_Dead")) == 1:
|
if int(Dialogic.get_variable("Is_White_Dead")) == 1:
|
||||||
path = "res://resources/video/роз_глок_новый.ogv"
|
path = "res://resources/video/роз_глок_новый.webm"
|
||||||
else :
|
else :
|
||||||
path = "res://resources/video/роз_беретта_новый.ogv"
|
path = "res://resources/video/роз_беретта_новый.webm"
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
|
|
||||||
|
@ -32,14 +32,14 @@ func InitForGallery()->Array:
|
||||||
var videoPlayer = $Video / VideoPlayer
|
var videoPlayer = $Video / VideoPlayer
|
||||||
var path = ""
|
var path = ""
|
||||||
if glock and beretta:
|
if glock and beretta:
|
||||||
path = "res://resources/video/роз_глок_новый.ogv"
|
path = "res://resources/video/роз_глок_новый.webm"
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
return ["ui_gallery_fall_1", "ui_gallery_fall_2"]
|
return ["ui_gallery_fall_1", "ui_gallery_fall_2"]
|
||||||
elif glock and not beretta:
|
elif glock and not beretta:
|
||||||
path = "res://resources/video/роз_глок_новый.ogv"
|
path = "res://resources/video/роз_глок_новый.webm"
|
||||||
else :
|
else :
|
||||||
path = "res://resources/video/роз_беретта_новый.ogv"
|
path = "res://resources/video/роз_беретта_новый.webm"
|
||||||
|
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
|
@ -51,9 +51,9 @@ func SetSettings(setting):
|
||||||
var path = ""
|
var path = ""
|
||||||
|
|
||||||
if setting == tr("ui_gallery_fall_1"):
|
if setting == tr("ui_gallery_fall_1"):
|
||||||
path = "res://resources/video/роз_глок_новый.ogv"
|
path = "res://resources/video/роз_глок_новый.webm"
|
||||||
elif setting == tr("ui_gallery_fall_2"):
|
elif setting == tr("ui_gallery_fall_2"):
|
||||||
path = "res://resources/video/роз_беретта_новый.ogv"
|
path = "res://resources/video/роз_беретта_новый.webm"
|
||||||
|
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
|
|
|
@ -19,9 +19,9 @@ func _ready():
|
||||||
var videoPlayer = $Video / VideoPlayer
|
var videoPlayer = $Video / VideoPlayer
|
||||||
var path = ""
|
var path = ""
|
||||||
if int(Dialogic.get_variable("Is_White_Dead")) == 1:
|
if int(Dialogic.get_variable("Is_White_Dead")) == 1:
|
||||||
path = "res://resources/video/новый_син_глок.ogv"
|
path = "res://resources/video/новый_син_глок.webm"
|
||||||
else :
|
else :
|
||||||
path = "res://resources/video/новый_син_беретта.ogv"
|
path = "res://resources/video/новый_син_беретта.webm"
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
|
|
||||||
|
@ -45,14 +45,14 @@ func InitForGallery()->Array:
|
||||||
var path = ""
|
var path = ""
|
||||||
|
|
||||||
if glock and beretta:
|
if glock and beretta:
|
||||||
path = "res://resources/video/новый_син_глок.ogv"
|
path = "res://resources/video/новый_син_глок.webm"
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
return ["ui_gallery_fall_1", "ui_gallery_fall_2"];
|
return ["ui_gallery_fall_1", "ui_gallery_fall_2"];
|
||||||
elif glock and not beretta:
|
elif glock and not beretta:
|
||||||
path = "res://resources/video/новый_син_глок.ogv"
|
path = "res://resources/video/новый_син_глок.webm"
|
||||||
else :
|
else :
|
||||||
path = "res://resources/video/новый_син_беретта.ogv"
|
path = "res://resources/video/новый_син_беретта.webm"
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
return [];
|
return [];
|
||||||
|
@ -62,9 +62,9 @@ func SetSettings(setting):
|
||||||
var path = ""
|
var path = ""
|
||||||
|
|
||||||
if setting == tr("ui_gallery_fall_1"):
|
if setting == tr("ui_gallery_fall_1"):
|
||||||
path = "res://resources/video/новый_син_глок.ogv"
|
path = "res://resources/video/новый_син_глок.webm"
|
||||||
elif setting == tr("ui_gallery_fall_2"):
|
elif setting == tr("ui_gallery_fall_2"):
|
||||||
path = "res://resources/video/новый_син_беретта.ogv"
|
path = "res://resources/video/новый_син_беретта.webm"
|
||||||
|
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
|
|
|
@ -6,9 +6,9 @@ func _ready():
|
||||||
var videoPlayer = $Video / VideoPlayer
|
var videoPlayer = $Video / VideoPlayer
|
||||||
var path = ""
|
var path = ""
|
||||||
if TranslationServer.get_locale() == "en":
|
if TranslationServer.get_locale() == "en":
|
||||||
path = "res://resources/video/train_en.ogv"
|
path = "res://resources/video/train_en.webm"
|
||||||
else :
|
else :
|
||||||
path = "res://resources/video/train_ru.ogv"
|
path = "res://resources/video/train_ru.webm"
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@ func SetSettings(setting):
|
||||||
var videoPlayer = $Video / VideoPlayer;
|
var videoPlayer = $Video / VideoPlayer;
|
||||||
var path = ""
|
var path = ""
|
||||||
if setting == "English":
|
if setting == "English":
|
||||||
path = "res://resources/video/train_en.ogv"
|
path = "res://resources/video/train_en.webm"
|
||||||
else :
|
else :
|
||||||
path = "res://resources/video/train_ru.ogv"
|
path = "res://resources/video/train_ru.webm"
|
||||||
videoPlayer.stream = load(path)
|
videoPlayer.stream = load(path)
|
||||||
videoPlayer.play()
|
videoPlayer.play()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue