Hi, all
I'm working on dm365 and DVSK 4.0. I'm trying to create 2 encoder in the gstreamer, one for live stream and the other may for record or another live stream with different resolution. But I failed to create a proper pipeline. If only one h.264 encoder in the pipeline ,it works well, but when I use a tee to split the source of v4l2src to feed two encoder ,it cannot work. nothing output. My pipeline is like this,
"v4l2src always-copy=TRUE num-buffers=-1 input-src=COMPOSITE device=/dev/video0 ! "
" video/x-raw-yuv,format=\(fourcc\)NV12,width=640,height=480 ! "
" tee name=t t. ! queue ! "
" TIVidenc1 codecName=h264enc engineName=codecServer contiguousInputFrame=TRUE bitRate=2000000 framerate=25 rateControlPreset=2 encodingPreset=1 ! "
" avimux ! filesink location=/usr/local/bin/test.avi sync=false async=false t. ! queue ! "
" TIVidenc1 codecName=h264enc engineName=codecServer contiguousInputFrame=TRUE bitRate=256000 framerate=15 rateControlPreset=2 encodingPreset=1 ! "
" rtph264pay name=pay0 pt=96");
Does anyone have tried this? I googled and searched this forum ,but can't find how to use mutiple ti's encoder in the gstreamer. Can any one give me some help? Thank!