I am trying to capture video(alongwith audio) from a webcam.
I need to record the video and save it to a file,for further processing.
Would like to do it through CLI.
Any ideas how to do it using ffmpeg or gstreamer.
I am getting these errors:
1.gstreamer:- erroneous pipeline: no element "xvimagesink".
2.ffmpeg :- unable to find suitable output format for video4linux2.
Any help is appreciated.