Skip to content

Commit

Permalink
Update video management
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesmile82 committed Nov 12, 2024
1 parent 8789169 commit 961fe04
Show file tree
Hide file tree
Showing 246 changed files with 988 additions and 96 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,4 @@ next-env.d.ts
.anima

*/data*
public/videos/phase-3/originals/
public/videos/originals/
public/originals/
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"recoil": "^0.7.7",
"tailwind-merge": "2.4.0",
"tailwindcss-animate": "1.0.7",
"three": "^0.168.0"
"three": "^0.168.0",
"video.js": "^8.19.1"
},
"devDependencies": {
"@playwright/test": "1.45.1",
Expand Down
204 changes: 194 additions & 10 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/images/home-legend-4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/videos/capacity_factor_10km.webm
Binary file not shown.
Binary file removed public/videos/energy-intro-bg.webm
Binary file not shown.
Binary file removed public/videos/energy-section-1.webm
Binary file not shown.
Binary file removed public/videos/hero.webm
Binary file not shown.
Binary file removed public/videos/iberia_hist_scenario.webm
Binary file not shown.
Binary file removed public/videos/iberia_plus_2k_scenario.webm
Binary file not shown.
Binary file removed public/videos/observations.webm
Binary file not shown.
Binary file not shown.
Binary file removed public/videos/phase-3/originals/tooltip/tas_10km.mp4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/videos/phase-3/tooltip/sst_10km_square.mp4
Binary file not shown.
Binary file removed public/videos/phase-3/tooltip/tas_10km_square.mp4
Binary file not shown.
Binary file not shown.
Binary file removed public/videos/section-4.webm
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_0_000.ts
#EXTINF:4.000000,
stream_0_001.ts
#EXTINF:0.400000,
stream_0_002.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_1_000.ts
#EXTINF:4.000000,
stream_1_001.ts
#EXTINF:0.400000,
stream_1_002.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_2_000.ts
#EXTINF:4.000000,
stream_2_001.ts
#EXTINF:0.550000,
stream_2_002.ts
#EXT-X-ENDLIST
11 changes: 11 additions & 0 deletions public/videos/stream-videos/capacity_factor_10km/index.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=880000,RESOLUTION=640x360,CODECS="avc1.42c01e"
capacity_factor_10km-output_0.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=1540000,RESOLUTION=842x480,CODECS="avc1.4d401f"
capacity_factor_10km-output_1.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=3300000,RESOLUTION=1280x720,CODECS="avc1.640028"
capacity_factor_10km-output_2.m3u8

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_0_000.ts
#EXTINF:4.000000,
stream_0_001.ts
#EXTINF:2.416667,
stream_0_002.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_1_000.ts
#EXTINF:4.000000,
stream_1_001.ts
#EXTINF:2.416667,
stream_1_002.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_2_000.ts
#EXTINF:4.000000,
stream_2_001.ts
#EXTINF:2.416667,
stream_2_002.ts
#EXT-X-ENDLIST
11 changes: 11 additions & 0 deletions public/videos/stream-videos/energy-intro-bg/index.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=880000,RESOLUTION=640x360,CODECS="avc1.42c01e"
energy-intro-bg-output_0.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=1540000,RESOLUTION=842x480,CODECS="avc1.4d401f"
energy-intro-bg-output_1.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=3300000,RESOLUTION=1280x720,CODECS="avc1.640028"
energy-intro-bg-output_2.m3u8

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:5
#EXTINF:4.000000,
stream_0_005.ts
#EXTINF:4.000000,
stream_0_006.ts
#EXTINF:4.000000,
stream_0_007.ts
#EXTINF:4.000000,
stream_0_008.ts
#EXTINF:0.500000,
stream_0_009.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:5
#EXTINF:4.000000,
stream_1_005.ts
#EXTINF:4.000000,
stream_1_006.ts
#EXTINF:4.000000,
stream_1_007.ts
#EXTINF:4.000000,
stream_1_008.ts
#EXTINF:0.500000,
stream_1_009.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:5
#EXTINF:4.000000,
stream_2_005.ts
#EXTINF:4.000000,
stream_2_006.ts
#EXTINF:4.000000,
stream_2_007.ts
#EXTINF:4.000000,
stream_2_008.ts
#EXTINF:0.500000,
stream_2_009.ts
#EXT-X-ENDLIST
11 changes: 11 additions & 0 deletions public/videos/stream-videos/energy-section-1/index.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=880000,RESOLUTION=640x360,CODECS="avc1.42c01e"
energy-section-1-output_0.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=1540000,RESOLUTION=842x480,CODECS="avc1.4d401f"
energy-section-1-output_1.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=3300000,RESOLUTION=1280x720,CODECS="avc1.640028"
energy-section-1-output_2.m3u8

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
13 changes: 13 additions & 0 deletions public/videos/stream-videos/hero/hero-output_0.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_0_000.ts
#EXTINF:4.000000,
stream_0_001.ts
#EXTINF:4.000000,
stream_0_002.ts
#EXTINF:2.375000,
stream_0_003.ts
#EXT-X-ENDLIST
13 changes: 13 additions & 0 deletions public/videos/stream-videos/hero/hero-output_1.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.083333,
stream_1_000.ts
#EXTINF:3.916667,
stream_1_001.ts
#EXTINF:4.000000,
stream_1_002.ts
#EXTINF:2.500000,
stream_1_003.ts
#EXT-X-ENDLIST
13 changes: 13 additions & 0 deletions public/videos/stream-videos/hero/hero-output_2.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.083333,
stream_2_000.ts
#EXTINF:4.000000,
stream_2_001.ts
#EXTINF:3.916667,
stream_2_002.ts
#EXTINF:2.500000,
stream_2_003.ts
#EXT-X-ENDLIST
11 changes: 11 additions & 0 deletions public/videos/stream-videos/hero/index.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=880000,RESOLUTION=640x360,CODECS="avc1.42c01e"
hero-output_0.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=1540000,RESOLUTION=842x480,CODECS="avc1.4d401f"
hero-output_1.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=3300000,RESOLUTION=1280x720,CODECS="avc1.640028"
hero-output_2.m3u8

Binary file added public/videos/stream-videos/hero/stream_0_000.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_0_001.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_0_002.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_0_003.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_1_000.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_1_001.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_1_002.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_1_003.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_2_000.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_2_001.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_2_002.ts
Binary file not shown.
Binary file added public/videos/stream-videos/hero/stream_2_003.ts
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_0_000.ts
#EXTINF:4.000000,
stream_0_001.ts
#EXTINF:4.000000,
stream_0_002.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_1_000.ts
#EXTINF:4.000000,
stream_1_001.ts
#EXTINF:4.000000,
stream_1_002.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_2_000.ts
#EXTINF:4.000000,
stream_2_001.ts
#EXTINF:4.125000,
stream_2_002.ts
#EXT-X-ENDLIST
11 changes: 11 additions & 0 deletions public/videos/stream-videos/iberia_hist_scenario/index.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=880000,RESOLUTION=640x360,CODECS="avc1.42c01e"
iberia_hist_scenario-output_0.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=1540000,RESOLUTION=842x480,CODECS="avc1.4d401f"
iberia_hist_scenario-output_1.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=3300000,RESOLUTION=1280x720,CODECS="avc1.640028"
iberia_hist_scenario-output_2.m3u8

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_0_000.ts
#EXTINF:4.000000,
stream_0_001.ts
#EXTINF:4.000000,
stream_0_002.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.125000,
stream_1_000.ts
#EXTINF:3.916667,
stream_1_001.ts
#EXTINF:4.083333,
stream_1_002.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_2_000.ts
#EXTINF:4.000000,
stream_2_001.ts
#EXTINF:4.125000,
stream_2_002.ts
#EXT-X-ENDLIST
11 changes: 11 additions & 0 deletions public/videos/stream-videos/iberia_plus_2k_scenario/index.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=880000,RESOLUTION=640x360,CODECS="avc1.42c01e"
iberia_plus_2k_scenario-output_0.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=1540000,RESOLUTION=842x480,CODECS="avc1.4d401f"
iberia_plus_2k_scenario-output_1.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=3300000,RESOLUTION=1280x720,CODECS="avc1.640028"
iberia_plus_2k_scenario-output_2.m3u8

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions public/videos/stream-videos/observations/index.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=880000,RESOLUTION=640x360,CODECS="avc1.42c01e"
observations-output_0.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=1540000,RESOLUTION=842x480,CODECS="avc1.4d401f"
observations-output_1.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=3300000,RESOLUTION=1280x720,CODECS="avc1.640028"
observations-output_2.m3u8

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.000000,
stream_0_000.ts
#EXTINF:4.000000,
stream_0_001.ts
#EXTINF:4.000000,
stream_0_002.ts
#EXTINF:0.100000,
stream_0_003.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.050000,
stream_1_000.ts
#EXTINF:4.050000,
stream_1_001.ts
#EXTINF:3.950000,
stream_1_002.ts
#EXTINF:0.200000,
stream_1_003.ts
#EXT-X-ENDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.050000,
stream_2_000.ts
#EXTINF:4.050000,
stream_2_001.ts
#EXTINF:3.950000,
stream_2_002.ts
#EXTINF:0.200000,
stream_2_003.ts
#EXT-X-ENDLIST
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions public/videos/stream-videos/section-4/index.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=880000,RESOLUTION=640x360,CODECS="avc1.42c01e"
section-4-output_0.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=1540000,RESOLUTION=842x480,CODECS="avc1.4d401f"
section-4-output_1.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=3300000,RESOLUTION=1280x720,CODECS="avc1.640028"
section-4-output_2.m3u8

Loading

0 comments on commit 961fe04

Please sign in to comment.