[Libav-user] pack H.264 NALUs to frame

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Apr 10 00:36:23 EEST 2020


Am Do., 9. Apr. 2020 um 22:31 Uhr schrieb Клыков Николай via
Libav-user <libav-user at ffmpeg.org>:

> Is there any way to pack H.264 NALUs with 0x00000001 delimiter to complete frame via C++.
> I know it works with command line ( ffmpeg -i raw.264 -vcodec copy out.avi ), but i need to
> send complete frames to decoder. If there is no api, which source files contain that algoritm?

Are you searching for the h.264 parser (that has an api)?
There are also bitstream filters that deal with h.264 frames.

Carl Eugen


More information about the Libav-user mailing list