Zoe Roux
3ef3ca3d04
Fix keyframes version update
2024-08-12 00:30:49 +02:00
Zoe Roux
3de97d2b1f
Switch to -f hls
2024-08-11 17:08:41 +02:00
Zoe Roux
5bdc5d15bf
Prepare keyframes for -f hls
...
With -f hls, segmentation wouldn't work if we tried to cut at every
keyframes (with -hls_time 0) if keyframes are too close from one another
(for example a file segmented like 0, 0.2, 0.4, 2, 5).
To prevent this, we will output segments w/ more than one keyframes in
those cases (using -hls_time 5). To be sure our state handling doesn't
fail, the Keyframe struct was updated to only store keyframes more than
5 away from the previous one.
2024-08-11 17:08:41 +02:00
Zoe Roux
b9a9607e9e
Cleanup segments output path
2024-08-11 16:21:22 +02:00
Zoe Roux
2e7e1be9f1
Cleanup master.m3u8 paths
2024-08-11 16:11:08 +02:00
Zoe Roux
27d769cd07
Do not copy on keyframes.Slice if not needed
2024-08-11 15:49:35 +02:00
Zoe Roux
ab86cfca3a
Use os.ReadDir instead of glob for subtitles
2024-08-11 00:46:11 +02:00
Zoe Roux
2618650d27
Add external subtitles support
2024-08-11 00:46:11 +02:00
Zoe Roux
6aac9d1f26
Wait for extraction to finish before returninrg attachments
2024-08-11 00:46:11 +02:00
Zoe Roux
fdf9163d7d
Add a readme for gocoder
2024-08-08 17:03:35 +02:00
Zoe Roux
e623818585
Fix tracker
2024-08-08 17:03:35 +02:00
Zoe Roux
70147e4fe8
Update gocoder packages
2024-08-08 17:03:35 +02:00
Zoe Roux
26314265c9
Fix null arrays after db read
2024-08-08 17:03:35 +02:00
Zoe Roux
231f63c1b7
Fix keyframes data race
2024-08-08 17:03:35 +02:00
Zoe Roux
aba3b68eea
Fix video paths
2024-08-08 17:03:35 +02:00
Zoe Roux
475813c42c
Prevent keyframes scan when value already exists in db
2024-08-08 17:03:35 +02:00
Zoe Roux
8d0e362951
Cleanup
2024-08-08 17:03:35 +02:00
Zoe Roux
ca6b581c85
Fix master playlist & keyframes deadlock
2024-08-08 17:03:35 +02:00
Zoe Roux
c3ef7bc0e1
Fix keyframes store/load from db
2024-08-08 17:03:35 +02:00
Zoe Roux
286f9f7ea8
Add useless info fields for backward compatibility
2024-08-08 17:03:35 +02:00
Zoe Roux
fa6609eea9
Fix migrations
2024-08-08 17:03:35 +02:00
Zoe Roux
67f6ce308b
Add .env.example specifically for gocoder
2024-08-08 17:03:35 +02:00
Zoe Roux
b14ac6ec02
Remove path/is_external in subtitle
2024-08-08 17:03:35 +02:00
Zoe Roux
fa03d835ed
Suport multi video files
2024-08-08 17:03:35 +02:00
Zoe Roux
7d3c73a1e9
Add audio bitrate and video is default in info
2024-08-08 17:03:35 +02:00
Zoe Roux
c0f8f22e6a
Cleanup thumbs existence check
2024-08-08 17:03:35 +02:00
Zoe Roux
8c038b42df
Fix extract
2024-08-08 17:03:35 +02:00
Zoe Roux
5874e86185
Fix subtitles path
2024-08-08 17:03:35 +02:00
Zoe Roux
7d617a5d28
Add a constraint for subtitles
2024-08-08 17:03:35 +02:00
Zoe Roux
c84afc8e4c
Retrive thumbs/keyframes/extract versions from db when updating infos
2024-08-08 17:03:35 +02:00
Zoe Roux
14ec227266
Fix info updates
2024-08-08 17:03:35 +02:00
Zoe Roux
6a431a5bb4
Fix versions update for info
2024-08-08 17:03:35 +02:00
Zoe Roux
6208fd2b8d
Fix base64 encode
2024-08-08 17:03:35 +02:00
Zoe Roux
37f866456c
Fix scan
2024-08-08 17:03:35 +02:00
Zoe Roux
6ab12b48b0
Fix insert
2024-08-08 17:03:35 +02:00
Zoe Roux
7f30c187b7
Fix sha varchar length in db
2024-08-08 17:03:35 +02:00
Zoe Roux
4e4f93bf28
Add down migration
2024-08-08 17:03:35 +02:00
Zoe Roux
a112ecb8e9
Remove sqlx
2024-08-08 17:03:35 +02:00
Zoe Roux
cc3b6f268a
Run migrations on startup
2024-08-08 17:03:35 +02:00
Zoe Roux
59010797a8
Update tracker
2024-08-08 17:03:35 +02:00
Zoe Roux
e3fdf0af45
Rework keyframes retrieval system
2024-08-08 17:03:35 +02:00
Zoe Roux
cc45bb4656
Use new storage system for keyframes
2024-08-08 17:03:35 +02:00
Zoe Roux
5991916227
Rework extraction to use new cache
2024-08-08 17:03:35 +02:00
Zoe Roux
a75bd48ccf
Rework thumbnail cache to use db
2024-08-08 17:03:35 +02:00
Zoe Roux
3ea2004267
Remove old info cache
2024-08-08 17:03:35 +02:00
Zoe Roux
e91e0151ba
Store mediainfo in db
2024-08-08 17:03:35 +02:00
Zoe Roux
5e026449cc
Add runing task dedup lock
2024-08-08 17:03:35 +02:00
Zoe Roux
5047364ad3
Update media info retrival with db schema
2024-08-08 17:03:35 +02:00
Zoe Roux
c5047babca
Cleanup file stream cache
2024-08-08 17:03:35 +02:00
Zoe Roux
f16fa9686c
Add query method to retrieve metadata from db
2024-08-08 17:03:35 +02:00