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
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
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
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
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