Skip to content

Video: Limit FFmpeg Transcoding Resolution #3466

Description

@lukasdotcom

Describe what problem this solves and why this would be valuable to many users

A lot of the time I am recording video in 4k, but on all of the clients I never actually need to watch the video at 4k and the sidecar file is then unnecessarily big and uses an unnecessary amount of bandwidth when played.

Describe the solution you'd like

For this purpose the environment variable "PHOTOPRISM_FFMPEG_SIZE" should be added to set the maximum resolution FFmpeg converts the video to, for example:

  • PHOTOPRISM_FFMPEG_SIZE=720
  • PHOTOPRISM_FFMPEG_SIZE=3840

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ideaFeedback wanted / feature requestreleasedAvailable in a stable releasevideoVideo Formats, Transcoding, FFmpeg, Streaming & Co

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions