dwing吧 关注:5,669贴子:89,092
  • 12回复贴,共1

ffmpeg如何调用libx265的--profile=main10参数?

只看楼主收藏回复

x265有个--profile|-P参数: http://x265.readthedocs.io/en/default/cli.html#cmdoption--profile
这个参数指明是CLI ONLY,无法在ffmpeg中通过-x265-params profile=main10 -pix_fmt yuv420p10le这样的参数调用。
那么我如何才能知道这个--profile main10到底设置的哪些参数,以便转换为ffmpeg的对应的参数呢?


IP属地:陕西1楼2017-01-07 12:40回复
    发现没必要调x265的参数了,加了ffmpeg的-pix_fmt yuv420p10le参数后,x265会自动使用main10的profile配置。
    顺便问一下,这个yuv420p10le和yuv420p10be到底有什么区别?看到doom9论坛的参数,几乎压制10bit用的都是10le,而非10be
    x265 [info]: HEVC encoder version 0.0
    x265 [info]: build info [Linux][GCC 4.8.4][64 bit] 10bit
    x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    x265 [info]: Main 10 profile, Level-4 (Main tier)
    x265 [info]: Thread pool created using 8 threads
    x265 [info]: Slices : 1
    x265 [info]: frame threads / pool features : 3 / wpp(17 rows)
    x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
    x265 [info]: Residual QT: max TU size, max depth : 32 / 2 inter / 2 intra
    x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3
    x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
    x265 [info]: Lookahead / bframes / badapt : 30 / 8 / 2
    x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
    x265 [info]: References / ref-limit cu / depth : 4 / on / off
    x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
    x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
    x265 [info]: tools: rect amp limit-modes rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
    x265 [info]: tools: rskip signhide tmvp b-intra strong-intra-smoothing
    x265 [info]: tools: lslices=4 deblock sao


    IP属地:陕西2楼2017-01-07 12:52
    回复
      我还真不知道ffmpeg可以压10bit的x265!
      le:Little Endian
      be:Big Endian
      搜一下就出来了,大端和小端,大端是方便人类的思维,小端是利于计算机的存放处理。


      IP属地:广西3楼2017-01-07 20:51
      收起回复
        LE=little endian
        BE = Big endian
        区别很小,但是你选LE就对了


        IP属地:上海4楼2017-01-07 21:37
        收起回复
          这好像一直是ffmpeg的一个槽点。看到有第三方编译版本专门加了一个 libx265_main10


          IP属地:重庆6楼2020-05-24 15:26
          回复