Lets start again. Simple question: why does the following not work?
#!/bin/sh
gst-launch \
udpsrc port=5000 ! \
application/x-rtp, media=video, payload=113, clock-rate=90000, encoding-name=H264 ! \
rtph264depay ! \
queue max-size-buffers=1000 ! \
mfw_vpudecoder ! \
queue max-size-buffers=1000 ! \
mfw_v4lsink sync=false &
sleep 3
gst-launch \
mfw_v4lsrc capture-width=1024 capture-height=600 ! \
mfw_ipucsc ! \
"video/x-raw-yuv, format=(fourcc)I420, width=1024, height=600, framerate=(fraction)90000/3000" ! \
queue max-size-buffers=1000 ! \
mfw_vpuencoder codec-type=2 ! \
queue max-size-buffers=1000 ! \
rtph264pay config-interval=5 pt=113 mtu=1444 ! \
udpsink port=5000 &
I get the output:
lucid@lucid-desktop:~/projects$ ./gst_test.sh
MFW_GST_V4LSINK_PLUGIN 2.0.3-1-179-e630aa8d build on Dec 26 2011 16:01:32.
Setting pipeline to PAUSED ...
[INFO] Product Info: i.MX53
VPU Version: firmware 1.4.41; libvpu: 5.3.2
MFW_GST_VPU_DECODER_PLUGIN 2.0.3-1-179-e630aa8d build on Dec 26 2011 15:59:16.
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
lucid@lucid-desktop:~/projects$ MFW_GST_V4LSRC_PLUGIN 2.0.3-1-179-e630aa8d build on Dec 26 2011 16:00:55.
IPU_CSC_CORE_LIBRARY_VERSION_INFOR_01.00.
MFW_GST_IPU_CSC_PLUGIN 2.0.3-1-179-e630aa8d build on Dec 26 2011 15:58:02.
Setting pipeline to PAUSED ...
[INFO] Product Info: i.MX53
VPU Version: firmware 1.4.41; libvpu: 5.3.2
MFW_GST_VPU_ENCODER_PLUGIN 2.0.3-1-179-e630aa8d build on Dec 26 2011 15:58:19.
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
mfw_gst_ipu_csc_get_unit_size:size=921600
mfw_gst_ipu_csc_get_unit_size:size=921600
>>V4L_SINK: Actually buffer status:
hardware buffer : 9
software buffer : 0
full screen size:1024x600
[V4L Update Display]: left=0, top=0, width=1024, height=600
[WARN] VPU mutex couldn't be locked before timeout expired
[WARN] VPU mutex couldn't be locked before timeout expired
and no video. Please help us!