I work with iMX53 Quick Start Board, I buld imx-library and GStreamer via LTIB and I try encode video from USB-camera.
I have read Linux Multimedia Framework User Guide (Rev. 2.0.3) and write follow pipeline:
gst-launch mfw_v4lsrc device=/dev/video16 fps-n=25 capture-width=640 capture-height=480 ! queue ! mfw_vpuencoder codec-type=2 ! avimux ! filesink location=h264.avi sync=false
But when I run it I get follow error message:
MFW_GST_V4LSRC_PLUGIN 2.0.3 build on Mar 31 2012 13:22:23.
Setting pipeline to PAUSED ...
[INFO] Product Info: i.MX53
VPU Version: firmware 1.4.41; libvpu: 5.3.
MFW_GST_VPU_ENCODER_PLUGIN 2.0.3 build on Mar 31 2012 13:20:38.
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ...
When I connect camera I get next messages from kernel:
usb wakeup is here
usb 2-1: new full speed USB device using fsl-ehci and address 3
How can I solve this problem?
Thank you and exuse me my bad english.