
gst-launch-1.0 -e multifilesrc location="%04d.jpg" caps="image/jpeg,framerate=1/1" ! jpegdec ! x264enc bitrate=1000 key-int-max=2 ! avimux ! filesink location="out264_1.avi"


gst-launch-1.0 -e multifilesrc location="%04d.jpg" caps="image/jpeg,framerate=1/1" ! jpegdec ! x265enc bitrate=1000 speed-preset=2 key-int-max=2 ! h265parse ! filesink location=out265.h265  
