You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two pass encoding allow user to have more control on the output filesize.
Use case
Let's say you want to upload a video of 10min, that is 400MiB for some reasons. That'd mean 1 min of video is 40MiB. We want each video to not be upon 20MiB per minute.
We need to use two-pass encoding to achieve this :
10 minutes = 600 seconds
20 MiB = 20 000 KiB
(20k / 600) * 60 = 2000 MiB
2M - 192k = 1 808 000 kBit/s is our target video bitrate.
That'd produce the following settings :
encoding:
strategy: crfminute_filesize: 40000renditions:
- name: <defined by user>width: <defined by user>height: <defined by user>video_bitrate: ( (minute_filesize [kB] / duration [sec]) * 60 )audio_bitrate: 192000framerate: <from original or defined by user>audio_rate: 48000video_codec: libx265audio_codec: aactarget_bandwidth: (video_bitrate + audio_bitrate)preset: medium
Which would produce the following ffmpge options :
Two pass encoding allow user to have more control on the output filesize.
Use case
Let's say you want to upload a video of 10min, that is 400MiB for some reasons. That'd mean 1 min of video is 40MiB. We want each video to not be upon 20MiB per minute.
We need to use two-pass encoding to achieve this :
(20k / 600) * 60 = 2000 MiB
2M - 192k = 1 808 000 kBit/s is our target video bitrate.
That'd produce the following settings :
Which would produce the following ffmpge options :
References
The text was updated successfully, but these errors were encountered: