View Single Post
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#3
Actually I got kind of curious, so I installed it:

Code:
sudo apt-get update && apt-get install gstreamer-tools
It seemed to be working but I ran into this cryptic error message pretty soon.

~ $ gst-launch v4l2src ! ffmpegcolorspace ! udpsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
ERROR: from element /GstPipelineipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' cannot capture at 2592x1968
Additional debug info:
gstv4l2object.c(1919): gst_v4l2_object_set_format (): /GstPipelineipeline0/GstV4l2Src:v4l2src0:
Call to S_FMT failed for YUYV @ 2592x1968: Device or resource busy
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

I am not sure wheather my test command was sufficient enough or that I should have sent te output to localhost somewhere.

Time to sleep. No cam needed.

Edit: note this was the feedback on the terminal screen. the standard error output redirected to a file was even more lovely: only mentioned the pipeline didn't want to preroll.

Code:
~ $ gst-launch v4l2src ! ffmpegcolorspace ! udpsink 2> gst-errors.txt

Last edited by anthonie; 2013-02-05 at 00:45.
 

The Following 2 Users Say Thank You to anthonie For This Useful Post: