DM3730 Gstreamer视频采集 传输命令


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


网络预览(OK)
终端视频采集编码后网络发送
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
分类: DM3730 Davinci Davinci 移植相关   609人阅读  评论(0)  收藏  举报


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


网络预览(OK)
终端视频采集编码后网络发送
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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值