[Libav-user] avcodec_encode_video2 problem
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the Libav-user