This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Run two video webcam feeds in two different windows | |
| # Script assumes that: | |
| # Microsoft LifeCam Studio is video0 | |
| # Logitech c920 is video1 | |
| # Both cameras run max 1920x1080 MJPG, but two have both on a USB bus they can run @ 1280x720 max | |
| # MS is made a little smaller | |
| # text overlay and clockoverlay may be added to the pipeline, but render poorly | |
| VELEM="v4l2src device=/dev/video0 do-timestamp=true" | |
| VCAPS="image/jpeg, width=640, height=480, framerate=30/1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # play YUV444 FULL HD file | |
| gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ | |
| videoparse width=1920 height=1080 framerate=25/1 format=GST_VIDEO_FORMAT_Y444 ! \ | |
| videoconvert ! \ | |
| autovideosink | |
| # play YUV422 FULL HD file | |
| gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ |