FunWithElectronics.com
          - Collection of Information for those with Electronics as a Hobby
Up one level (Linux command line)

Gstreamer





Crop video:

gst-launch-1.0 filesrc location=videos/fin.mkv ! decodebin name=demux ! videocrop top=400 left=550 right=650 bottom=200  ! x264enc bitrate=2000 ! mpegtsmux ! filesink location=test.mkv

From gphoto2 camera to V4L2 source:

sudo apt install v4l2loopback-dkms
sudo modprobe v4l2loopback exclusive_caps=0
gphoto2 --capture-movie --stdout | gst-launch-0.10 fdsrc ! decodebin2 name=dec ! queue ! ffmpegcolorspace ! v4l2sink device=/dev/video1



Add a comment:

Fill in number
Name:
Title:
Text:
 


Privacy | Contact