I am using intel media SDK jpeg encoder, and passing the encoded frames to the below gstreamer pipeline.
appsrc caps='image/jpeg,width=1920,height=1080,framerate=30/1' ! splitmuxsink muxer=matroskamux max-size-time=10000000000 location=video_%05d.mkv.
and the file is not splitting. and when i stop the application one big file is created.
I tried avc,hevc encoders with the same gstreamer pipeline it(file splitting) works.
And I also tried using gstreamer-media-SDK mfxjpegenc with the below commandline pipeline ..
gst-launch-1.0 v4l2src ! video/x-raw,width=1920,height=1080,framerate=60/1,format=YUY2 ! mfxjpegenc ! splitmuxsink muxer=matroskamux max-size-time=10000000000 location=video_%05d.mkv.
and the file is not splitting.
And if I use jpegenc (not mfxjpegenc) with the same gstreamer pipeline it(splitting) works.
Please help me solving this problem.
Thanks for asking.
My test case is, I read YUY2(raw) frames from camera and use Intel media SDK motion JPEG encoder to encode, and create file. Split 10 secs once upload to server. I am using gstreamer splitmuxsink to split files after every 10 secs.
Sorry to ask but I want some more information to help you: