356 Commits

Author SHA1 Message Date
Zoe Roux
5a4575a93d
Version transcoder cache 2024-04-28 01:02:33 +02:00
Zoe Roux
2eecb5174c
Remove x-route header and use a env var instead 2024-04-28 00:32:02 +02:00
Zoe Roux
da0f415ecf
Rework transcoder routes to use b64 path and check for file existance 2024-04-28 00:31:29 +02:00
Zoe Roux
d51ffa6848
Fix recommended typo (#431) 2024-04-22 23:57:29 +02:00
renovate[bot]
76a1b5c38f
fix(deps): update module github.com/labstack/echo/v4 to v4.12.0 (#427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-21 01:54:53 +02:00
dependabot[bot]
c46385d467
Bump golang.org/x/net from 0.19.0 to 0.23.0 in /transcoder (#425)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 15:06:28 +02:00
Zoe Roux
0c66363920
Use array syntax for cmds instead of bash style 2024-04-16 01:27:44 +02:00
renovate[bot]
152916b543
fix(deps): update github.com/zoriya/go-mediainfo digest to 07018f0 2024-04-08 21:57:32 +00:00
Zoe Roux
7c9bb11d14
Fix small segments cut at beginning of transcode blocks 2024-04-03 23:47:17 +02:00
Zoe Roux
3abdb0a4c4
Fix videostream handle flags 2024-04-03 23:47:17 +02:00
Zoe Roux
ea98598399
Use builtin max instead of custom one 2024-04-01 22:54:23 +02:00
Zoe Roux
0c387fc19a
Fix segments list having a greater length than capacity 2024-04-01 20:36:05 +02:00
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