extraction of klv metdata

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

extraction of klv metdata

gagankumarnigam
can some body tell me how to extract klv meta data from runningvideo. eith example
which version of gstreamer support klv encoder klv decoder ?

Reply | Threaded
Open this post in threaded view
|

Re: extraction of klv metdata

Arjen Veenhuizen
GStreamer does not include a klv decoder. It does, however, support demultiplexing KLV from an mpeg2 transport stream. You could add an appsink to the application/x-klv pad to extract the raw byte sequences and feed those to your (own) klv decoder. Support for KLV has been added in 1.x, but I am not sure in what version exactly.

See also: http://gstreamer-devel.966125.n4.nabble.com/Tsdemux-synchronous-file-klv-metadata-extraction-failed-td4677807.html
Reply | Threaded
Open this post in threaded view
|

Re: extraction of klv metdata

Baby Octopus
In reply to this post by gagankumarnigam
What kind of klv metadata do you need to extract? It depends on that.

If the KLV data is present in TS stream, I remember recently the support is added in mpegtsmux element to mux KLV, so tsdemux might have a support for demuxing KLV

If  the data is inside elementary stream such as H264 SEI, you might need to change gst-libav code to support that based on how it is structured
Reply | Threaded
Open this post in threaded view
|

Re: extraction of klv metdata

gagankumarnigam
In reply to this post by Arjen Veenhuizen
Hi,

Is there any pipeline in gstreamer which can play as well as extract klv
metdata..?

I am using gstreamer-1.10.4 which is having support for klv data. With the
use of examples of rtpklvpay/rtpklvdepay i am able to extract the data from
video. which can also be easily found out on internet.

I tried to play this video having klv metdata but result in failure. But
when i play it with totem player it always asks meta/x-klv decoder , still
it plays. Video is downloaded from the link given below:
http://samples.ffmpeg.org/MPEG2/mpegts-klv/Day%20Flight.mpg

I tried combination like :

gst-launch-1.0 filesrc location=DayFlight.mpg ! tsparse ! tsdemux !
meta/x-klv ! rtpklvpay ! autovideosink


Can anybody have any idea how to play play and extract the klv data fro
video







--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel