Closed ricemarine closed 4 months ago
is there a video file you can send for debugging purposes?
Sure, here's a video
Is this still an issue?
Is this still an issue?
I appear to also be encountering this issue on Immich v1.88.2 and have about 2000 videos stuck in a loop of trying to process.
[Nest] 7 - 11/26/2023, 7:16:26 AM ERROR [JobService] Error: ffprobe exited with code 1
ffprobe version 6.0-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
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
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a5e6170180] moov atom not found
upload/library/f11b6cbd-8439-49c0-8247-c452aa647657/2021/2021-07-11/20190630_112959 (2).mp4: Invalid data found when processing input
at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
[Nest] 7 - 11/26/2023, 7:16:26 AM ERROR [JobService] Object:
{
"id": "86945225-9ca5-40bf-b140-25630d375e58"
}
similar issue here on 1.91.4 (although has been happening for a while, not just only on this version). example log snippet here:
2023-12-21 12:54:33 [Nest] 7 - 12/21/2023, 6:54:33 PM ERROR [JobService] Unable to run job handler (thumbnailGeneration/generate-jpeg-thumbnail): Error: ffprobe exited with code 1
2023-12-21 12:54:33 ffprobe version 6.0-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
2023-12-21 12:54:33 built with gcc 12 (Debian 12.2.0-14)
2023-12-21 12:54:33 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 --toolchain=hardened --enable-cross-compile --arch=arm64 --cross-prefix=/usr/bin/aarch64-linux-gnu-
2023-12-21 12:54:33 libavutil 58. 2.100 / 58. 2.100
2023-12-21 12:54:33 libavcodec 60. 3.100 / 60. 3.100
2023-12-21 12:54:33 libavformat 60. 3.100 / 60. 3.100
2023-12-21 12:54:33 libavdevice 60. 1.100 / 60. 1.100
2023-12-21 12:54:33 libavfilter 9. 3.100 / 9. 3.100
2023-12-21 12:54:33 libswscale 7. 1.100 / 7. 1.100
2023-12-21 12:54:33 libswresample 4. 10.100 / 4. 10.100
2023-12-21 12:54:33 libpostproc 57. 1.100 / 57. 1.100
2023-12-21 12:54:33 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x23a9e170180] moov atom not found
2023-12-21 12:54:33 /mnt/media/Videos/2012/02-February/2012-02-19_151038_2011-12-20-19.56.20.mov: Invalid data found when processing input
2023-12-21 12:54:33
I recently added my Intel QuickSync to the docker to transcode my videos aswell and having the same issue with this log produced: (it is also happening with HW Transcoding disabled)
immich_microservices | ffprobe version 6.0.1-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
immich_microservices | built with gcc 12 (Debian 12.2.0-14)
immich_microservices | 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-opencl --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-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
immich_microservices | libavutil 58. 2.100 / 58. 2.100
immich_microservices | libavcodec 60. 3.100 / 60. 3.100
immich_microservices | libavformat 60. 3.100 / 60. 3.100
immich_microservices | libavdevice 60. 1.100 / 60. 1.100
immich_microservices | libavfilter 9. 3.100 / 9. 3.100
immich_microservices | libswscale 7. 1.100 / 7. 1.100
immich_microservices | libswresample 4. 10.100 / 4. 10.100
immich_microservices | libpostproc 57. 1.100 / 57. 1.100
immich_microservices | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x46c00190180] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
immich_microservices | [mov,mp4,m4a,3gp,3g2,mj2 @ 0x46c00190180] moov atom not found
immich_microservices | upload/encoded-video/039d74b2-0fde-4527-b584-b7ca8b0a393a/f7/5e/f75eec9e-95af-4f6d-a69e-9cdb82e55878-MP.mp4: Invalid data found when processing input
immich_microservices |
immich_microservices | at ChildProcess.<anonymous> (/usr/src/app/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)
immich_microservices | at ChildProcess.emit (node:events:518:28)
immich_microservices | at ChildProcess._handle.onexit (node:internal/child_process:294:12)
immich_microservices | [Nest] 7 - 04/26/2024, 10:20:19 AM ERROR [JobService] Object:
immich_microservices | {
immich_microservices | "id": "f75eec9e-95af-4f6d-a69e-9cdb82e55878"
immich_microservices | }
immich_microservices |
This files where uploaded through the mobile app and were produced on a Pixel 7 Pro if that matters.
I believe this is not an issue with Immich but the video coming from the device that is somehow corrupted
The bug
I'm trying to upload all photos/videos on my Android device via mobile app (~7500 files). I'm noticing that when uploading videos from the Android mobile app (using VPN to access, no reverse proxy), in my immich upload folder there's a lot of videos that are corrupt and cannot be played on my Windows server. I'm assuming all videos on my Android device can be replayed, as they were taken from the device. This is preventing me from re-generating thumbnails via the admin jobs to fix the "ERROR: duplicate key value violates unique constraint "UQ_userid_checksum" issue. I can use the CLI, but I opted to try the mobile sync first.
Stack trace
Given that from previous immich bug posts I've found, immich seems to be focused on using solely the UI, I would think potential solutions could be
The OS that Immich Server is running on
Windows 11
Version of Immich Server
v1.63,0
Version of Immich Mobile App
v1.63.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response