<div dir="ltr"><div>Webcams are raw yuv video, arn't they? gstreamer in this case is using ffmpegs x-h264 to encode it <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 3, 2022 at 4:51 PM Nicolas Dufresne via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</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">Hi James,<br>
<br>
Le lundi 03 janvier 2022 à 07:16 +0800, James via gstreamer-devel a écrit :<br>
> gstreamer seems very nice in concept. The fact that I've been trying for 3 months and can get no help is a big deterent.<br>
> <br>
> I've got a 4 core i7 NUC clocked to 4.8G and I get a stream of QoS messages telling me the computer is too slow.<br>
> (GST_DEBUG=2,pulsesrc:6)<br>
<br>
Sorry if previous message were missed. Perhaps your issue is specific to your<br>
WebCam ? I don't owned myself a webcam that encodes to H264, so I've used<br>
vaapih264enc, and performance was decent.<br>
<br>
Asking question on public channels is an art, make sure to narrow down as much<br>
as possible your issue, and try to think on how others will be able to<br>
reproduce, if you can't make sure to share extra information that would allow<br>
controlling the variable when simulating with audiotestsrc and similar.<br>
<br>
regards,<br>
Nicolas<br>
<br>
> <br>
> The machine is idle running a single pipeline.<br>
> The stream stutters. ffmpeg shows dup and often a 100 dropped frames on each segment.<br>
> <br>
> Using audiotestsrc renders perfectly.<br>
> <br>
> #! /bin/bash<br>
> <br>
> IP=`hostname -I`<br>
> <br>
> gst-launch-1.0 -e -v v4l2src device=/dev/video2 ! \<br>
>       video/x-h264,width=1920,height=1080,framerate=30/1 ! \<br>
>       h264parse ! \<br>
>       tee name=vt \<br>
>       vt. ! queue ! hlssink2 max-files=5 name=hl \<br>
>       playlist-root=http://$IP playlist-location=/dev/shm/channel1.m3u8 location=/dev/shm/segment_%05d.ts \<br>
>       pulsesrc device=0 ! audioconvert ! avenc_aac ! \<br>
>         tee name=at \<br>
>       at. ! queue ! aacparse ! hl.audio<br>
> <br>
> The redundant tee's are for use later.<br>
> unless I see a euroka moment I'll have to try somethink else<br>
> James<br>
> <br>
<br>
</blockquote></div>