Check output_example.c which can be found in the ffmpeg directory. It
encodes video and audio in a file specified on the command line.
Since you are compiling for C++, remember to include the libavcodec
headers within an
extern "C"
{
#include <avformat.h>
etc
etc
}
brace in your final application.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Vishal Nandanwar
Sent: 23 February 2009 06:29
To: [email protected]; [email protected]
Subject: [libav-user] How to encode video frames using ffmpeg in
application
Hi,
I have gone through the documentation of ffmpeg and found it can be used
from command prompt.
I am developing a C++ application on MAC to encode video. I have
sequential video frames in RAM memory which I want to encode and store
it on disk. Does ffmpeg explore any headers using which I can directly
encode video stream one by one and store it on disk? Can we encode a
video frame one by one and store it on movie file on disk
simultaneously?
Please let me know the link off document which explain how to use ffmpeg
in C/C++ application to encode video.
Vishal N
_______________________________________________
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