[FFmpeg-devel] [PATCH] libavformat/mpegtsenc: allow to set service_type in sdt

2015-02-02 Thread dhead666
This adds an option to set the service type in mpegts as defined in ETSI 300 468. I added what I believe are the most useful service types as pre defined values, the others can be sent by using their hexdecimal form directly (e.g. -mpegts_service_type digital_radio, -mpegts_service_type 0x07).

[FFmpeg-devel] [PATCH] libavformat/mpegtsenc: allow to set service_type in sdt

2015-02-01 Thread dhead666
--- patch updated with documentation. also added what seems to me the most useful service types from en-300-468 ( http://www.etsi.org/deliver/etsi_en/300400_300499/300468/01.11.01_60/en_300468v011101p.pdf ). I can drop them and leave only digital_tv and digital_radio but if we follow the standa

[FFmpeg-devel] [PATCH] libavformat/mpegtsenc: allow to set service_type in sdt

2015-02-01 Thread dhead666
--- Clément, how about this? I only added these few as they seems the most usefull, though maybe I'll just drop teletext? doc/muxers.texi | 3 +++ libavformat/mpegtsenc.c | 19 ++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/doc/muxers.texi b/doc/muxer

[FFmpeg-devel] [PATCH] libavformat/mpegtsenc: allow to set service_type in sdt

2015-01-31 Thread dhead666
--- @TimothyGu thanks for all your help, I hope this is now fine. doc/muxers.texi | 3 +++ libavformat/mpegtsenc.c | 6 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 7ca6409..2a9ebfa 100644 --- a/doc/muxers.texi +++ b/doc/mux

[FFmpeg-devel] [PATCH] libavformat/mpegtsenc: allow to set service_type in sdt

2015-01-31 Thread dhead666
--- doc/muxers.texi | 3 +++ libavformat/mpegtsenc.c | 6 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 7ca6409..52a9cd4 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -690,6 +690,9 @@ Set the transport_stream_id (defaul