[x264-devel] Encoding frames with libavcodec
Jason Garrett-Glaser
jason at x264.com
Fri Dec 7 15:06:57 CET 2012
On Fri, Dec 7, 2012 at 1:56 AM, Dolevo Jay <cmst at live.com> wrote:
> Hi Jason,
>
> Is there any way of exporting some statistics from the encoder? For example,
> I want to get the SSIM result of every frame. I know there is a way of doing
> it (b_ssim=1;) but I want to have it in my variable. Thanks.
>
> Jay
>
>> From: jason at x264.com
>> Date: Tue, 4 Dec 2012 08:05:51 -0800
>
>> Subject: Re: [x264-devel] Encoding frames with libavcodec
>> To: cmst at live.com
>>
>> On Tue, Dec 4, 2012 at 12:29 AM, Dolevo Jay <cmst at live.com> wrote:
>> > Hi Jason,
>> >
>> > I have read a lot after your last email and now I have a running code.
>> > However, I have a small problem in the decoder side and I need again
>> > your
>> > help. When I call avcodec_decode_video2, I got the following error:
>> > [h264 @ 00344fe0] no frame
>>
>> x264 outputs video in annex-B format by default -- you probably have
>> to demux (using libavformat) before sending it to
>> avcodec_decode_video2. Either way, this is an ffmpeg question, not an
>> x264 question; you might have better luck on the correct mailing list.
>>
>> Jason
Grep f_ssim in x264.h.
Jason
More information about the x264-devel
mailing list