From: Peter Buelow <goballstate@gm...> - 2011-09-03 00:31:27
So far, I can get gst-launch to dump a video capture to a file without
issue (the quality is quite good). The board is an Overo Fire, and the
cam is a v4l2 Chicony UVC camera. However, I seemingly cannot get it to
stream off the board. Running gst-launch on the remote doesn't produce
an error, but no video ever appears, and I can't see any IP traffic when
sniffing with wireshark. IP is working though, as I can ssh in and out
of the Overo, plus pings work inbound and outbound. I don't have
iptables installed, so there isn't or shouldn't be a firewall enabled.
Commands I'm using are below. No errors are seen when the commands are
gst-launch -v v4l2src !
video/x-raw-yuv,width=640,height=480,framerate=30/1 ! ffmpegcolorspace !
TIVidenc1 codecName=h264enc engineName=codecServer ! dmaiperf
engine-name=codecServer ! rtph264pay pt=96 ! udpsink host=desktop port=1234
The hostname desktop resolves, but the same command doesn't work with
the IP address for desktop either. I'm assuming the host= should be the
UDP destination address in this case.
On the machine desktop, the following command produces no error, but no
gst-launch -v udpsrc port=1234 caps="application/x-rtp,
media=(string)video,clock-rate=(int)90000, encoding-name=(string)H264" !
rtph264depay ! ffdec_h264 ! xvimagesink sync=false
copying the caps line from the Overo gst-launch command doesn't work
either, as gst-launch just complains about the format, although I'll
continue to look into that.
Basically, I just want to stream from the Overo to a webserver to
provide a simple video out from a local USB camera so I can watch my dog
during the day. I'm hoping this is easy to fix. Thanks for any help.
I would simplify your pipeline first. Remove dmaiperf and rtp, connect
TIVidenc1 straight to udpsink, then on the other side simply use decodebin2
in between udpsrc and xvimagesink, no caps and no rtp depay.
View this message in context: http://old.nabble.com/gst-launch-streaming-tp32390380p32417075.html
Sent from the Gumstix mailing list archive at Nabble.com.