Using and configuring ffmpeg

I Installed ffmpeg on openwrt, connected usb camera and wrote this command
ffmpeg -f v4l2 -input_format yuyv422 -framerate 30 -video_size 640x480 -i /dev/video0 -f mpegts udp://
but i can't access the stream from network stream in vlc when i type this i
or this
how can i fix it and access stream ?

Maybe try setting it up as an rtsp stream (rtsp://

does it need packages to be installed ?

Ffmpeg should already have this functionality.

I typed as you said and here is the output

Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 22055.949951, bitrate: 147456 kb/s
  Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn
rtsp:// Protocol not found

Did you consult the ffmpeg documentation?


Not yet i will consult it.
Thank you.