#Converting from mov to mp4 fails with "Invalid data found when processing input"

1 messages · Page 1 of 1 (latest)

deep beacon
#

I'm running on Unraid using Docker Containers (Immich, Postgresql14, Redis on same docker network).

I added a bunch of videos and they play fine but aren't being converted to mp4 like i want them to. When triggering the conversion process the log says:

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 @ 0x3e3ee180180] moov atom not found
/photos/library/admin/2022/20221103_122411.mp4: Invalid data found when processing input```

Any ideas?
tawdry herald
#

Is there a sample video you could send?

deep beacon
#

I checked, they're all videos of my kids which I feel uncomfortable to share or really large (500mb++). I can get extended info on the files using exiftool if you specify what you'd like to know.

torn fiber
#

I remember someone else running into this as well and Jason and I were able to do some debugging with a provided file. However, I don't remember what the result was and can't seem to find the post :/
Maybe @honest pumice remembers

tawdry herald
#

I just need something I can run to reproduce the issue locally. Any video you take with the same device that produces these videos would be fine, including if the camera is covered etc.

#

Yeah I've seen a few moov atom not found before too, not really sure what causes besides it misinterpreting a file as h264 when it's not

torn fiber
honest pumice
#

What version of immich is this on?

deep beacon
#

They're regular videos recorded on a Canon EOS 1100D. They're no "motion photos" and range from 1 sec to several minutes. The camera is pretty old by now (12+ years) and has absolutely no "smart" features like auto rotation and the works.

#

I just noticed some are also shot on an iPhone 6s. Same problem.

#

Immich version is 1.86.0

honest pumice
#

Ok, and like a regular video encoding problem, not a motion picture issue then.

deep beacon
#

Alright, I found two videos (one by the iPhone in vertical, one by the Canon in landscape) that contain no too intimate moments.

#

They're 30 and 75Mb. Don't think I can upload them here? Where should I put them?

tawdry herald
#

You should be able to upload them with discord if you hit the + button

deep beacon
#

Max file size is 25Mb here. 😦

#

Would you download them from my Nextcloud if i shared them from there?

tawdry herald
#

That works. Alternatively, you could upload it to demo.immich.app

deep beacon
#

I'm right now uploading the files to demo.immich.app.

#

I stopped all other tasks running on the server and started the transcode video job and it said it transcoded 2 items.
Afterwards the videos still appear to be in .mov format although I obviously can't check on the server file system.

torn jackal
#

Hello I am having the same problem were you able to figure it out ?