VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member hydra3333's Avatar
    Join Date
    Oct 2009
    Location
    Australia
    Search Comp PM
    I'm a tad confused and am looking for assistance in a couple of things.

    I googled for a couple of hours, found a plethora of semi-conflicting information,
    and am still not much clearer on what FFMPEG commandline switches to use to
    convert (re-encode) a 4K HDR webm video,
    eg vp9.2 (and other similar samples in various formats from across the web)
    into

    1. an mp4 container as h.264/HDR(10-bit)/4k, presmably profile main10 and level 5.1
    2. an mkv container as h.264/HDR(10-bit)/4k, presmably profile main10 and level 5.1

    as well
    3. an mp4 container as hevc/HDR(10-bit)/4k similar to 1 and 2
    4. an mkv container as hevc/HDR(10-bit)/4k similar to 1 and 2

    I'd prefer to use ffmpeg rather than x264 and x265 if possible.

    Any example FFMPEG commandlines and/or link(s) would be very greatly appreciated.

    I've seen something similar to this proposed on the web for hevc although I'm yet to give it a try
    Code:
    ffmpeg -input-depth 10 -pix_fmt yuv420p10le -i input.vp9.2.webm -an -c:v libx265 \
    -x265-params "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,10):max-cll=0,0:hdr" \
    -profile:v main10 -level:v 5.1 -crf 15 output.mp4
    Quote Quote  
  2. Member
    Join Date
    Jul 2016
    Location
    United Kingdom
    Search PM
    H264 cannot encode to HDR. Only HEVC can encode to HDR.

    For H264, the best you'll get with 10bit is i444.
    Quote Quote  
  3. Member hydra3333's Avatar
    Join Date
    Oct 2009
    Location
    Australia
    Search Comp PM
    OK Thank you.
    Quote Quote  



Similar Threads