How can I stream video with gstream in YUYV format

I’m trying to create a pipeline using gstream. The specs of the camera I use are as follows:

gst-launch-1.0 -v v4l2src device=/dev/video0 ! rawvideoparse use-sink-caps=false width=500 height=400 format=y422 ! autovideosink

Why is this pipeline not working? What is the correct command? I would be glad if you help.