Commit Graph

261 Commits

Author SHA1 Message Date
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
Zoe Roux 7f6721147a Prevent sigsegv when no video exist in the file 2024-02-18 16:10:56 +01:00
Zoe Roux 050b420f9a Fix last segment never showing on transcode/transmux 2024-02-17 23:54:55 +01:00
Zoe Roux 93daed8ec8 Format code 2024-02-13 00:52:21 +01:00
Zoe Roux 08c34a18f2 Remove back debug head limit 2024-02-13 00:52:21 +01:00
Zoe Roux 682dd1093f Disable deleted head cleanup 2024-02-13 00:52:21 +01:00
Zoe Roux 6806d1f242 Disable audio future heads preparation 2024-02-13 00:52:21 +01:00
Zoe Roux 394fe4871f Fix segments and keyframe params (segments need relative to 0, keyframes relative to original ts with -copyts) 2024-02-13 00:52:21 +01:00
Zoe Roux edc1619962 Cleanup -to and always use -copyts 2024-02-13 00:52:21 +01:00
Zoe Roux 970d613285 Disable scene detection auto keyframes as they create weird segments in transcode 2024-02-13 00:52:21 +01:00
Zoe Roux 4167704f85 Fix audio sync issue 2024-02-13 00:52:21 +01:00
Zoe Roux 1e0ff4a950 Disable noaccurate_seek on audio streams 2024-02-13 00:52:21 +01:00
Zoe Roux 4993d34835 Cleanup next segment preparation 2024-02-13 00:52:21 +01:00
Zoe Roux 3f9446d46f Fix timestamps padding in transcode mode 2024-02-13 00:52:21 +01:00
Zoe Roux 030a4e0e86 Add start ref to seek before the current segment 2024-02-13 00:52:21 +01:00
Zoe Roux d27cf2afc8 Distrust -to and -ss to be precise, use the segment splitter for that (wip) 2024-02-13 00:52:21 +01:00
Zoe Roux 5b27eab680 Cleanup end detection 2024-02-13 00:52:21 +01:00
Zoe Roux 345eabafb2 fixup! Fix missing last segment 2024-02-13 00:52:21 +01:00
Zoe Roux c635fc00c3 Add back segment time delta 2024-02-13 00:52:21 +01:00
Zoe Roux 2877083ebe Fix missing last segment 2024-02-13 00:52:21 +01:00
Zoe Roux bb29b7e7f7 Fix transcode wait time on extremly slow devices 2024-02-13 00:52:21 +01:00
Zoe Roux 7aca2b2d6d Remove segment delta 2024-02-13 00:52:21 +01:00
Zoe Roux fe5ba9a84a Fix missing bitrate info when files use nominal bitrate 2024-02-13 00:52:21 +01:00
Zoe Roux e80543e0a2 Fix int size not long enough 2024-01-30 01:13:07 +01:00
Zoe Roux 09b146928c Fix distance unit and make segment timeout bigger 2024-01-29 03:41:39 +01:00
Zoe Roux 983b558510 Use os.Stat instead of mediainfo for thumbnails cache path 2024-01-29 03:41:39 +01:00
Zoe Roux 9fd7ca35f1 Create a settings struct for paths 2024-01-29 03:41:39 +01:00
Zoe Roux e886fbcc5f Do not wait for thumbnails extractions when requesting infos 2024-01-29 03:41:39 +01:00