Hi,
I am trying to send the data over shmsink and recording/streaming on other side using shmsrc.
when i am using x264enc plugin both pipeline for sending and receiving working fine , but if we replace the x264enc with nvv4l2h264enc, than recording is done but file is not abel to play and streaming is not working.
sender pipeline with x264enc is as follow:
gst-launch-1.0 -v -e v4l2src do-timestamp=true ! videoconvert ! video/x-raw,width=640,height=480,format=I420,framerate=30/1 ! x264enc tune=zerolatency key-int-max=30 ! rtph264pay ! shmsink socket-path=/tmp/test shm-size=10000000 wait-for-connection=false sync=true
receiver pipeline for above is as follow:
gst-launch-1.0 -v -e shmsrc socket-path=/tmp/test do-timestamp=true is-live=true ! application/x-rtp,clock-rate=90000 ! rtph264depay ! h264parse ! matroskamux ! filesink location=video1.mkv sync=false
sender pipeline with nvv4l2h264enc is as follow:
gst-launch-1.0 -v -e v4l2src do-timestamp=true ! nvvidconv ! video/x-raw(memory:NVMM),width=640,height=480,format=I420,framerate=30/1 ! nvv4l2h264enc maxperf-enable=1 ! rtph264pay ! shmsink socket-path=/tmp/test shm-size=10000000 wait-for-connection=false sync=true
receiver pipeline for above is as follow:
gst-launch-1.0 -v -e shmsrc socket-path=/tmp/test do-timestamp=true is-live=true ! application/x-rtp,clock-rate=90000 ! rtph264depay ! h264parse ! matroskamux ! filesink location=video1.mkv sync=false
Am i missing something in above pipeline for sending and receiving with nvv4l2h264enc ?.
Regards,
vikas.