I have the following gstreamer pipeline:
gst-launch-1.0 filesrc location=input.mkv ! matroskademux ! v4l2jpegdec ! v4l2h264enc extra-controls='controls, h264_profile=4, video_bitrate=2500000' ! 'video/x-h264, profile=high, level=(string)4' ! h264parse ! matroskamux ! filesink location=output.mkv
which I use to encode a video from the command line, but I can’t make it end the process when the conversion ends, but until I give it ctrl+c, but I want to know if the process ends once the conversion is finished conversion.
If you let me know something about it, it would be of great help, thanks in advance.