' Change the camera IP address and configuration as needed. Now clearly the pipelines vary depending on your exact circumstance, but some general rules ring true - such as you always need at-least one source and sink and generally if you have encoded a video you will also want to mux it.Įdit: I should also note that it has a C SDK for those who wish to use it as part of a C/C++ application as I have. Check if the IP cameras were found and listed Right-click the camera and choose 'Network Configuration. gst-launch v4l2src ! x264enc ! matroskamux ! filesink location=webcam.mkv For example the following pipeline would capture video from a webcam and save it as a H264 encoded MKV file. It is a little daunting to use at first, when using it from the command line it operates on a pipeline basis similar to the console itself. It is included in the package management repositories of all major Linux distributions I have encountered, although it may come as a series of different packages (Good, Bad Ugly) due to licensing issues. It has a variety of plug-ins that can be used to capture, manipulate, transcode, etc. Under Linux I have found GStreamer incredibly powerful in the work I have been recently doing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |