338 Commits

Author SHA1 Message Date
Zoe Roux
9a9e43269d
Fix 10bits encoding and enable software encoding fallback on vaapi hwaccel 2024-03-30 23:16:59 +01:00
Zoe Roux
12276ed034
Disable bitrate check to allow h265 to be transcoded to h264 2024-03-30 23:16:59 +01:00
Zoe Roux
5374666ac9
Move keyframes info into another struct to prevent invalid data race warnings 2024-03-24 23:53:25 +01:00
Zoe Roux
b08bfeceb6
Fix race condition on info retrival 2024-03-24 22:23:04 +01:00
Zoe Roux
e3cc80d32a Add presets support 2024-03-08 19:02:37 +01:00
Zoe Roux
d047e5d48a Format code 2024-02-26 22:41:14 +01:00
Zoe Roux
7baa586738 Fix some race conditions 2024-02-26 22:41:14 +01:00
Zoe Roux
4c7e335ef4 Lazy load keyframes 2024-02-26 22:41:14 +01:00
Zoe Roux
df8a1d3b26 Use new keyframes struct in stream to allow async keyframes analysis 2024-02-26 22:41:14 +01:00
Zoe Roux
6a1fff227e Rework keyframes creations to allow fs caching 2024-02-26 22:41:14 +01:00
Zoe Roux
4810d6cc5c Remove can transmux check with extra segments creation 2024-02-26 22:41:14 +01:00
Zoe Roux
1b73beccf1 Save info to json file on fs 2024-02-26 22:41:14 +01:00
Zoe Roux
ff8a791a51 Move keyframes extraction to its own file 2024-02-26 22:41:14 +01:00
Zoe Roux
98ead6ac69 Add json file to cache /info 2024-02-26 22:41:14 +01:00
Zoe Roux
8b6741641c Only enable intel hwaccel libs on amd64 2024-02-26 14:32:25 +01:00
Zoe Roux
b035ad07ec Use sha in thumbnails extractors 2024-02-26 14:32:25 +01:00
Zoe Roux
25fc5d5835 wip: Add quicksync support 2024-02-26 14:32:25 +01:00
Zoe Roux
c1cdcddf41 Add vaapi hardware acceleration 2024-02-26 14:32:25 +01:00
Zoe Roux
0ccb03f004 fixup! Improve hwaccel error logic 2024-02-24 21:13:18 +01:00
Zoe Roux
90676ff8a4 Enable hwaccel flags in original mode 2024-02-24 21:13:18 +01:00
Zoe Roux
2cacd94f41 Improve hwaccel error logic 2024-02-24 21:13:18 +01:00
Zoe Roux
de3013eebf Use padding segment for audio since it give better results 2024-02-24 21:13:18 +01:00
Zoe Roux
1c71258984 fixup! Remove padding segment at the start 2024-02-24 21:13:18 +01:00
Zoe Roux
00831fdb61 Use precise durations for segment splits (needed in hardware transcode mode) 2024-02-24 21:13:18 +01:00
Zoe Roux
f5c629cb8a Remove padding segment at the start 2024-02-24 21:13:18 +01:00
Zoe Roux
9531795066 Fix keyframes i-frame type on hardware transcode 2024-02-24 21:13:18 +01:00
Zoe Roux
71fe10efaf Update docker debian version to use ffmpeg 6.1 2024-02-24 21:13:18 +01:00
Zoe Roux
b042b4cf60 Move sc_threshold and no_scenecut to hwaccel flags 2024-02-24 21:13:18 +01:00
Zoe Roux
f4980cefde Better scalling handling 2024-02-24 21:13:18 +01:00
Zoe Roux
25901cef45 Add start_at_zero flag to make debugging easier 2024-02-24 21:13:18 +01:00
Zoe Roux
d71cd625d0 Make video start time detection smarter 2024-02-24 21:13:18 +01:00
Zoe Roux
43350ee1fd Add hwaccelerated scalling flags 2024-02-24 21:13:18 +01:00
Zoe Roux
ae1dee9d51 Base transcoder image on debian to allow hwaccel 2024-02-24 21:13:18 +01:00
Zoe Roux
ff2d077a7f Add flags handling to support hwaccel 2024-02-24 21:13:18 +01:00
Zoe Roux
a383de971a Fix transcode for files that does not start at 0ms 2024-02-21 16:24:16 +01:00
Zoe Roux
a3172c7918 Format code 2024-02-19 17:14:41 +01:00
Zoe Roux
d1158cab05 Fix thumbnails never returning 2024-02-19 17:14:41 +01:00
Zoe Roux
51d3684fcc Fix new heads kill segf 2024-02-19 17:14:41 +01:00
Zoe Roux
2968ca3562 Update default permissions 2024-02-19 17:14:41 +01:00
Zoe Roux
ee3d8916ed Use cmap for thumbnails 2024-02-19 17:14:41 +01:00
Zoe Roux
32b1681573 Rework cache 2024-02-19 17:14:41 +01:00
Zoe Roux
5389e1b783 Use cmap for transcode streams 2024-02-19 17:14:41 +01:00
Zoe Roux
f54a876636 Use cmap for infos 2024-02-19 17:14:41 +01:00
Zoe Roux
2afed432f7 Use concurrent map for subtitles 2024-02-19 17:14:41 +01:00
Zoe Roux
b687d8ea95 Create a concurrent map 2024-02-19 17:14:41 +01:00
Zoe Roux
2594afc60f Fix extraction when it has failed previously 2024-02-19 17:14:41 +01:00
Zoe Roux
f5be4a8b99 Attachments handling 2024-02-19 17:14:41 +01:00
Zoe Roux
a8b0eeb973 Add generic thumbnails route 2024-02-19 17:14:41 +01:00
Zoe Roux
0a0939fa3d Start to remove transcoder dependence on kyoo 2024-02-19 17:14:41 +01:00
Zoe Roux
79dc4e5f33 Try to prefer transmux instead of transcode (not sure yet) 2024-02-18 16:10:56 +01:00