[Ffmpeg-devel] Writing a video from char buffer

Michael Niedermayer michaelni
Mon May 30 17:25:37 CEST 2005


Hi

On Monday 30 May 2005 12:34, Alexandre Parent wrote:
> Hi all,
>
> I am new subscriber to the mailing list, and I need some wise advises
> for writing  a video.
> I wrote a writing Class and I would use it like this :
[...]
> Unfortunately my class seems to work but the output file is unreadable.
> (I try the MPEG4 format)
> My problem is that I don't know what minimals structures I must use to
> make my class Working.
> Maybe I'm confusing the data to encode with the container, but I'm not
> very aware of these tricks and
> would be glad if someone could enlightened me on these points.
> Do I have to work on the streams, on the file, on the codec context ???
>
> I tried to be clear but as I don't know how to use correctly the ffmpeg
> lib, maybe it's a mess.

see libavcodec/apiexample.c and output_example.c

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list