<div dir="ltr"><div dir="ltr">On Sun, Sep 25, 2022 at 10:33 AM Scott Theisen <<a href="mailto:scott.the.elm@gmail.com">scott.the.elm@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    On 9/25/22 11:43, John P Poet wrote:<br>
    <blockquote type="cite">
      
      <div dir="ltr"><br>
        <div class="gmail_quote">
          <div><br>
          </div>
          <div>Thank you Scott. I just uploaded a HEVC sample to
            dropbox. It should be shared with you.<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I have the sample.<br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_quote">
          <div><br>
          </div>
          <div>Without 7b2ac1eeb5, HEVCParser::parseSPS detects the</div>
          <div>sps_id: 0<br>
          </div>
          <div>width, height: 1920x1088<br>
            unitsInTick / timeScale: 166817 / 10000000<br>
            <br>
            With 7b2ac1eeb5, HEVCParser::parseSPS the spd_id, width and
            height are garbage and the unitsinTick / timeScale are never
            decoded -- vps_extension_flag is zero.</div>
          <div><br>
          </div>
          <div>My best guess is that there is an alignment issue and the
            BitReader that is being passed into HEVCParser::parseSPS is
            not pointing at the correct position.<br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    OK, but how are you getting the code to execute on the sample? 
    mythcommflag --rebuild something?  Adding to Videos and scanning for
    changes?<br>
    <br>
    Thanks,<br>
    <br>
    Scott<br>
  </div></blockquote><div><br></div><div>I am using an ExternalRecorder (<a href="https://github.com/jpoet/Magewell2TS">https://github.com/jpoet/Magewell2TS</a>). Using the mythfilerecorder ExternalRecorder that is packaged with Myth should provide the same result. I am pretty sure that `mythcommflag --rebuild` results in a different code path and I have not tried it.</div><div><br></div><div>If you have trouble setting up mythfilerecorder I will do that this afternoon and then send you instructions.</div><div><br></div><div>John</div><div><br></div></div></div>