[Libav-user] Encoding and Decoding Single Frames with libAV
jpboard2 at yahoo.com
Thu Sep 5 18:53:45 CEST 2013
>>On 9/5/13, James Board <jpboard2 at yahoo.com> wrote:
>> Is there a way to use libav to encode and decode a single frame of
>> image data with a lossless codec such as ffvhuff? I know this can
>> be done with video. But if I have a single frame of image data stored
>> in a ppm or pnm file, can I read it into my libAV program, compress with
>> the ffvhuff codec, and then write the compressed output to a file? And
>> later, do the reverse?
>Not with ffvhuff (but it can be added), but with ffv1:
>ffmpeg -i input out%d.ffv1-img
Thanks. Can I do it with the libav API?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user