<div dir="ltr"><div><div><div>Hi,<br></div><br></div>The syntax I have by now to stream the video and audio of my Logitech C920 feels quite ok.<br></div>If I view the h264 stream of the camera without muxing and streaming over tcp the image looks constant But as soon as I use the code below it streams in full quality but the image gets stuck every 2 seconds or so for about 100 milliseconds. <br>
<div><br>gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=1280,height=720,framerate=30/1 ! h264parse ! muxout. pulsesrc device="alsa_input.usb-046d_HD_Pro_Webcam_C920_F1894590-02-C920.analog-stereo" ! queue ! audioconvert ! voaacenc bitrate=65536 ! aacparse ! muxout. mpegtsmux name=muxout ! queue ! tcpserversink host=172.19.3.106 port=5000 sync=false<br>
<br></div><div>client: cvlc tcp://<a href="http://172.19.3.106:5000">172.19.3.106:5000</a><br></div><div><br></div><div>I do sometimes get warnings like:<br>gstaudiobasesrc.c(863): gst_audio_base_src_create (): /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0:<br>
Dropped 17110720 samples. This is most likely because downstream can't keep up and is consuming samples too slowly.<br><br></div><div>and vlc (clientside) has this complaint:<br>[0x7f8a30001d58] ts demux error: MPEG-4 descriptor not found<br>
[0x7f8a30e23a48] packetizer_mpeg4audio packetizer: AAC channels: 1 samplerate: 44100<br>[0x7f8a30001d58] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 2, expected 1) for PID 0<br>[0x7f8a30001d58] ts demux error: libdvbpsi (PSI decoder): TS discontinuity (received 2, expected 1) for PID 32<br>
Fontconfig warning: FcPattern object size does not accept value "0"<br></div><div><br>There is no h264enc in the video-bit since the camera genrates the h264 stream itself. <br></div><div>Plus the computer on the client side has no gstreamer, so there i have to use VLC..<br>
<br></div><div>Thanks! <br>Bart<br></div><div><div><div><div><div><br><br><br><br><div>-- <br><div dir="ltr">/\/\/\---------------------------------|<br>

Bart Koppe<br>

mediakunstenaar | <a href="http://bartkoppe.net" target="_blank">http://bartkoppe.net</a><br>

</div>
</div></div></div></div></div></div></div>