Answers.Body: <p>Use</p>
  
  <pre><code>ffmpeg -i input.mp4 -i input.png -map 0 -map 1 -c copy -disposition:v:1 attached_pic output.mp4
  </code></pre>
  
  <ul>
  <li><code>-map 0</code> and <code>-map 1</code> will map all streams from both input files (numbered as <code>0</code> and <code>1</code>) into the output file, </li>
  <li><code>-c copy</code> will directly copy all streams into the output file (i.e. without transcoding),</li>
  <li><code>-disposition:v:1 attached_pic</code> will tag your picture (the <strong>v</strong>ideostream #<strong>1</strong>) as as the embedded cover / thumbnail.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-05T17:10:13.247Z
Answers.LastActivityDate: 2020-01-05T17:10:13.247Z
Answers.UserDisplayName: MarianD
Answers.Body: <p>This question has been answered in a previous post <a href="https://superuser.com/questions/597945/set-mp4-thumbnail">here</a>.</p>
  
  <p>The best way to do it is by using <a href="https://www.ffmpeg.org/" rel="nofollow noreferrer">ffmpeg</a>.</p>
  
  <p>If you save the frame of video you want as the thumbnail in .png format, you can use the following command to apply the thumbnail to your file in ffmpeg:</p>
  
  <pre><code>ffmpeg -i INPUT.mp4 -i IMAGE.png -acodec copy -vcodec copy -map 0 -map 1:0 OUTPUT.mp4
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-07T12:16:37.180Z
Answers.Text: Sorry, did not work. After running the ffmpeg command, the video appears as a large traffic cone (this is because I am using VLC media player as my default video viewing app). Any other suggestions?
Answers.UserDisplayName: RobM
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-12T14:36:20.930Z
Answers.LastActivityDate: 2018-06-12T14:36:20.930Z
Answers.UserDisplayName: Mastaxx
Body: <p>I am using kdenlive to create mp4 files.</p>
  
  <p>How do I indicate which image (or which point on the timeline) that will appear as the mp4 file icon when I display the mp4 file in Microsoft File Explorer?</p>
  
Tags: <kdenlive>
Title: Kdenlive: MP4 file icon
UserDisplayName: RobM
ThreadText: # Kdenlive: MP4 file icon
  
  (Asked by: username_0 on 2018-06-09)
  
  I am using kdenlive to create mp4 files.
  
  How do I indicate which image (or which point on the timeline) that will appear as the mp4 file icon when I display the mp4 file in Microsoft File Explorer?
  
  **Tags:** kdenlive
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2020-01-05. Score: 1
  
  Use
  
  ```
  ffmpeg -i input.mp4 -i input.png -map 0 -map 1 -c copy -disposition:v:1 attached_pic output.mp4
  
  ```
  
  * `-map 0` and `-map 1` will map all streams from both input files (numbered as `0` and `1`) into the output file,
  * `-c copy` will directly copy all streams into the output file (i.e. without transcoding),
  * `-disposition:v:1 attached_pic` will tag your picture (the **v**ideostream #**1**) as as the embedded cover / thumbnail.
  
  
  ---
  
  ### Answer by username_2 on 2018-06-12. Score: -1
  
  This question has been answered in a previous post [here](https://superuser.com/questions/597945/set-mp4-thumbnail).
  
  The best way to do it is by using [ffmpeg](https://www.ffmpeg.org/).
  
  If you save the frame of video you want as the thumbnail in .png format, you can use the following command to apply the thumbnail to your file in ffmpeg:
  
  ```
  ffmpeg -i INPUT.mp4 -i IMAGE.png -acodec copy -vcodec copy -map 0 -map 1:0 OUTPUT.mp4
  
  ```
  
  > **Comments:**
  > **username_0**: Sorry, did not work. After running the ffmpeg command, the video appears as a large traffic cone (this is because I am using VLC media player as my default video viewing app). Any other suggestions?  
  
  ---
  
  