[FFmpeg-devel] [PATCH] h264 bitstream filter

Benoit Fouet benoit.fouet
Thu Aug 30 14:09:19 CEST 2007


Benoit Fouet wrote:
> M?ns Rullg?rd wrote:
>   
>> Benoit Fouet wrote:
>>     
>>> 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...
>>
>>   
>>     
>
> i was more thinking of (re)allocation, copying...
> i think i'll try to use private data allocated by the bsf, as it will be
> released by av_bitstream_filter_close
> i'll come back soon with an updated patch, to illustrate.
>
>   

here it is...

-- 
Ben
Purple Labs S.A.
www.purplelabs.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: h264_bsf.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070830/2eaa9def/attachment.asc>



More information about the ffmpeg-devel mailing list