<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>

CC BY-SA 4.0
2019-04-27T06:07:46.677Z
I don't have a max size for all, but rathee for each single video
Timothy Lukas H.
CC BY-SA 4.0
2019-04-24T08:32:27.307Z
2019-04-24T08:32:27.307Z
Florian Claaßen
<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>

CC BY-SA 4.0
2022-05-13T09:52:03.813Z
2022-05-13T09:52:03.813Z
Viktor Liashenko
<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>

CC BY-SA 4.0
2019-04-23T06:38:38.400Z
I don't think that's possible with AME. You could use a command-line tool like ffmpeg to do it.
stib
CC BY-SA 4.0
2022-03-15T02:40:54.987Z
@stib How would do you that exactly?
Nathan Dai
<adobe-media-encoder>
Adobe Media Encoder render videos with fixed file size
Timothy Lukas H.
# 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 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.

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 to understand, how to encode files with two-pass reenconding and reach certain filesize.


---

