summaryrefslogtreecommitdiff
path: root/media/video.go
AgeCommit message (Collapse)Author
2023-01-04feat: Prefer external thumbnail over embedded ones (#44)Heinrich 'Henrik' Langos
This changes the handling of external thumbnails as mentioned in issue #41 If there is an external thumbnail file, it is going to be used, even if there is an embedded thumbnail in the mp4 file. Reviewed-on: https://git.mills.io/prologic/tube/pulls/44 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2022-11-25feat: Add YAML support for added / modified metadata (#37)Heinrich 'Henrik' Langos
This change introduces the ability to read additional or modified metadata like title or description from a YAML file. Just like thumbnails are read from "filename.jpg", we now look for "filename.yml" and override the meta data that is embedded in the video file. This is my very first look at golang, so please tell me if, or rather "where" I went wrong. ;-) Co-authored-by: Heinrich Langos <gumbo2000@noreply@mills.io> Reviewed-on: https://git.mills.io/prologic/tube/pulls/37 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2021-07-13Fix import pathsJames Mills
2020-07-08Fix the import path of this packageJames Mills
2020-03-27Strip the video filename extension from the default titleJames Mills
2020-03-26Refactored thumbnail generation with configurable timeout and in-sycn with ↵James Mills
video transcoding
2020-03-25Add support for keeping trakc of and viewing no. of views per videoJames Mills
2020-03-22Skip blanks in screenshot capture and allow more timeJames Mills
2020-03-22Don't generate new thumbnails if they already existJames Mills
2020-03-22Log errors for failure to generate thumbnailsJames Mills
2020-03-22Add support for transcodingJames Mills
2020-03-21Add support for on-demand thumbnail generation via github.com/mutschler/mtJames Mills
2020-03-21Restructured source code layout, Added rice support for templates and static ↵James Mills
assets