[Libav-user] get compressed frame sizes without decoding
Carl Eugen Hoyos
ceffmpeg at gmail.com
Fri May 18 10:51:26 EEST 2018
2018-05-18 6:52 GMT+02:00, Martin Belleau <martin.belleau at gmail.com>:
> I see that, when decoding video frames from a source file,
> AVFrame::pkt_size contains the compressed size for each frame.
I would have expected that this is not correct, ie that you get the
pkt_size by demuxing the source file and that decoding is not
necessary.
Note that one packet does not necessarily equal to one frame,
think of PAFF.
Carl Eugen
More information about the Libav-user
mailing list