Aha! That's very handy. Got it compiled by adding a few extra casts, looks like
it should contains everything I need. Thanks!
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Luca Abeni
Sent: Thu 31/07/2008 11:03
To: Libav* user questions and discussions
Subject: Re: [libav-user] Encoding video directly from RGB (or YUV)
Hi,
Bruce Weir wrote:
> Hello, I have just started using libav* in order to encode FLV format video
> directly from RGB images captured from an HD capture card. For various
> reasons, it is not possible to use ffmpeg to do the conversion, so I need to
> write my own little conversion program.
> I have been through the various tutorials, but they cover decoding, rather
> than encoding, and I haven't been able to find anything appropriate in the
> libav-user archives.
> So... could anyone give me a pointer on where to begin, or even better a few
> lines of code?
> I think that what I really need to know is how to set up a AVCodecContext and
> populate an AVFrame.
See output_example.c
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user