<div dir="ltr">Hello everyone,<div><br></div><div>I am trying to develop a real time streaming program between a Raspberry Pi Zero (provided with the Raspi camera) and my laptop.</div><div>On the raspberry pi I need to use the omx hardware accelerated encoder. Then the stream passes through a rtph264pay and is sent over the network through an appsink.</div><div>On the decoding side I am using (after the depayloader) avdec_h264. </div><div><br></div><div>The problem now is that the "stream-format" property of the stream coming out from the encoder is of the "byte-stream" kind instead of the usual "avc". </div><div>This, as I understood, prevents the sps/pps parameters from being stored in the stream caps, so at the decoding side the negotiation for the caps is failing and I dont get my video displayed.</div><div><br></div><div>So my questions are:</div><div>1. Is there a way to force the stream-format to be of the "avc" kind instead of "byte-stream"?</div><div>2. If this is not possible and I have to deal with bytestream, how can I configure my decoder and capabilities?</div><div><br></div><div>Notice: I need to have a variable bitrate stream, so that I can change the "target-bitrate" at runtime.</div><div><br></div><div>Thanks,</div><div>Andrea</div></div>