<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="RIGHT: auto" class=y_msg_container>>>On 9/5/13, James Board <<A href="mailto:jpboard2@yahoo.com" ymailto="mailto:jpboard2@yahoo.com">jpboard2@yahoo.com</A>> wrote:<BR>>> Is there a way to use libav to encode and decode a single frame of<BR>>> image data with a lossless codec such as ffvhuff? I know this can<BR>>> be done with video. But if I have a single frame of image data stored<BR>>> in a ppm or pnm file, can I read it into my libAV program, compress with<BR>>> the ffvhuff codec, and then write the compressed output to a file? And<BR>>> later, do the reverse?<BR>><BR style="RIGHT: auto">>Not with ffvhuff (but it can be added), but with ffv1:<BR>></DIV>
<DIV style="RIGHT: auto" class=y_msg_container>>ffmpeg -i input out%d.ffv1-img<BR></DIV>
<DIV style="RIGHT: auto" class=y_msg_container>Thanks. Can I do it with the libav API?</DIV>
<DIV style="RIGHT: auto" class=y_msg_container><VAR id=yui-ie-cursor></VAR> </DIV>
<DIV style="RIGHT: auto" class=y_msg_container> </DIV>
<DIV style="RIGHT: auto" class=y_msg_container> </DIV></DIV></DIV></div></body></html>