View Single Post
Old 27th June 2018, 11:56   #22944  |  Link
kral2008
Registered User
 
Join Date: Apr 2014
Posts: 19
Guys,
Is there any way to decode 50 FPS streams in 25 FPS? I mean for ex. just forget about the half of the frames, and just select them once amoung.
This is because old PCs who haven't GPU/CPU accelerated H/W decoding, independent from bit-rate of HEVC streams, have problem with FPS. My experiments show that my old i7 740 QM laptop could play smoothly the following stream:

Quote:
General
Unique ID : 146683291928339036295978944671459269582 (0x6E5A2CA738E21066867829611AD35BCE)
Complete name : F:\2018.2160p.UHD.BluRay.x265-.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 16.2 GiB
Duration : 1 h 57 min
Overall bit rate mode : Variable
Overall bit rate : 19.7 Mb/s
Encoded date : UTC 2018-06-13 22:48:25
Writing application : mkvmerge v24.0.0 ('Beyond The Pale') 64-bit
Writing library : libebml v1.3.6 + libmatroska v1.4.9

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 57 min
Bit rate : 14.1 Mb/s
Width : 3 840 pixels
Height : 1 608 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.095
Stream size : 11.6 GiB (71%)
Writing library : x265 2.8+16-03dcb3457b7e:[Windows][GCC 6.3.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=5 / numa-pools=36 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1608 / interlace=0 / total-frames=169496 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=24 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=17.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / 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=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(40000000,50) / max-cll=2971,112 / 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 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primar : BT.2020
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 2971 cd/m2
Maximum Frame-Average Light Le : 112 cd/m2

Audio #1
ID : 2
Format : TrueHD
Format profile : TrueHD+Atmos / TrueHD
Codec ID : A_TRUEHD
Duration : 1 h 57 min
Bit rate mode : Variable
Bit rate : 3 214 kb/s
Maximum bit rate : 5 520 kb/s
Channel(s) : Object Based / 8 channels
Channel positions : Object Based / Front: L C R, Side: L R, Back: L R, LFE
Sampling rate : / 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Compression mode : Lossless
Stream size : 2.64 GiB (16%)
Language : English
Default : Yes
Forced : No

Audio #2
ID : 3
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Codec ID : A_DTS
Duration : 1 h 57 min
Bit rate mode : Variable / Constant
Bit rate : 2 328 kb/s / 1 509 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless / Lossy
Stream size : 1.92 GiB (12%)
Language : English
Default : No
Forced : No

Text
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 : 1 h 56 min
Bit rate : 20.6 kb/s
Count of elements : 2244
Stream size : 17.2 MiB (0%)
Title : SDH
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : en:00:00:00.000
00:13:13.251 : en:00:13:13.251
00:24:04.234 : en:00:24:04.234
00:31:57.999 : en:00:31:57.999
00:39:57.061 : en:00:39:57.061
00:50:31.070 : en:00:50:31.070
01:04:49.844 : en:01:04:49.844
01:13:58.100 : en:01:13:58.100
01:20:17.396 : en:01:20:17.396
01:27:41.131 : en:01:27:41.131
01:38:41.624 : en:01:38:41.624
01:51:17.421 : en:01:51:17.421
But can't decode smoothly a recording TS from TRT 4K with this characteristics:

Quote:
General
ID : 30801 (0x7851)
Complete name : C:\Users\abcdefghi\Downloads\20180626-212911_TRT 4K.ts
Format : MPEG-TS
File size : 1.03 GiB
Duration : 5 min 37 s
Overall bit rate mode : Variable
Overall bit rate : 26.0 Mb/s

Video
ID : 4855 (0x12F7)
Menu ID : 16300 (0x3FAC)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@Main
Codec ID : 36
Duration : 5 min 38 s
Bit rate : 24.5 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.059
Stream size : 987 MiB (94%)

Audio
ID : 4955 (0x135B)
Menu ID : 16300 (0x3FAC)
Format : E-AC-3
Format/Info : Enhanced Audio Coding 3
Codec ID : 6
Duration : 5 min 37 s
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 187.500 FPS (256 SPF)
Compression mode : Lossy
Delay relative to video : -524 ms
Stream size : 10.3 MiB (1%)
Service kind : Complete Main
Using LAV filter. This shows the problem is not the bitrate, but the framerate. So the possible solution could be skipping the half of the frames ?

Last edited by kral2008; 27th June 2018 at 12:00.
kral2008 is offline   Reply With Quote