Performed the following steps:
U-Boot:
setenv video video=mxcfb0:dev=hdmi,1920x1080@60,if=RGB24 video=mxcfb1:dev=ldb,LDB-XGA,if=RGB24
Linux:
SINK_1="\"imxv4l2sink device=/dev/video17\""
SINK_2="\"imxv4l2sink device=/dev/video18\""
media1=file:///mnt/usb/Trailer1.mp4
media2=file:///mnt/usb/Trailer2.mp4
gst-launch playbin2 uri=$media1 video-sink=$SINK_1 playbin2 uri=$media2 video-sink=$SINK_2
No video plays on either of the screen and I get the following error:
mxc_v4l2_output v4l2_out.32: memory alloc size 3133440 failed
mxc_v4l2_output v4l2_out.32: offset invalid [offset=0x20df000]
Playing video on HDMI Screen with the following command:
gst-launch playbin2 uri=$media1 video-sink=$SINK_1
I am getting lot of the following errors:
gstbasesink.c(2875): gst_base_sink_is_too_late (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstBin:bin0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstBin:bin0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: A lot of buffers are being dropped.
But if I add the flags parameter to the command, the video plays fine on HDMI:
gst-launch playbin2 uri=$media1 flags=0x57 video-sink=$SINK_1
What is the significance of flags field?
I then tried the following command: gst-launch playbin2 uri=$media1 flags=0x57 video-sink=$SINK_1 playbin2 uri=$media2 flags=0x57 video-sink=$SINK_2
and the same problem :
gstbasesink.c(2875): gst_base_sink_is_too_late (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstBin:bin0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstBin:bin0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: A lot of buffers are being dropped.
Am I missing something....