I have an application that uses the libavcodec API to write video files.  It 
allows me to use all the various encoders that libavcodec supports using a 
single code base and all I have to do is change the codec and the codec's 
parameters.  I also need to write out AVI's encoded with cinepak using the 
iccvid.dll codec.  



My code currently uses...

pCodec = avcodec_find_encoder( selected_codec  );
avcodec_encode_video( pCodecCtx, buffer, numBytes, pFrame );
av_write_frame( pFormatCtx, &pkt );

To select an encoder, encode, and write frames, which works great.  Can I use 
this same code to encode using iccvid.dll or must I use completely reimplement 
this to encode with that codec?  If so, would someone happen to have some 
sample 
code that  shows how to accomplish this?

Thanks,


      
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to