Skip to content

Commit 1f05a20

Browse files
author
arch
committed
unlock new projection types
1 parent d9e92a8 commit 1f05a20

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

funscript_editor/config/projection.yaml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,24 @@
22
# Do not change any parameters here unless you know exactly what you are doing!
33
# For VR video filer options see: https://ffmpeg.org/ffmpeg-filters.html#v360
44

5-
vr_he_sbs:
6-
name: '3D VR Video'
5+
vr_he_180_sbs:
6+
name: '3D VR Video 180'
77
video_filter: 'v360=input=he:in_stereo=sbs:pitch=${phi}:output=flat:d_fov=${fov}:w=${width}:h=${height}'
88
parameter:
99
height: 720
1010
width: 1240
1111
fov: 100
1212
phi: -45
1313

14+
vr_he_180_ou:
15+
name: '3D VR Video 180 (Vertical)'
16+
video_filter: 'v360=input=he:in_stereo=tb:pitch=${phi}:output=flat:d_fov=${fov}:w=${width}:h=${height}'
17+
parameter:
18+
height: 720
19+
width: 1240
20+
fov: 100
21+
phi: -45
22+
1423
vr_fisheye_200_sbs:
1524
name: '3D VR Video (Fisheye 200)'
1625
video_filter: 'v360=input=fisheye:in_stereo=sbs:id_fov=200:pitch=${phi}:output=flat:d_fov=${fov}:w=${width}:h=${height}'
@@ -20,6 +29,15 @@ vr_fisheye_200_sbs:
2029
fov: 100
2130
phi: -45
2231

32+
vr_equirect_360_ou:
33+
name: '3D VR Video 360 (Vertical)'
34+
video_filter: 'v360=input=equirect:in_stereo=tb:pitch=${phi}:output=flat:d_fov=${fov}:w=${width}:h=${height}'
35+
parameter:
36+
height: 720
37+
width: 1240
38+
fov: 100
39+
phi: -45
40+
2341
flat:
2442
name: '2D Video'
2543
video_filter: 'scale=${width}:${height}'

funscript_editor/ui/funscript_generator_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(self,
7474
self.__logger.info("Set End Time to Frame Number %d", self.end_frame)
7575

7676
self.settings = {}
77-
self.settings_dialog = SettingsDialog(self.settings, include_vr = self.is_sbs_vr_video)
77+
self.settings_dialog = SettingsDialog(self.settings, include_vr = True)
7878
self.settings_dialog.applySettings.connect(self.run)
7979
self.settings_dialog.show()
8080

0 commit comments

Comments
 (0)