-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
FFmpeg: Allow selection of specific video and audio streams for transcoding #3284
Comments
@ghostwheel We would appreciate it very much if you could help us test this change we added for you! |
Signed-off-by: Michael Mayer <michael@photoprism.app>
I'd think that this parameter would need to be per video, or per camera, since if someone has a device that produces the important streams not as first, they still might have other videos for which the relevant stream is 0.... |
Signed-off-by: Michael Mayer <michael@photoprism.app>
Per video? How should that work? |
Is it best to remove all of this again? :D |
I'm not sure. You would have to be able to chose which stream to play when there are several... a hack could be that it would be in the notes of the video. But I wouldn't totally remove it, since it makes things totally not work for some users.... |
That would require to extract and index that information, which we current do not. It's another day of work at a minimum and we should be stable now as everyone is waiting for the next release. Might not be the right moment to change that much, that quickly? |
So I think the way you have it would be good. |
Alright, I'll keep it that way for now until someone complains or has a better idea we can implement within the time available 👍 |
Another option would be to totally export all the handling to a separate part that calls ffmpeg, and then users can more easily configure it to their heart's content with being dependent on various attributes of the video. Also not something to do quickly. |
…m#3284 Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
As a user with videos that contain additional video or audio streams, I want to select which streams to transcode so that the others are ignored and do not cause problems during transcoding.
Updated FFmpeg Config Options
ffmpeg
COMMAND
for video transcoding and thumbnail extractionlibx264
NAME
sponsors only50
BITRATE
(Mbit/s)0:v:0
STREAMS
that should be transcoded0:a:0?
STREAMS
that should be transcodedOriginal Feature Request
FFmpeg Documentation
Related Pull Requests
The text was updated successfully, but these errors were encountered: