[x264-devel] x264 encode fire SIGSEGV

Ján Roško main at ravel.sk
Tue Feb 16 13:57:32 CET 2016


Hi,

in attachment is my testing X264Encoder class. When i use this class 
create via new X264Encoder* variable call opend and next call encode 
SIGSEGV is raised.

     X264Encoder *enc = new X264Encoder();
     enc->open("test.mp4", 1920, 1080, 25);

and now calling

     enc->encode(data);    //data is pointer (char*) tor raw YV12 data 
buffer - this raise SIGSEGV

Read more in attached x264encoder.cpp "encode" method.

Regards,
Jan Rosko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264encoder.cpp
Type: text/x-c++src
Size: 4018 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20160216/ab694c79/attachment-0001.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264encoder.h
Type: text/x-chdr
Size: 1283 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20160216/ab694c79/attachment-0001.h>


More information about the x264-devel mailing list