Hello All,
I am observing crash in the pipeline when multiple instances of H264 encoder plugin are created.
The pipeline is as follows
gst-launch videotestsrc num-buffers=2000 ! 'video/x-raw-yuv,format=(fourcc)NV12,width=320,
height=176' ! TIVidenc1 codecName=h264enc engineName=encode resolution=320x176 !
rtph264pay ! udpsink host=10.60.6.57 port=5004
The above pipeline runs successfully when a single pipeline is running.
However, when four such pipelines are created in four different terminals the 2nd, 3rd and 4th
pipeline crashes with the following error every time they are created.
[please note that the host ip and ports are changed in every pipeline].
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
CMEM Error: getPool: Failed to get a pool fitting a size 624
gst-launch-0.10: linux/Rendezvous.c:105: Rendezvous_meet: Assertion `hRv' failed.
Aborted
or
GThread-ERROR **: file gthread-posix.c: line 367 (g_thread_create_posix_impl):
error 'Cannot allocate memory' during 'pthread_create'
aborting...
Trace/breakpoint trap
The multiple instances of a plugin can be created usually.
Is there any exception to be handled in this platform ?
Please suggest if I am doing any mistake .
Thanks and regards,