Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Prasad__Nagendra
Beginner
161 Views

Intel mdia SDK jpeg encoder with gstreamer splitmuxsink not working

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.

 

0 Kudos
3 Replies
Mark_L_Intel1
Moderator
161 Views

Hi Prasad,

I am trying to understand your test, do you want an mkv file encoded by motion JPEG input and output a series of JPEG file output?

Mark

Prasad__Nagendra
Beginner
161 Views

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.

Mark_L_Intel1
Moderator
161 Views

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

Reply