Lost metadata in pipeline.

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

Lost metadata in pipeline.

Francis Rammeloo
I have created a pipeline that converts multi-track WMV files into MP4
files. (See my post "Requesting a sink pad from a muxer in the
"new-decoded-pad" callback?" for more details).

It works well, but not all metadata from the original file is copied
into the output file. One of the missing tags is the language code. Is
there some incompatibility between WMV and MP4 tags that causes the
data to be lost?

I have been trying to find a way to set the tags myself but it can't
figure out how to associate tags and their corresponding streams. I
get the tags in the GST_MESSAGE_TAG callback, and the streams in the
"new-decoded-pad" callback. The order in which the tags are received
does not seem to be the same as the order in which the streams are
decoded.

Can someone recommend me a workaround?

Grts,
Francis

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-devel] Lost metadata in pipeline.

sledge hammer
> I have been trying to find a way to set the tags myself but it can't
> figure out how to associate tags and their corresponding streams. I
> get the tags in the GST_MESSAGE_TAG callback, and the streams in the
> "new-decoded-pad" callback. The order in which the tags are received
> does not seem to be the same as the order in which the streams are
> decoded.

Use gst_message_parse_tag_full() to find to which pad(ie stream) the tags belong. link->http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#gst-message-parse-tag-full


Νέα Windows 7: Βρείτε τον κατάλληλο υπολογιστή για εσάς. Μάθετε περισσότερα.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel