setenv bootargs 'console=ttyS0,115200n8 rootfs=/dev/nfs ip=192.168.1.111:192.168.1.1:255.255:255.0 nfsroot=192.168.1.170:/home/zfang/dm3730-targetfs rw rootdelay=3 mem=55M@0x80000000 mpurate=1000 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:4M mem=128M@0x88000000 rootwait'
gst-launch -e ticapturesrc device=/dev/video0 video-standard=pal capture-input=composite queue-size=3 ! tee name=t ! queue ! tidisplaysink2 t. ! queue ! TIVidResize numOutputBufs=2 ! video/x-raw-yuv,width=352,height=288 ! TIVidenc1 codecName=h264enc engineName=codecServer resolution=352x288 bitRate=1000000 framerate=25/1 iColorSpace=UYUV byteStream=true !queue ! rtph264pay pt=96 ! udpsink host=192.168.1.37 port=5555 t. ! queue ! TIVidenc1 codecName=h264enc engineName=codecServer resolution=720x576 bitRate=2000000 framerate=25/1 iColorSpace=UYUV byteStream=true ! dmaiperf engine-name=codecServer print-arm-load=true !filesink location=encode_720x576.264 -v
gst-launch -e ticapturesrc device=/dev/video0 video-standard=pal capture-input=composite ! video/x-raw-yuv,width=720,height=576,framerate=25/1 ! tee name=t ! queue ! ffmpegcolorspace ! queue ! tidisplaysink2 t. queue ! TIVidenc1 codecName=h264enc engineName=codecServer resolution=720x576 bitRate=2000000 framerate=25/1 byteStream=true ! queue ! rtph264pay pt=96 ! udpsink host=192.168.1.44 port=5555
终端视频采集编码后网络发送
gst-launch v4l2src device=/dev/video0 always-copy=false queue-size=12 ! video/x-raw-yuv,width=720,height=576 ! TIVidenc1 codecName=h264enc engineName=codecServer resolution=720x576 bitRate=2000000 framerate=25/1 byteStream=true ! queue ! rtph264pay pt=96 ! udpsink host=192.168.1.44 port=5555
PC上接收(OK)
gst-launch-0.10 udpsrc port=5555 ! application/x-rtp, clock-rate=90000,payload=96 ! rtph264depay queue-delay=0 ! ffdec_h264 ! ffmpegcolorspace ! xvimagesink
setenv bootargs 'console=ttyS0,115200n8 rootfs=/dev/nfs ip=192.168.1.111:192.168.1.1:255.255:255.0 nfsroot=192.168.1.170:/home/zfang/dm3730-targetfs rw rootdelay=3 mem=55M@0x80000000 mpurate=1000 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:4M mem=128M@0x88000000 rootwait'
gst-launch -e ticapturesrc device=/dev/video0 video-standard=pal capture-input=composite queue-size=3 ! tee name=t ! queue ! tidisplaysink2 t. ! queue ! TIVidResize numOutputBufs=2 ! video/x-raw-yuv,width=352,height=288 ! TIVidenc1 codecName=h264enc engineName=codecServer resolution=352x288 bitRate=1000000 framerate=25/1 iColorSpace=UYUV byteStream=true !queue ! rtph264pay pt=96 ! udpsink host=192.168.1.37 port=5555 t. ! queue ! TIVidenc1 codecName=h264enc engineName=codecServer resolution=720x576 bitRate=2000000 framerate=25/1 iColorSpace=UYUV byteStream=true ! dmaiperf engine-name=codecServer print-arm-load=true !filesink location=encode_720x576.264 -v
gst-launch -e ticapturesrc device=/dev/video0 video-standard=pal capture-input=composite ! video/x-raw-yuv,width=720,height=576,framerate=25/1 ! tee name=t ! queue ! ffmpegcolorspace ! queue ! tidisplaysink2 t. queue ! TIVidenc1 codecName=h264enc engineName=codecServer resolution=720x576 bitRate=2000000 framerate=25/1 byteStream=true ! queue ! rtph264pay pt=96 ! udpsink host=192.168.1.44 port=5555
终端视频采集编码后网络发送
gst-launch v4l2src device=/dev/video0 always-copy=false queue-size=12 ! video/x-raw-yuv,width=720,height=576 ! TIVidenc1 codecName=h264enc engineName=codecServer resolution=720x576 bitRate=2000000 framerate=25/1 byteStream=true ! queue ! rtph264pay pt=96 ! udpsink host=192.168.1.44 port=5555
PC上接收(OK)
gst-launch-0.10 udpsrc port=5555 ! application/x-rtp, clock-rate=90000,payload=96 ! rtph264depay queue-delay=0 ! ffdec_h264 ! ffmpegcolorspace ! xvimagesink