performance

James jam at tigger.ws
Thu Aug 5 22:43:55 UTC 2021


Hi

I have a script pipeline that nearly always works.
(underflow using pulsesrc)
Always htop shows 4 cores at 50ish% and memory usage (without cache) as 2ish/8 G
but a reboot clears problem (I don't know what to look for)

I coded the same pipeline with gst_parse_launch (. . . );
That always fails at about 26 seconds in.

What is advantage of crafting a pipeline with individual elements and linking the pipeline?

James

PS here is the pipeline

#! /bin/bash

gst-launch-1.0 $@ v4l2src device=/dev/video2 ! \
	video/x-h264,width=1920,height=1080,framerate=30/1 ! \
	h264parse ! \
	tee name=t \
	t. ! queue ! \
	mux. pulsesrc device=0 ! \
	queue ! \
	audioconvert ! \
	audioresample ! audio/x-raw, rate=16000 ! \
	queue ! \
	avenc_aac ! \
	queue ! \
	mux. mp4mux name=mux ! \
	filesink location=try19.mp4 \
	t. ! queue ! avdec_h264 ! xvimagesink sync=false \
	t. ! queue ! avdec_h264 ! xvimagesink sync=false




More information about the gstreamer-devel mailing list