[FFmpeg-devel] [PATCH] lavc/lavf: transmit stream_id information for mpegts KLV data packets
Stefano Sabatini
stefasab at gmail.com
Wed Feb 3 10:18:34 CET 2016
On date Saturday 2016-01-30 13:40:57 +0100, Stefano Sabatini encoded:
> This allows to copy information related to the stream ID from the demuxer
> to the muxer, thus allowing for example to retain information related to
> synchronous and asynchronous KLV data packets. This information is used
> in the muxer when remuxing to distinguish the two kind of packets (if the
> information is lacking, data packets are considered sychronous).
>
> The fate reference changes are due to the use of
> av_packet_merge_side_data(), which increases the size of the output
> packet size, since side data is merged into the packet data.
> ---
> libavcodec/avcodec.h | 6 ++
> libavcodec/avpacket.c | 1 +
> libavformat/mpegts.c | 30 ++++--
> libavformat/mpegtsenc.c | 26 ++++--
> tests/ref/fate/concat-demuxer-simple2-lavf-ts | 128 +++++++++++++-------------
> tests/ref/seek/lavf-ts | 54 +++++------
> 6 files changed, 142 insertions(+), 103 deletions(-)
Ping.
Note: since my purpose is to allow remuxing KLV data, I can change
this to enable stream_id side-data only with data streams (so that no
reference must be changed).
Since I have no strong opinion on this I'd change in case someone has
a preference.
--
FFmpeg = Funny Freak Mournful Political Elected God
More information about the ffmpeg-devel
mailing list