Quoting Andrey Turkin (2016-05-25 14:26:43) > I am using that. It's pretty old code; idea was to configure codec context > in its own C++ wrapper and then either just use it and get raw bitstream > out, or to attach codec wrapper to avformat wrapper (which would create its > own codec context attached to muxer, copy all the configuration from > original codec context and open this new context). It worked fine for few > years until I tried to add HW accel support and it blew up. > Anyway, it is going to be deprecated, and AVCodecParameters API gives me a > much nicer alternative; definitely gonna migrate over when I have the time. > Only remaining link from avformat to avcodec would be the "global header" > setting; I wonder if it is be eliminated somehow too (I imagine a bitstream > filter could be written to get extradata and put it in-band in a > codec-specific manner).
The muxer does not need to know about global headers, does it? It just exports a flag whether they are required and it's the caller's responsibility to generate the bitstream accordingly. Or is there something more to it? -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
