You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried this example: cpp-cheat/ffmpeg/encode.c
It works with 320x240 but doesn't work if I change the size to 1280x720. I get segmentation fault. But why? How to work with 720p size and more?
There's some problem with this line: sws_scale( sws_context, ( const uint8_t * const * ) &rgb, inLinesize, 0, frame->height, frame->data, frame->linesize );
it returns me segmentation fault only with the: 1280x720. As for 320x240 - all works fine.