© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
4 replies
radh

Transcoding issues - ffmpeg exited with code 1

Transcoding settings:
No Hardware Acceleration - Just CPU
CRF = 23
Preset = Slow
Audio codec = aac
Video = h264
Max bitrate = 4500k
Tone mapping = Habble
Two-pass encoding: Enabled/Disabled (problem described below)

No issues when two-pass encoding is disabled. Whenever I turn on two-pass encoding, I get the 'Error: ffmpg exited with code 1 issue'. With my minimal understanding of the log, looks like the transcoding works fine, but the thumbnail generation after the transcoding fails? Not sure.

Is it something with my configuration? Should I not be enabling two-pass encoding with the rest of the settings I have above?

Note: I did raise an issue on GitHub, but I thought Discord could be the preferred medium for questions and issues.
image.png
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Microservices exited with code 1
ImmichIImmich / help-desk-support
9mo ago
microservices worker exited with code 1
ImmichIImmich / help-desk-support
10mo ago
ffmpeg transcoding hardware transcoding is not used
ImmichIImmich / help-desk-support
13mo ago
Issues with videos (sharing, transcoding, watching)
ImmichIImmich / help-desk-support
12mo ago