Re: [FFmpeg-devel] [PATCH] lavf: add automatic bitstream filtering

2016-01-18 Thread Moritz Barsnick
On Thu, Jan 14, 2016 at 18:29:42 -0600, Rodger Combs wrote: > > Rodger's commits also introduced *_init() functions for each format. > > I don't understand whether that is necessary. These patches work > > for me just as they are. > The init functions are required because avpriv_set_pts_info is

Re: [FFmpeg-devel] [PATCH] lavf: add automatic bitstream filtering

2016-01-14 Thread Rodger Combs
The init functions are required because avpriv_set_pts_info is called in write_header. Since this can affect operations that take place before write_header is called when delayed, it needs to be done earlier. This is probably also true of any other change to the AVFormatContext or AVStreams

[FFmpeg-devel] [PATCH] lavf: add automatic bitstream filtering

2016-01-14 Thread Moritz Barsnick
libavformat/movenc.c | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) libavformat/flvenc.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) In the spirit of commits 1b5bd4051d1e394f0429cbf6cf6c137f55857478 and

Re: [FFmpeg-devel] [PATCH] lavf: add automatic bitstream filtering; bump version

2015-12-13 Thread Michael Niedermayer
On Fri, Dec 04, 2015 at 09:03:05PM -0600, Rodger Combs wrote: > This solves the problem discussed in > https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html > by allowing AVCodec::write_header to be delayed until after packets have been > run through required bitstream filters in

[FFmpeg-devel] [PATCH] lavf: add automatic bitstream filtering; bump version

2015-12-04 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by