[Libav-user] avcodec_encode_video2 problem

Nicolas George nicolas.george at normalesup.org
Sat May 4 09:53:08 CEST 2013

Le quintidi 15 floréal, an CCXXI, mohM a écrit :
> I'm starting from a working encode very similar to
> examples/decoding_encoding.c but I'm now wanting to add sound, so I'm trying
> to get examples/muxing.c to work for my purposes but no luck as of yet. For
> some reason avcodec_encode_video2 is returning 0 (success according to
> documentation), yet giving me a blank got_packet pointer which means the
> packet data is blank.

Depending on your setup, this may be perfectly normal: a lot of codecs want
to wait for more frames before making encoding decisions.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130504/1e1aa694/attachment.asc>

More information about the Libav-user mailing list