VideoHelp Forum
+ Reply to Thread
Page 65 of 75
FirstFirst ... 15 55 63 64 65 66 67 ... LastLast
Results 1,921 to 1,950 of 2231
Thread
  1. I doubt it's an issue with ffmpeg, since nobody else is reporting this issue.
    I suspect this is related to some virus scanner or similar.
    Especially "Kaspersky Antivirus", "MSI afterburner" and "rivaTuner" cause issues for some users.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  2. Originally Posted by Selur View Post
    I doubt it's an issue with ffmpeg, since nobody else is reporting this issue.
    I suspect this is related to some virus scanner or similar.
    Especially "Kaspersky Antivirus", "MSI afterburner" and "rivaTuner" cause issues for some users.
    I don't have any of those installed. There's one way I can test this. I can install another copy of ffmpeg from this site then point Hybrid to it, will that work?
    Quote Quote  
  3. Sure, you can replace the ffmpeg.exe. No clue whether it will help.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  4. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by Compositor View Post
    Referring to this issue a few posts back. I completed my encode project and decided to try again with the latest version of Hybrid. This time, I even downloaded a new copy, removed old settings and still no luck. It's still crashing.

    Is it possible the ffmpeg.exe installed with Hybrid is broken?

    I'm attaching the Debug Output again. Although I don't think there's anything new here.
    have you tried running ckdsk on your drive ?? right click on your drive - click properties - error checking,
    let the program run & finish and then see if the latest version of Hybrid still crashes.
    Quote Quote  
  5. Originally Posted by october262 View Post

    have you tried running ckdsk on your drive ?? right click on your drive - click properties - error checking,
    let the program run & finish and then see if the latest version of Hybrid still crashes.
    Just tried it, no change.

    EDIT: pointing Hybrid at another copy of ffmpeg didn't work either. I guess I'm stuck with the last version for now.
    Last edited by Compositor; 11th Dec 2022 at 11:40.
    Quote Quote  
  6. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by Compositor View Post
    Originally Posted by october262 View Post

    have you tried running ckdsk on your drive ?? right click on your drive - click properties - error checking,
    let the program run & finish and then see if the latest version of Hybrid still crashes.
    Just tried it, no change.

    EDIT: pointing Hybrid at another copy of ffmpeg didn't work either. I guess I'm stuck with the last version for now.
    what operating system is your computer running ??
    Quote Quote  
  7. According to the debug output "Windows 10 Version 2009 (64bit)".
    @Compositor: what happens if you call
    Code:
    "C:\Program Files\Hybrid\64bit\ffmpeg.exe" -i H:\trial\llss1nced12v.mkv
    in a Windows Command Prompt?
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  8. Originally Posted by Selur View Post
    According to the debug output "Windows 10 Version 2009 (64bit)".
    @Compositor: what happens if you call
    Code:
    "C:\Program Files\Hybrid\64bit\ffmpeg.exe" -i H:\trial\llss1nced12v.mkv
    in a Windows Command Prompt?
    It spits out a whole lot of text, ending with "At least one output file must be specified" in red.
    Quote Quote  
  9. Okay, so the general usage of ffmpeg does work.
    -> Have you tried another source? (which also lies on another non network drive)
    Do you use some other anti virus than defender and/or some personal firewall ?
    Last edited by Selur; 11th Dec 2022 at 13:40.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  10. A short while ago, I realized that my response was in error. I had reverted to the previous version before I ran that test. So the result was invalid.

    I decided to reinstall the latest version to try it again. This time I went a bit more through in removing the previous version. After uninstalling, I directly deleted the leftover folder, there were actually still a few files in it.

    Then I installed the new version, and now it's working properly.

    Perhaps you can consider deleting the installation folder in the uninstallation process in future versions?

    EDIT: There was one odd quirk I noticed when I reverted to the old version to continue encoding days ago. From some quick testing, that quirk is still in the latest version. It's even possible that it came from the latest version and somehow affected the old one when I reinstalled it, it hadn't been there previously.

    The quirk is if there are chapters in the source to be encoded, there will be two key frames at the start of the encoded video. Strip the chapters from the source and encode it again, the result has just one key frame at the start of the encoded video. It might be a sign of something.
    Last edited by Compositor; 11th Dec 2022 at 14:43.
    Quote Quote  
  11. Perhaps you can consider deleting the installation folder in the uninstallation process in future versions?
    This normally happens, no clue why it didn't happen on your system.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  12. Originally Posted by Selur View Post
    This normally happens, no clue why it didn't happen on your system.
    In that case, I'll take a look at my system settings. I also remember to look for leftover folders next time.
    Quote Quote  
  13. The quirk is if there are chapters in the source to be encoded, there will be two key frames at the start of the encoded video. Strip the chapters from the source and encode it again, the result has just one key frame at the start of the encoded video. It might be a sign of something.
    Without debug outputs to see what's happening, there's nothing I can say about it.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  14. I did a quick test and here are the debug outputs. One for a video with no chapters and one for the same video with one chapter. I can upload the videos too. It's just one second of black screen.
    Image Attached Files
    Quote Quote  
  15. okay, looks like the index in the qp file is wrong.
    "result2_2022-12-12@11_55_55_2010_01.qp" uses "1 I -1", but should use "0 I -1". So what happens is x265 creates a key frame at 0 and then the qp file forces it to add another one at position 1.
    -> I'll look into it.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  16. Send you a pm with a dev version for testing. (off to work now)
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  17. Originally Posted by Selur View Post
    Send you a pm with a dev version for testing. (off to work now)
    I tested the dev version and I'm afraid to say that it does cause problems with subsequent chapters. I put 5 chapter points in a 3 minute video and all but one of them had the keyframe before the time of the chapter point. I then added 20ms to all the chapter points and reencoded the source, that put the keyframes in the correct position, but that's still behind the time specified by the chapter points. Debug Output for both encodes are included.

    There's one other problem I have to report. Under certain conditions, Hybrid dropped the first two frames of a video when encoding. Since this one might be hard to replicate, I'm including the source for you to experiment with. Along with the debug output, of course. The source is 48 frames long. But the encoded video is only 46 frames long. I've only seen this happen twice. The one commonality between them is both were part of a long (over a dozen frames) sequence where nothing changed.

    Lastly, I'm pleased to report that when I uninstalled 11.28 to install this test version, it properly deleted its install folder.
    Image Attached Files
    Last edited by Compositor; 12th Dec 2022 at 03:20.
    Quote Quote  
  18. I put 5 chapter points in a 3 minute video and all but one of them had the keyframe before the time of the chapter point.
    I feared something like that.
    Will look at it and the missing frame thing after work.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  19. Regarding the source short.mkv:
    Vapoursynth with DGDecNV reports 49 frames in vsViewer and x265 reports: encoded 49 frames.
    Vapoursynth with LWLibavSource reports 49 frames in vsViewer and x265 reports: encoded 49 frames.
    Vapoursynth with LWLibavSource and hardware decoding reports 49 frames in vsViewer and x265 reports: encoded 49 frames.
    Vapoursynth with ffms2.Source reports 49 frames in vsViewer and x265 reports: encoded 49 frames.
    => at least with Vapoursynth and this sample I see no problem.

    Looking at your debug output, x265 reports:
    "encoded 24 frames in 5.16s (4.65 fps), 25.69 kb/s, Avg QP:23.09"
    Looking at the encoding call:
    Code:
    "C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "H:\trial\source2.mkv" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | "C:\Program Files\Hybrid\64bit\x265.exe" --input - --output-depth 10 --y4m --profile main10 --level-idc 4.1 --limit-tu 4 --me star --subme 7 --merange 44 --max-merge 5 --no-early-skip --rskip 0 --no-strong-intra-smoothing --no-open-gop --opt-ref-list-length-pps --keyint 240 --min-keyint 6 --bframes 8 --weightb --b-intra --ref 5 --rc-lookahead 70 --lookahead-slices 6 --qpmax 32 --crf 16.00 --opt-qp-pps --qpfile "C:\Users\Jimmy C\AppData\Local\Temp\result2_2022-12-12@11_55_55_2010_01.qp" --limit-refs 0 --rd 6 --rd-refine --psy-rd 1.20 --aq-mode 3 --sbrc --vbv-maxrate 50000 --vbv-bufsize 50000 --deblock=-2:-2 --no-repeat-headers --range limited --colormatrix bt709 --output "C:\Users\JIMMYC~1\AppData\Local\Temp\2022-12-12@11_55_55_2010_02.265"
    Using:
    Code:
    ffmpeg -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "C:\Users\Selur\Desktop\short.mkv" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | x265 --input - --output-depth 10 --y4m --profile main10 --limit-modes --no-early-skip --no-open-gop --opt-ref-list-length-pps --lookahead-slices 0 --crf 18.00 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --qpfile "G:\Temp\short_2022-12-12@14_45_35_1610_01.qp" --limit-refs 0 --ssim-rd --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --deblock=-1:-1 --limit-sao --no-repeat-headers --range limited --colormatrix bt709 --output "G:\Temp\2022-12-12@14_45_35_1610_02.265"
    x265 reports: encoded 47 frames.

    So the seems like ffmpeg has some issue with the source.
    Removing '-loglevel fatal' and '--qpfile "G:\Temp\short_2022-12-12@14_45_35_1610_01.qp"' from the command line and calling the call inside a Windows Command Prompt I get:
    Code:
    ffmpeg -y -noautorotate -nostdin -threads 8 -i "C:\Users\Selur\Desktop\short.mkv" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | x265 --input - --output-depth 10 --y4m --profile main10 --limit-modes --no-early-skip --no-open-gop --opt-ref-list-length-pps --lookahead-slices 0 --crf 18.00 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --qpfile "G:\Temp\short_2022-12-12@14_45_35_1610_01.qp" --limit-refs 0 --ssim-rd --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --deblock=-1:-1 --limit-sao --no-repeat-headers --range limited --colormatrix bt709 --output "G:\Temp\2022-12-12@14_45_35_1610_02.265
    x265 [error]: G:\Temp\short_2022-12-12@14_45_35_1610_01.qp qpfile not found or error in opening qp file
    ffmpeg version N-109397-g3e9ff21d2e-g9651f873f8+1 Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 12.2.0 (Rev6, Built by MSYS2 project)
      configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads
      libavutil      57. 43.100 / 57. 43.100
      libavcodec     59. 54.101 / 59. 54.101
      libavformat    59. 34.102 / 59. 34.102
      libavdevice    59.  8.101 / 59.  8.101
      libavfilter     8. 52.100 /  8. 52.100
      libswscale      6.  8.112 /  6.  8.112
      libswresample   4.  9.100 /  4.  9.100
      libpostproc    56.  7.100 / 56.  7.100
    -vsync is deprecated. Use -fps_mode
    Passing a number to -vsync is deprecated, use a string argument as described in the manual.
    Input #0, matroska,webm, from 'C:\Users\Selur\Desktop\short.mkv':
      Metadata:
        encoder         : libebml v1.4.4 + libmatroska v1.7.1
        creation_time   : 2022-12-12T05:34:49.000000Z
      Duration: 00:00:02.04, start: 0.083000, bitrate: 39404 kb/s
      Chapters:
        Chapter #0:0: start 0.000000, end 1.919000
          Metadata:
            title           : mark
      Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
        Metadata:
          BPS             : 39378070
          DURATION        : 00:00:02.044000000
          NUMBER_OF_FRAMES: 49
          NUMBER_OF_BYTES : 10061097
          _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2022-12-12 05:34:49
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
    [yuv4mpegpipe @ 0000019f4049d540] Warning: generating non standard YUV stream. Mjpegtools will not work.
    Output #0, yuv4mpegpipe, to 'pipe:':
      Metadata:
        encoder         : Lavf59.34.102
    y4m  [info]: 1920x1080 fps 24000/1001 i420p10 sar 1:1 unknown frame count
      Chapters:
        Chapter #0:0: start 0.000000, end 1.836000
          Metadata:
            title           : mark
      Stream #0:0: Video: wrapped_avframe, yuv420p10le(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/sraw  [info]: output file: G:\Temp\2022-12-12@14_45_35_1610_02.265
    , 23.98 fps, 23.98 tbn (default)
    x265 [info]: HEVC encoder version 3.5+69-dc12b9de0
        Metadata:
          BPS             : x265 [info]: build info [Windows][GCC 12.2.0][64 bit] 10bit
    39378070
          DURATION        : 00:00:02.044000000x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    
          NUMBER_OF_FRAMES: 49
          NUMBER_OF_BYTES : x265 [info]: Main 10 profile, Level-4 (Main tier)
    10061097
          _STATISTICS_WRITING_APP: x265 [info]: Thread pool created using 32 threads
    mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
          _STATISTICS_WRITING_DATE_UTC: x265 [info]: Slices                              : 1
    2022-12-12 05:34:49
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    x265 [info]: frame threads / pool features       : 5 / wpp(17 rows)
          encoder         : Lavc59.54.101 wrapped_avframe
    x265 [info]: Coding QT: max CU size, min CU size : 64 / 800 bitrate=N/A speed=   0x
    x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
    x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 3
    x265 [info]: Keyframe min / max / scenecut / bias  : 23 / 250 / 40 / 5.00
    x265 [info]: Cb/Cr QP Offset                     : -2 / -2
    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 / off / off
    x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 0.0 / 32 / 1
    x265 [info]: Rate Control / qCompress            : CRF-18.0 / 0.60
    x265 [info]: tools: limit-modes rd=3 ssim-rd psy-rd=2.50 rdoq=2 psy-rdoq=10.00
    x265 [info]: tools: rskip mode=1 signhide tmvp b-intra strong-intra-smoothing
    x265 [info]: tools: deblock(tC=-1:B=-1) sao
    frame=   47 fps=0.0 q=-0.0 Lsize=  285525kB time=00:00:01.91 bitrate=1219141.3kbits/s speed=4.29x
    video:22kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1295901.625000%
    x265 [info]: frame I:      1, Avg QP:20.57  kb/s: 8186.95
    x265 [info]: frame P:     10, Avg QP:20.92  kb/s: 1597.05
    x265 [info]: frame B:     36, Avg QP:25.41  kb/s: 140.78
    x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
    
    encoded 47 frames in 0.74s (63.51 fps), 621.82 kb/s, Avg QP:24.35
    So it's not Hybrid or qp-file related.

    Removing the encoder call and using:
    Code:
    ffmpeg -y -noautorotate -nostdin -threads 8 -i "C:\Users\Selur\Desktop\short.mkv" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe NUL
    I get:
    Code:
    ffmpeg version N-109397-g3e9ff21d2e-g9651f873f8+1 Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 12.2.0 (Rev6, Built by MSYS2 project)
      configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads
      libavutil      57. 43.100 / 57. 43.100
      libavcodec     59. 54.101 / 59. 54.101
      libavformat    59. 34.102 / 59. 34.102
      libavdevice    59.  8.101 / 59.  8.101
      libavfilter     8. 52.100 /  8. 52.100
      libswscale      6.  8.112 /  6.  8.112
      libswresample   4.  9.100 /  4.  9.100
      libpostproc    56.  7.100 / 56.  7.100
    -vsync is deprecated. Use -fps_mode
    Passing a number to -vsync is deprecated, use a string argument as described in the manual.
    Input #0, matroska,webm, from 'C:\Users\Selur\Desktop\short.mkv':
      Metadata:
        encoder         : libebml v1.4.4 + libmatroska v1.7.1
        creation_time   : 2022-12-12T05:34:49.000000Z
      Duration: 00:00:02.04, start: 0.083000, bitrate: 39404 kb/s
      Chapters:
        Chapter #0:0: start 0.000000, end 1.919000
          Metadata:
            title           : mark
      Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
        Metadata:
          BPS             : 39378070
          DURATION        : 00:00:02.044000000
          NUMBER_OF_FRAMES: 49
          NUMBER_OF_BYTES : 10061097
          _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2022-12-12 05:34:49
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
    [yuv4mpegpipe @ 000001e3bb61d540] Warning: generating non standard YUV stream. Mjpegtools will not work.
    Output #0, yuv4mpegpipe, to 'NUL':
      Metadata:
        encoder         : Lavf59.34.102
      Chapters:
        Chapter #0:0: start 0.000000, end 1.836000
          Metadata:
            title           : mark
      Stream #0:0: Video: wrapped_avframe, yuv420p10le(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn (default)
        Metadata:
          BPS             : 39378070
          DURATION        : 00:00:02.044000000
          NUMBER_OF_FRAMES: 49
          NUMBER_OF_BYTES : 10061097
          _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2022-12-12 05:34:49
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
          encoder         : Lavc59.54.101 wrapped_avframe
    frame=   47 fps=0.0 q=-0.0 Lsize=  285525kB time=00:00:01.91 bitrate=1219141.3kbits/s speed=18.6x
    video:22kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1295901.625000%
    So this celarly is some issue of ffmpeg with the source since ffmpeg reports 'NUMBER_OF_FRAMES: 49' but stops with 'frame= 47 '.
    -> isn't an x265 or piping issue.
    • lowering threads to 1
    • using different fps_mode/vsync modes
    • adding "-hwaccel auto"
    doesn't help either.

    Adding '-loglevel debug' I get:
    Code:
    ffmpeg -loglevel debug -y -noautorotate -nostdin -threads 1 -i "C:\Users\Selur\Desktop\short.mkv" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 1 -f yuv4mpegpipe NUL
    ffmpeg version N-109397-g3e9ff21d2e-g9651f873f8+1 Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 12.2.0 (Rev6, Built by MSYS2 project)
      configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads
      libavutil      57. 43.100 / 57. 43.100
      libavcodec     59. 54.101 / 59. 54.101
      libavformat    59. 34.102 / 59. 34.102
      libavdevice    59.  8.101 / 59.  8.101
      libavfilter     8. 52.100 /  8. 52.100
      libswscale      6.  8.112 /  6.  8.112
      libswresample   4.  9.100 /  4.  9.100
      libpostproc    56.  7.100 / 56.  7.100
    Splitting the commandline.
    Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
    Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
    Reading option '-noautorotate' ... matched as option 'autorotate' (automatically insert correct rotate filters) with argument 0.
    Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0.
    Reading option '-threads' ... matched as AVOption 'threads' with argument '1'.
    Reading option '-i' ... matched as input url with argument 'C:\Users\Selur\Desktop\short.mkv'.
    Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
    Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
    Reading option '-sn' ... matched as option 'sn' (disable subtitle) with argument '1'.
    Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'zscale=rangein=tv:range=tv'.
    Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p10le'.
    Reading option '-strict' ...Routing option strict to both codec and muxer layer
     matched as AVOption 'strict' with argument '-1'.
    Reading option '-vsync' ... matched as option 'vsync' (set video sync method globally; deprecated, use -fps_mode) with argument '1'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'yuv4mpegpipe'.
    Reading option 'NUL' ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option loglevel (set logging level) with argument debug.
    Applying option y (overwrite output files) with argument 1.
    Applying option nostdin (enable or disable interaction on standard input) with argument 0.
    Applying option vsync (set video sync method globally; deprecated, use -fps_mode) with argument 1.
    -vsync is deprecated. Use -fps_mode
    Passing a number to -vsync is deprecated, use a string argument as described in the manual.
    Successfully parsed a group of options.
    Parsing a group of options: input url C:\Users\Selur\Desktop\short.mkv.
    Applying option noautorotate (automatically insert correct rotate filters) with argument 0.
    Successfully parsed a group of options.
    Opening an input file: C:\Users\Selur\Desktop\short.mkv.
    [NULL @ 000001abc7499c40] Opening 'C:\Users\Selur\Desktop\short.mkv' for reading
    [file @ 000001abc8d42f80] Setting default whitelist 'file,crypto,data'
    [matroska,webm @ 000001abc7499c40] Format matroska,webm probed with size=2048 and score=100
    [matroska,webm @ 000001abc7499c40] Unknown entry 0x22B59D at pos. 4425
    [matroska,webm @ 000001abc7499c40] Unknown entry 0x437D at pos. 5610
    st:0 removing common factor 1000000 from timebase
    [matroska,webm @ 000001abc7499c40] Before avformat_find_stream_info() pos: 5762 bytes read:33111 seeks:2 nb_streams:1
    [h264 @ 000001abc8d43540] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001abc8d43540] Decoding VUI
    [h264 @ 000001abc8d43540] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [h264 @ 000001abc8d43540] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001abc8d43540] Decoding VUI
    [h264 @ 000001abc8d43540] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [h264 @ 000001abc8d43540] Decoding VUI
    [h264 @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc8d43540] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001abc8d43540] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [h264 @ 000001abc8d43540] nal_unit_type: 6(SEI), nal_ref_idc: 0
        Last message repeated 2 times
    [h264 @ 000001abc8d43540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc8d43540] Decoding VUI
    [h264 @ 000001abc8d43540] Format yuv420p chosen by get_format().
    [h264 @ 000001abc8d43540] Reinit context to 1920x1088, pix_fmt: yuv420p
    [h264 @ 000001abc8d43540] Frame num gap 16 11
    [h264 @ 000001abc8d43540] Frame num gap 16 12
    [h264 @ 000001abc8d43540] Frame num gap 16 13
    [h264 @ 000001abc8d43540] Frame num gap 16 14
    [h264 @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc8d43540] no picture
    [h264 @ 000001abc8d43540] ct_type:1 pic_struct:0
        Last message repeated 4 times
    [matroska,webm @ 000001abc7499c40] All info found
    [matroska,webm @ 000001abc7499c40] After avformat_find_stream_info() pos: 1354390 bytes read:1381739 seeks:2 frames:6
    Input #0, matroska,webm, from 'C:\Users\Selur\Desktop\short.mkv':
      Metadata:
        encoder         : libebml v1.4.4 + libmatroska v1.7.1
        creation_time   : 2022-12-12T05:34:49.000000Z
      Duration: 00:00:02.04, start: 0.083000, bitrate: 39404 kb/s
      Chapters:
        Chapter #0:0: start 0.000000, end 1.919000
          Metadata:
            title           : mark
      Stream #0:0, 6, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(tv, bt709, progressive, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, 23.98 fps, 23.98 tbr, 1k tbn (default)
        Metadata:
          BPS             : 39378070
          DURATION        : 00:00:02.044000000
          NUMBER_OF_FRAMES: 49
          NUMBER_OF_BYTES : 10061097
          _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2022-12-12 05:34:49
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Successfully opened the file.
    Parsing a group of options: output url NUL.
    Applying option map (set input stream mapping) with argument 0:0.
    Applying option an (disable audio) with argument 1.
    Applying option sn (disable subtitle) with argument 1.
    Applying option vf (set video filters) with argument zscale=rangein=tv:range=tv.
    Applying option pix_fmt (set pixel format) with argument yuv420p10le.
    Applying option f (force format) with argument yuv4mpegpipe.
    Successfully parsed a group of options.
    Opening an output file: NUL.
    [file @ 000001abc9030980] Setting default whitelist 'file,crypto,data'
    Successfully opened the file.
    [h264 @ 000001abc9405040] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001abc9405040] Decoding VUI
    [h264 @ 000001abc9405040] nal_unit_type: 8(PPS), nal_ref_idc: 3
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
    cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001abc9405040] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001abc9405040] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
        Last message repeated 2 times
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] Decoding VUI
    [h264 @ 000001abc9405040] Format yuv420p chosen by get_format().
    [h264 @ 000001abc9405040] Reinit context to 1920x1088, pix_fmt: yuv420p
    [h264 @ 000001abc9405040] Frame num gap 16 11
    [h264 @ 000001abc9405040] Frame num gap 16 12
    [h264 @ 000001abc9405040] Frame num gap 16 13
    [h264 @ 000001abc9405040] Frame num gap 16 14
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] no picture
    cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] no picture
    cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] no picture
    cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] no picture
    cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    detected 32 logical cores
    [Parsed_zscale_0 @ 000001abc8f4aa80] Setting 'rangein' to value 'tv'
    [Parsed_zscale_0 @ 000001abc8f4aa80] Setting 'range' to value 'tv'
    [graph 0 input from stream 0:0 @ 000001abc9cd8940] Setting 'video_size' to value '1920x1080'
    [graph 0 input from stream 0:0 @ 000001abc9cd8940] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 0:0 @ 000001abc9cd8940] Setting 'time_base' to value '1/1000'
    [graph 0 input from stream 0:0 @ 000001abc9cd8940] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 0:0 @ 000001abc9cd8940] Setting 'frame_rate' to value '24000/1001'
    [graph 0 input from stream 0:0 @ 000001abc9cd8940] w:1920 h:1080 pixfmt:yuv420p tb:1/1000 fr:24000/1001 sar:1/1
    [format @ 000001abc8e2eac0] Setting 'pix_fmts' to value 'yuv420p10le'
    [AVFilterGraph @ 000001abc8f46a80] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
    [yuv4mpegpipe @ 000001abc9405540] Warning: generating non standard YUV stream. Mjpegtools will not work.
    Output #0, yuv4mpegpipe, to 'NUL':
      Metadata:
        encoder         : Lavf59.34.102
      Chapters:
        Chapter #0:0: start 0.000000, end 1.836000
          Metadata:
            title           : mark
      Stream #0:0, 0, 1001/24000: Video: wrapped_avframe, 1 reference frame, yuv420p10le(tv, bt709, progressive, left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn (default)
        Metadata:
          BPS             : 39378070
          DURATION        : 00:00:02.044000000
          NUMBER_OF_FRAMES: 49
          NUMBER_OF_BYTES : 10061097
          _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2022-12-12 05:34:49
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
          encoder         : Lavc59.54.101 wrapped_avframe
    Clipping frame in rate conversion by 0.000008
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0rate=N/A speed=   0x
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 1 times
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 1 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.009972
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.002983
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.012993
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.005974
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 2 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 2 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.008995
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 1 times
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 1 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.001976
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.011986
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.004997
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 1 times
    [NULL @ 000001abc8d43540] Decoding VUI
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.007988
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.000999
    [h264 @ 000001abc9405040] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001abc9405040] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
        Last message repeated 2 times
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] Decoding VUI
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.010979
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.003990
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.006981
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.009972
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.002983
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 1 times
    [NULL @ 000001abc8d43540] Decoding VUI
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.012993
    [h264 @ 000001abc9405040] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 000001abc9405040] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
        Last message repeated 2 times
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] Decoding VUI
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.005974
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.008995
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.001976
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0rate=1157907.8kbits/s speed=2.42x
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.011986
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.004997
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [NULL @ 000001abc8d43540] ct_type:1 pic_struct:0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.007988
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    EOF in input file 0
    Terminating demuxer thread 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.000999
    [h264 @ 000001abc9405040] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 000001abc9405040] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
        Last message repeated 3 times
    [h264 @ 000001abc9405040] ct_type:1 pic_struct:0
    Clipping frame in rate conversion by 0.010979
    Clipping frame in rate conversion by 0.003990
    [out_0_0 @ 000001abc942e940] EOF on sink link out_0_0:default.
    No more output streams to write to, finishing.
    All streams finished for output file #0
    Terminating muxer thread 0
    [AVIOContext @ 000001abc9030a40] Statistics: 292377966 bytes written, 0 seeks, 1116 writeouts
    frame=   47 fps=0.0 q=-0.0 Lsize=  285525kB time=00:00:01.91 bitrate=1219141.3kbits/s speed=2.68x
    video:22kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1295901.625000%
    Input file #0 (C:\Users\Selur\Desktop\short.mkv):
      Input stream #0:0 (video): 49 packets read (10061097 bytes); 47 frames decoded;
      Total: 49 packets (10061097 bytes) demuxed
    Output file #0 (NUL):
      Output stream #0:0 (video): 47 frames encoded; 47 packets muxed (22560 bytes);
      Total: 47 packets (22560 bytes) muxed
    47 frames successfully decoded, 0 decoding errors
    [AVIOContext @ 000001abc8d4b200] Statistics: 10095085 bytes read, 2 seeks
    Calling "fprobe.exe -i c:\Users\Selur\Desktop\short.mkv -show_packets" reports 49 packets and none of them is marked as dropped (D).


    => No clue why ffmpeg is doing this, sadly this is nothing Hybrid can fix by itself.
    As a work around I can only recommend to enable 'Filtering->Vapoursynth->Misc->Script->Always use Vapoursynth'.


    Cu Selur

    Ps.: let me know whether the new dev version fixes the chapter<>keyframe placement issue.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  20. Originally Posted by Selur View Post
    No clue why ffmpeg is doing this, sadly this is nothing Hybrid can fix by itself.
    As a work around I can only recommend to enable 'Filtering->Vapoursynth->Misc->Script->Always use Vapoursynth'
    That did get those two frames. Are there any issues I should be aware of by always using Vapoursynth?
    Also, I apologize for being slightly off on the frame number. I was using Aegisub and reading off the frame number and overlooking that it starts from frame 0 not frame 1.

    let me know whether the new dev version fixes the chapter<>keyframe placement issue.
    This time, only 1 of the key frames was off the chapter point. I can't be sure if this is because of this issue. Across my numerous encodes, I've seen this happen from time to time and I just pull the chapter point back 10ms and reencode when I see it. I will say it's quite consistent when I see it. If that particular sequence of frames causes Hybrid to put the Keyframe at N+1 instead of N like I wanted, it always does that unless I change the chapter point.

    I've included the debug outputs for both encodes. v3 has the one with the keyframe being off placement and v4 is where I pulled the time on the chapter point back by 10ms to get it on the right frame.
    Image Attached Files
    Quote Quote  
  21. Are there any issues I should be aware of by always using Vapoursynth?
    For file input, not that I'm aware of.

    What Hybrid did to calculate the key frame position for the qp file was:

    1. convert the chapter position into seconds
    2. multiply the seconds with the frame rate and convert to int
    Code:
    frame = int(framerate * seconds)
    this rounds always down
    3. set create a key frame entry
    Code:
    <frame +1> I -1
    in the second dev I changed this to
    if (frame == 0 use
    Code:
    <frame> I -1
    otherwise use
    Code:
    <frame +1> I -1
    so for v3 with
    Code:
    Source_1 :*: 00:00:00.990 :*: Intro :*: H:\trial\source\chapter test.mkv
    Source_1 :*: 00:00:30.239 :*: Chapter 2 :*: H:\trial\source\chapter test.mkv
    Source_1 :*: 00:01:30.215 :*: Chapter 3 :*: H:\trial\source\chapter test.mkv
    Source_1 :*: 00:02:17.512 :*: Chapter 4 :*: H:\trial\source\chapter test.mkv
    Source_1 :*: 00:03:11.014 :*: Chapter 5 (f4580) :*: H:\trial\source\chapter test.mkv
    one gets
    Code:
    0 I -1
    24 I -1
    726 I -1
    2163 I -1
    3297 I -1
    4580 I -1
    and for v4 with:
    Code:
    Source_1 :*: 00:00:00.000 :*: Start :*: H:\trial\source\chapter test.mkv
    Source_1 :*: 00:00:00.990 :*: Intro :*: H:\trial\source\chapter test.mkv
    Source_1 :*: 00:00:30.229 :*: Chapter 2 :*: H:\trial\source\chapter test.mkv
    Source_1 :*: 00:01:30.215 :*: Chapter 3 :*: H:\trial\source\chapter test.mkv
    Source_1 :*: 00:02:17.512 :*: Chapter 4 :*: H:\trial\source\chapter test.mkv
    Source_1 :*: 00:03:11.014 :*: Chapter 5 (f4580) :*: H:\trial\source\chapter test.mkv
    one gets:

    Code:
    0 I -1
    24 I -1
    725 I -1
    2163 I -1
    3297 I -1
    4580 I -1
    Maybe chaning it to:
    Code:
          if (double(int(framerate * seconds)) == framerate * seconds) {
            qpInfo << QString::number(frame) + SPACE + QString("I -1");
          } else {
            qpInfo << QString::number(frame + 1) + SPACE + QString("I -1");
          }
    is more accurate,.. not sure atm.
    Cu Selur
    Last edited by Selur; 12th Dec 2022 at 10:29.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  22. How about changing from seconds to miliseconds?
    Quote Quote  
  23. Seconds is a double, so it's for example 4.17083333 and not just 4. (millisecond info doesn't get lost)
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  24. Ah, that's where those extra decimals I sometimes see in chapters come from?
    Quote Quote  
  25. Those are either from the source or were calculated from "frame rate * frame number"
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  26. I'm curious about something. Is Hybrid using a more efficient encoding process in the 12.12.1 version compared to the 11.28 version? I had encoded Season 1 of a show in 11.28 and Season 2 in 12.12.1 and the S2 videos are about two thirds of the size of the S1 videos, even though both are using the same encode settings. I also compared the S2 videos to an earlier reencode of the same videos (the source is an existing encode, which I am replacing with the new encodes from BD raws that I now have) using the same settings, the new ones are significantly smaller than those. And I know they're using the same settings because I'm doing some things with ordered chapters and if the settings were different, the ordered video stream wouldn't play properly when it jumps from the new video to a section of the old one, but it does.
    Quote Quote  
  27. ... if the settings were different, the ordered video stream wouldn't play properly ...
    You start with a wrong assumption.
    This only requires the output video stream to be compatible to each other, not that the encoding setting were the same. (same when doing smart re-encoding)

    Hybrid updates its tools and scripts on each release. So it would not be much of a surprise if newer versions have a higher compression ratio.
    But that effect is not that high that it would cause saving +30%.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  28. Here's a thought, what settings can be changed without rendering the video streams incompatible? And of those, which could cause a 30-50% reduction in the size of the video stream?
    Quote Quote  
    • bit rate / quantizer / crf
    • everything related to analysis (lookaheads, motion estimation,...)
    • adaptive quantization
    • number of b-frames (assuming both streams use them)
    are settings that don't change the compatibility.
    -> most of the settings can be changed without causing problems with compatibility

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  29. I checked with some of the other series I've encoded over the years. It turns out, this one is not the only one encoded from BD raws with such small video stream sizes. I suspect that's because the raws are just authored with lower bitrate or something.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!