KLV metadata creation

733 views
Skip to first unread message

Alejandro Carrera

unread,
Aug 17, 2018, 10:56:57 AM8/17/18
to gstreamer-java
Hey,

I am trying to create a file with video, audio and metadata for some testing. I have created the following pipeline, however I am uncertain how to incorporate a metadata stream. 


gst-launch-1.0 videotestsrc is-live=true do-timestamp=true ! videoconvert ! queue ! x264enc bitrate=2000 ! mpegtsmux name=mux ! filesink location="test.mp4" audiotestsrc is-live=true ! queue ! voaacenc ! mux.


Cheers,
Alejandro

Alejandro Carrera

unread,
Aug 22, 2018, 11:49:19 AM8/22/18
to gstreamer-java
Hey

What kind of sink needs to be used for metadata streaming? I can parse a file containing metadata but I can't seem to find a plugin like autovideosink for metadata. 

gst-launch-1.0.exe filesrc location=metademo.ts ! queue ! tsparse ! tsdemux ! meta/x-klv ! filesink location=klvextract.log

Do I need to create a custom sink to read the information?

Alejandro

Neil C Smith

unread,
Aug 22, 2018, 12:02:47 PM8/22/18
to gstream...@googlegroups.com
Hi,

On Wed, 22 Aug 2018 at 16:49, Alejandro Carrera <carr...@gmail.com> wrote:
> What kind of sink needs to be used for metadata streaming? I can parse a file containing metadata but I can't seem to find a plugin like autovideosink for metadata.

I have the feeling no-one here is sure how to answer this question! :-)

I suggest asking upstream at
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

Once you know the answer, get back here if you have difficulty in
translating into Java.

Best wishes,

Neil

--
Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org

Christophe Lafolet

unread,
Aug 23, 2018, 6:16:36 AM8/23/18
to gstream...@googlegroups.com
You need to add an AppSink with KLV capabilities for the KLV pad

Envoyé depuis mon mobile Huawei


-------- Message original --------
Objet : [gstreamer-java] Re: KLV metadata creation
De : Alejandro Carrera
À : gstreamer-java
Cc :


--
You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gstreamer-jav...@googlegroups.com.
To post to this group, send email to gstream...@googlegroups.com.
Visit this group at https://groups.google.com/group/gstreamer-java.
For more options, visit https://groups.google.com/d/optout.

Alejandro Carrera

unread,
Aug 24, 2018, 10:44:48 AM8/24/18
to gstreamer-java
Hey

Making some progress with it, though I am running into some issues. How can I set the pipeline to verbose / debug? Hoping to take a better look under the covers to see what is happening. 

Cheers,
Alejandro
Reply all
Reply to author
Forward
0 new messages