How to do meta-tagging in gstreamer ?

akashjain akash.dhamasia12 at gmail.com
Fri Feb 26 11:07:09 UTC 2016


Hi,
I am trying to *stream* some arbitrary data of string type along with video.

My pipeline :

Sender side:

Opencv -> frame -> appsrc 

appsrc name=source ! videoconvert ! x264enc tune=zerolatency ! h264parse !
rtph264pay pt=96 config-interval=1 ! udpsink host=127.0.0.1 port=5000

Receiver side:

udpsrc port=5000 ! application/x-rtp\,\ media\=\(string\)video\,\
clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\
packetization-mode\=\(string\)1\,\ profile-level-id\=\(string\)f4000d\,\
sprop-parameter-sets\=\(string\)\"Z/QADZGWQFB+wEQAAAMABAAAAwDyPFCpIA\\\=\\\=\\\,aOvMRIRA\"\,\
payload\=\(int\)96\,\ ssrc\=\(uint\)1209595031\,\
timestamp-offset\=\(uint\)2188125457\,\ seqnum-offset\=\(uint\)29461\,\
a-framerate\=\(string\)30 ! rtph264depay ! h264parse ! avdec_h264 !
videoconvert ! appsink name=sink

I have tried various option :

1. using taginject element at the sender side and receiving through bus
messages at the receiving end. The issue is taginject gives limited option
for sending multiple data.

2. I thought of doing this with KLV meta-tagging. Like :
At sender side :

appsrc name=source ! videoconvert ! x264enc tune=zerolatency ! h264parse !
rtph264pay pt=96 config-interval=1 ! mpegtsmux ! udpsink 

appsrc  name=source1 ! mpegtsmux

BUT at reciever end, i found out that mpegtsdemux doenot have any capability
for meta/x-klv . With mxfdemux and mxfmux,
they are not showing such capability either.

3. I stumbled upon GstMeta, but not finding any way to input GstMeta
structure in my frame buffer.

Please some one help me in how can i send non-video data along side video.

Thanks and Regards
Akash Dhamasia









--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-do-meta-tagging-in-gstreamer-tp4676073.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list