<div dir="ltr"><div>Hi all,</div><div><br></div><div>I'm using<span style="font-family:monospace"><br>gst-launch-1.0 version 1.18.4
<br>GStreamer 1.18.4
<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:arial,sans-serif">on an allwinner s3, with a custom camera capture/h264 encode plugin that produces h264 720p/60<br></span></div><div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">When I run with this pipeline:</span></div><div>gst-launch-1.0 -ve sunxisrc keyint=12 bitrate=5000 !  video/x-h264,width=1280,height=720,framerate=60/1 ! h264parse ! tee name=t \<br>     t. ! queue !  filesink location=TeeTestNoOtherTee.h264</div><div>I get a valid file.</div><div><br></div><div>When I run with <br></div><div>gst-launch-1.0 -ve sunxisrc keyint=12 bitrate=5000 !  video/x-h264,width=1280,height=720,framerate=60/1 ! h264parse ! tee name=t \<br>     t. ! queue !  filesink location=TeeTestWithOtherTee.h264 \<br>     t. ! queue ! rtph264pay mtu=1024 !  rtph264depay ! h264parse config-interval=1 ! fakesink</div><div><br></div><div>I get an h264 file that fails to play with ffplay:</div><div><span style="font-family:monospace"><span style="color:rgb(255,95,255);background-color:rgb(0,0,0)">[h264 @ 0x7f7c54000c80] </span><span style="color:rgb(255,255,0);background-color:rgb(0,0,0)">Format h264 detected only with low score of 1, misdetection possible!</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="color:rgb(0,175,255);background-color:rgb(0,0,0)">[h264 @ 0x7f7c54002140] </span><span style="color:rgb(255,0,0);background-color:rgb(0,0,0)">non-existing PPS 0 referenced</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="color:rgb(215,255,135);background-color:rgb(0,0,0)">[extract_extradata @ 0x7f7c540028c0] </span><span style="color:rgb(255,255,0);background-color:rgb(0,0,0)">Invalid NAL unit 0, skipping.</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="color:rgb(0,175,255);background-color:rgb(0,0,0)">[h264 @ 0x7f7c54002140] </span><span style="color:rgb(255,255,0);background-color:rgb(0,0,0)">Invalid NAL unit 0, skipping.</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="color:rgb(0,175,255);background-color:rgb(0,0,0)">[h264 @ 0x7f7c54002140] </span><span style="color:rgb(255,0,0);background-color:rgb(0,0,0)">slice type 24 too large at 1</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="color:rgb(0,175,255);background-color:rgb(0,0,0)">[h264 @ 0x7f7c54002140] </span><span style="color:rgb(255,0,0);background-color:rgb(0,0,0)">decode_slice_header error</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="color:rgb(0,175,255);background-color:rgb(0,0,0)">[h264 @ 0x7f7c54002140] </span><span style="color:rgb(255,0,0);background-color:rgb(0,0,0)">no frame!</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="color:rgb(255,95,255);background-color:rgb(0,0,0)">[h264 @ 0x7f7c54000c80] </span><span style="color:rgb(255,255,0);background-color:rgb(0,0,0)">Could not find codec parameters for stream 0 (Video: h264, none): unspecified s</span>ize<br><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span></span></div><div><span style="font-family:monospace">I've uploaded both files:</span></div><div><span style="font-family:monospace">good: </span><a href="https://www.dropbox.com/scl/fi/bs8kxijlriuja1di57x9s/TeeTestNoOtherTee.h264?rlkey=frfcp58cqrgl5993ov6gamy3s&dl=1">https://www.dropbox.com/scl/fi/bs8kxijlriuja1di57x9s/TeeTestNoOtherTee.h264?rlkey=frfcp58cqrgl5993ov6gamy3s&dl=1</a></div><div><br></div><div>With tee :</div><div><a href="https://www.dropbox.com/scl/fi/y9novw88i47kfamde801z/TeeTestWithOtherTee.h264?rlkey=oqayswyqr17bleqanj86xthcd&dl=1">https://www.dropbox.com/scl/fi/y9novw88i47kfamde801z/TeeTestWithOtherTee.h264?rlkey=oqayswyqr17bleqanj86xthcd&dl=1</a></div><div><br></div><div>Any thoughts about what is going on?</div><div><br></div><div>Thank you</div><div>Pete<br></div></div>