lisamelton / other_video_transcoding

Other tools to transcode videos.
MIT License
555 stars 26 forks source link

Question about bitrate values in the code #166

Closed ProxyCell closed 2 years ago

ProxyCell commented 2 years ago

Hi @donmelton , I have a quest about the bitrate values in the code for hevc:

      if @encoder == 'libx264' and @x264_mbtree and @maxrate == 1.0
        @target_2160p ||= 15000
        @target_1080p ||= 7500
        @target_720p  ||= 4500
        @target_480p  ||= 2250
      else
        @target_2160p ||= @hevc ? 8000 : 12000
        @target_1080p ||= @hevc ? 4000 :  6000
        @target_720p  ||= @hevc ? 2000 :  3000
        @target_480p  ||= @hevc ? 1000 :  1500
      end

When does that second value for hevc of 12k, 6k, 3k, 1.5k get used?

ProxyCell commented 2 years ago

ahh nvm... i think i get it now from more dry-run testing on my end