mpegtsmux id3 metadata

Roman Putintsev putintsev.rv at gmail.com
Thu Jul 21 16:36:01 UTC 2016


Hello! I'm trying to add ID3 metadata support inside mpegtsmux plugin.
https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HTTP_Live_Streaming_Metadata_Spec/2/2.html
At now I have special plugin for tests, that provide id3 metaddata via tcp
socket. (It is modification of tcpclientsrc, with caps application/x-id3
and id3 tag inside byte array from TagLib) Id3 data provided asyncronously.
(Sometimes: when tcp server want to send them)

My pipeline is: ./gst-launch-1.0 audiotestsrc is-live=true ! audioconvert !
faac ! mpegtsmux name=mux ! filesink location=test.ts id3tcpclientsrc
port=51529 ! mux.

I have a problem with sparse stream. Inside mpegtsmux plugin I see code for
stream events (pseudocode):
case GST_EVENT_STREAM_START:
  Don't wait for data on sparse inputs like metadata streams
  if ((flags & GST_STREAM_FLAG_SPARSE)) {
        gst_collect_pads_set_waiting (pads, data, FALSE);

But I can not understand. How I can set my ID3 src flags to sparse? Plugin
id3tcpclientsrc it is test modification of tcpclientssrc interhits from
GstPushSrc.

---
Sorry for my English.
Thanks in advance.

Roman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160721/94ceb3ba/attachment.html>


More information about the gstreamer-devel mailing list