Answers.Body: <p>You want to concatenate the videos. see
  <a href="https://www.ffmpeg.org/faq.html#How-can-I-concatenate-video-files_003f" rel="nofollow">https://www.ffmpeg.org/faq.html#How-can-I-concatenate-video-files_003f</a></p>
  
  <p>I don't know what OS or multimedia containers you have, so read that FAQ. Especially if you want to avoid making potentially huge intermediate files.</p>
  
  <p>In Linux/Mac OSX you want something like:</p>
  
  <pre><code>ffmpeg -i input1.avi -qscale:v 1 intermediate1.mpg
  ffmpeg -i input2.avi -qscale:v 1 intermediate2.mpg
  cat intermediate1.mpg intermediate2.mpg &gt; intermediate_all.mpg
  ffmpeg -i intermediate_all.mpg -qscale:v 2 output.avi
  </code></pre>
  
  <p>On  Windows I think the syntax is:</p>
  
  <pre><code>ffmpeg -i input1.avi -qscale:v 1 intermediate1.mpg
  ffmpeg -i input2.avi -qscale:v 1 intermediate2.mpg
  copy intermediate1.mpg+intermediate2.mpg intermediate_all.mpg
  ffmpeg -i intermediate_all.mpg -qscale:v 2 output.avi
  </code></pre>
  
  <p>If your multimedia containers are already MPEG-1, MPEG-2 PS, or DV you can skip the transcoding steps and just concat using <code>cat</code> or <code>copy</code> or better yet <code>concat</code> protocol.</p>
  
  <p>You can get fancy with scripting to add pseudo-randomisation to add the Outro. But I'd just add outroA to all odd numbered files and outroB to all even numbered files.</p>
  
  <p>If you want to add more that one outro to your content randomly, I'm not that good a command line hacker to pipe and nest randomisations. So I'd build the randomisation (aka spinning) of 100 <code>cat/copy/concat</code> lines into a script via a spreadsheet, then copy/paste the script into a batch/shell script.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-08T01:01:01.550Z
Answers.LastActivityDate: 2016-08-08T01:01:01.550Z
Answers.UserDisplayName: paulzag
Body: <p>I'm a youtuber...and have more than 100 videos</p>
  
  <p>My question is : how to add 1 outro clip to the end of all 100 videos ?</p>
  
  <p>My question is : how to add 2 or more outro clips to the end of all 100 videos randomly ?</p>
  
  <p>Thanks you guys !</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-07T10:39:08.747Z
Comments.Text: Are your videos already uploaded to youtube? If so I don't think you use ffmpeg. You need to use YouTube Editor. If you haven't uploaded the 100 videos yet, you need to script ffmpeg
Comments.UserDisplayName: paulzag
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-07T14:35:35.293Z
Comments.Text: No....I don't upload it yet....I want to edit it and add outro to all 100 video before upload.....!
Comments.UserDisplayName: doremon21
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-07T14:35:59.510Z
Comments.Text: Can anyone help me plz ?
Comments.UserDisplayName: doremon21
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-08T00:33:43.907Z
Comments.Text: It also helps to tell us what OS and multimedia format container you are using, but I'll give you an answer for now.
Comments.UserDisplayName: paulzag
Tags: <ffmpeg>
Title: FFMPEG: Add outro to the end of video
UserDisplayName: doremon21
ThreadText: # FFMPEG: Add outro to the end of video
  
  (Asked by: username_0 on 2016-08-07)
  
  I'm a youtuber...and have more than 100 videos
  
  My question is : how to add 1 outro clip to the end of all 100 videos ?
  
  My question is : how to add 2 or more outro clips to the end of all 100 videos randomly ?
  
  Thanks you guys !
  
  **Tags:** ffmpeg
  
  > **Comments:**
  > **username_1**: Are your videos already uploaded to youtube? If so I don't think you use ffmpeg. You need to use YouTube Editor. If you haven't uploaded the 100 videos yet, you need to script ffmpeg  
  > **username_0**: No....I don't upload it yet....I want to edit it and add outro to all 100 video before upload.....!  
  > **username_0**: Can anyone help me plz ?  
  > **username_1**: It also helps to tell us what OS and multimedia format container you are using, but I'll give you an answer for now.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-08-08. Score: 2
  
  You want to concatenate the videos. see
  <https://www.ffmpeg.org/faq.html#How-can-I-concatenate-video-files_003f>
  
  I don't know what OS or multimedia containers you have, so read that FAQ. Especially if you want to avoid making potentially huge intermediate files.
  
  In Linux/Mac OSX you want something like:
  
  ```
  ffmpeg -i input1.avi -qscale:v 1 intermediate1.mpg
  ffmpeg -i input2.avi -qscale:v 1 intermediate2.mpg
  cat intermediate1.mpg intermediate2.mpg > intermediate_all.mpg
  ffmpeg -i intermediate_all.mpg -qscale:v 2 output.avi
  
  ```
  
  On Windows I think the syntax is:
  
  ```
  ffmpeg -i input1.avi -qscale:v 1 intermediate1.mpg
  ffmpeg -i input2.avi -qscale:v 1 intermediate2.mpg
  copy intermediate1.mpg+intermediate2.mpg intermediate_all.mpg
  ffmpeg -i intermediate_all.mpg -qscale:v 2 output.avi
  
  ```
  
  If your multimedia containers are already MPEG-1, MPEG-2 PS, or DV you can skip the transcoding steps and just concat using `cat` or `copy` or better yet `concat` protocol.
  
  You can get fancy with scripting to add pseudo-randomisation to add the Outro. But I'd just add outroA to all odd numbered files and outroB to all even numbered files.
  
  If you want to add more that one outro to your content randomly, I'm not that good a command line hacker to pipe and nest randomisations. So I'd build the randomisation (aka spinning) of 100 `cat/copy/concat` lines into a script via a spreadsheet, then copy/paste the script into a batch/shell script.
  
  
  ---
  
  