229 Commits

Author SHA1 Message Date
Zoe Roux
8d6b699f11
Add some codecs 2024-06-19 12:40:43 +00:00
Zoe Roux
c707e76bd6
Fast track extractions if there is no subtitles 2024-06-19 12:25:43 +00:00
Arthur Jamet
9dcbcce137 Transcoder: Use mediainfo to get duration for dummy keyframes + handle case when audio file has poster 2024-06-17 15:57:33 +00:00
Arthur Jamet
1c010c92db Transcoder: Support audio-only files 2024-06-17 15:57:33 +00:00
Zoe Roux
d7cb6f3c96
Fix RFC-6381 for some codecs 2024-06-16 19:32:42 +00:00
Zoe Roux
7e3a1743c0
Cope with ffmpeg not reporting videos bitrates 2024-06-16 19:10:58 +00:00
Zoe Roux
40f02760ab
Handle ISO-639-2 to IETF BCP 47 translation 2024-06-16 19:10:58 +00:00
Zoe Roux
c11e1cc8f0
Switch from mediainfo to ffprobe 2024-06-16 19:10:58 +00:00
Zoe Roux
32ccc54310
Fix sigsegf on mediainfo errors 2024-06-16 19:10:58 +00:00
Zoe Roux
e5e98f7fc8
Cleanup safe path setting location 2024-06-16 19:10:58 +00:00
Zoe Roux
9061b2e8d9
Fix video miss-cut because of start offset (#505) 2024-05-19 23:41:00 +00:00
Arthur Jamet
b6e0b5b328
Transcoder: Prevent Chapters Parsing from failiing when no chapters (#495) 2024-05-14 09:15:38 +02:00
Arthur Jamet
324afc8022 Transcoder: Make Chapter parsing simpler 2024-05-13 21:44:24 +02:00
Arthur Jamet
8a2343e76b Transcoder: Fix missing last chapter 2024-05-13 21:44:24 +02:00
Arthur Jamet
9222b2e2d3 Transcoder: More sturdy fix for faulty chapter parsing 2024-05-13 21:44:24 +02:00
Arthur Jamet
be0bd81107 Transcoder: Prevent error caused by buggy chapters parsing by mediainfo 2024-05-13 21:44:24 +02:00
Zoe Roux
d5d15eaea6
Prevent afk users from preventing transcode cleanup (#487) 2024-05-12 16:37:40 +00:00
Zoe Roux
83b1c6b398
Add eac3 to list of supported codecs 2024-05-12 17:47:21 +02:00
Zoe Roux
7e95370ce0
Add whole file mimetype in /info 2024-05-12 02:51:33 +02:00
Zoe Roux
629acf4855
Use builtin cmp.Or instead of custom one 2024-05-06 18:00:37 +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
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