Gstreamer appsrc and appsink for sending and receiving video stream data does not function

Hi, i have tried to use appsrc and appsink to send and receive video stream and to display as an autovideosink. Below are the used pipelines.

Send:

gst-launch-1.0 videotestsrc ! videoconvert ! x264enc ! h264parse ! appsink name=mysink

Receiveing:

gst-launch-1.0 appsrc name=mysrc ! h264parse ! avdec_h264 ! videoconvert ! autovideosink

The problem is when i try to run these pipelines separately, the video-feed does not display.

What can be the reason for this problem?

Thanks in advance.

You can’t sue appsink appsrc from cli. There are examples online of writing an app with these plugins.

2 Likes

Hi,
For using appsrc and appsink, you would need to run the pipeline in C code. Please refer to this sample:
Latency issue: nvv4l2h265enc accumulates four images before releasing the first - #3 by DaneLLL

In running gst-lauch-1.0 commands, you may try UDP. Please check Jetson Nano FAQ

Q: Is there an example for running UDP streaming?

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.