Answers.Body: <p>Well you can select every output option for each file, selecting the first and holding shift, then clicking the last one. That way, you can change the max filesize for each file. For example, when you have a max of 12gb and must encode 173 files, the max file-size must be roughly 12000/173 mb for each one. You'd only have to calculate that once, alternatively, if you don't even want to do that, you could jam all your timelines in a new one, which you could then limit in filesize. Wouldn't recommend that though, as you'd have to slice them after rendering to get seperate files again.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-27T06:07:46.677Z
Answers.Text: I don't have a max size for all, but rathee for each single video
Answers.UserDisplayName: Timothy Lukas H.
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-24T08:32:27.307Z
Answers.LastActivityDate: 2019-04-24T08:32:27.307Z
Answers.UserDisplayName: Florian Claaßen
Answers.Body: <p>Actually, I think that Media Encoder can't do it native.
  I know, that <a href="https://www.autokroma.com/AfterCodecs/" rel="nofollow noreferrer">After Codecs</a> has function to render with certain filesize. This size won't be certain, but will be very approx. Also you will need to consider correct resolution for your files to leave your videos with enough good quality.</p>
  <p><a href="https://i.sstatic.net/HrvjF.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HrvjF.png" alt="After Codecs set filesize for video" /></a></p>
  <p>Also you can export your files from Media Encoder and then reencode with any converter, that support file size limit.
  For example ffmpeg:</p>
  <pre><code>ffmpeg -i input.mp4 -fs 10M output.mp4
  </code></pre>
  <p>For a lot of files you can create BASH or BATCH script, depends on your OS.</p>
  <p>You can read <a href="https://trac.ffmpeg.org/wiki/Encode/H.264#twopass" rel="nofollow noreferrer">this article</a> to understand, how to encode files with two-pass reenconding and reach certain filesize.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-13T09:52:03.813Z
Answers.LastActivityDate: 2022-05-13T09:52:03.813Z
Answers.UserDisplayName: Viktor Liashenko
Body: <p>I often need to send people the raw material with mail, Whats App or other size-limiting services.</p>
  
  <p>Adobe Media Encoder can limit the file size with Max Bitrate, but if I have a que with 100 videos, I don't want to calculate the max bitrate for every single video.</p>
  
  <p>Is there a way to set a maximum file size for multiple videos so that AME calculates the max bitrate automatically?</p>
  
  <p>Thanks.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-04-23T06:38:38.400Z
Comments.Text: I don't think that's possible with AME. You could use a command-line tool like ffmpeg to do it.
Comments.UserDisplayName: stib
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-15T02:40:54.987Z
Comments.Text: @stib How would do you that exactly?
Comments.UserDisplayName: Nathan Dai
Tags: <adobe-media-encoder>
Title: Adobe Media Encoder render videos with fixed file size
UserDisplayName: Timothy Lukas H.
ThreadText: # Adobe Media Encoder render videos with fixed file size
  
  (Asked by: username_0 on 2019-04-22)
  
  I often need to send people the raw material with mail, Whats App or other size-limiting services.
  
  Adobe Media Encoder can limit the file size with Max Bitrate, but if I have a que with 100 videos, I don't want to calculate the max bitrate for every single video.
  
  Is there a way to set a maximum file size for multiple videos so that AME calculates the max bitrate automatically?
  
  Thanks.
  
  **Tags:** adobe-media-encoder
  
  > **Comments:**
  > **username_1**: I don't think that's possible with AME. You could use a command-line tool like ffmpeg to do it.  
  > **username_2**: @username_1 How would do you that exactly?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2019-04-24. Score: 1
  
  Well you can select every output option for each file, selecting the first and holding shift, then clicking the last one. That way, you can change the max filesize for each file. For example, when you have a max of 12gb and must encode 173 files, the max file-size must be roughly 12000/173 mb for each one. You'd only have to calculate that once, alternatively, if you don't even want to do that, you could jam all your timelines in a new one, which you could then limit in filesize. Wouldn't recommend that though, as you'd have to slice them after rendering to get seperate files again.
  
  > **Comments:**
  > **username_0**: I don't have a max size for all, but rathee for each single video  
  
  ---
  
  ### Answer by username_4 on 2022-05-13. Score: 0
  
  Actually, I think that Media Encoder can't do it native.
  I know, that [After Codecs](https://www.autokroma.com/AfterCodecs/) has function to render with certain filesize. This size won't be certain, but will be very approx. Also you will need to consider correct resolution for your files to leave your videos with enough good quality.
  
  [![After Codecs set filesize for video](https://i.sstatic.net/HrvjF.png)](https://i.sstatic.net/HrvjF.png)
  
  Also you can export your files from Media Encoder and then reencode with any converter, that support file size limit.
  For example ffmpeg:
  
  ```
  ffmpeg -i input.mp4 -fs 10M output.mp4
  
  ```
  
  For a lot of files you can create BASH or BATCH script, depends on your OS.
  
  You can read [this article](https://trac.ffmpeg.org/wiki/Encode/H.264#twopass) to understand, how to encode files with two-pass reenconding and reach certain filesize.
  
  
  ---
  
  