Thank you, Edwin. I will give it a try.

Clive

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Edwin van der
Horst
Sent: 31 March 2009 09:01
To: Libav* user questions and discussions
Subject: Re: [libav-user] Writing single frames to JPEG

Clive,

I still think using the MJPEG codec might work for you, as you can
encode just a single frame using the codec,
which essentially just works as an JPEG encoder, it only uses p-frames
(in other words, full JPEG files frames as output
decode the correct frame you wish to encode to jpeg, set the encoder
parameters, and call the encode function.

Good luck,

Edwin


On Tue, Mar 31, 2009 at 1:54 AM, Mark Heath <[email protected]>
wrote:
>
> On 31/03/2009, at 10:47 AM, Clive Taylor wrote:
>>
>
>> That's my new task. I'm already using libavformat, etc in my code to
>> read the frames, and I've adapted the frame accurate seek library
code,
>> too. The whole lot is running under Windows, but Linux and OS/X
versions
>> are needed.
>>
>> I thought the really hard part was solved until I tried to work out
how
>> to save a single frame as a JPEG.
>
> Maybe look at the jpeg library.
>
> http://www.ijg.org/
>
> Mark
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user


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

Reply via email to