video in muxed tcpserversink stops for a bit about every two seconds

Bart Koppe bk at a-bort.org
Mon May 12 16:08:50 PDT 2014


Hi,

The syntax I have by now to stream the video and audio of my Logitech C920
feels quite ok.
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.

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

client: cvlc tcp://172.19.3.106:5000

I do sometimes get warnings like:
gstaudiobasesrc.c(863): gst_audio_base_src_create ():
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0:
Dropped 17110720 samples. This is most likely because downstream can't keep
up and is consuming samples too slowly.

and vlc (clientside) has this complaint:
[0x7f8a30001d58] ts demux error: MPEG-4 descriptor not found
[0x7f8a30e23a48] packetizer_mpeg4audio packetizer: AAC channels: 1
samplerate: 44100
[0x7f8a30001d58] ts demux error: libdvbpsi (PSI decoder): TS discontinuity
(received 2, expected 1) for PID 0
[0x7f8a30001d58] ts demux error: libdvbpsi (PSI decoder): TS discontinuity
(received 2, expected 1) for PID 32
Fontconfig warning: FcPattern object size does not accept value "0"

There is no h264enc in the video-bit since the camera genrates the h264
stream itself.
Plus the computer on the client side has no gstreamer, so there i have to
use VLC..

Thanks!
Bart




-- 
/\/\/\---------------------------------|
Bart Koppe
mediakunstenaar | http://bartkoppe.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140513/ff1a04c9/attachment.html>


More information about the gstreamer-devel mailing list