Best GUI encoder for UHD Blu-rays

Discussion in 'Third Party Products' started by CCaptain00, Jan 20, 2018.

  1. imhh1

    imhh1 Well-Known Member

    you probably just have to create a template with the script in it
     
  2. gereral1

    gereral1 Well-Known Member

    good idea!
     
  3. gereral1

    gereral1 Well-Known Member

    Just created a template and a detailed readme first use text file for guys getting into uhd hdr encoding. The link to the script fix for straxrip 1.7 now called imhh1 build is here.

    https://drive.google.com/open?id=1WAM1iUcltMmOnKxoX0SLESthoQlbXC1E

    Unrar and please read the first time users to learn how to auto load the 10bit pipeline template with the fixed script so all your encodes will be 10bit color into the encode thru the encoder and out of the encoder giving you nice band free hdr.

    Here is a quick video I put together in 2 hrs edited and uploaded to help out anyone who wants to save hhd space for their collection and retain hdr. hehe :)

    PS in readme file I have examples of resolutions
    1920x1080
    2560x1440
    3849x 2160 ---- 3840 2160! typo....not re-uploading the file for this

     
    Last edited: Jan 30, 2018
  4. Tony Tony

    Tony Tony Member

    Great work guys. Any idea will they correct this in the future Staxrip release?
     
  5. Glarioo

    Glarioo Well-Known Member

  6. Pete

    Pete Forum Admin Staff Member

    Just FYI: CloneBD is coming up with a couple of fixes regarding just that.
    There should be no requirement for a video explaining it then ;)
     
    Glarioo and BRCS like this.
  7. Glarioo

    Glarioo Well-Known Member

    I'm looking forward to it.
    Videoquality of Staxrip is very good (crf 17 - preset fast), but very slow. CloneBD has also very good videoquality besides it's fast with hardware accelleration enabled. Little bit sad that there is no "crf" for .mkv output. Always some gambling for good quality/size ratio.
     
  8. gereral1

    gereral1 Well-Known Member

    You can choose crf instead of 2 pass bitrate. Yes is painfully slow but that's price you pay to encode 50 gigs to 16 gig. I'm using medium settings 13000 video bit rate for blade runner and it will take 22hrs to encode and take it down to 19gig. This is on ryzen 5. One my 10 year old x4 965 and it takes 30-40 hrs at these settings. I run 2 pcs encoding 24-7 to speed this up while at work. Hoping my new Intel i7 coffee lake gets at least 4-5 fps and takes is down to 12-22hrs. I've played with gpu acceleration and your will get larger file sizes. No way around this. Wish x265 could take advantage of the open cl or Cuda cores like the way graphics cards can be used for bit mining. Not even sure if thread ripper with all those threads would help that much h265 encodes. I love the amount of pci lanes on the thread ripper platform when using m.2 unlike z370 you loose sata port with m.2 installed. Anyway off topic.... for simple encoding clonebd should be easier to encode.
     
  9. Glarioo

    Glarioo Well-Known Member

    I did some testing. Look at page 3.
     
  10. Glarioo

    Glarioo Well-Known Member

    E.T. movie, encoding with CloneBD 1.1.9.1. Results looking very nice.
    Encoding time was 36 minutes, CUDA and Highest quality, versus 374 minutes with Staxrip, preset fast and CRF18...
    I wonder if CloneBD, in the (near) future, will be able to set up "CRF" for .mkv outputs. Would it be possible, Pete?

    Mediainfo:

    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main 10@L5@High
    Codec ID : V_MPEGH/ISO/HEVC
    Duration : 1 h 54 min
    Bit rate : 19.4 Mb/s
    Width : 3 840 pixels
    Height : 2 160 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 : 10 bits
    Bits/(Pixel*Frame) : 0.097
    Stream size : 15.5 GiB (91%)
    Writing library : ATEME Titan File 3.8.3 (4.8.3.0)
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.2020
    Transfer characteristics : PQ
    Matrix coefficients : BT.2020 non-constant
    Mastering display color primaries : Display P3
    Mastering display luminance : min: 0.0050 cd/m2, max: 1000 cd/m2
    Maximum Content Light Level : 1000 cd/m2
    Maximum Frame-Average Light Level : 148 cd/m2

    Audio #1
     
  11. CCaptain00

    CCaptain00 Active Member

    StaXrip 1.7.0.6 now imports Max CLL and Max FALL. I have tested this and it works.


    1.7.0.6 unstable test build

    • new: macro for the source file extension added (%source_ext%)

    • fix: target image size calculation was using mod 16 instead of the value defined in the options (https://forum.doom9.org/showthread.php?p=1832611#post1832611)

    • fix: x265 command line import and meta data import of --max-cll didn't work

    • update: mClean 2.3

    • update: mvtools2 2.7.24

    • update: VapourSynth 43


    Also it appears that this breaks my ability to hardcode subtitles.
     
    imhh1 and Glarioo like this.
  12. gereral1

    gereral1 Well-Known Member

    Straxrip 1.4 will work but you have to manually enter hdr meta data .
     
  13. Tony Tony

    Tony Tony Member

    Good news those 2 (maxCLL and maxFALL) now imports too 'cause sometimes I forgot to set those manually since all other settings in VUI section imported automatically.
    Thanks for that info CCaptain00. I'll test it soon too.

    I'm having a problem with SMDegrain filter in Staxrip so maybe someone can help me.
    When I use "contrasharp=true" option I'm getting this error in Staxrip: there is no function named 'medianblur', errors in SMDegrain.avsi (lines 593,548)
    And when I use "lsb=true" option I'm getting this error: there is no function named 'Dither_lut8', errors in SMDegrain.avsi (lines 679,225).

    If I have to install something, or add it to Staxrip or Avisynth please explain how.




    Edit: I'm testing new version of Staxrip and first problem (with contrasharp option) is solved but I'm still getting the second error (when I set lsb=true option).
    Any ideas?
    Thanks.
     
    Last edited: Feb 8, 2018
  14. CCaptain00

    CCaptain00 Active Member

    I figured out how to hardcode subtitles on the newest version of StaXrip (1.7.0.6). I had some help from sneaker_ger on the doom9 forum. He recommended since "StaxRip supports VapourSynth you might want to try that. Should be easier than AviSynth since it supported 10 bit from the beginning." I had to install Python-3.6.4 (64 bit) and then VapourSynth-R43 (64bit). I then set the paths in Staxrip under > Apps > Manage. I set the paths for VapourSynth and vspipe under Apps and Python under Runtime. Then right click in the filter box > Filter setup > VapourSynth. At some point a had to install a C++ library and reboot. I set the source filter to ffms2. You do not need to change the source code to get a 10 bit video pipe.

    Issues this fixed for me:

    1) StaXrip 1.7.0.6 imports MAX CLL and MAX FALL
    2) 10 bit video pipe by default (at least using ffms2 as a source filter)
    3) Hardcoded subtitles now work
    *Bonus* I can hardcode SUP subtitles without converting to IDX :D

    Screen.png Screen 2.png Screen 3.png
     
    Last edited: Feb 8, 2018
    Glarioo likes this.
  15. gereral1

    gereral1 Well-Known Member

    1.7 keeps crash on 2nd pass of 2 pass bitrate. I'm in USA connecting remotely to run these 13h tests. Once I find sweet spot I'll lock in my encodes. Mkvtoolnix can do forced subs no need to burn them in. Last test 2pass bitrate switched to bitrate quality and encode super fast at 13000 video bitrate. Small 45 sec files look wonderful.
     
  16. gereral1

    gereral1 Well-Known Member

    Issues this fixed for me:

    1) StaXrip 1.1.0.6 imports MAX CLL and MAX FALL
    2) 10 bit video pipe by default (at least using ffms2 as a source filter)
    3) Hardcoded subtitles now work
    *Bonus* I can hardcode SUP subtitleswithout converting to IDX :D


    You mean 1.7.0.6?? I'll try this as I'm sick of avsynth filter
     
  17. CCaptain00

    CCaptain00 Active Member

    I stream my videos over DLNA. Not all renderers support external subs. Some don't read the forced flag or let you select a subtitle track. That is why I burn in the foreign or forced subtitle tracks. The movie I was testing on had 2 lines of foreign audio so I used MKVtoolnix to create a 2 minute MKV of that part.

    I switched to single pass CRF encoding years ago and haven't touched 2-pass CBR since. As long as they look good and generally fit into my size range I'm happy. Most of my UHD encodes are 8 - 20 GB using CRF 20 medium. 4 - 8 FPS. Id rather not waste the bitrate where I don't need it.

    Have you tried using your 2 pass workflow on a short clip < 2 min. to see if it completes?
     
  18. CCaptain00

    CCaptain00 Active Member

    Yes 1.7.0.6. 1.7.0.5 had an issue with resizing.
     
  19. gereral1

    gereral1 Well-Known Member

    Yes works perfectly but on full movie crashes 1/4 into 2nd pass. I tried crf 16 and bitrate was too low. I thought lowering crf gives you a better encode? I want 13000 video rate as this will cover slow action and hi action scenes and give me a set output.
     
  20. gereral1

    gereral1 Well-Known Member

    How I get this number is by Google video rates for 2560x1440p. 8-13 Mbit stream. I've seen 13mbit stream and I cannot see artifacts or detail loss so this is accepted rate taking 50gig UHD movie down to 16gig w untouched atmos. Blade runner would be 19gig at this locked in rate