Commit Graph

447 Commits

Author SHA1 Message Date
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
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