mpegtsmux id3 metadata

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

mpegtsmux id3 metadata

Roman Putintsev
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel