jujulj a écrit :
> ok, I get more realistic values for the decoded samples using int16_t
> rather than uint8_t!
> But I still only get 50680 values, and there are long sequences of 0s
> in the decoded values.
>
> Any ideas?
>
> thanks
> jul
>
> On Wed, Apr 2, 2008 at 2:57 PM, jujulj <[EMAIL PROTECTED]> wrote:
>
>> hi again,
>>
>> when I write the samples values before and after the encoding/decoding
>> in apiexample.c, I get very different values. I don't expect the
>> values to be exactly equal, because of the encoding/decoding process,
>> but they are really different. Moreover, samples contains 460800
>> values (about 5s, 44.1kHz stereo), while the decoded values array
>> contains only 50288 values.
>>
>> The modified apiexample.c is attached, as well as the 5000 first
>> values 1/of the samples, 2/the decoded samples.
>>
>> Anybody can help?
>>
>> thank you
>>
>> jul
>>
>>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
>
hi, jujul
as I'm just beginning to learn libavformat and libavcodec, I might not
be very useful. But, I saw in ffmpeg.c that he uses both
avcodec_register_all() and av_register_all(). As you replaced the first
one by the second, I wonder if this could cause your troubles now ?
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user