gst-launch-1.0 videotestsrc num-buffers=150 ! video/x-raw,width=640,height=480,format=I420 ! filesink location=a.yuv
./video_encode a.yuv 640 480 H264 a.h264
it will save a a.h264 file
…/00_video_decode/video_decode H264 a.h264 can show the video
but windows media player cant not open it ?
how to save it to enable wmp to open it ?