title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Beginner's questions about conversion configuration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajob

    • May 2019
    • 2

    Beginner's questions about conversion configuration

    I contemplate a long job to compress to H 265 many mp4 conference videos (a lot of them!), so I ask for help to first double-check my initial configuration; my final question is at the bottom.

    Using a Eurocom Q5 laptop with Intel i7-7700HQ, 16 GB RAM, GTX 1070 with Max-Q

    The videos are all about static slides and a speaker talking in a corner of the frame (PIP), or full frame of the speaker.

    I first used PavTube, it compressed the original file to about 40% of its original size, no perceivable quality loss, conversion very fast with GPU encoding.

    I then tried DBPoweramp, it compressed the original file to 9% (!) of its original size, still no perceivable quality loss except audio maybe somewhat less clear, conversion very slow (1.4x, no GPU encoding, wrong configuration?).

    I got a conversion error notification on DBPoweramp:

    Error converting to MP4 (HVEC H265), 'E:\VIDEOS\Science & Math\DDP Conference 2018 Las Vegas\ddp-2018-claycomb.mp4' to 'D:\Videos\PavTube video converter\H 265\DBPoweramp H265 compression\ddp-2018-claycomb.mp4'
    x265 [info]: HEVC encoder version 2.6+37-1949157705ce
    x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit+10bit
    x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    x265 [info]: Main profile, Level-4 (Main tier)
    x265 [info]: Thread pool created using 8 threads
    x265 [info]: Slices : 1
    x265 [info]: frame threads / pool features : 4 / 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 / 1 inter / 1 intra
    x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
    x265 [info]: Keyframe min / max / scenecut / bias: 23 / 250 / 40 / 5.00
    x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
    x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
    x265 [info]: References / ref-limit cu / depth : 3 / on / on
    x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
    x265 [info]: Rate Control / qCompress : CRF-26.0 / 0.60
    x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
    x265 [info]: tools: lslices=6 deblock sao
    x265 [info]: frame I: 340, Avg QP:22.87 kb/s: 8339.02
    x265 [info]: frame P: 21112, Avg QP:24.57 kb/s: 1461.25
    x265 [info]: frame B: 63450, Avg QP:31.98 kb/s: 214.62
    x265 [info]: Weighted P-Frames: Y:5.5% UV:0.7%
    x265 [info]: consecutive B-frames: 3.2% 2.1% 29.3% 26.4% 38.9%


    Let me copy the basic MediaInfo data on:

    - the original video file:

    General
    Complete name : E:\VIDEOS\Science & Math\DDP Conference 2018 Las Vegas\ddp-2018-claycomb.mp4
    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42 (mp42/mp41)
    File size : 3.36 GiB
    Duration : 59 min 1 s
    Overall bit rate mode : Variable
    Overall bit rate : 8 140 kb/s
    Encoded date : UTC 2019-04-14 08:55:14
    Tagged date : UTC 2019-04-14 08:58:19
    TIM : 00:00:00:00
    TSC : 24000
    TSZ : 1001

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4
    Format settings : CABAC / 3 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 3 frames
    Format settings, GOP : M=3, N=72
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 59 min 1 s
    Bit rate mode : Variable
    Bit rate : 7 818 kb/s
    Maximum bit rate : 8 000 kb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 23.976 (24000/1001) FPS
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.157
    Stream size : 3.22 GiB (96%)
    Language : English
    Encoded date : UTC 2019-04-14 08:55:14
    Tagged date : UTC 2019-04-14 08:55:14
    Color range : Limited
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709
    Codec configuration box : avcC

    Audio
    ID : 2
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Codec ID : mp4a-40-2
    Duration : 59 min 1 s
    Source duration : 59 min 1 s
    Bit rate mode : Variable
    Bit rate : 317 kb/s
    Maximum bit rate : 334 kb/s
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 134 MiB (4%)
    Source stream size : 134 MiB (4%)
    Language : English
    Encoded date : UTC 2019-04-14 08:55:14
    Tagged date : UTC 2019-04-14 08:55:14


    - the video file compressed to H265 with PavTube:

    General
    Complete name : D:\Videos\PavTube video converter\H 265\ddp-2018-claycomb.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom (isom/iso2/mp41)
    File size : 1.36 GiB
    Duration : 59 min 1 s
    Overall bit rate : 3 308 kb/s
    Writing application : Lavf56.25.101

    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main@L4@Main
    Codec ID : hev1
    Codec ID/Info : High Efficiency Video Coding
    Duration : 59 min 1 s
    Bit rate : 3 048 kb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 23.976 (24000/1001) FPS
    Standard : Component
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Bits/(Pixel*Frame) : 0.061
    Stream size : 1.26 GiB (92%)
    Language : English
    Color range : Limited
    Codec configuration box : hvcC

    Audio
    ID : 2
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Codec ID : mp4a-40-2
    Duration : 59 min 1 s
    Duration_LastFrame : -9 ms
    Bit rate mode : Constant
    Bit rate : 256 kb/s
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 108 MiB (8%)
    Language : English
    Default : Yes
    Alternate group : 1


    - the video file compressed to H265 with DBpoweramp with "out-of-the-box" options:

    General
    Complete name : D:\Videos\DBPoweramp H265 compression\ddp-2018-claycomb.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom (isom/iso2/mp41)
    File size : 292 MiB
    Duration : 59 min 1 s
    Overall bit rate : 692 kb/s
    Writing application : Lavf58.9.100

    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main@L4@Main
    Codec ID : hev1
    Codec ID/Info : High Efficiency Video Coding
    Duration : 59 min 1 s
    Bit rate : 558 kb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 23.976 (24000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.011
    Stream size : 236 MiB (81%)
    Writing library : x265 2.6+37-1949157705ce:[Windows][GCC 7.2.0][64 bit] 8bit+10bit
    Encoding settings : cpuid=1173503 / frame-threads=4 / numa-pools=8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=6 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=26.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=255 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1
    Language : English
    Codec configuration box : hvcC

    Audio
    ID : 2
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Codec ID : mp4a-40-2
    Duration : 59 min 1 s
    Bit rate mode : Constant
    Bit rate : 129 kb/s
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 54.3 MiB (19%)
    Language : English
    Default : Yes
    Alternate group : 1

    ===========

    Final question: DBPoweramp looks very attractive due to the extreme compression, but is very slow, audio seems less clear and it notifies conversion errors, how should I configure it correctly?

    Many thanks !!
  • Spoon
    Administrator
    • Apr 2002
    • 44504

    #2
    Re: Beginner's questions about conversion configuration

    Try the Nvidia HVEC 265 encoder, and set the audio to a 1:1 copy.
    Spoon
    www.dbpoweramp.com

    Comment

    Working...

    ]]>