Answers.Body: <p>Add <code>-disposition</code> <a href="https://ffmpeg.org/ffmpeg.html#Main-options" rel="nofollow noreferrer">option</a> :</p>
  <p><code>-disposition:s:0 0 -disposition:s:1 0</code> to clear the disposition for first and second subtitles (fr and eng).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-12T12:31:33.963Z
Answers.LastActivityDate: 2024-01-12T12:31:33.963Z
Answers.UserDisplayName: Alain1A45
Body: <p>I managed to create the subtitle file, using different language with one single FFMPEG command:</p>
  <pre><code>ffmpeg -y -loglevel &quot;repeat+info&quot; 
  -i &quot;file:Intervista.mp4&quot; 
  -i &quot;file:Intervista_fr.srt&quot; 
  -i &quot;file:Intervista_en.srt&quot; 
  -i &quot;file:Intervista_it.srt&quot; 
  -c copy 
  -map 0 -dn -map &quot;-0:s&quot; -map &quot;-0:d&quot;  
  -map &quot;1:0&quot; &quot;-metadata:s:s:0&quot; &quot;language=FR&quot; &quot;-metadata:s:s:0&quot; &quot;handler_name=French&quot;  &quot;-metadata:s:s:0&quot; &quot;title=French&quot; 
  -map &quot;2:0&quot; &quot;-metadata:s:s:1&quot; &quot;language=ENG&quot; &quot;-metadata:s:s:1&quot; &quot;handler_name=English&quot; &quot;-metadata:s:s:1&quot; &quot;title=English&quot; 
  -map &quot;3:0&quot; &quot;-metadata:s:s:2&quot; &quot;language=ITA&quot; &quot;-metadata:s:s:2&quot; &quot;handler_name=Italiano&quot;  &quot;-metadata:s:s:2&quot; &quot;title=Italiano&quot; 
  &quot;file:output.mp4&quot;
  </code></pre>
  <p>For some reason, the default subtitles shown when I start the video is English, which is the one in the middle. How do I set the default subtitle file to Italian?</p>
  
Tags: <ffmpeg><audio><encoding><subtitles>
Title: Setting the default subtitles
UserDisplayName: Nicola Lepetit
ThreadText: # Setting the default subtitles
  
  (Asked by: username_0 on 2024-01-12)
  
  I managed to create the subtitle file, using different language with one single FFMPEG command:
  
  ```
  ffmpeg -y -loglevel "repeat+info" 
  -i "file:Intervista.mp4" 
  -i "file:Intervista_fr.srt" 
  -i "file:Intervista_en.srt" 
  -i "file:Intervista_it.srt" 
  -c copy 
  -map 0 -dn -map "-0:s" -map "-0:d"  
  -map "1:0" "-metadata:s:s:0" "language=FR" "-metadata:s:s:0" "handler_name=French"  "-metadata:s:s:0" "title=French" 
  -map "2:0" "-metadata:s:s:1" "language=ENG" "-metadata:s:s:1" "handler_name=English" "-metadata:s:s:1" "title=English" 
  -map "3:0" "-metadata:s:s:2" "language=ITA" "-metadata:s:s:2" "handler_name=Italiano"  "-metadata:s:s:2" "title=Italiano" 
  "file:output.mp4"
  
  ```
  
  For some reason, the default subtitles shown when I start the video is English, which is the one in the middle. How do I set the default subtitle file to Italian?
  
  **Tags:** ffmpeg, audio, encoding, subtitles
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-01-12. Score: 2 | Accepted answer
  
  Add `-disposition` [option](https://ffmpeg.org/ffmpeg.html#Main-options) :
  
  `-disposition:s:0 0 -disposition:s:1 0` to clear the disposition for first and second subtitles (fr and eng).
  
  
  ---
  
  