[FFmpeg-user] how to send metadata in mpegts via ffmpeg

Ted Park kumowoon1025 at gmail.com
Tue Oct 22 02:30:24 EEST 2019



> On Oct 19, 2019, at 8:39 AM, qw <applemax82 at 163.com> wrote:

> 
>>>>> mpeg2 ts supports metadata and private data. How to send some metadata in mpeg2 ts periodically at some fixed interval via ffmpeg?
>>>> 
>>>> Are you talking about timed id3 metadata?
>>> 
>>> In ISO/IEC 13818-1, 2.12 carriage of metadata gives several options for transport of metadata. I don't know timed id3 metadata.
>> 
>>> 
> Thanks for your reply.
> Yes, I want to transport some metadata similar to timed id3 metadata. What is id3 metadata used for?


Uh. Not sure how you know you want to transport data “similar to timed id3 metadata” when you don’t know what it is, it would help if you could tell us what kind of metadata you’re looking to include…

Timed ID3 tags are only used in HLS (I think, don’t quote me on that). They’re literally ID3 tags (such as that you might find in an mp3 file, for example), that are inserted at certain points in time in the TS stream.

The way I’ve seen it being it used is to change the title of the stream at discontinuity points (for example it could be a tag with metadata for an episode of a TV show, then another could be inserted when ads play, or another show starts, etc)


More information about the ffmpeg-user mailing list