[Libav-user] Copy Image Data from Decode Frame To Encode Frame
jpboard2 at yahoo.com
Sat Sep 14 21:12:22 CEST 2013
>> Also, if the input and output file have the same pixel format, is there a
>> simple way to copy the data from one to the other?
>You don't need to copy data between frames, you can reuse the decoder frame as input for encoder.
Okay. I will try this (actually, I tried it and it didn't work, but I probably didn't do it right).
Also, I was able to figure out my main question with the scale functions.
I have another question. If my input frames are YUV422P compressed with ffvhuff
and my output frames are also YUV422P compressed with ffvhuff, can I somehow
copy them directly from input file to output file without decoding them? Maybe
copy the packet directly? I'm currently using AVI containers. Is this dependent on
what container I choose? If so, is there some container that allows this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user