• 1
  • 7
  • 8
  • 9
  • 10(current)
  • 11
Sony Android TV 6.0.1 - Video playback is stuttering KD-55XD8005 / KD-55XE8505
So here is another one with the mpiet sample. [LOG] And this again is how playback looks like.
Quote: Yes it fixes the 25/50 stutter on shield, unfortunately mpiet samples play fine on all f my devices.
Funny that the 1080p25 sample plays fine on Sony ATV with both, new and old method, while mpiet's sample stutters with both.
Reply
Something seems to be wrong with my log. There is no useful information in there. Enabled only component-specific logging together with the Video component..

[EDIT]
@popy's log isn't more useful either though.
Reply
Here is another one with also debug logging enabled. Thought that had to be enabled anyway..
Reply
(2018-07-13, 13:56)CiNcH Wrote: Here is another one with also debug logging enabled. Thought that had to be enabled anyway..
Thx for the hint regarding debugging. Will also make a log later when I am at home again.
Reply
Quote:Thx for the hint regarding debugging. Will also make a log later when I am at home again.
That's actually how @peak3d wanted it to be. But I can't see any useful information in there...
Reply
Hmm, I got interested while reading this topic and wanted to see if this was also an issue on my Philips TV. And indeed it was with the "amcs_sync_sample (noaudio).mkv" file. But when I had a look at the actual clip, it's a bit of a strange one. To me it looks like it's p23.976 content put in a p25 MKV container...which doesn't make any sense...

So I remuxed the clip to a real p23.976 container and created a second clip into a p25 container (of course resulting in this clip playing slightly faster). Both of the clips played fine on my Philips TV (internal player and Kodi).
https://drive.google.com/open?id=1eHRNMS...rAZ7susyJ9

To be honest I don't think Kodi should be modified to handle these faulty clips. Instead they should be muxed correctly.
Reply
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>
Reply
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
Reply
You can do so by using mkvtoolnix for example if source file is mkv:

Image

I actually don't know why Kodi gets distracted by container information. Information within elemantary streams (timestamps) should be fine.
Reply
(2018-07-13, 14:36)RadeoNite Wrote: Hmm, I got interested while reading this topic and wanted to see if this was also an issue on my Philips TV. And indeed it was with the "amcs_sync_sample (noaudio).mkv" file. But when I had a look at the actual clip, it's a bit of a strange one. To me it looks like it's p23.976 content put in a p25 MKV container...which doesn't make any sense...

So I remuxed the clip to a real p23.976 container and created a second clip into a p25 container (of course resulting in this clip playing slightly faster). Both of the clips played fine on my Philips TV (internal player and Kodi).
https://drive.google.com/open?id=1eHRNMS...rAZ7susyJ9

To be honest I don't think Kodi should be modified to handle these faulty clips. Instead they should be muxed correctly.
i can confirm that remuxing my problematic video with MKV Toolnix and setting the metadata fps to 24000/1001 fixed the playback issue in kodi on my android tv.
Like @CiNcH already mentiond, it seems kodi gets distracted by the container metadata information.

Here are the ourputs from mediainfo from booth videos.
@peak3d Maybe you could look into this? (kodi should take the infos from the stream rather than from Metadata, shouldn't it? )

Original, with set 25fps, but video stream is 24000/1001 (24p):

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format-Profil                            : [email protected]
Format-Einstellungen                     : CABAC / 5 Ref Frames
Format-Einstellungen für CABAC           : Ja
Format-Einstellungen für RefFrames       : 5 frames
Codec-ID                                 : V_MPEG4/ISO/AVC
Dauer                                    : 41 min 58s
Bitrate                                  : 5 641 kb/s
Breite                                   : 1 280 Pixel
Höhe                                     : 720 Pixel
Bildseitenverhältnis                     : 16:9
Modus der Bildwiederholungsrate          : konstant
Bildwiederholungsrate                    : 25,000 FPS
originale Bildwiederholungsrate          : 23,976 FPS

ColorSpace                               : YUV
ChromaSubsampling/String                 : 4:2:0
BitDepth/String                          : 8 bits
Scantyp                                  : progressiv
Bits/(Pixel*Frame)                       : 0.245
Stream-Größe                             : 1,69 GiB (86%)
verwendete Encoder-Bibliothek            : x264 core 76 r1271 496d79d
Kodierungseinstellungen                  : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / mbtree=0 / bitrate=5641 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Sprache                                  : Deutsch
Default                                  : Ja
Forced                                   : Nein

And the working/fixed one:

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format-Profil                            : [email protected]
Format-Einstellungen                     : CABAC / 5 Ref Frames
Format-Einstellungen für CABAC           : Ja
Format-Einstellungen für RefFrames       : 5 frames
Codec-ID                                 : V_MPEG4/ISO/AVC
Dauer                                    : 43 min 45s
Bitrate                                  : 5 641 kb/s
Breite                                   : 1 280 Pixel
Höhe                                     : 720 Pixel
Bildseitenverhältnis                     : 16:9
Modus der Bildwiederholungsrate          : konstant
Bildwiederholungsrate                    : 23,976 (24000/1001) FPS
ColorSpace                               : YUV
ChromaSubsampling/String                 : 4:2:0
BitDepth/String                          : 8 bits
Scantyp                                  : progressiv
Bits/(Pixel*Frame)                       : 0.255
Stream-Größe                             : 1,72 GiB (88%)
verwendete Encoder-Bibliothek            : x264 core 76 r1271 496d79d
Kodierungseinstellungen                  : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / mbtree=0 / bitrate=5641 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Sprache                                  : Deutsch
Default                                  : Ja
Forced                                   : Nein
Reply
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
Reply
Quote:Not sure if MediaTek drivers look at the "original fps", if so, its IMO wrong.
MediaTek should know nothing about container fps. Video decoder only receives ES, no?

And how does SPMC17 fix it? Think we haven't really understood the real problem.
Reply
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.
Reply
Here we go... [SPMC17_LOG] (debug and Video component)
Reply
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.
Reply
  • 1
  • 7
  • 8
  • 9
  • 10(current)
  • 11

Logout Mark Read Team Forum Stats Members Help
Sony Android TV 6.0.1 - Video playback is stuttering KD-55XD8005 / KD-55XE85051