I basically just based my code loosely on the examples in the source. I wrote PIX_FMT_YUVJ420P data to the video stream and set the target codec to CODEC_ID_MJPEG, and then av_guess_format() to set up the output format.
On Tue, Oct 9, 2012 at 6:09 AM, pstreef <[email protected]> wrote: > Hi, > > I was wondering how you achieved this, because i've been looking at how to > do this, but so far i've not found a good example. > > Can you perhaps point me in the right direction or even send me some > sourcecode? > I'm looking to put (allready compressed) mjpeg data into a mp4 container. > Audio will follow later. > > I hope you can help me > Best regards > Peter Streef > > > > -- > View this message in context: > http://libav-api.1054858.n5.nabble.com/libav-api-MJPEG-in-MP4-tp5159578p5706564.html > Sent from the libav-api mailing list archive at Nabble.com. > _______________________________________________ > libav-api mailing list > [email protected] > https://lists.libav.org/mailman/listinfo/libav-api _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
