VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or try DVDFab and copy, convert or make Blu-rays and DVDs! :)
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date
    Jul 2018
    Location
    Indiana
    Search Comp PM
    I have a HEVC MKV with a 1904x816 resolution that I'd like to re-encode to 4k (3808x1632 according to my calculations).

    What's the best way to do this? I'd like to have the quality remain the same and retain the MKV format. I've found that with most HD videos if I play them in MPC with MadVR enabled they tend to lag to the point they end up stalling my PC in full screen, but if I right-click, go into the 'pan and scan' options and decrease the height or the width once it plays fine with the filters / upscaling enabled. If I convert them to 4k they play perfectly fine in their original size. This time I have a slight issue because I've never had to convert an HD HEVC MKV file to 4K.

    1) The overall bitrate is 4027 kb/s so I'm not sure what to make it to not lose quality in H.624.
    2) I use VideoSolo to convert my videos which allows me to convert to 4K H.264 MKV, but only 4K HEVC MP4. I don't mind going to MP4 if there's not a loss in quality.
    3) Is there a program / site I can use to find out what 4027 kb/s HEVC equals in H.264?
    4) Is there a better program that allows me to easily change nothing but the resolution and keep the MKV format with re-encoding? I have VideoSolo, Handbrake, and Avidemux but these programs are a tad tedious to work with. I know some things about editing videos, but the options I'm given just hurt my brain.

    Here's the video information:

    ----------------------------------------------------------------------------------------------

    General
    Format : Matroska
    Format version : Version 4 / Version 2
    File size : 79.5 MiB
    Duration : 2 min 45 s
    Overall bit rate : 4 027 kb/s
    Encoded date : UTC 2018-05-15 02:26:28
    Writing application : mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 09:52:00
    Writing library : libebml v1.3.0 + libmatroska v1.4.0

    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main@L5@Main
    Codec ID : V_MPEGH/ISO/HEVC
    Duration : 2 min 45 s
    Width : 1 904 pixels
    Height : 816 pixels
    Display aspect ratio : 2.35:1
    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
    Writing library : x265 2.0+2-70581d6cd065:[Windows][MSVC 1900][64 bit] 8bit
    Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=3 / subme=5 / merange=24 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rskip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=240 / min-keyint=23 / scenecut=40 / rc-lookahead=240 / lookahead-slices=0 / bframes=16 / bframe-bias=0 / b-adapt=2 / ref=5 / limit-refs=3 / no-limit-modes / weightp / weightb / aq-mode=2 / qg-size=64 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=4.00 / rdoq-level=0 / psy-rdoq=0.00 / no-rd-refine / signhide / deblock=-1:-1 / sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / vbv-maxrate=5000 / vbv-bufsize=5000 / crf-max=32.0 / ipratio=1.40 / pbratio=1.30
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

    Audio #1
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : A_AAC-2
    Duration : 2 min 45 s
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 SPF)
    Compression mode : Lossy
    Delay relative to video : 18 ms
    Title : English 5.1 Surround
    Language : English
    Default : Yes
    Forced : No
    Statistics Tags Issue : mkvmerge v9.2.0 ('Photograph') 64bit 2017-03-28 23:13:26 / mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 09:52:00 2018-05-15 02:26:28
    FromStats_BitRate : 268554
    FromStats_Duration : 02:20:05.866000000
    FromStats_FrameCount : 394025
    FromStats_StreamSize : 282179385


    ID : 11
    Format : PGS
    Muxing mode : zlib
    Codec ID : S_HDMV/PGS
    Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
    Title : Finnish (PGS)
    Language : Finnish
    Default : No
    Forced : No
    Statistics Tags Issue : mkvmerge v9.2.0 ('Photograph') 64bit 2017-03-28 23:13:26 / mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 09:52:00 2018-05-15 02:26:28
    FromStats_BitRate : 11387
    FromStats_Duration : 02:20:02.637000000
    FromStats_FrameCount : 2174
    FromStats_StreamSize : 11960686


    Menu
    00:00:00.000 : en
    00:02:39.117 : en

    ------------------------------------------------------------------------------
    Quote Quote  
  2. You should fix your playback problems. If it's renderer performance lower madvr settings or use a simpler renderer. The quality hit will be lower than re-encoding to 4K at 4000 kbps. Do you have a 4K display?
    Quote Quote  
  3. Member
    Join Date
    Jul 2018
    Location
    Indiana
    Search Comp PM
    Nope, I'm playing videos on a 1080 display. I understand what you're saying, but it's weird. First off, here are my MadVR settings:

    Image Enhancements
    - Enhance Detail: 4.0
    - LumaSharpen: 4.50
    - AdaptiveSharpen: 0.3

    ChromaScaling:
    - NGU - Sharp, very high quality
    - Activate SuperRes filter - 4

    Image Downscaling:
    - DXVA2 (Copyback)

    Image Upscaling:
    - NGU Sharp
    - Very High
    - Double Again
    - Let MadVR Decide

    If I have a basic 720p video with the original pan and scan settings and my MadVR settings then it lags like that until I decrease the frame h/w.
    If I upscale by re-encoding that video to lets say 1080p and play it with the same original pan and scan settings and my MadVR settings then it works perfectly fine. No adjustments needed at all and the image looks great. I've been up-converting my HD to UHD and they look great on my display. It's kind of like an artificial 4k HDR vs authentic 4K HDR. A very very miniscule amount of artifacts (Aliasing), but compared to my actual 4K television there's not that much of a difference and my CPU can handle it really well. I'm not sure what's causing the lag (maybe it is the renderer settings) but it's weird because it's everything below 4K that's having an issue. The 4K's play fine.

    I do find it difficult finding which settings in my Codec Tweak Tool to adjust and which internal / external filters to check / uncheck in MPC. Right now I'm using LAV Filters that also have confusing settings. It's all just too much, haha.
    Quote Quote  
  4. Member
    Join Date
    Jul 2018
    Location
    Indiana
    Search Comp PM
    Oh and my renderer settings in MadVR match what I've found on here under topics like, "best MadVR settings" so I'm not sure which ones to check and uncheck to figure out the issue.
    Quote Quote  
  5. Those settings seem extremely high/placebo. Create an empty folder with the name "ShowRenderSteps" in the madvr folder. Then start playing a problematic file and press ctrl+j to see the OSD with the stats. There you can see were most GPU time is spend.
    Personally, I would just reset madvr settings (run "restore default settings.bat" with admin rights). If the picture isn't sharp enough you can play a bit with the image enhancement filters.

    Again: it doesn't make sense to re-encode at 4000 kbps instead of lowering renderer settings. The difference between e.g. lanczos and NGU upscaling will be much lower than the difference between two generations of encodes. And of course you won't waste all your time and money re-encoding everything.
    Quote Quote  



Similar Threads