I am trying to stream Mat data to output video using gstreamer buffer, but
facing issues while doing so.
tatic GMainLoop *loop;
int count = 0;
GstElement *pipeline, *conv;
GstElement *src, *decoder, *sink , *encoder , *qtmux , *filter;
int sourceid = 0 , num_samples = 0;
The above code works fine when the sink is xvimagesink, the video renders
properly onto the xwindow, but with sink as filesink there is an issue
creating the output file.
running this commmand on the output video gives below info:
Done discovering file:final_output.mp4
An error was encountered while discovering the file
This file contains no playable streams.
I could only suspect the problem with encoding , could anyone correct me if
I am doing anything wrong while encoding the video stream to write onto the