[BUG] ffmpeg exited with code 1 #1367

Closed
opened 2026-02-20 00:07:36 -05:00 by deekerman · 0 comments
Owner

Originally created by @radh21301 on GitHub (Sep 24, 2023).

The bug

I get this issue when I enable two-pass encoding. But it goes away if I disable it. Is it something with my configuration or an issue with immich?

No Hardware Acceleration - Just CPU
CRF = 23
Preset = Slow
Audio codec = aac
Video = h264
Max bitrate = 4500k
Tone mapping = Habble

Logs:

2023-09-24T18:17:28.891889698Z [Nest] 7 - 09/24/2023, 6:17:28 PM  LOG [MediaService] Start encoding video 3a627dee-6d73-47bc-9002-08efd693cc88 {"inputOptions":[],"outputOptions":["-c:v h264","-c:a aac","-movflags faststart","-fps_mode passthrough","-map 0:0","-map 0:1","-v verbose","-vf scale=720:-2,format=yuv420p","-preset slow","-b:v 3104k","-minrate 1552k","-maxrate 4500k"],"twoPass":true}
2023-09-24T18:17:31.563404060Z [Nest] 7 - 09/24/2023, 6:17:31 PM  LOG [MediaService] Encoding success 3a627dee-6d73-47bc-9002-08efd693cc88
2023-09-24T18:18:13.695219796Z [Nest] 7 - 09/24/2023, 6:18:13 PM  ERROR [MediaRepository] ffmpeg version 6.0-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
2023-09-24T18:18:13.695254692Z built with gcc 12 (Debian 12.2.0-14)
2023-09-24T18:18:13.695271874Z configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
2023-09-24T18:18:13.695315025Z libavutil 58. 2.100 / 58. 2.100
2023-09-24T18:18:13.695333269Z libavcodec 60. 3.100 / 60. 3.100
2023-09-24T18:18:13.695347406Z libavformat 60. 3.100 / 60. 3.100
2023-09-24T18:18:13.695361582Z libavdevice 60. 1.100 / 60. 1.100
2023-09-24T18:18:13.695373415Z libavfilter 9. 3.100 / 9. 3.100
2023-09-24T18:18:13.695385387Z libswscale 7. 1.100 / 7. 1.100
2023-09-24T18:18:13.695397249Z libswresample 4. 10.100 / 4. 10.100
2023-09-24T18:18:13.695414412Z libpostproc 57. 1.100 / 57. 1.100
2023-09-24T18:18:13.695431584Z Guessed Channel Layout for Input Stream #0.1 : mono
2023-09-24T18:18:13.695446692Z Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'upload/library/admin/2023/09/24/VID-2023-09-24-T09-39-36.MOV':
2023-09-24T18:18:13.695467241Z Metadata:
2023-09-24T18:18:13.695483562Z major_brand : qt
2023-09-24T18:18:13.695499171Z minor_version : 0
2023-09-24T18:18:13.695515041Z compatible_brands: qt
2023-09-24T18:18:13.695530259Z creation_time : 2023-09-24T18:03:36.000000Z
2023-09-24T18:18:13.695547953Z com.apple.quicktime.make: Apple
2023-09-24T18:18:13.695563642Z com.apple.quicktime.model: iPhone 13 Pro
2023-09-24T18:18:13.695579171Z com.apple.quicktime.software: 16.5.1
2023-09-24T18:18:13.695593979Z com.apple.quicktime.creationdate: 2023-09-24T14:03:35-0400
2023-09-24T18:18:13.695609388Z Duration: 00:00:03.17, start: 0.000000, bitrate: 10686 kb/s
2023-09-24T18:18:13.695626590Z Stream #0:00x1: Video: hevc (Main), 1 reference frame (hvc1 / 0x31637668), yuvj420p(pc, smpte170m/smpte432/bt709, left), 1920x1440, 9907 kb/s, 30 fps, 30 tbr, 600 tbn (default)
2023-09-24T18:18:13.695654843Z Metadata:
2023-09-24T18:18:13.695672547Z creation_time : 2023-09-24T18:03:36.000000Z
2023-09-24T18:18:13.695688777Z handler_name : Core Media Video
2023-09-24T18:18:13.695709386Z vendor_id : [0][0][0][0]
2023-09-24T18:18:13.695726047Z encoder : HEVC
2023-09-24T18:18:13.695741616Z Side data:
2023-09-24T18:18:13.695756624Z displaymatrix: rotation of -90.00 degrees
2023-09-24T18:18:13.695772284Z Stream #0:10x2: Audio: pcm_s16le (lpcm / 0x6D63706C), 44100 Hz, 1 channels, s16, 705 kb/s (default)
2023-09-24T18:18:13.695788254Z Metadata:
2023-09-24T18:18:13.695803503Z creation_time : 2023-09-24T18:03:36.000000Z
2023-09-24T18:18:13.695818531Z handler_name : Core Media Audio
2023-09-24T18:18:13.695833910Z vendor_id : [0][0][0][0]
2023-09-24T18:18:13.695849689Z Stream #0:20x3: Data: none (mebx / 0x7862656D), 0 kb/s (default)
2023-09-24T18:18:13.695911525Z Metadata:
2023-09-24T18:18:13.695931353Z creation_time : 2023-09-24T18:03:36.000000Z
2023-09-24T18:18:13.695948044Z handler_name : Core Media Metadata
2023-09-24T18:18:13.695964445Z Stream #0:30x4: Data: none (mebx / 0x7862656D), 39 kb/s (default)
2023-09-24T18:18:13.695980615Z Metadata:
2023-09-24T18:18:13.695996184Z creation_time : 2023-09-24T18:03:36.000000Z
2023-09-24T18:18:13.696012215Z handler_name : Core Media Metadata
2023-09-24T18:18:13.696028215Z [AVIOContext @ 0x3ff6e201940] Statistics: 0 bytes read, 0 seeks
2023-09-24T18:18:13.696044515Z Stream mapping:
2023-09-24T18:18:13.696060085Z Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native))
2023-09-24T18:18:13.696078018Z Press [q] to stop, [?] for help
2023-09-24T18:18:13.696094449Z [graph 0 input from stream 0:0 @ 0x3ff6e1a0fc0] w:1920 h:1440 pixfmt:yuvj420p tb:1/600 fr:30/1 sar:0/1
2023-09-24T18:18:13.696110529Z [auto_scale_0 @ 0x3ff6e1a0600] w:iw h:ih flags:'' interl:0
2023-09-24T18:18:13.696126289Z [trim_in_0_0 @ 0x3ff6e1a0d80] auto-inserting filter 'auto_scale_0' between the filter 'transpose' and the filter 'trim_in_0_0'
2023-09-24T18:18:13.696142519Z [auto_scale_1 @ 0x3ff6e0c0c80] w:iw h:ih flags:'' interl:0
2023-09-24T18:18:13.696158309Z [format @ 0x3ff6e1a0cc0] auto-inserting filter 'auto_scale_1' between the filter 'Parsed_format_0' and the filter 'format'
2023-09-24T18:18:13.696175121Z [transpose @ 0x3ff6e1a0f00] w:1920 h:1440 dir:1 -> w:1440 h:1920 rotation:clockwise vflip:0
2023-09-24T18:18:13.696191551Z [swscaler @ 0x3ff7f1bc000] deprecated pixel format used, make sure you did set range correctly
2023-09-24T18:18:13.696207782Z [auto_scale_0 @ 0x3ff6e1a0600] w:1440 h:1920 fmt:yuvj420p sar:0/1 -> w:1440 h:1920 fmt:yuv420p sar:0/1 flags:0x00000004
2023-09-24T18:18:13.696224253Z [swscaler @ 0x3ff7f3b2000] deprecated pixel format used, make sure you did set range correctly
2023-09-24T18:18:13.696241595Z [auto_scale_1 @ 0x3ff6e0c0c80] w:1440 h:1920 fmt:yuv420p sar:0/1 -> w:1440 h:1920 fmt:yuvj420p sar:0/1 flags:0x00000004
2023-09-24T18:18:13.696258257Z [swscaler @ 0x3ff7f88a000] deprecated pixel format used, make sure you did set range correctly
2023-09-24T18:18:13.696274397Z [auto_scale_0 @ 0x3ff6e1a0600] w:1440 h:1920 fmt:yuvj420p sar:0/1 -> w:1440 h:1920 fmt:yuv420p sar:0/1 flags:0x00000004
2023-09-24T18:18:13.696290507Z [swscaler @ 0x3ff7f396000] deprecated pixel format used, make sure you did set range correctly
2023-09-24T18:18:13.696306497Z [auto_scale_0 @ 0x3ff6e1a0600] w:1440 h:1920 fmt:yuvj420p sar:0/1 -> w:1440 h:1920 fmt:yuv420p sar:0/1 flags:0x00000004
2023-09-24T18:18:13.696323059Z [swscaler @ 0x3ff7f1d8000] deprecated pixel format used, make sure you did set range correctly
2023-09-24T18:18:13.696338828Z [auto_scale_0 @ 0x3ff6e1a0600] w:1440 h:1920 fmt:yuvj420p sar:0/1 -> w:1440 h:1920 fmt:yuv420p sar:0/1 flags:0x00000004
2023-09-24T18:18:13.696355409Z [swscaler @ 0x3ff7f3b2000] deprecated pixel format used, make sure you did set range correctly
2023-09-24T18:18:13.696406676Z [auto_scale_1 @ 0x3ff6e0c0c80] w:1440 h:1920 fmt:yuv420p sar:0/1 -> w:1440 h:1920 fmt:yuvj420p sar:0/1 flags:0x00000004
2023-09-24T18:18:13.696428977Z [swscaler @ 0x3ff7f3b2000] deprecated pixel format used, make sure you did set range correctly
2023-09-24T18:18:13.696446691Z [auto_scale_1 @ 0x3ff6e0c0c80] w:1440 h:1920 fmt:yuv420p sar:0/1 -> w:1440 h:1920 fmt:yuvj420p sar:0/1 flags:0x00000004
2023-09-24T18:18:13.696462010Z [swscaler @ 0x3ff7f3b2000] deprecated pixel format used, make sure you did set range correctly
2023-09-24T18:18:13.696473922Z [auto_scale_1 @ 0x3ff6e0c0c80] w:1440 h:1920 fmt:yuv420p sar:0/1 -> w:1440 h:1920 fmt:yuvj420p sar:0/1 flags:0x00000004
2023-09-24T18:18:13.696485754Z [vost#0:0/mjpeg @ 0x3ff6e120480] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2023-09-24T18:18:13.696500752Z Terminating demuxer thread 0
2023-09-24T18:18:13.696516412Z [AVIOContext @ 0x3ff6e240180] Statistics: 979403 bytes read, 4 seeks
2023-09-24T18:18:13.696531911Z Conversion failed!
2023-09-24T18:18:13.696546769Z 
2023-09-24T18:18:13.696561206Z [Nest] 7 - 09/24/2023, 6:18:13 PM  ERROR [JobService] Unable to run job handler (thumbnailGeneration/generate-jpeg-thumbnail): Error: ffmpeg exited with code 1: Conversion failed!
2023-09-24T18:18:13.696578027Z 
2023-09-24T18:18:13.696594729Z [Nest] 7 - 09/24/2023, 6:18:13 PM  ERROR [JobService] Error: ffmpeg exited with code 1: Conversion failed!
2023-09-24T18:18:13.696611711Z
2023-09-24T18:18:13.696630085Z at ChildProcess. (/usr/src/app/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
2023-09-24T18:18:13.696656264Z at ChildProcess.emit (node:events:514:28)
2023-09-24T18:18:13.696674358Z at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2023-09-24T18:18:13.696690529Z [Nest] 7 - 09/24/2023, 6:18:13 PM  ERROR [JobService] Object:
2023-09-24T18:18:13.696707972Z {
2023-09-24T18:18:13.696723250Z "id": "3a627dee-6d73-47bc-9002-08efd693cc88"
2023-09-24T18:18:13.696740643Z }
2023-09-24T18:18:13.696755641Z

The OS that Immich Server is running on

Unraid

Version of Immich Server

v1.79.1

Version of Immich Mobile App

NA

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

default

Your .env content

default

Reproduction steps

As described in the description

Additional information

No response

Originally created by @radh21301 on GitHub (Sep 24, 2023). ### The bug I get this issue when I enable two-pass encoding. But it goes away if I disable it. Is it something with my configuration or an issue with immich? No Hardware Acceleration - Just CPU CRF = 23 Preset = Slow Audio codec = aac Video = h264 Max bitrate = 4500k Tone mapping = Habble Logs: 2023-09-24T18:17:28.891889698Z [Nest] 7 - 09/24/2023, 6:17:28 PM  LOG [MediaService] Start encoding video 3a627dee-6d73-47bc-9002-08efd693cc88 {"inputOptions":[],"outputOptions":["-c:v h264","-c:a aac","-movflags faststart","-fps_mode passthrough","-map 0:0","-map 0:1","-v verbose","-vf scale=720:-2,format=yuv420p","-preset slow","-b:v 3104k","-minrate 1552k","-maxrate 4500k"],"twoPass":true} 2023-09-24T18:17:31.563404060Z [Nest] 7 - 09/24/2023, 6:17:31 PM  LOG [MediaService] Encoding success 3a627dee-6d73-47bc-9002-08efd693cc88 2023-09-24T18:18:13.695219796Z [Nest] 7 - 09/24/2023, 6:18:13 PM  ERROR [MediaRepository] ffmpeg version 6.0-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers 2023-09-24T18:18:13.695254692Z built with gcc 12 (Debian 12.2.0-14) 2023-09-24T18:18:13.695271874Z configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc 2023-09-24T18:18:13.695315025Z libavutil 58. 2.100 / 58. 2.100 2023-09-24T18:18:13.695333269Z libavcodec 60. 3.100 / 60. 3.100 2023-09-24T18:18:13.695347406Z libavformat 60. 3.100 / 60. 3.100 2023-09-24T18:18:13.695361582Z libavdevice 60. 1.100 / 60. 1.100 2023-09-24T18:18:13.695373415Z libavfilter 9. 3.100 / 9. 3.100 2023-09-24T18:18:13.695385387Z libswscale 7. 1.100 / 7. 1.100 2023-09-24T18:18:13.695397249Z libswresample 4. 10.100 / 4. 10.100 2023-09-24T18:18:13.695414412Z libpostproc 57. 1.100 / 57. 1.100 2023-09-24T18:18:13.695431584Z Guessed Channel Layout for Input Stream #0.1 : mono 2023-09-24T18:18:13.695446692Z Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'upload/library/admin/2023/09/24/VID-2023-09-24-T09-39-36.MOV': 2023-09-24T18:18:13.695467241Z Metadata: 2023-09-24T18:18:13.695483562Z major_brand : qt 2023-09-24T18:18:13.695499171Z minor_version : 0 2023-09-24T18:18:13.695515041Z compatible_brands: qt 2023-09-24T18:18:13.695530259Z creation_time : 2023-09-24T18:03:36.000000Z 2023-09-24T18:18:13.695547953Z com.apple.quicktime.make: Apple 2023-09-24T18:18:13.695563642Z com.apple.quicktime.model: iPhone 13 Pro 2023-09-24T18:18:13.695579171Z com.apple.quicktime.software: 16.5.1 2023-09-24T18:18:13.695593979Z com.apple.quicktime.creationdate: 2023-09-24T14:03:35-0400 2023-09-24T18:18:13.695609388Z Duration: 00:00:03.17, start: 0.000000, bitrate: 10686 kb/s 2023-09-24T18:18:13.695626590Z Stream #0:0[0x1](und): Video: hevc (Main), 1 reference frame (hvc1 / 0x31637668), yuvj420p(pc, smpte170m/smpte432/bt709, left), 1920x1440, 9907 kb/s, 30 fps, 30 tbr, 600 tbn (default) 2023-09-24T18:18:13.695654843Z Metadata: 2023-09-24T18:18:13.695672547Z creation_time : 2023-09-24T18:03:36.000000Z 2023-09-24T18:18:13.695688777Z handler_name : Core Media Video 2023-09-24T18:18:13.695709386Z vendor_id : [0][0][0][0] 2023-09-24T18:18:13.695726047Z encoder : HEVC 2023-09-24T18:18:13.695741616Z Side data: 2023-09-24T18:18:13.695756624Z displaymatrix: rotation of -90.00 degrees 2023-09-24T18:18:13.695772284Z Stream #0:1[0x2](und): Audio: pcm_s16le (lpcm / 0x6D63706C), 44100 Hz, 1 channels, s16, 705 kb/s (default) 2023-09-24T18:18:13.695788254Z Metadata: 2023-09-24T18:18:13.695803503Z creation_time : 2023-09-24T18:03:36.000000Z 2023-09-24T18:18:13.695818531Z handler_name : Core Media Audio 2023-09-24T18:18:13.695833910Z vendor_id : [0][0][0][0] 2023-09-24T18:18:13.695849689Z Stream #0:2[0x3](und): Data: none (mebx / 0x7862656D), 0 kb/s (default) 2023-09-24T18:18:13.695911525Z Metadata: 2023-09-24T18:18:13.695931353Z creation_time : 2023-09-24T18:03:36.000000Z 2023-09-24T18:18:13.695948044Z handler_name : Core Media Metadata 2023-09-24T18:18:13.695964445Z Stream #0:3[0x4](und): Data: none (mebx / 0x7862656D), 39 kb/s (default) 2023-09-24T18:18:13.695980615Z Metadata: 2023-09-24T18:18:13.695996184Z creation_time : 2023-09-24T18:03:36.000000Z 2023-09-24T18:18:13.696012215Z handler_name : Core Media Metadata 2023-09-24T18:18:13.696028215Z [AVIOContext @ 0x3ff6e201940] Statistics: 0 bytes read, 0 seeks 2023-09-24T18:18:13.696044515Z Stream mapping: 2023-09-24T18:18:13.696060085Z Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native)) 2023-09-24T18:18:13.696078018Z Press [q] to stop, [?] for help 2023-09-24T18:18:13.696094449Z [graph 0 input from stream 0:0 @ 0x3ff6e1a0fc0] w:1920 h:1440 pixfmt:yuvj420p tb:1/600 fr:30/1 sar:0/1 2023-09-24T18:18:13.696110529Z [auto_scale_0 @ 0x3ff6e1a0600] w:iw h:ih flags:'' interl:0 2023-09-24T18:18:13.696126289Z [trim_in_0_0 @ 0x3ff6e1a0d80] auto-inserting filter 'auto_scale_0' between the filter 'transpose' and the filter 'trim_in_0_0' 2023-09-24T18:18:13.696142519Z [auto_scale_1 @ 0x3ff6e0c0c80] w:iw h:ih flags:'' interl:0 2023-09-24T18:18:13.696158309Z [format @ 0x3ff6e1a0cc0] auto-inserting filter 'auto_scale_1' between the filter 'Parsed_format_0' and the filter 'format' 2023-09-24T18:18:13.696175121Z [transpose @ 0x3ff6e1a0f00] w:1920 h:1440 dir:1 -> w:1440 h:1920 rotation:clockwise vflip:0 2023-09-24T18:18:13.696191551Z [swscaler @ 0x3ff7f1bc000] deprecated pixel format used, make sure you did set range correctly 2023-09-24T18:18:13.696207782Z [auto_scale_0 @ 0x3ff6e1a0600] w:1440 h:1920 fmt:yuvj420p sar:0/1 -> w:1440 h:1920 fmt:yuv420p sar:0/1 flags:0x00000004 2023-09-24T18:18:13.696224253Z [swscaler @ 0x3ff7f3b2000] deprecated pixel format used, make sure you did set range correctly 2023-09-24T18:18:13.696241595Z [auto_scale_1 @ 0x3ff6e0c0c80] w:1440 h:1920 fmt:yuv420p sar:0/1 -> w:1440 h:1920 fmt:yuvj420p sar:0/1 flags:0x00000004 2023-09-24T18:18:13.696258257Z [swscaler @ 0x3ff7f88a000] deprecated pixel format used, make sure you did set range correctly 2023-09-24T18:18:13.696274397Z [auto_scale_0 @ 0x3ff6e1a0600] w:1440 h:1920 fmt:yuvj420p sar:0/1 -> w:1440 h:1920 fmt:yuv420p sar:0/1 flags:0x00000004 2023-09-24T18:18:13.696290507Z [swscaler @ 0x3ff7f396000] deprecated pixel format used, make sure you did set range correctly 2023-09-24T18:18:13.696306497Z [auto_scale_0 @ 0x3ff6e1a0600] w:1440 h:1920 fmt:yuvj420p sar:0/1 -> w:1440 h:1920 fmt:yuv420p sar:0/1 flags:0x00000004 2023-09-24T18:18:13.696323059Z [swscaler @ 0x3ff7f1d8000] deprecated pixel format used, make sure you did set range correctly 2023-09-24T18:18:13.696338828Z [auto_scale_0 @ 0x3ff6e1a0600] w:1440 h:1920 fmt:yuvj420p sar:0/1 -> w:1440 h:1920 fmt:yuv420p sar:0/1 flags:0x00000004 2023-09-24T18:18:13.696355409Z [swscaler @ 0x3ff7f3b2000] deprecated pixel format used, make sure you did set range correctly 2023-09-24T18:18:13.696406676Z [auto_scale_1 @ 0x3ff6e0c0c80] w:1440 h:1920 fmt:yuv420p sar:0/1 -> w:1440 h:1920 fmt:yuvj420p sar:0/1 flags:0x00000004 2023-09-24T18:18:13.696428977Z [swscaler @ 0x3ff7f3b2000] deprecated pixel format used, make sure you did set range correctly 2023-09-24T18:18:13.696446691Z [auto_scale_1 @ 0x3ff6e0c0c80] w:1440 h:1920 fmt:yuv420p sar:0/1 -> w:1440 h:1920 fmt:yuvj420p sar:0/1 flags:0x00000004 2023-09-24T18:18:13.696462010Z [swscaler @ 0x3ff7f3b2000] deprecated pixel format used, make sure you did set range correctly 2023-09-24T18:18:13.696473922Z [auto_scale_1 @ 0x3ff6e0c0c80] w:1440 h:1920 fmt:yuv420p sar:0/1 -> w:1440 h:1920 fmt:yuvj420p sar:0/1 flags:0x00000004 2023-09-24T18:18:13.696485754Z [vost#0:0/mjpeg @ 0x3ff6e120480] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height 2023-09-24T18:18:13.696500752Z Terminating demuxer thread 0 2023-09-24T18:18:13.696516412Z [AVIOContext @ 0x3ff6e240180] Statistics: 979403 bytes read, 4 seeks 2023-09-24T18:18:13.696531911Z Conversion failed! 2023-09-24T18:18:13.696546769Z  2023-09-24T18:18:13.696561206Z [Nest] 7 - 09/24/2023, 6:18:13 PM  ERROR [JobService] Unable to run job handler (thumbnailGeneration/generate-jpeg-thumbnail): Error: ffmpeg exited with code 1: Conversion failed! 2023-09-24T18:18:13.696578027Z  2023-09-24T18:18:13.696594729Z [Nest] 7 - 09/24/2023, 6:18:13 PM  ERROR [JobService] Error: ffmpeg exited with code 1: Conversion failed! 2023-09-24T18:18:13.696611711Z 2023-09-24T18:18:13.696630085Z at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/processor.js:182:22) 2023-09-24T18:18:13.696656264Z at ChildProcess.emit (node:events:514:28) 2023-09-24T18:18:13.696674358Z at ChildProcess._handle.onexit (node:internal/child_process:291:12) 2023-09-24T18:18:13.696690529Z [Nest] 7 - 09/24/2023, 6:18:13 PM  ERROR [JobService] Object: 2023-09-24T18:18:13.696707972Z { 2023-09-24T18:18:13.696723250Z "id": "3a627dee-6d73-47bc-9002-08efd693cc88" 2023-09-24T18:18:13.696740643Z } 2023-09-24T18:18:13.696755641Z ### The OS that Immich Server is running on Unraid ### Version of Immich Server v1.79.1 ### Version of Immich Mobile App NA ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML default ``` ### Your .env content ```Shell default ``` ### Reproduction steps ```bash As described in the description ``` ### Additional information _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/immich#1367
No description provided.