VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Hi,

    I have converted many MKV file using SVT-HEVC but I get micro stuttering and stuttering issue (only with Panasonic player player, no any issue with my PC using VLC player).

    Here a sample of command:


    Code:
    ffmpeg.exe -vsync 1 -i "G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_ori.mkv" -y -c:v libsvt_hevc -preset 5 -qp 21 -pix_fmt yuv420p10le -profile:v 2 -map 0:0 -map 0:s -map 0:6 -disposition:a:0 +default+forced -map 0:1 -disposition:a:1 -default-forced -map 0:2 -disposition:a:2 -default-forced -c:a copy -c:s copy -metadata:s:v:0 Language="rom" -t 60 "Star Trek Season 2- Disc 1_t05_ori.mkv_60_sec_vsync.mkv"
    before I send this post I have compared A/B the result of LIbx265 and SVT-HEVC. While SVT-HEVC is more faster and better quality with my panasonic I get some issues.

    if I encode a MKV file and I choose the Flac audio track there is remarkable random stuttering of 1/2 second. The 90% of problem is solved by run after mkvmerge without pass any special parameters:


    Code:
    mkvmerge -o "Star Trek Season 2- Disc 1_t05_libsvrt.mkv" "Star Trek Season 2- Disc 1_t05_60_sec_no_compres.mkv"
    if I encode a MKV file and I choose the dolby digital track stuttering is very low but it still present (there is a bit lack of smooth).

    The final result:

    1. If I play any MKV (SVT-HEVC or LIbx265) with my PC using VLC player work perfectly I don't see smooth difference.

    2. If I play any MKV with my panasonic using LIbx265 codec I don't see smooth difference / issues.

    3. If I play any MKV with my panasonic using SVT-HEVC codec there is always lack of smooth that is very high if switch the FLAC track,

    There is a way to solve ? (if possible without re-encode all files)

    Thanks !
    Quote Quote  
  2. There is a way to solve ? (if possible without re-encode all files)
    first one needs to know what is causing the problem.
    What does mediaInfo say about the same file created with:
    a. x265
    b. svt-hevc
    using the settings you use?

    Also, is the playback smooth when you:
    a. don't use audio&subtitles?
    b. use mp4 as container? (use another container without audio&subtitles)
    c. use closed gops?
    d. restrict the encoding to a specific level, profile, tier?

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Also, is the playback smooth when you:

    Use Libx265 independent by setting.

    Also, is the playback IS NOT smooth when you:

    Use svt-hevc, In case of playback of a Flac the Stuttering is very high.


    With this I get lack of smooth:

    ffmpeg.exe -vsync 1 -i "G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_ori.mkv" -y -c:v libsvt_hevc -preset 5 -qp 21 -pix_fmt yuv420p10le -profile:v 2 -map 0:0 -map 0 -map 0:6 -disposition:a:0 +default+forced -map 0:1 -disposition:a:1 -default-forced -map 0:2 -disposition:a:2 -default-forced -c:a copy -c copy -metadata:v:0 Language="rom" -t 60 "Star Trek Season 2- Disc 1_t05_ori.mkv_60_sec_vsync.mkv

    With this it OK:

    ffmpeg.exe -vsync 1 -i "G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_ori.mkv" -y -c:v libx265 -preset fast -crf 5 -pix_fmt yuv420p10le -map 0:0 -map 0 -map 0:6 -disposition:a:0 +default+forced -map 0:1 -disposition:a:1 -default-forced -map 0:2 -disposition:a:2 -default-forced -c:a copy -c copy -metadata:v:0 Language="rom" -t 60 "Star Trek Season 2- Disc 1_t05_libx265_no_merge.mkv"


    you have right sorry:

    Libsvrt:

    Code:
    General
    Unique ID                                : 202540065853125854424312284769872954282 (0x985FCC3B142735439A3B1024C56AC3AA)
    Complete name                            : G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_libsvrt_no_merge.mkv
    Format                                   : Matroska
    Format version                           : Version 4
    File size                                : 305 MiB
    Duration                                 : 1 min 0 s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 42.6 Mb/s
    Movie name                               : Star Trek Season 2: Disc 1
    Writing application                      : Lavf59.3.101
    Writing library                          : Lavf59.3.101
    ErrorDetectionType                       : Per level 1
    
    Video
    ID                                       : 1
    Format                                   : HEVC
    Format/Info                              : High Efficiency Video Coding
    Format profile                           : Main 10@L4@Main
    Codec ID                                 : V_MPEGH/ISO/HEVC
    Duration                                 : 1 min 0 s
    Bit rate                                 : 13.3 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 1 211.133 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 10 bits
    Bits/(Pixel*Frame)                       : 0.005
    Stream size                              : 4.69 GiB
    Writing library                          : Lavc59.1.102 libsvt_hevc
    Language                                 : rom
    Default                                  : Yes
    Forced                                   : No
    Color range                              : Limited
    
    Audio #1
    ID                                       : 7
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Commercial name                          : Dolby Digital
    Codec ID                                 : A_AC3
    Duration                                 : 1 min 0 s
    Bit rate mode                            : Constant
    Bit rate                                 : 192 kb/s
    Channel(s)                               : 2 channels
    Channel layout                           : L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 31.250 FPS (1536 SPF)
    Bit depth                                : 32 bits
    Compression mode                         : Lossy
    Stream size                              : 69.4 MiB (23%)
    Title                                    : Stereo
    Language                                 : rom
    Service kind                             : Complete Main
    Default                                  : Yes
    Forced                                   : Yes
    
    Audio #2
    ID                                       : 8
    Format                                   : DTS XLL
    Format/Info                              : Digital Theater Systems
    Commercial name                          : DTS-HD Master Audio
    Codec ID                                 : A_DTS
    Duration                                 : 1 min 0 s
    Bit rate mode                            : Variable
    Bit rate                                 : 4 468 kb/s
    Channel(s)                               : 8 channels
    Channel layout                           : C L R LFE Lb Rb Lss Rss
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 93.750 FPS (512 SPF)
    Bit depth                                : 24 bits
    Compression mode                         : Lossless
    Stream size                              : 1.58 GiB
    Title                                    : Surround 7.1
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #1
    ID                                       : 2
    Format                                   : PGS
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 55 s 973 ms
    Bit rate                                 : 25.7 kb/s
    Count of elements                        : 876
    Stream size                              : 9.25 MiB (3%)
    Language                                 : Italian
    Default                                  : Yes
    Forced                                   : No
    
    Text #2
    ID                                       : 3
    Format                                   : PGS
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 58 s 809 ms
    Bit rate                                 : 28.8 kb/s
    Count of elements                        : 1124
    Stream size                              : 10.4 MiB (3%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #3
    ID                                       : 4
    Format                                   : PGS
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 57 s 975 ms
    Bit rate                                 : 29.9 kb/s
    Count of elements                        : 1172
    Stream size                              : 10.7 MiB (4%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #4
    ID                                       : 5
    Format                                   : PGS
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 53 s 53 ms
    Bit rate                                 : 4 895 b/s
    Count of elements                        : 46
    Stream size                              : 1.74 MiB (1%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #5
    ID                                       : 6
    Format                                   : PGS
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 58 s 809 ms
    Bit rate                                 : 28.8 kb/s
    Count of elements                        : 1124
    Stream size                              : 10.4 MiB (3%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Menu
    00:00:00.000                             : :Chapter 01

    Libx265




    Code:
    General
    Unique ID                                : 181029586149307960208364339228516052038 (0x883107B33975A72BD75041A789B06C46)
    Complete name                            : G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_Libx265_merge.mkv
    Format                                   : Matroska
    Format version                           : Version 4
    File size                                : 364 MiB
    Duration                                 : 1 min 0 s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 50.8 Mb/s
    Movie name                               : Star Trek Season 2: Disc 1
    Encoded date                             : UTC 2021-07-10 08:04:57
    Writing application                      : mkvmerge v58.0.0 ('Supper's Ready') 64-bit
    Writing library                          : libebml v1.4.2 + libmatroska v1.6.4 / Lavf59.3.101
    
    Video
    ID                                       : 1
    Format                                   : HEVC
    Format/Info                              : High Efficiency Video Coding
    Format profile                           : Main 10@L4@Main
    Codec ID                                 : V_MPEGH/ISO/HEVC
    Duration                                 : 1 min 0 s
    Bit rate                                 : 46.2 Mb/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                                : 10 bits
    Bits/(Pixel*Frame)                       : 0.929
    Stream size                              : 331 MiB (91%)
    Writing library                          : x265 3.5+10-82786fccc:[Windows][GCC 10.3.0][64 bit] 10bit
    Encoding settings                        : cpuid=1111039 / frame-threads=2 / numa-pools=4 / 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-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=0 / b-pyramid / bframe-bias=0 / rc-lookahead=15 / lookahead-slices=6 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / 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 / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=2 / selective-sao=4 / no-early-skip / rskip / 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=5.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / 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 / cll=0,0 / min-luma=0 / max-luma=1023 / 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 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
    Language                                 : rom
    Default                                  : Yes
    Forced                                   : No
    Color range                              : Limited
    
    Audio #1
    ID                                       : 7
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Commercial name                          : Dolby Digital
    Codec ID                                 : A_AC3
    Duration                                 : 1 min 0 s
    Bit rate mode                            : Constant
    Bit rate                                 : 192 kb/s
    Channel(s)                               : 2 channels
    Channel layout                           : L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 31.250 FPS (1536 SPF)
    Bit depth                                : 32 bits
    Compression mode                         : Lossy
    Stream size                              : 1.37 MiB (0%)
    Title                                    : Stereo
    Language                                 : rom
    Service kind                             : Complete Main
    Default                                  : Yes
    Forced                                   : Yes
    
    Audio #2
    ID                                       : 8
    Format                                   : DTS XLL
    Format/Info                              : Digital Theater Systems
    Commercial name                          : DTS-HD Master Audio
    Codec ID                                 : A_DTS
    Duration                                 : 1 min 0 s
    Bit rate mode                            : Variable
    Bit rate                                 : 4 349 kb/s
    Channel(s)                               : 8 channels
    Channel layout                           : C L R LFE Lb Rb Lss Rss
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 93.750 FPS (512 SPF)
    Bit depth                                : 24 bits
    Compression mode                         : Lossless
    Stream size                              : 31.1 MiB (9%)
    Title                                    : Surround 7.1
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #1
    ID                                       : 2
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 44 s 211 ms
    Bit rate                                 : 51.3 kb/s
    Count of elements                        : 23
    Stream size                              : 277 KiB (0%)
    Language                                 : Italian
    Default                                  : Yes
    Forced                                   : No
    
    Text #2
    ID                                       : 3
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 47 s 172 ms
    Bit rate                                 : 58.9 kb/s
    Count of elements                        : 31
    Stream size                              : 339 KiB (0%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #3
    ID                                       : 4
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 46 s 338 ms
    Bit rate                                 : 63.7 kb/s
    Count of elements                        : 35
    Stream size                              : 360 KiB (0%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #4
    ID                                       : 5
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Bit rate                                 : 0 b/s
    Count of elements                        : 1
    Stream size                              : 118 KiB (0%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #5
    ID                                       : 6
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 47 s 172 ms
    Bit rate                                 : 58.9 kb/s
    Count of elements                        : 31
    Stream size                              : 339 KiB (0%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Menu
    00:00:00.000                             : :Chapter 01
    Last edited by marco000; 10th Jul 2021 at 06:31.
    Quote Quote  
  4. svt has:
    Code:
    Frame rate mode                          : Variable
    Frame rate                               : 1 211.133 FPS
    x265 has:
    Code:
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 (24000/1001) FPS
    -> adjust your svt command line to also use constant frame rate
    this should be possible through remuxing, without reencoding and might be the root of the problem.
    Last edited by Selur; 10th Jul 2021 at 06:33.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  5. Thank you !

    Do you remember the option that do it ? I like to do a test
    Quote Quote  
  6. iirc
    Code:
    ffmpeg -i input.mkv -c copy -r  24000/1001 output.mkv
    should remux the file while changing the fps in the container, if the frame rate in the video stream itself also need to be adjusted you would need to use ffmpegs bitstream filters https://ffmpeg.org/ffmpeg-bitstream-filters.html
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  7. Thank you just tried but unfortunatenly the FPS is stil variable:


    ffmpeg -i "Star Trek Season 2- Disc 1_t05_libsvrt_no_merge.mkv" -c copy -r 24000/1001 "Star Trek Season 2- Disc 1_t05_libsvrt_24_FPS.mkv"



    Code:
    General
    Unique ID                                : 117485857262656450225356399129029300416 (0x5862F3FB5FC9BCDAEA98398A5030D0C0)
    Complete name                            : G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_libsvrt_24_FPS.mkv
    Format                                   : Matroska
    Format version                           : Version 4
    File size                                : 273 MiB
    Duration                                 : 1 min 0 s
    Overall bit rate                         : 38.1 Mb/s
    Movie name                               : Star Trek Season 2: Disc 1
    Writing application                      : Lavf59.3.101
    Writing library                          : Lavf59.3.101
    ErrorDetectionType                       : Per level 1
    
    Video
    ID                                       : 1
    Format                                   : HEVC
    Format/Info                              : High Efficiency Video Coding
    Format profile                           : Main 10@L4@Main
    Codec ID                                 : V_MPEGH/ISO/HEVC
    Duration                                 : 1 min 0 s
    Bit rate                                 : 13.3 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 1 211.153 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 10 bits
    Bits/(Pixel*Frame)                       : 0.005
    Stream size                              : 4.69 GiB
    Writing library                          : Lavc59.1.102 libsvt_hevc
    Language                                 : rom
    Default                                  : Yes
    Forced                                   : No
    Color range                              : Limited
    
    Audio
    ID                                       : 2
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Commercial name                          : Dolby Digital
    Codec ID                                 : A_AC3
    Duration                                 : 1 min 0 s
    Bit rate mode                            : Constant
    Bit rate                                 : 192 kb/s
    Channel(s)                               : 2 channels
    Channel layout                           : L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 31.250 FPS (1536 SPF)
    Bit depth                                : 32 bits
    Compression mode                         : Lossy
    Stream size                              : 69.4 MiB (25%)
    Title                                    : Stereo
    Language                                 : rom
    Service kind                             : Complete Main
    Default                                  : Yes
    Forced                                   : Yes
    
    Menu
    00:00:00.000                             : :Chapter 01
    Quote Quote  
  8. try with '-filter:v fps=24000/1001' instead of the '-r ...', there is also an option to force the recalculation of the time stamps, but I don't know what it was called atm.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  9. I have tried to encode this '-filter:v fps=24000/1001 by added this on my original command and I have tried to -re-encode my previous file with this:

    Code:
    ffmpeg -i "Star Trek Season 2- Disc 1_t05_libsvrt_no_merge.mkv"  -vf fps=24000/1001  "Star Trek Season 2- Disc 1_t05_libsvrt_24_FPS.mkv"
    becouse filter need to re-encode I have leave the default setting. In both cases the frame rate not change this is strange:


    Code:
    General
    Unique ID                                : 26241385955696803822566721546034731463 (0x13BDE837AB11B321B19E515A90EDD9C7)
    Complete name                            : G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_libsvrt_24_FPS.mkv
    Format                                   : Matroska
    Format version                           : Version 4
    File size                                : 28.9 MiB
    Duration                                 : 1 min 0 s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 4 045 kb/s
    Movie name                               : Star Trek Season 2: Disc 1
    Writing application                      : Lavf59.3.101
    Writing library                          : Lavf59.3.101
    ErrorDetectionType                       : Per level 1
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High 10@L4
    Format settings                          : CABAC / 4 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 4 frames
    Codec ID                                 : V_MPEG4/ISO/AVC
    Duration                                 : 1 min 0 s
    Bit rate                                 : 13.3 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 1 211.073 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 10 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.005
    Stream size                              : 4.69 GiB
    Writing library                          : x264 core 164 r3065 ae03d92
    Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    Language                                 : rom
    Default                                  : Yes
    Forced                                   : No
    Color range                              : Limited
    
    Audio
    ID                                       : 2
    Format                                   : Vorbis
    Format settings, Floor                   : 1
    Codec ID                                 : A_VORBIS
    Duration                                 : 1 min 0 s
    Bit rate mode                            : Variable
    Bit rate                                 : 112 kb/s
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 1 578.988 FPS (30 SPF)
    Compression mode                         : Lossy
    Stream size                              : 69.4 MiB
    Title                                    : Stereo
    Writing application                      : Lavc59.1.102
    Writing library                          : libVorbis (Reducing Environment) (20200704 (Reducing Environment))
    Language                                 : rom
    Default                                  : Yes
    Forced                                   : Yes
    
    Menu
    00:00:00.000                             : :Chapter 01
    Quote Quote  
  10. I forgot to tell that if I run MKVMerge without parameters:

    Code:
    mkvmerge -o "Star Trek Season 2- Disc 1_t05_libsvrt.mkv"   "Star Trek Season 2- Disc 1_t05_60_sec_no_compres.mkv"
    the framerete change, but this not solve the problem at 100%, becouse still a bit a lack of smooth:


    Code:
    general
    Unique ID                                : 44016962008096435590074429051561660966 (0x211D5BC7EAA48E83EF2BB2C12DA55226)
    Complete name                            : G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_libsvrt_merge.mkv
    Format                                   : Matroska
    Format version                           : Version 4
    File size                                : 304 MiB
    Duration                                 : 1 min 0 s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 42.5 Mb/s
    Movie name                               : Star Trek Season 2: Disc 1
    Encoded date                             : UTC 2021-07-10 08:20:05
    Writing application                      : mkvmerge v58.0.0 ('Supper's Ready') 64-bit
    Writing library                          : libebml v1.4.2 + libmatroska v1.6.4 / Lavf59.3.101
    
    Video
    ID                                       : 1
    Format                                   : HEVC
    Format/Info                              : High Efficiency Video Coding
    Format profile                           : Main 10@L4@Main
    Codec ID                                 : V_MPEGH/ISO/HEVC
    Duration                                 : 1 min 0 s
    Bit rate                                 : 37.9 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 (23976/1000) FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 10 bits
    Bits/(Pixel*Frame)                       : 0.762
    Stream size                              : 271 MiB (89%)
    Writing library                          : Lavc59.1.102 libsvt_hevc
    Language                                 : rom
    Default                                  : Yes
    Forced                                   : No
    Color range                              : Limited
    
    Audio #1
    ID                                       : 7
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Commercial name                          : Dolby Digital
    Codec ID                                 : A_AC3
    Duration                                 : 1 min 0 s
    Bit rate mode                            : Constant
    Bit rate                                 : 192 kb/s
    Channel(s)                               : 2 channels
    Channel layout                           : L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 31.250 FPS (1536 SPF)
    Bit depth                                : 32 bits
    Compression mode                         : Lossy
    Stream size                              : 1.37 MiB (0%)
    Title                                    : Stereo
    Language                                 : rom
    Service kind                             : Complete Main
    Default                                  : Yes
    Forced                                   : Yes
    
    Audio #2
    ID                                       : 8
    Format                                   : DTS XLL
    Format/Info                              : Digital Theater Systems
    Commercial name                          : DTS-HD Master Audio
    Codec ID                                 : A_DTS
    Duration                                 : 1 min 0 s
    Bit rate mode                            : Variable
    Bit rate                                 : 4 349 kb/s
    Channel(s)                               : 8 channels
    Channel layout                           : C L R LFE Lb Rb Lss Rss
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 93.750 FPS (512 SPF)
    Bit depth                                : 24 bits
    Compression mode                         : Lossless
    Stream size                              : 31.1 MiB (10%)
    Title                                    : Surround 7.1
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #1
    ID                                       : 2
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 44 s 211 ms
    Bit rate                                 : 51.3 kb/s
    Count of elements                        : 23
    Stream size                              : 277 KiB (0%)
    Language                                 : Italian
    Default                                  : Yes
    Forced                                   : No
    
    Text #2
    ID                                       : 3
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 47 s 172 ms
    Bit rate                                 : 58.9 kb/s
    Count of elements                        : 31
    Stream size                              : 339 KiB (0%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #3
    ID                                       : 4
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 46 s 338 ms
    Bit rate                                 : 63.7 kb/s
    Count of elements                        : 35
    Stream size                              : 360 KiB (0%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #4
    ID                                       : 5
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Bit rate                                 : 0 b/s
    Count of elements                        : 1
    Stream size                              : 118 KiB (0%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #5
    ID                                       : 6
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
    Duration                                 : 47 s 172 ms
    Bit rate                                 : 58.9 kb/s
    Count of elements                        : 31
    Stream size                              : 339 KiB (0%)
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Menu
    00:00:00.000                             : :Chapter 01
    I suppose the problem start when I launch a command a SVT-HEVC codec that probably is buggy.
    Quote Quote  
  11. also try:
    Code:
    ffmpeg  -vsync 1 -i input.mkv -c copy -r  24000/1001 output.mkv
    and
    Code:
    ffmpeg  -r  24000/1001 -vsync 1 -i input.mkv -c copy -r  24000/1001 output.mkv
    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  12. there are progress:

    After I launch this commad:

    Code:
    ffmpeg.exe  -vsync 1 -i "G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_ori.mkv" -y   -c:v libsvt_hevc -preset 5 -qp 21 -filter:v fps=24000/1001   -pix_fmt yuv420p10le -profile:v 2  -map 0:0 -an -t 60 "Star Trek Season 2- Disc 1_t05_ori.mkv_60_sec_no_audio.mkv"
    that don't copy audio, still have dynamic framerate:

    Code:
    General
    Unique ID                                : 256916124838400990861551473538729218733 (0xC1483EECE4F2A8EDCE1BBF99E50F92AD)
    Complete name                            : G:\Film da ottimizzare per blu ray\Deep Space 9 (ffmpeg ori)\Disk3\Star Trek Season 2- Disc 1_t05_ori.mkv_60_sec_no_audio.mkv
    Format                                   : Matroska
    Format version                           : Version 4
    File size                                : 21.1 MiB
    Duration                                 : 1 min 0 s
    Overall bit rate                         : 2 946 kb/s
    Movie name                               : Star Trek Season 2: Disc 1
    Writing application                      : Lavf59.3.101
    Writing library                          : Lavf59.3.101
    ErrorDetectionType                       : Per level 1
    
    Video
    ID                                       : 1
    Format                                   : HEVC
    Format/Info                              : High Efficiency Video Coding
    Format profile                           : Main 10@L4@Main
    Codec ID                                 : V_MPEGH/ISO/HEVC
    Duration                                 : 1 min 0 s
    Bit rate                                 : 13.3 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 1 211.133 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 10 bits
    Bits/(Pixel*Frame)                       : 0.005
    Stream size                              : 4.69 GiB
    Writing library                          : Lavc59.1.102 libsvt_hevc
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    Color range                              : Limited
    
    Menu
    00:00:00.000                             : :Chapter 01
    after compare this file with libx265 (that contain audio), this is more smooth.

    So the problem seem more linked to audio, but the source mkv file don't have any of these problems.

    Apart this for some strange reason seem not possible force to constant frame rate the only way seem run at end mkvmerge.
    Quote Quote  



Similar Threads

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