Hi,
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.
連結已複製
Hi Mark,
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.
Thanks.
Hi Prasad,
Sorry to ask but I want some more information to help you:
- Could you try this with our sample code? If the sample code can do MJPEG encode, then this should be the porting layer problem of GStreamer. Since you are using it through GStreamer, I need to figure out if this is GStreamer or Media SDK or in-between problems.
- How do you install GStreamer and enabled QSV? There are several QSV plugins and I want to know which one you chosen.
Mark
