<div dir="ltr"><div>A video codec usually encoded using a YUV format as input. I'm guessing from your results that your pipeline when no video format has been been set for input to x264enc and no video profile has been set for x264enc output and original raw video is BGR/RGB, the pipeline selects baseline as H.264 profile and Y444 as video format. These two are not combinable in the H.264 world<br></div><div><br></div><div>Try the following</div><div><br></div><div>    videoconvert ! video/x-raw,format=I420 ! x264enc ...</div><div><br></div><div>Alternatively</div><div><br></div><div>    x264enc tune=zerolatency<span class="gmail-im"> speed-preset=ultrafast !  video/h-264,profile=high-4:4:4 ! h264parse ...<br></span></div><div><span class="gmail-im"><br></span></div><div><span class="gmail-im">Note that the above can have a large impact on CPU-load, bandwidth and quality<br></span></div><div><span class="gmail-im"><br></span></div><div><span class="gmail-im">Best regards</span></div><div><span class="gmail-im">Peter Maersk-Moller<br> </span></div><div><br></div><div>  <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 19, 2020 at 10:09 AM etne <<a href="mailto:louis.etienne82@orange.fr">louis.etienne82@orange.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks for your answer.<br>
<br>
Using this pipeline:<br>
<br>
appsrc format=(string)\"BGR\" ! videoconvert ! x264enc tune=zerolatency<br>
speed-preset=ultrafast !  h264parse ! rtph264pay config-interval=1 !<br>
rtpsink uri=rtp://<a href="http://239.1.2.3:1234" rel="noreferrer" target="_blank">239.1.2.3:1234</a> <br>
<br>
I get the following error on the RPi:<br>
x264 [error]: baseline profile doesn't support 4:4:4<br>
Is it a format image error?<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>