-
Notifications
You must be signed in to change notification settings - Fork 51
How to add jpegenc (to generate snapshot) and splitmuxsink (to generate video) together in a single pipeline? #120
Comments
You can probably use jpegenc and multifilesink to save .jpg images, ex
|
I want to save jpg based on post-processing. I don't want to save each frames that's why I have used ImageCapture class in pipeline to save the particular snapshots only. What you have suggested will capture the image every frame is not required in my case. |
There seems to be an interaction between the x264enc and the queue that stalls the pipeline (in my local experiments). Using vaapi elements I was able to get the output correctly. You may try putting a queue after the second t branch. The other thing to note is if you name the splitmuxsink element as splitmuxsink - pipeline server will set the location automatically to include the timestamp for the recording. attaching the pipeline.json file and save_jpeg.py file for reference.
|
@nnshah1
How to add jpegenc (to generate snapshot) and splitmuxsink (to generate video) together in a single pipeline?
I am able to add jpegenc or splitmuxsink separately in pipeline and its running properly. But if I add both together in a single pipeline Its generate snapshot only and video with 0 byte in size.
I have tried multiple combination for this issue. But not able to solve.
Here is the pipeline:
The text was updated successfully, but these errors were encountered: