244 Commits

Author SHA1 Message Date
Zoe Roux
c3bebdec01
Fix nvidia format change 2024-04-01 00:51:44 +02:00
Zoe Roux
d3ec0cab9b
Relax same codec check to not care about h264 level 2024-03-31 19:12:54 +02:00
Zoe Roux
0cf7b1369b
Remove usless logs 2024-03-31 16:00:25 +02:00
Zoe Roux
88f3f7a9ae
Include same quality transcoded level if codecs are differents 2024-03-30 23:16:59 +01:00
Zoe Roux
2ff507f641
Add codec info on transmux level of hls master playlist 2024-03-30 23:16:59 +01:00
Zoe Roux
3de751c880
Add rfc6381 codec on the /info endpoint 2024-03-30 23:16:59 +01:00
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