Posts: 827
Joined: Jun 2014
Reputation:
25
CiNcH
Posting Freak
Posts: 827
2018-07-14, 02:13
(This post was last modified: 2018-07-14, 02:15 by CiNcH.)
You are absolutely right. When parsing SPS of the H.264 ES, you will indeed find out that it is 23.976fps.
<SequenceParameterSet Value="55" Unit="Byte">
<ZeroByte HValue="0x00"/>
<StartCodePrefixOne3Bytes HValue="0x000001"/>
<ForbiddenZeroBit Value="0"/>
<NALRefIDC Value="3"/>
<NALUnitType Value="7"/>
<ProfileIDC Value="100" Name="High"/>
<ConstraintSet0Flag Value="0"/>
<ConstraintSet1Flag Value="0"/>
<ConstraintSet2Flag Value="0"/>
<ConstraintSet3Flag Value="0"/>
<ReservedZero4Bits HValue="0x0"/>
<LevelIDC Value="41" Name="Level 4.1"/>
<SeqParameterSetID Value="0"/>
<HighProfileData>
<ChromaFormatIDC Value="1" Name="4:2:0"/>
<BitDepthLumaMinus8 Value="0"/>
<BitDepthChromaMinus8 Value="0"/>
<QPrimeYZeroTransformBypassFlag Value="0"/>
<SeqScalingMatrixPresentFlag Value="0"/>
</HighProfileData>
<Log2MaxFrameNumMinus4 Value="0" Name="MaxFrameNum = 16"/>
<PicOrderCntType Value="0">
<Log2MaxPicOrderCntLsbMinus4 Value="2"/>
</PicOrderCntType>
<NumRefFrames Value="5"/>
<GapsInFrameNumValueAllowedFlag Value="0"/>
<PicWidthInMbsMinus1 Value="79" Name="1280 Pixel"/>
<PicHeightInMapUnitsMinus1 Value="44" Name="720 Pixel"/>
<FrameMBSOnlyFlag Value="1" Name="Coded frames"/>
<Direct8x8InterferenceFlag Value="1"/>
<FrameCroppingFlag Value="0"/>
<VUIParametersPresentFlag Value="1">
<AspectRatioInfoPresentFlag Value="0"/>
<OverscanInfoPresentFlag Value="0"/>
<VideoSignalTypePresentFlag Value="1">
<VideoFormat Value="5" Name="Unspecified"/>
<VideoFullRangeFlag Value="0"/>
<ColourDescriptionPresentFlag Value="1">
<ColourPrimaries Value="2"/>
<TransferCharacteristics Value="2"/>
<MatrixCoefficients Value="1"/>
</ColourDescriptionPresentFlag>
</VideoSignalTypePresentFlag>
<ChromaLocInfoPresentFlag Value="0"/>
<TimingInfoPresentFlag Value="1">
<NumUnitsInTick Value="1001"/>
<TimeScale Value="48000"/>
<FixedFramerateFlag Value="1" Name="23.976 fps"/>
</TimingInfoPresentFlag>
<NalHrdParametersPresentFlag Value="1">
<CBPCntMinus1 Value="0"/>
<BitrateScale Value="3"/>
<CBPSizeScale Value="3"/>
<SchedSelIdx_0>
<BitRateValueMinus1 Value="78124"/>
<CBPSizeValueMinus1 Value="234374"/>
<CBRFlag Value="0"/>
</SchedSelIdx_0>
<InitialCPBRemovalDelayLengthMinus1 Value="23"/>
<CBPRemovalDelayLengthMinus1 Value="23"/>
<DBPRemovalDelayLengthMinus1 Value="23"/>
<TimeOffsetLength Value="0"/>
</NalHrdParametersPresentFlag>
<VclHrdParametersPresentFlag Value="1">
<CBPCntMinus1 Value="0"/>
<BitrateScale Value="3"/>
<CBPSizeScale Value="3"/>
<SchedSelIdx_0>
<BitRateValueMinus1 Value="78124"/>
<CBPSizeValueMinus1 Value="234374"/>
<CBRFlag Value="0"/>
</SchedSelIdx_0>
<InitialCPBRemovalDelayLengthMinus1 Value="23"/>
<CBPRemovalDelayLengthMinus1 Value="23"/>
<DBPRemovalDelayLengthMinus1 Value="23"/>
<TimeOffsetLength Value="0"/>
</VclHrdParametersPresentFlag>
<LowDelayHrdFlag Value="0"/>
<PicStructPresentFlag Value="0"/>
<BitstreamRestrictionFlag Value="1">
<MotionVectorsOverPicBoundariesFlag Value="1"/>
<MaxBytesPerPicDenom Value="0"/>
<MaxBitsPerMBDenom Value="0"/>
<Log2MaxMVLengthHorizontal Value="11"/>
<Log2MaxMVLengthVertical Value="11"/>
<NumReorderFrames Value="2"/>
<MaxDecFrameBuffering Value="5"/>
</BitstreamRestrictionFlag>
</VUIParametersPresentFlag>
<RBSPStopOneBit Value="1"/>
</SequenceParameterSet>
Posts: 530
Joined: Nov 2008
Reputation:
19
Hey guys, can you please explain how to remux my problematic video's to see if the issue is also in my case the wrong muxed videos?
PS: wouldn't it be good if kodi would take the Infos from the FixedFramerate field? Don't get me wrong, I don't understand much of these, just an idea [emoji4]
Thx pOpY
Posts: 319
Joined: Mar 2015
Reputation:
25
peak3d
Team-Kodi Member
Posts: 319
For me the 25fps is correct, some instance upsampled the video from 23.9 -> 25.
Not sure if MediaTek drivers look at the "original fps", if so, its IMO wrong.
MTK should not look at any fps, because kodi stears the timing.
Maybe worth a try providing this clip to MTK
Posts: 23,264
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,264
Could I see the spmc v17 log that was working correctly again? Pastebin is not existing anymore.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23,264
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,264
Nice - Nicely linear PTS fetched and output. Cool.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.