296 Commits

Author SHA1 Message Date
Zoe Roux
7f30c187b7 Fix sha varchar length in db 2024-08-08 17:03:35 +02:00
Zoe Roux
4e4f93bf28 Add down migration 2024-08-08 17:03:35 +02:00
Zoe Roux
a112ecb8e9 Remove sqlx 2024-08-08 17:03:35 +02:00
Zoe Roux
cc3b6f268a Run migrations on startup 2024-08-08 17:03:35 +02:00
Zoe Roux
59010797a8 Update tracker 2024-08-08 17:03:35 +02:00
Zoe Roux
e3fdf0af45 Rework keyframes retrieval system 2024-08-08 17:03:35 +02:00
Zoe Roux
cc45bb4656 Use new storage system for keyframes 2024-08-08 17:03:35 +02:00
Zoe Roux
5991916227 Rework extraction to use new cache 2024-08-08 17:03:35 +02:00
Zoe Roux
a75bd48ccf Rework thumbnail cache to use db 2024-08-08 17:03:35 +02:00
Zoe Roux
3ea2004267 Remove old info cache 2024-08-08 17:03:35 +02:00
Zoe Roux
e91e0151ba Store mediainfo in db 2024-08-08 17:03:35 +02:00
Zoe Roux
5e026449cc Add runing task dedup lock 2024-08-08 17:03:35 +02:00
Zoe Roux
5047364ad3 Update media info retrival with db schema 2024-08-08 17:03:35 +02:00
Zoe Roux
c5047babca Cleanup file stream cache 2024-08-08 17:03:35 +02:00
Zoe Roux
f16fa9686c Add query method to retrieve metadata from db 2024-08-08 17:03:35 +02:00
Zoe Roux
0f091618b7 Fix metadata directory permissions (subtitle extraction) 2024-08-08 17:03:35 +02:00
Zoe Roux
9f7607cb87 Create complete mediainfo/keyframe migration 2024-08-08 17:03:35 +02:00
Zoe Roux
5854c731a3 Init first transcoder migration 2024-08-08 17:03:35 +02:00
Zoe Roux
df8b5658a7
Use Base64Url form for paths. (#556) 2024-06-30 09:02:38 +00:00
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
8ee280de87
Clean file of .. or ./ before checking Abs. 2024-04-30 13:36:08 +02:00
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