[FFmpeg-devel] [PATCH] h264 bitstream filter
Måns Rullgård
mans
Thu Aug 30 12:08:54 CEST 2007
Benoit Fouet wrote:
> is there a function accessible to the bitstream filter than can get me
> the NALU type ? or do i have to do it on my own in the filter ?
The low 5 bits of the first byte of a NAL unit hold the type.
> i also think that i can "construct" the sps/pps NALU only once, instead
> of doing it every time, but i don't know how to do it, as bsfs don't
> have a cleanup function...
Well, prepending 00 00 00 01 isn't all that much work...
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list