<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 17 déc. 2017 11:15 AM, "horai" <<a href="mailto:ivo.hora@seznam.cz">ivo.hora@seznam.cz</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you.<br>
I am trying to force omxh264enc to work with gst-rtsp-server-1.0.<br>
Omxh264enc works very fine with v4l2src but only when running pipelines via<br>
gst-launch-1.0.<br>
When running the same pipeline within gst-rtsp-server-1.0, it does not work.<br>
All the things I wrote here is just the description what I have done and<br>
where the problem could probably be.<br>
It seems like rpicamsrc is just a wrapper for raspivid (I am using this way<br>
also, but it's not that convenient) which is not a modern way how to stream<br>
video from raspicam, as far as I know. Modern way is to grab raw video from<br>
v4l2src and encode it with omx.<br>
I am not very skilled in cameras, but I guess raspicam is not able to encode<br>
video directly to h264. I guess it just ecapsulates raw to h264, but it must<br>
be shrinked by encoder.<br>
If I am not right, please let me know, I am not such an expert like you<br>
guys.<br>
Thank you very much for your help<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">On the modernity, I totally agree, but the RPi is an old design. When you get raw to main CPU and send it back to the encoder, you end up doing dma copy twice in order to transfer back and forth to the baseband (another core, running another OS). With raspvid or rpicamsrc (same code, just different form) the raw data is encoded before it leaves the baseband, so it's more efficient, though less convenient.</div><div dir="auto"><br></div><div dir="auto">That being said, the encoder should work inside RTSP server. Do you get any specific error ? Try setting GST_DEBUG=3 env maybe ?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best regards,<br>
Ivo<br>
<div class="elided-text"><br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/</a><br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></blockquote></div><br></div></div></div>