HelloI have some problem with avcodec_encode_video(). I have sent an email 
to [libav-user] with this subject: [libav-user] avcodec_encode_video 
segmentation fault but i have not received any answer.Could you find any 
solution for your problem?I write my code in C and use GCC. this is my 
code: http://pastie.org/1029399Error is segmentation fault.
ThanksBayati

More explanation:There exists a variable, outbuf_size. When I initialize with 
100000 or more, segmentation fault occurs, but when initialize with 10000 or 
less it displays this message in output console: [NULL @ 0x8da49b0]buffer 
smaller than minimum size
Thanks again
--- On Tue, 6/29/10, Дима Вилисов <[email protected]> wrote:

From: Дима Вилисов <[email protected]>
Subject: [libav-user] error in function avcodec_encode_video()
To: [email protected]
Date: Tuesday, June 29, 2010, 7:15 PM

Hi,
I am codding in Microsoft Visual C++ 2010 Express 

I have a little problem

When I try to put the codecs in the function avcodec_encode_video(), an 
error occurs while reading codecs from stream. If I create new thread, codecs 
cannot be read from the flow

ERROR: Unhandled exception "0x00000000" to "Vidos.exe": 0xC0000005: Access 
violation reading "0x00000000".

this is my code "http://pastie.org/1023282";

What's wrong?

Alex
_______________________________________________
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