ERROR [MediaService] Error: ffmpeg exited with code 1: Unrecognized option 'fps_mode'.
-
Thanks to admin-cli, I was able to restore my administrator account.
Since my videos wouldn't play in the browser, I tried different video encoding settings. Long story short: each value generates the same error in the logs:ERROR [MediaService] Error: ffmpeg exited with code 1: Unrecognized option 'fps_mode".`I didn't find anything in the immich issue queue. Do you think it is a bug in the app package?
The way to go:
for my tests, i switched the transcode policy toall videos(admin -> settings -> ffmpeg settings

admin -> settings -> Jobs -> TRANSCODE VIDEOS press All

Switch to Cloudron -> App -> Logfiles

-
L luckow marked this topic as a question on
-
Looks like it might need a more recent ffmpeg. See https://github.com/nsg/immich-distribution/issues/48 (immich required this flag in https://github.com/immich-app/immich/pull/3053)
-
They use ffmpeg from the jellyfin project - https://github.com/immich-app/immich/blob/main/server/bin/install-ffmpeg.sh (ffmpeg 6 it seems - https://github.com/immich-app/immich/blob/e54cf914d70e6bba9618f898c8b9ae8a32d43811/server/build-lock.json#L20)
-
G girish has marked this topic as solved on
-
wohoo ♡
Aug 09 17:31:00 [Nest] 33 - 08/09/2023, 3:30:59 PM LOG [MediaService] Start encoding video 0c25a2b6-25f6-45ef-a94c-8b6ec626907a {"inputOptions":[],"outputOptions":["-vcodec vp9","-acodec aac","-movflags faststart","-fps_mode passthrough","-v verbose","-cpu-used 5","-row-mt 1","-b:v 0","-minrate 0","-maxrate 0"],"twoPass":true} Aug 09 17:31:45 [Nest] 33 - 08/09/2023, 3:31:45 PM LOG [MediaService] Encoding success 0c25a2b6-25f6-45ef-a94c-8b6ec626907a
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login