<div dir="ltr"><div>Hi,</div><div><br></div><div>I was trying to decode a .ts stream (264 data) usig gstreamer pipeline.</div><div>Pipeline looks like :</div><div>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">gst-launch-1.0 -vv filesrc location=test.ts ! tsdemux ! queue ! h264parse ! my_decoder ! my_display</span>
<br></div><div><br></div><div>here, h264parse provideds data with byte-stream format and nal alignment.</div><div>Issue is, it's src cap contains width and height = 0.</div><div>It doesnt contain proper width and height.</div><div>Is this expected behaviour?</div><div>Or it should send proper width and height in src caps ?</div><div><br></div><div>With If I apply a cap filter with format=avc, issue is solved. ie, getting proper width and height in src caps with avc format and au alignemnet.</div><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks and Regards<div>Anju Sebastian.</div></div></div></div>
</div>