Author Topic: 2 pass H264 Oversizing issue?  (Read 217 times)

xtro

  • Newbie
  • *
  • Posts: 14
2 pass H264 Oversizing issue?
« on: September 08, 2019, 09:51:31 AM »
I was using 2.7.4 build and set a size for a 2 pass H264 encoding. I set it to 700mb with a copy only pass thru for the audio thinking this would be a final size including the audio. The size came out 70 mb over.  Is this a bug or is the audio size never included in the size(mb) option.  A few others have reported this issue over at Videohelp, if it is an issue? Thanks for your hard work and development of AviDemux.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3385
Re: 2 pass H264 Oversizing issue?
« Reply #1 on: September 08, 2019, 04:35:01 PM »
This is not a bug, the target size specified in the settings of the x264 encoder means the target size of the output video stream only. The video encoder knows nothing about number of audio tracks, audio encoder, audio bitrate and so on. This is so by design.