CBR libx265,HEVC恒定比特率

时间:2017-06-02 13:40:53

标签: ffmpeg h.265 libx265

我试图使用FFmpeg和libx265,但实际上,我找不到HEVC和常量比特率的任何工作解决方案

    <html>
  <head>
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript">
      google.charts.load('current', {'packages':['timeline']});
      google.charts.setOnLoadCallback(drawChart);
      function drawChart() {
        var container = document.getElementById('timeline');
        var chart = new google.visualization.Timeline(container);
        var dataTable = new google.visualization.DataTable();

        dataTable.addColumn({ type: 'string', id: 'Project' });
        dataTable.addColumn({ type: 'string', id: 'Name' });
        dataTable.addColumn({ type: 'date', id: 'Start' });
        dataTable.addColumn({ type: 'date', id: 'End' });
        dataTable.addRows([
        ['Project A', 'Start Project', new Date(2017,0), new Date(2017,1)],

        ['Project B', 'Start Project', new Date(2027,0), new Date(2027,1)],

        [ 'Project C',  'Start project',    new Date(2018, 3),  new Date(2018, 4) ],
        [ 'Project C', 'Some stuff happens before the official start of project', new Date(2018,0), new Date(2018,1)],
        [ 'Project C' , 'Observable statistic has changed due to project', new Date(2018,7), new Date(2018,8)]
        ])
        var options = {
            timeline: { colorByRowLabel: true ,
                barLabelStyle: {fontSize:8},
                rowLabelStyle: {fontSize:10}
                }
        };
        chart.draw(dataTable, options);
      }
    </script>
  </head>
  <body>
    <div id="timeline" style="height: 1800px;"></div>
  </body>
</html>

*ffmpeg -i "D:\video\Mixer test.mp4" -c:v libx265 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v 1M -minrate 1M -maxrate 1M -bufsize 2M output.ts*

是否可以通过h265获得CBR?

如果不可能,您可以分享一些关于它的官方信息

谢谢。

0 个答案:

没有答案