Video Trascode Failing
I have a specific video that fails to properly transcode. The transcoded video plays audio only, and only the first few frames of the video are transcoded before it is frozen and fails. The machine is an unraid server, running immich with docker compose. HW is based on an intel i5-13500 with 64GB DDR4 RAM. I am using QSV acceleration, but when I try with CPU transcoding it also fails. One problem in debugging is that it is in a public shared album where I do not know the device the videocame from. The original file also does not have full metadata with device info.
The video transcode settings are:
"ffmpeg": {
"accel": "qsv",
"accelDecode": true,
"acceptedAudioCodecs": [
"aac",
"mp3",
"libopus",
"pcm_s16le"
],
"acceptedContainers": [
"mov",
"ogg",
"webm"
],
"acceptedVideoCodecs": [
"vp9",
"h264"
],
"bframes": -1,
"cqMode": "auto",
"crf": 31,
"gopSize": 0,
"maxBitrate": "0",
"preferredHwDevice": "auto",
"preset": "fast",
"refs": 0,
"targetAudioCodec": "aac",
"targetResolution": "720",
"targetVideoCodec": "vp9",
"temporalAQ": false,
"threads": 0,
"tonemap": "hable",
"transcode": "bitrate",
"twoPass": true
The video transcode settings are:
"ffmpeg": {
"accel": "qsv",
"accelDecode": true,
"acceptedAudioCodecs": [
"aac",
"mp3",
"libopus",
"pcm_s16le"
],
"acceptedContainers": [
"mov",
"ogg",
"webm"
],
"acceptedVideoCodecs": [
"vp9",
"h264"
],
"bframes": -1,
"cqMode": "auto",
"crf": 31,
"gopSize": 0,
"maxBitrate": "0",
"preferredHwDevice": "auto",
"preset": "fast",
"refs": 0,
"targetAudioCodec": "aac",
"targetResolution": "720",
"targetVideoCodec": "vp9",
"temporalAQ": false,
"threads": 0,
"tonemap": "hable",
"transcode": "bitrate",
"twoPass": true