GSCAM_CONFIG for IP camera from gst-launch
Hi all,
I have a IP camera in my lab that I am able to access and record videos using gstreamer with gst-launch. I use the following command to record an mkv video file from the camera:
gst-launch -e souphttpsrc location='http://<camera_ip>/control/faststream.jpg?stream=full' do-timestamp=true ! multipartdemux ! image/jpeg,width=640,height=480 ! matroskamux ! filesink location=video.mkv
For ros gscam, I need to set GSCAM_CONFIG on my bashrc file. The default for USB cams is given on the wiki:
export GSCAM_CONFIG="v4l2src device=/dev/video0 ! video/x-raw-rgb,framerate=30/1 ! ffmpegcolorspace"
As far as I can tell, the pipeline for our IP camera that I have given at top is the only one which seems to work. Could someone help me on how to come up with the correct GSCAM_CONFIG for this IP camera so that I can get the video published as rostopics?
I am running ROS Hydro on Ubuntu 12.04 32-bit.
Thanks.