1 Jun 2004 01:09
Re: Encoding repeated frames - can I pass a NULL?
Claudio da Silveira Pinheiro <claudio <at> stctecnologia.com.br>
2004-05-31 23:09:07 GMT
2004-05-31 23:09:07 GMT
Em Seg 31 Mai 2004 19:56, Måns Rullgård escreveu: > Claudio da Silveira Pinheiro <claudio <at> stctecnologia.com.br> writes: > > av_write_frame(movie->oc, movie->video_st->index, movie->video_outbuf, > > out_size); > > That was changed to use an AVPacket a couple of days ago. I'm using ffmpeg 0.4.8 (I need ffserver and have no idea about how to fix it in CVS). > > Can we encode a P-Frame passing a NULL to movie->video_outbuf and 0 to > > out_size? > > If the size is 0, how could it encode anything at all? That's the point. It shouldn't spend any time at all. The idea is if the frame is repeated and I know it is, passing a NULL to movie->video_outbuf and 0 to out_size could mean there's no need to analize the buffer, and it could generate instead a P-frame with no movement at all. As av_write_frame seems to behave differently, I was wondering about a way to tell to my program to send a P-frame with no movement. Cláudio ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click(Continue reading)
RSS Feed