User Tools

Site Tools


ffmpeg:encoding:set_language

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ffmpeg:encoding:set_language [2023/11/02 10:10] peterffmpeg:encoding:set_language [2023/11/02 10:24] (current) peter
Line 2: Line 2:
  
 FFMPeg uses the [[https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes|ISO 639-2]] codes. FFMPeg uses the [[https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes|ISO 639-2]] codes.
 +
 +----
 +
 +===== Set language on a stream =====
 +
 +<code bash>
 +-metadata:s:1 language=eng
 +</code>
 +
 +<WRAP info>
 +**NOTE:** Sets metadata language to eng on the stream id 1 (which is, in typical cases, the first audio stream).
 +</WRAP>
 +
 +----
 +
 +===== Set language on first subtitle stream =====
 +
 +<code bash>
 +-metadata:s:s:0 language=eng
 +</code>
 +
 +<WRAP info>
 +**NOTE:** Sets the metadata language to eng on the first subtitle stream.
 +</WRAP>
  
 ---- ----
ffmpeg/encoding/set_language.1698919854.txt.gz · Last modified: 2023/11/02 10:10 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki