QSV reencoding fails

Just like i posted in general discussion. This used to work in the previous version
7 Replies
sogan
sogan2y ago
Thanks. Could you also share the logs for inputOptions, outputOptions etc.? I'll see if I can reproduce this regression
Perihelion
PerihelionOP2y ago
I don't understand what those are Ah, you mean this?
[Nest] 8 - 08/30/2023, 5:39:58 AM LOG [MediaService] Start encoding video e35f9a2a-de8d-4310-b02d-d125c2bf8132 {"inputOptions":["-init_hw_device qsv=hw","-filter_hw_device hw"],"outputOptions":["-g 256","-extbrc 1","-refs 5","-bf 7","-c:v:2 h264_qsv","-c:a:1 aac","-movflags faststart","-fps_mode passthrough","-v verbose","-vf format=nv12,hwupload=extra_hw_frames=64,scale_qsv=720:-1","-preset 7","-threads 2","-global_quality 23"],"twoPass":false}
[Nest] 8 - 08/30/2023, 5:39:58 AM LOG [MediaService] Start encoding video e35f9a2a-de8d-4310-b02d-d125c2bf8132 {"inputOptions":["-init_hw_device qsv=hw","-filter_hw_device hw"],"outputOptions":["-g 256","-extbrc 1","-refs 5","-bf 7","-c:v:2 h264_qsv","-c:a:1 aac","-movflags faststart","-fps_mode passthrough","-v verbose","-vf format=nv12,hwupload=extra_hw_frames=64,scale_qsv=720:-1","-preset 7","-threads 2","-global_quality 23"],"twoPass":false}
sogan
sogan2y ago
yep. i think i need to tweak the command for scale_qsv. does it work when you set the target resolution to “original”?
Perihelion
PerihelionOP2y ago
Haven't tried yet But i'd rather not since some of those are 4k, and 4k h.264 is not very efficient 😄
sogan
sogan2y ago
Hi, could you try using ghcr.io/immich-app/immich-server:pr-3953 for the immich-server image?
Perihelion
PerihelionOP2y ago
Just saw the message. Will try tonight Oh I see you're already merged with a different pr about this
sogan
sogan2y ago
Yeah, the latest release has that fix so it should work now. Let me know if it doesn’t, though

Did you find this page helpful?