Код: Выделить всё
#include
#include
#include
static GstFlowReturn cb_new_sample(GstAppSink *appsink, gpointer user_data) {
// Get the sample
GstSample *sample = gst_app_sink_pull_sample(appsink);
if (!sample) {
std::cerr
Подробнее здесь: [url]https://stackoverflow.com/questions/78434934/gstreamer-unable-to-obtain-mp4-video-frames[/url]
Мобильная версия