[M4IF Technotes] Re(RE) yuv2avi
anna
miro_anna yahoo.fr
Wed Apr 9 19:56:56 EDT 2003
Hello
think you for the answer , i've installed avilib and i
create file .c. In your source i dont understand where
i place the name for my file yuv. for example i have
"akiyo.yuv" input file et and i would to have in the
output "anna.avi":) . i give you an example :
#include "avilib.h"
void main()
{
avi_t* pAviHandle;
char VideoFmtYV12[4] =
{
'Y','V','1','2'
};
pAviHandle = AVI_open_output_file("anna.avi");
if(! pAviHandle)
{
printf("avi file open failed \n");
return -1;
}
AVI_set_video(pAviHandle,352,288,25,VideoFmtYV12);
do {
AVI_write_frame(pAviHandle,akiyo.yuv);
} while(1)
// close open file
AVI_close(pAviHandle);
}
I dont understand where i declared the path of my
input and output file .
If it is possible give me an complete source for this
programme that work. and why i will compile it.
think you for help :)
anna
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
More information about the Mp4-tech
mailing list