diff options
author | Georgi Chorbadzhiyski <gf@unixsol.org> | 2011-01-20 09:26:40 +0200 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-20 11:31:20 +0000 |
commit | 69688e71bc4c4318209e8d4e3861c47186caebda (patch) | |
tree | 620ab6ef97dc49d6a2ebabc42be1e07475fc8a7d /libavformat/avformat.h | |
parent | b9c7f66e6da8ac77eaa0c3fb6d476e6fc929b3c9 (diff) | |
download | ffmpeg-69688e71bc4c4318209e8d4e3861c47186caebda.tar.gz |
Add service_provider and service_name metadata
This patch adds support in mpegts muxer for using service_provider and
service_name metadata to set service_provider_name and service_name
fields in SDT.
Example usage:
ffmpeg -i file.ts -f mpegts -re -acodec copy -vcodec copy -f mpegts \
-metadata service_provider="Some provider" \
-metadata service_name="Some Channel" \
"udp://239.0.70.2:5000?pkt_size=1316&ttl=1"
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index b484649693..c72c58f0fe 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -161,6 +161,8 @@ struct AVFormatContext; * E.g for "Also sprach Zarathustra", artist would be "Richard * Strauss" and performer "London Philharmonic Orchestra". * publisher -- name of the label/publisher. + * service_name -- name of the service in broadcasting (channel name). + * service_provider -- name of the service provider in broadcasting. * title -- name of the work. * track -- number of this work in the set, can be in form current/total. */ |