-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
immich transcoding videos already in the correct format #15402
Comments
The jobs in the logs provided are the thumbnail and preview generation, not a full transcode. Having jobs appear is normal. If you look in the encoded-video folder I expect you will not find this file, if that's not the case we can reopen. Thank you |
They didnt show in the logs because I had transcoding paused, the log provided showed what looks like the metadata for the file. If I resume transcoding I see the transcoding logs as follows:
|
Let me investigate this |
Thanks. The additional logs are helpful. Can you please run |
The audio format is m4a, which is not an accepted audio codec. It will transcode the audio stream and copy the video stream for these videos. You can confirm that by checking the FFmpeg command that the server logs at debug level. |
Original
Encoded
|
Oh, the codec is actually AAC based on the logs you just shared. MP4A apparently refers to something else and doesn't have anything to do with M4A. The issue I see here is that it's a 10-bit video (yuv420p10le), which means it needs to be transcoded for playback on some clients. |
I tried the non 10-bit setting in Handbrake and it looks like you're right
Any chance there will be a setting coming where I can disable transcoding for 10bit hevc? all of my devices support it, and dont want to completely disable transcoding, its still helpful for uploading videos on the fly. |
#15122 should allow that, but it's very incomplete and will need to include some tweaks in the transcoding pipeline. |
The bug
Ive used handbreak to format my family videos using the h.265 10-bit (NVEnc) setting at 1080p. When I look at the codec information in VLC it says the videos are "MPEG-H Part2/HEVC (H.256) (hvc1)". Immich has the transcode policy set to "Only videos not in the accepted format" and the accepted video codec is "HEVC".
I'm new to video transcoding, what am I missing?
The OS that Immich Server is running on
Debian 12
Version of Immich Server
v1.124.2
Version of Immich Mobile App
na
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
Additional information
2011-10-31.191450.mp4
Originally asked on reddit, was directed here: https://www.reddit.com/r/immich/comments/1i2mink/comment/m7hr2fi/?context=3
The text was updated successfully, but these errors were encountered: