[FFmpeg-devel] [PATCH 2/4] lavf/matroskaenc: add PGS merge to auto bsf list

John Stebbins jstebbins at jetheaddev.com
Sun May 3 19:01:02 EEST 2020


On Sat, 2020-05-02 at 22:40 +0200, Andreas Rheinhardt wrote:
> John Stebbins:
> > PGS segments must be merged to one packet for muxing to mkv
> > ---
> >  libavformat/matroskaenc.c | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
> > index d3256d8f5d..bccf8b11d2 100644
> > --- a/libavformat/matroskaenc.c
> > +++ b/libavformat/matroskaenc.c
> > @@ -2655,6 +2655,8 @@ static int mkv_check_bitstream(struct
> > AVFormatContext *s, const AVPacket *pkt)
> >              ret = ff_stream_add_bitstream_filter(st,
> > "aac_adtstoasc", NULL);
> >      } else if (st->codecpar->codec_id == AV_CODEC_ID_VP9) {
> >          ret = ff_stream_add_bitstream_filter(st, "vp9_superframe",
> > NULL);
> > +    } else if (st->codecpar->codec_id ==
> > AV_CODEC_ID_HDMV_PGS_SUBTITLE) {
> > +        ret = ff_stream_add_bitstream_filter(st,
> > "pgs_frame_merge", NULL);
> >      }
> >  
> >      return ret;
> > 
> 1128aa875367f66ac11adc30364d5652919a2591 removed the auto bsf list
> (no
> muxer added more than one bsf for the same stream), so your commit
> message needs to be updated.
> 

Will do



More information about the ffmpeg-devel mailing list