38 Commits

Author SHA1 Message Date
Zoe Roux
edc1619962 Cleanup -to and always use -copyts 2024-02-13 00:52:21 +01:00
Zoe Roux
4167704f85 Fix audio sync issue 2024-02-13 00:52:21 +01:00
Zoe Roux
1e0ff4a950 Disable noaccurate_seek on audio streams 2024-02-13 00:52:21 +01:00
Zoe Roux
4993d34835 Cleanup next segment preparation 2024-02-13 00:52:21 +01:00
Zoe Roux
3f9446d46f Fix timestamps padding in transcode mode 2024-02-13 00:52:21 +01:00
Zoe Roux
030a4e0e86 Add start ref to seek before the current segment 2024-02-13 00:52:21 +01:00
Zoe Roux
d27cf2afc8 Distrust -to and -ss to be precise, use the segment splitter for that (wip) 2024-02-13 00:52:21 +01:00
Zoe Roux
5b27eab680 Cleanup end detection 2024-02-13 00:52:21 +01:00
Zoe Roux
345eabafb2 fixup! Fix missing last segment 2024-02-13 00:52:21 +01:00
Zoe Roux
c635fc00c3 Add back segment time delta 2024-02-13 00:52:21 +01:00
Zoe Roux
2877083ebe Fix missing last segment 2024-02-13 00:52:21 +01:00
Zoe Roux
bb29b7e7f7 Fix transcode wait time on extremly slow devices 2024-02-13 00:52:21 +01:00
Zoe Roux
7aca2b2d6d Remove segment delta 2024-02-13 00:52:21 +01:00
Zoe Roux
09b146928c Fix distance unit and make segment timeout bigger 2024-01-29 03:41:39 +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
0517f85d76 Fix out of range segment checking for future segments 2024-01-19 22:00:29 +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
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
bc61c2e0ff Fix stream proximity check 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
f04d1dcf1e Fix ready check for segments blocking 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
049965cdc9 Add ffmpeg command building 2024-01-18 13:32:06 +01:00
Zoe Roux
68304af99e Allow transcoder to run concurently 2024-01-18 13:32:06 +01:00