How do I set the audio language with --parse-metadata? #875
Replies: 1 comment 4 replies
-
No, stream-specific metadata cannot currently be manually set using
You can pass appropriate ffmpeg args using
Could you give example URL? |
Beta Was this translation helpful? Give feedback.
-
I noticed in the section for modifying metadata that
language
can be set for each stream and was wondering if it was possible/how to set the language of the audio stream. I'm not entirely sure how to go about selecting stream specific metadata.The language isn't set to what I would expect for YouTube downloads (as in the fields are all empty strings with the preference set to -1 in the info JSON). Perhaps this is an extractor bug that might need an issue opening, but I'd still like to know if this is possible regardless as a workaround. I could be misunderstanding how it works though.
Do I need to use
ffmpeg
style mappings (s:a:0 etc.) or is some other mapping used?I'd like to do this as my media player can auto select subtitles/captions based on the language of the current audio track, but they all get marked as English so I have to select them manually (I am a native English speaker and so generally do not need English subtitles/captions for English audio).
Beta Was this translation helpful? Give feedback.
All reactions