• Not Answered

v4l2 Capture pipelines on 8168 EVM using EZSDK (version 5_03_01_15)

Hi,

Is it possible to capture and encode audio/video using v4l2 capture module and gstreamer on 8168 EVM. We were able to load the v4l2 firmwares as described in the following thread

http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/153145.aspx

However we could not run the capture pipelines as described on the wiki for 8168:

http://processors.wiki.ti.com/index.php/DM81xx_Gstreamer_Pipelines#Capture_Pipelines

Is there any document describing the steps required for capture and encode of Audio/video.

Thanks,

Amol

56 Replies

  • Gstreamer release (version 0.3) packaged in EZSDK version 5.03.01.15 doesn't support V4L2 src element. You will have to upgrade to gstreamer release version 0.4 from gstreamer.ti.com on your EZSDK to use V4L2 src. Find details to download and upgrade at http://processors.wiki.ti.com/index.php/DM81xx_Gstreamer_Plugin#Download

    Thanks,

    Satish

    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

  • In reply to Satish Arora:

    Hello Satish,

    I tried with gstreamer tag "TAG_GST_DM81XX_00_04_00_00" but it didn't work as well. Can I run the pipeline as below to do a loopback of the captured video over HDMI:

    gst-launch v4l2src always-copy=false queue-size=11 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1280,height=720,framerate=(fraction)60/1' ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60  ! omx_videosink sync=false

    Please provide sample pipeline for the same if possible.

    Thanks,

    Amol

  • In reply to Amol Natekar:

    Here is a loopback pipeline that you can try...

    gst-launch v4l2src always-copy=false queue-size=11 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1280,height=720,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=11 ! gstperf ! v4l2sink min-queued-bufs=2

    Thanks

    Satish

  • In reply to Satish Arora:

    Hi Satish,

    Did the above pipeline work at your end? I tried the same at my side but no luck. The omxbufferalloc element is not present in the tag version of the gstreamer we are using. Can you let us know the release with which you tested the above pipeline?

    Thanks.

    Amol

  • In reply to Amol Natekar:

    Hi Anmol,

     As I suggested in the earlier post you need to use the gstreamer release 0.4 (i.e. - TAG_GST_DM81XX_00_04_00_00), that version of gstreamer has the  omxbufferalloc element and other patches required for V4l2src to work.

    Thanks,

    Satish

  • In reply to Satish Arora:

    Hi Satish,

    I got the capture working with the 0.4 release. However I have few queries regarding the V4l2src module:

    1) I am trying to capture a 640x480 resolution video and display it on HDMI. How would i use the scaler to provide a full screen display if my output resolution is 1080p60. (I tried to use the omx_scaler element but couldn't do it with v4l2src).

    2) I tried encoding the captured video using the following pipeline

    gst-launch-0.10  v4l2src always-copy=false queue-size=12 num-buffers=2000 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1280,height=720,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=12 ! omx_h264enc bitrate=5000000 ! gstperf ! filesink location=v4l2cap.h264

    The gstreamer crashed. Logs for the same are attached herewith for your reference. 0638.logs.txt

    Is it also possible to capture audio using gstreamer. Can you provide some example pipelines for the same as well.

    Thanks.

    Amol

  • In reply to Amol Natekar:

    Hi

    ....Need some help as well here please

    I would like to split the Captured video and display it on the HDMI ,  and stream it.

    I have each scenario working separately 

    A. Capture and display locally on HDMI: (because I am capturing on the Component using a sony camera 1080i50 the fps is 25 buy this still works)

    gst-launch -v v4l2src device="/dev/video0" always-copy=false queue-size=11 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1920,height=1080,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=11 ! gstperf !  v4l2sink device="/dev/video1" show-preroll-frame=false sync=false min-queued-bufs=2

    B. Stream the Capture over RTP/UDP

    gst-launch v4l2src always-copy=false queue-size=12 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1920,height=1080,framerate=(fraction)60/1' !  omxbufferalloc numBuffers=12 ! omx_noisefilter ! omx_h264enc force-idr-period=300 i-period=100 bitrate=12000000 ! h264parse ! rtph264pay ! udpsink host=172.17.25.230 port=1234

    I have used the testsrc to stream and display locally using this also with a time overlay (this works).

    gst-launch -v videotestsrc !'video/x-raw-yuv, width=(int)640, height=(int)480' !  timeoverlay halign=left valign=bottom text="Stream time:" shaded-background=true ! tee name=t ! omx_scaler ! 'video/x-raw-yuv,width=1920,height=1080' !  v4l2sink show-preroll-frame=false sync=false min-queued-bufs=2 t. ! omx_h264enc ! h264parse ! rtph264pay ! udpsink host=172.17.25.70 port=1234

    C. My script that does not work (I have moved the t. around and used Queue but to no success aswell )

    gst-launch v4l2src device="/dev/video0" always-copy=false queue-size=12 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1920,height=1080,framerate=(fraction)60/1' ! tee name=t t.! omxbufferalloc numBuffers=12 ! gstperf ! v4l2sink device="/dev/video1" show-preroll-frame=false sync=false min-queued-bufs=2 t. ! omxbufferalloc numBuffers=12 ! omx_noisefilter ! omx_h264enc force-idr-period=300 i-period=100 bitrate=12000000 ! h264parse ! rtph264pay ! udpsink host=172.17.25.230 port=1234

     Additional info

    Using Tag 00.04. Gstreamer

    Using EZSDK 5.03.01.15

    Using the V4L startup in rc5.d to load the correct .ko drivers

    Setting up my Videos like so :

    echo 0 > /sys/devices/platform/vpss/display0/enabled
    echo 0 > /sys/devices/platform/vpss/video0/enabled
    echo 0 > /sys/devices/platform/vpss/graphics0/enabled
    echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
    echo hdcompmux:hdmi > /sys/devices/platform/vpss/video1/nodes
    echo 1 > /sys/devices/platform/vpss/graphics0/enabled
    echo 1 > /sys/devices/platform/vpss/video0/enabled

    Out put trace

    VPSS_DCTRL: failed to disable the venc.
    VPSS_DCTRL: failed to disable hdmi venc
    VPSS_VIDEO: please open /dev/video1 node first.
    VPSS_VIDEO: please open /dev/video1 node first.
    Setting pipeline to PAUSED ...

    ** (gst-launch-0.10:1448): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed

    ** (gst-launch-0.10:1448): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed

    ** (gst-launch-0.10:1448): CRITICAL **: gst_v4l2sink_sync_flip: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9504 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000001 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    VPSS_CAPTURE: height(1) can't be odd for YUV420 format!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9504 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000001 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    VPSS_CAPTURE: height(1) can't be odd for YUV420 format!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9504 r4:0000c000
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000001 r4:00008000
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9504 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000002 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    VPSS_CAPTURE: height(1) can't be odd for YUV420 format!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9504 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000002 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    VPSS_CAPTURE: height(1) can't be odd for YUV420 format!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9504 r4:0000c000
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000002 r4:00008000
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000001 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000001 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00008000
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000001 r4:00008000
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000002 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000002 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00008000
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000002 r4:00008000
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000001 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000001 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00008000
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000001 r4:00008000
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000002 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00000001
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000002 r4:00000001
    VPSS_CAPTURE: width(1) can't be odd!!
    Division by zero in kernel.
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000001 r6:00000000 r5:c78e9604 r4:00008000
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c004934c>] (__div0+0x18/0x20)
    [<c0049334>] (__div0+0x0/0x20) from [<c018d984>] (Ldiv0+0x8/0x10)
    [<bf1c9ce0>] (ti81xxvin_check_format+0x0/0x31c [ti81xxvin]) from [<bf1ca018>] (vidioc_try_fmt_vid_cap+0x1c/0x20 [ti81xxvin])
    [<bf1c9ffc>] (vidioc_try_fmt_vid_cap+0x0/0x20 [ti81xxvin]) from [<c027af94>] (__video_do_ioctl+0xe48/0x3f34)
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:beab8eec r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:0000001e r5:00000002 r4:00008000

     Mode set is 12
    allocating 6 buffers of size:4147200!!
    allocated outbuf:0x44e23080
    allocated outbuf:0x45217880------------[ cut here ]------------
    WARNING: at kernel/softirq.c:159 local_bh_enable+0x54/0xc4()
    Modules linked in: bufferclass_ti omaplfb pvrsrvkm ti81xxhdmi ti81xxvin tvp7002 ti81xxvo ti81xxfb vpss syslink ipv6
    Backtrace:
    [<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036dcbc>] (dump_stack+0x18/0x1c)
     r7:00000000 r6:c00712d0 r5:c0430e95 r4:0000009f
    [<c036dca4>] (dump_stack+0x0/0x1c) from [<c006bd54>] (warn_slowpath_common+0x54/0x6c)
    [<c006bd00>] (warn_slowpath_common+0x0/0x6c) from [<c006bd90>] (warn_slowpath_null+0x24/0x2c)
     r9:c04dd60c r8:d088c800 r7:0000000e r6:cca8fb00 r5:c04b730c
    r4:c0508900
    [<c006bd6c>] (warn_slowpath_null+0x0/0x2c) from [<c00712d0>] (local_bh_enable+0x54/0xc4)
    [<c007127c>] (local_bh_enable+0x0/0xc4) from [<c0065c58>] (omap_mbox_msg_send+0xcc/0xdc)
     r5:c04b730c r4:00000000
    [<c0065b8c>] (omap_mbox_msg_send+0x0/0xdc) from [<c02aee74>] (notify_shm_drv_send_event+0x1c8/0x208)
     r5:00000001 r4:00000000
    [<c02aecac>] (notify_shm_drv_send_event+0x0/0x208) from [<c02ac604>] (notify_send_event+0x114/0x26c)
    [<c02ac4f0>] (notify_send_event+0x0/0x26c) from [<bf18c610>] (vps_fvid2_queue+0x94/0x1cc [vpss])
    [<bf18c57c>] (vps_fvid2_queue+0x0/0x1cc [vpss]) from [<bf1955b0>] (capture_queue+0x50/0x64 [vpss])
     r8:bf1cc404 r7:60000013 r6:cb79af80 r5:00000000 r4:ccb0f000
    [<bf195560>] (capture_queue+0x0/0x64 [vpss]) from [<bf1cb1c8>] (ti81xxvin_buffer_queue+0x9c/0xe8 [ti81xxvin])
     r5:cb7b8800 r4:ccb0f000
    [<bf1cb12c>] (ti81xxvin_buffer_queue+0x0/0xe8 [ti81xxvin]) from [<c0285e5c>] (videobuf_streamon+0x80/0xd0)
     r7:60000013 r6:cb7b89c4 r5:cb7b8904 r4:cb79af80
    [<c0285ddc>] (videobuf_streamon+0x0/0xd0) from [<bf1cac40>] (vidioc_streamon+0x244/0x400 [ti81xxvin])
     r7:cb7b4400 r6:00000001 r5:cb7b8800 r4:cb7b8904
    [<bf1ca9fc>] (vidioc_streamon+0x0/0x400 [ti81xxvin]) from [<c027b764>] (__video_do_ioctl+0x1618/0x3f34)
     r6:40045612 r5:00000000 r4:00000001
    [<c027a14c>] (__video_do_ioctl+0x0/0x3f34) from [<c0279f3c>] (__video_usercopy+0x2e4/0x428)
    [<c0279c58>] (__video_usercopy+0x0/0x428) from [<c027a0b0>] (video_ioctl2+0x30/0x38)
    [<c027a080>] (video_ioctl2+0x0/0x38) from [<c02790f0>] (v4l2_ioctl+0xe8/0x11c)
     r5:cb7b4400 r4:cb79a900
    [<c0279008>] (v4l2_ioctl+0x0/0x11c) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
     r9:cb7e4000 r8:00020e30 r7:0000001e r6:0000001e r5:cb79a900
    r4:00000000
    [<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
    [<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
    [<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0044f48 r7:00000036 r6:00020e18 r5:0001ff1c r4:00192188
    ---[ end trace 691f52585517e328 ]---

    allocated outbuf:0x4560c080
    allocated outbuf:0x45a00880
    allocated outbuf:0x45df5080
    allocated outbuf:0x461e9880
    allocating 6 buffers of size:4147200!!
    allocated outbuf:0x465de080
    allocated outbuf:0x469d2880
    allocated outbuf:0x46dc7080
    allocated outbuf:0x471bb880
    allocated outbuf:0x475b0080
    allocated outbuf:0x479a4880
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    Caught SIGSEGV accessing address 0x29
    Spinning.  Please run 'gdb gst-launch 1448' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

    I can't dump the core for some reason or I know not where to find it?

    Thanks

    Robin

  • In reply to Robin Aproskie:

    Hi Robin,Amol,

    There are stability issues when capturing and encoding at 60fps.

    Please try it at 30fps -

    gst-launch v4l2src device="/dev/video0" always-copy=false queue-size=12 decimate=2 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1920,height=1080,framerate=(fraction)30/1' .! omxbufferalloc numBuffers=12 ! tee name=t ! queue ! gstperf ! v4l2sink device="/dev/video1" show-preroll-frame=false sync=false min-queued-bufs=2 t. ! queue ! omx_noisefilter ! omx_h264enc force-idr-period=300 i-period=100 bitrate=12000000 ! h264parse output-format=0 ! rtph264pay ! udpsink host=172.17.25.230 port=1234

    Regards,

    Prashant.

  • In reply to Prashant Nandakumar:

    Hi

    Thanks this works 

    (I think because the camera is 1080i50 the frame rate now comes out at 12.5fps not great but it works for now ) why did you insert decimate into the script 

    Cheers

    Robin

  • In reply to Robin Aproskie:

    Hi,

    I also installed gst-openmax-GST_DM81XX_00_04_00_00 by downloading it and make gstomx_clean, gstomx and gstomx_install.

    However, I still do not have omxbufferalloc elements.

    Anyone could share the knowledge about how to fix it?

    Thanks in advance,

    Jun