你们好!
我的板子已经移植好Gstream服务了,但我修改了gst-rtsp/example/test-launch.c,想让它实现 /test-launch " ( videotestsrc is-live=1 ! x264enc ! rtph264pay name=pay0 pt=96 ) ",感觉没有编译到内核里面,我想知道我的做法是错的么?我是使用下面命令获取到图像,但实现流媒体不知道怎么弄?
H264ENC_PARMS="encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 profile=100 level=50 entropy=1 t8x8inter=true \
t8x8intra=true single-nalu=true"
gst-launch -e v4l2src input-src=component chain-ipipe=true always-copy=false num-buffers=3000 ! 'video/x-raw-yuv,format=(fourcc)NV12,width=1280,height=720' ! \
dmaiaccel ! tee name=t1 ! TIDmaiVideoSink enable-last-buffer=false videoStd=720P_60 videoOutput=COMPONENT t1. ! queue ! dmaienc_h264 \
$H264ENC_PARMS ! queue ! dmaiperf print-arm-load=true ! qtmux ! queue ! \
filesink location=test.mp4 sync=false enable-last-buffer=false