You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to upload videos from my drone, which have no audio track. However, these videos are never transcoded by the server. The relevant check is in server/src/domain/media/media.service.ts:
if (!mainVideoStream || !mainAudioStream || !containerExtension) {
return false;
}
Because this check occurs before the ffmpegConfig.transcode configuration is checked, the issue persists even when the transcode policy is set to "All videos" in the ffmpeg settings.
I can probably take a crack at this issue when I have some time - it seems like it will just require a handful of changes in that file to make it sufficient for a file to have just a video track and still be eligible for transcoding. I believe the transcode policy should simply ignore the target audio codec in that case, and the -acodec option for ffmpeg should be omitted (though in my testing, it seems to work fine even when the -acodec option is included.
1. Upload a video without an audio track (for example, this [sample video from Pexels](https://www.pexels.com/video/drops-of-liquid-on-a-tray-to-be-use-as-samples-3195394/)
2. Watch the microservices logs and see that a transcoded asset is not generated
Additional information
No response
The text was updated successfully, but these errors were encountered:
The bug
I want to upload videos from my drone, which have no audio track. However, these videos are never transcoded by the server. The relevant check is in
server/src/domain/media/media.service.ts
:Because this check occurs before the
ffmpegConfig.transcode
configuration is checked, the issue persists even when the transcode policy is set to "All videos" in the ffmpeg settings.I can probably take a crack at this issue when I have some time - it seems like it will just require a handful of changes in that file to make it sufficient for a file to have just a video track and still be eligible for transcoding. I believe the transcode policy should simply ignore the target audio codec in that case, and the
-acodec
option for ffmpeg should be omitted (though in my testing, it seems to work fine even when the-acodec
option is included.Thank you! The project is truly incredible.
The OS that Immich Server is running on
Docker on Debian 10
Version of Immich Server
v1.60.0
Version of Immich Mobile App
v1.60.0 build.100
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response
The text was updated successfully, but these errors were encountered: