140 Commits

Author SHA1 Message Date
Zoe Roux
c0f6b5a85f
Add a new offline route 2024-01-19 14:35:43 +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
Zoe Roux
e5954712e2 Save processed segments in the stream 2024-01-18 13:32:06 +01:00
Zoe Roux
5d47a28ba6 Rename stream struct 2024-01-18 13:32:06 +01:00
Zoe Roux
95b1caeb26 Use pointers to store streams 2024-01-18 13:32:06 +01:00
Zoe Roux
049965cdc9 Add ffmpeg command building 2024-01-18 13:32:06 +01:00
Zoe Roux
88406c6ee5 Add video index generation 2024-01-18 13:32:06 +01:00
Zoe Roux
80d1b1af0f Add video and audio index/segment routes 2024-01-18 13:32:06 +01:00
Zoe Roux
d3a1c57111 Add ffprobe duration in print 2024-01-18 13:32:06 +01:00
Zoe Roux
8f824654e0 Add fonts in mediainfo output 2024-01-18 13:32:06 +01:00
Zoe Roux
2d36c6ad6e Finish master m3u8 retrival 2024-01-18 13:32:06 +01:00
Zoe Roux
4193b6b391 Add master m3u8 creation 2024-01-18 13:32:06 +01:00
Zoe Roux
b312403201 Fix chapter extraction bug when no chapters exist 2024-01-18 13:32:06 +01:00
Zoe Roux
a6076eb856 Add chapters in info 2024-01-18 13:32:06 +01:00
Zoe Roux
1cb54f44b1 Add subtitles in info 2024-01-18 13:32:06 +01:00
Zoe Roux
1c2049f918 Add audios in info 2024-01-18 13:32:06 +01:00
Zoe Roux
5c83162a29 Add get info route and video parsing 2024-01-18 13:32:06 +01:00
Zoe Roux
45091da5ac Fix channel concurency issue 2024-01-18 13:32:06 +01:00
Zoe Roux
b0c0ca0e0f Add basic cache clearing 2024-01-18 13:32:06 +01:00
Zoe Roux
46cf60a3b9 Fix error case in concurent transcode 2024-01-18 13:32:06 +01:00
Zoe Roux
68304af99e Allow transcoder to run concurently 2024-01-18 13:32:06 +01:00
Zoe Roux
8805f0f804 Cleanup string usage 2024-01-18 13:32:06 +01:00
Zoe Roux
570f08755d Add keyframe parsing 2024-01-18 13:32:06 +01:00
Zoe Roux
512aae252c Add direct stream route 2024-01-18 13:32:06 +01:00
Zoe Roux
e53a90a75d Add openapi.json from old transcoder 2024-01-18 13:32:06 +01:00
Zoe Roux
b2a0dfa702 Init go rewrite 2024-01-18 13:32:06 +01:00
Zoe Roux
4a035327ef Persist mutations 2023-12-20 00:25:09 +01:00
Zoe Roux
fb04daff9f Fix extension extraction 2023-12-19 14:25:38 +01:00