本帖最后由 FSL_TICS_imx 于 2014-7-9 16:38 编辑
请教一下:
Encoding from a file:
gst-launch filesrc location=test.yuv blocksize= $BLOCK_SIZE ! 'video/x-raw-yuv,
format=(fourcc)I420, width=$WIDTH, height=$HEIGHT, framerate=(fraction)30/1' !
$video_encoder_plugin codec=0 ! matroskamux ! filesink location=output.mkv sync=false
要测试上述这条指令,复制到PC串口终端,会被自动分开而出现错误,有没有解决的方法?而不是全手工逐个字母输入?
PC串口终端显示:
root@freescale ~$ modprobe ov5642_camera
camera ov5642 is not found #依然要执行两次,其他开发学习者,是不是也是一样的呢?
root@freescale ~$ modprobe ov5642_camera
root@freescale ~$ modprobe mxc_v4l2_capture
root@freescale ~$ gst-launch filesrc location=test.yuv blocksize= $BLOCK_SIZE !
'video/x-raw-yuv,
> format=(fourcc)I420, width=$WIDTH, height=$HEIGHT, framerate=(fraction)30/1' !
$video_encoder_plugin codec=0 ! matroskamux ! filesink location=output.mkv sync=falseWARNING: erroneous pipeline: could not set property "blocksize" in element "filesrc0" to "!"
root@freescale ~$ $video_encoder_plugin codec=0 ! matroskamux ! filesink locatio
n=output.mkv sync=false
上述指令被显示输入得乱78糟
|