Open Adam-Kay opened 11 months ago
Still not sure how to do the "scan ahead" but pretty happy with the following scheme for the question:
Detected multiple audio tracks in some of this folder's files. How would you like to proceed?
- M to merge audio tracks together in each file
- S to keep audio tracks separate in each file
- F to keep only the first audio track in each file
- D to decide individually per file
Maybe introduce some color into this?
Now broken off into https://github.com/Adam-Kay/Batch-Encoder/issues/18
May need ffprobe
(part of FFmpeg) in order to do the "scanning ahead" part. In which case, I should wait for #25 to be completed before trying to do this.
Improvement Description
When #9 is closed, the encoder utility will be able to preserve all audio streams that are in the input file. But video players by default will only play the first stream and the second one will be silenced. This is inconvenient for certain kinds of recordings, where system audio and microphone audio are in separated tracks.
Functionality / Design
Maybe detect if there are files with multiple audio streams and offer to merge them together in the final file.
How to implement
Somehow the program will "scan" ahead and see if there are files with dual audio tracks and ask what it should do prior to the start of the encoding queue.