316 Commits

Author SHA1 Message Date
Zoe Roux
e80543e0a2 Fix int size not long enough 2024-01-30 01:13:07 +01:00
Zoe Roux
09b146928c Fix distance unit and make segment timeout bigger 2024-01-29 03:41:39 +01:00
Zoe Roux
983b558510 Use os.Stat instead of mediainfo for thumbnails cache path 2024-01-29 03:41:39 +01:00
Zoe Roux
9fd7ca35f1 Create a settings struct for paths 2024-01-29 03:41:39 +01:00
Zoe Roux
e886fbcc5f Do not wait for thumbnails extractions when requesting infos 2024-01-29 03:41:39 +01:00
Zoe Roux
853bfd5f9b Fix x-client-id error message 2024-01-29 03:41:39 +01:00
Zoe Roux
6ba0786608 Fix transcoder execution time prints 2024-01-29 03:41:39 +01:00
dependabot[bot]
53285059c5 Bump golang.org/x/image in /transcoder
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.0.0-20191009234506-e7c1f5e7dbb8 to 0.10.0.
- [Commits](https://github.com/golang/image/commits/v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-28 21:27:48 +01:00
Zoe Roux
1df8d6589a Add chapters on bottom scrubber, set video progress only on seek end 2024-01-28 19:55:18 +01:00
Zoe Roux
7193a599b7 Improve medioinfo with invalid videos and add multiple videos support to the /info 2024-01-28 19:55:18 +01:00
Zoe Roux
6ec387e724 Remove invalid fonts array when there is no fonts 2024-01-28 19:55:18 +01:00
Zoe Roux
c3e8f87562 Add file size in mediainfo popup 2024-01-28 19:55:18 +01:00
Zoe Roux
1901c908ff Fix minutes display of thumbnails.vtt 2024-01-28 19:55:18 +01:00
Zoe Roux
d3d59443fa Add file size in /info 2024-01-28 19:55:18 +01:00
Zoe Roux
a74fbce48e Resize thumbnails and cap max number of thumbnails 2024-01-28 19:55:18 +01:00
Zoe Roux
cecf7b0f74 Update dockerfiles to add ffmpeg dependency 2024-01-28 19:55:18 +01:00
Zoe Roux
8a862c86a5 Dont extract thumbnails if already exists 2024-01-28 19:55:18 +01:00
Zoe Roux
e6a9e2c7da Add thumbnail cache 2024-01-28 19:55:18 +01:00
Zoe Roux
b147ee8850 Create a thumbnails sprite api 2024-01-28 19:55:18 +01:00
Zoe Roux
b9c1c766d6 Fix one segment transcode 2024-01-20 00:48:34 +01:00
Zoe Roux
802a872880 Fix empty audio segment bug 2024-01-20 00:29:39 +01:00
Zoe Roux
415b5b45b9 Add independent segments hint in m3u8 file 2024-01-20 00:29:39 +01:00
Zoe Roux
dd9e0b4fc7 Prevent unnecesarry future head creation 2024-01-20 00:29:39 +01:00
Zoe Roux
6c9a0ea576 Fix out of range segment for last segment 2024-01-20 00:29:39 +01:00
Zoe Roux
995f50cc21 Use better permission masks for folders 2024-01-19 22:00:29 +01:00
Zoe Roux
2a491ded00 Fix rw mutexes handling 2024-01-19 22:00:29 +01:00
Zoe Roux
0517f85d76 Fix out of range segment checking for future segments 2024-01-19 22:00:29 +01:00
Zoe Roux
f1c3844bd3 Use a multistage build for the docker transcoder 2024-01-18 13:32:06 +01:00
Zoe Roux
7309a435c5 Format code 2024-01-18 13:32:06 +01:00
Zoe Roux
425de0b315 Add extraction cache and wait for extraction to end to return subtitles/attachments 2024-01-18 13:32:06 +01:00
Zoe Roux
30cb171612 Add basic extraction methods 2024-01-18 13:32:06 +01:00
Zoe Roux
43ba1bb449 Start new transcode if next segments are not ready 2024-01-18 13:32:06 +01:00
Zoe Roux
d630f29753 Fix timing issue with cleanup 2024-01-18 13:32:06 +01:00
Zoe Roux
7b13733c9e Move last used handling inside the client tracker 2024-01-18 13:32:06 +01:00
Zoe Roux
ca6ec6a8ed Track and kill orphaned heads 2024-01-18 13:32:06 +01:00
Zoe Roux
efe07e39c2 Create a client tracker to delete old streams 2024-01-18 13:32:06 +01:00
Zoe Roux
c738e5bda3 Remove old transcoded values on startup 2024-01-18 13:32:06 +01:00
Zoe Roux
9d7e520168 Cleanup ffprobe reader 2024-01-18 13:32:06 +01:00
Zoe Roux
bc61c2e0ff Fix stream proximity check 2024-01-18 13:32:06 +01:00
Zoe Roux
f82e720aeb Kill old file streams 2024-01-18 13:32:06 +01:00
Zoe Roux
afacf61fbc Add audio streams 2024-01-18 13:32:06 +01:00
Zoe Roux
677cab6a57 Fix a lot of bugs 2024-01-18 13:32:06 +01:00
Zoe Roux
9df5eb4758 Rework vstream handle 2024-01-18 13:32:06 +01:00
Zoe Roux
892060334c Add videostream cache 2024-01-18 13:32:06 +01:00
Zoe Roux
f04d1dcf1e Fix ready check for segments blocking 2024-01-18 13:32:06 +01:00
Zoe Roux
6bb23d7acd Fix filestream retrival bug due to shadowing 2024-01-18 13:32:06 +01:00
Zoe Roux
aef30fecaa Add a kill command on streams 2024-01-18 13:32:06 +01:00
Zoe Roux
5f33172297 Kill streams that starts reencoding already read files 2024-01-18 13:32:06 +01:00
Zoe Roux
23feea4acc Use channels to wait for segments to become ready 2024-01-18 13:32:06 +01:00
Zoe Roux
e9738c2bc1 Add encoder heads 2024-01-18 13:32:06 +01:00