[FFmpeg-devel] [PATCH] libavformat/qsvenc: fix mpeg2 missing headers

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Wed May 15 22:30:00 EEST 2019


Reimar Döffinger:
> On Wed, May 15, 2019 at 09:39:00AM +0000, Andreas Rheinhardt wrote:
>>> This problem really needs to be solved. The bitstream generated breaks the standard!
>>>
>> If I am not mistaken, then the bitstream generated doesn't break the
>> standard; it is just inconvenient for streaming purposes.
> 
> (sorry if it's nonsense, I did not investigate in detail)
> If the problem to solve is to ensure headers are regularly
> repeated, that does not sound like a QSV-specific problem
> and more a job for a bitstream filter.
> There might even be code like that already for the
> case when we convert from formats with global headers
> to formats like MPEG-TS that want them repeated.
There's actually a dump_extra bitstream filter.

- Andreas


More information about the ffmpeg-devel mailing list