Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Immich
  3. ERROR [MediaService] Error: ffmpeg exited with code 1: Unrecognized option 'fps_mode'.

ERROR [MediaService] Error: ffmpeg exited with code 1: Unrecognized option 'fps_mode'.

Scheduled Pinned Locked Moved Solved Immich
6 Posts 4 Posters 2.2k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote on last edited by
    #1

    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 to all videos (admin -> settings -> ffmpeg settings
    cc807c95-957e-4070-aa14-09cb2e2ffcdf-image.png

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

    77095209-2e8f-4c78-887e-2246f83464e3-image.png

    Switch to Cloudron -> App -> Logfiles
    d146e95e-e45d-4f90-b372-f452303b2af4-image.png

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    0
    • luckowL luckow marked this topic as a question on
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      looks like a typo in the command running ffmpeg

      Conscious tech

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        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)

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #4

          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)

          1 Reply Last reply
          1
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #5

            Just pushed a new immich package version which hase ffmpeg v6 now from the jellyfin project.

            1 Reply Last reply
            2
            • girishG girish has marked this topic as solved on
            • luckowL Offline
              luckowL Offline
              luckow
              translator
              wrote on last edited by
              #6

              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
              

              Pronouns: he/him | Primary language: German

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search