• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM816x, C6A816x and AM389x Processors Forum » v4l2 Capture pipelines on 8168 EVM using EZSDK (version 5_03_01_15)
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

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

This question is not answered
Amol Natekar
Posted by Amol Natekar
on Feb 17 2012 02:56 AM
Intellectual440 points

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

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Satish Arora
    Posted by Satish Arora
    on Feb 17 2012 06:04 AM
    Prodigy670 points

    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!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Amol Natekar
    Posted by Amol Natekar
    on Feb 17 2012 07:00 AM
    Intellectual440 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Satish Arora
    Posted by Satish Arora
    on Feb 17 2012 11:52 AM
    Prodigy670 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Amol Natekar
    Posted by Amol Natekar
    on Feb 18 2012 02:09 AM
    Intellectual440 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Satish Arora
    Posted by Satish Arora
    on Feb 18 2012 05:09 AM
    Prodigy670 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Amol Natekar
    Posted by Amol Natekar
    on Feb 20 2012 04:15 AM
    Intellectual440 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Robin Aproskie
    Posted by Robin Aproskie
    on Feb 29 2012 04:11 AM
    Prodigy240 points

    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

    gstreamer v4l2src capture stream rtp
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Prashant Nandakumar
    Posted by Prashant Nandakumar
    on Mar 02 2012 03:29 AM
    Prodigy260 points

    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.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Robin Aproskie
    Posted by Robin Aproskie
    on Mar 02 2012 04:32 AM
    Prodigy240 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jun_Zhang
    Posted by Jun_Zhang
    on Mar 02 2012 13:03 PM
    Expert2425 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Amol Natekar
    Posted by Amol Natekar
    on Mar 03 2012 02:16 AM
    Intellectual440 points

    Did you export the gstreamer environment variables to point to the new gst installation before executing the pipeline on the target.

    For e.g. if the gstreamer is installed at /opt/ in your target then you can export the following environment variable.

    export GST_REGISTRY=/tmp/gst_registry.bin
    export LD_LIBRARY_PATH=/opt/gstreamer/lib
    export GST_PLUGIN_PATH=/opt/gstreamer/lib/gstreamer-0.10
    export PATH=/opt/gstreamer/bin:$PATH
    export GST_PLUGIN_SCANNER=/opt/gstreamer/libexec/gstreamer-0.10/gst-plugin-scanner =

    -Amol

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jun_Zhang
    Posted by Jun_Zhang
    on Mar 07 2012 13:59 PM
    Expert2425 points

    Hi Amol,

    Thanks for your reply.

    Now my v4l2src can work on the board now.

    Best,

    Jun

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Greg Wirth
    Posted by Greg Wirth
    on Mar 08 2012 15:32 PM
    Prodigy10 points

    All,

      I am trying the loopback pipeline suggested earlier but I can not get it to work.

    gst-launch v4l2src always-copy=false queue-size=11 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1920,height=1080,framerate=(fraction)30/1' ! omx
    bufferalloc numBuffers=11 ! gstperf ! v4l2sink min-queued-bufs=2
    output:
    Setting pipeline to PAUSED ...

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

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

    ** (gst-launch-0.10:1422): CRITICAL **: gst_v4l2sink_sync_flip: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' does not support video capture
    Additional debug info:
    gstv4l2object.c(2179): gst_v4l2_object_set_format (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    Call to G_FMT failed: (Invalid argument)
    Setting pipeline to NULL ...

    Caught SIGSEGV accessing address (nil)
    Spinning. Please run 'gdb gst-launch 1422' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
    
    

    Using Tag 00.04. Gstreamer

    Using EZSDK 5.03.01.15

    Using the load-hd-v4l2-firmware.sh startup in rc5.d I have removed load-hd-firmware.sh from rc5.d

    lsmod:

    Module                  Size  Used by
    bufferclass_ti 4946 0
    omaplfb 10794 0
    pvrsrvkm 155450 2 bufferclass_ti,omaplfb
    ti81xxhdmi 14478 0
    ti81xxvin 20364 0
    tvp7002 6405 1
    ti81xxvo 20143 0
    ti81xxfb 21771 1
    vpss 72346 5 omaplfb,ti81xxhdmi,ti81xxvin,ti81xxvo,ti81xxfb
    syslink 1113011 0
    ipv6 209855 14
    
    

    Am I missing something?

    Thanks,

    Greg

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Robin Aproskie
    Posted by Robin Aproskie
    on Mar 09 2012 01:05 AM
    Prodigy240 points

    Hi Greg

    Looks Fine except the way you have pasted your Forum post looks like you are missing data like the copy and paste did not wrap the text so i can't see the whole string.

    Are you capturing from Component i.e.( RGB connectors) and displaying on the HDMI ? Are you using DM8168 EVM ?

    If so ( Check the Video Capture Driver user guide 04.00.01.13) and ( Video  Driver user guide 04.00.01.14)

    Reset the board check the Video modules are loaded in the correct order and that you have copied the .KO modules from your build output to target FS where the same modules reside or are loaded from. syslink and cmemk drivers aswell. TP7002

    Make sure you switch on your graphics planes and redirect  V4L2 vpss driver /dev/video1 to the HDMI. using the echo commands I used above.

    If you are capturing from a camera make sure that the height and width match, you can also insert a -v i.e. "gst-launch -v ....." and it will tell you that what the capture driver supports . I know If I try run this pipeline twice I get the same error as you. Something to do with the Vpss driver not closing when I destroy the pipeline.

    Also test with videotestsrc , after you have it working replace with the v4l2 capture.also check that the format is correct. try this:

    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


    After all my typing which I will not delete If you look in the Trace above my format is incorrect and the driver tries all formats one after the other until it gets a match = 12.

    Hope this helps

    Cheers

    Robin

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Prashant Nandakumar
    Posted by Prashant Nandakumar
    on Mar 12 2012 05:45 AM
    Prodigy260 points

    Hi Robin,

    The decimate=n option would drop every nth frame captured. Hence setting decimate to 2 would half the framerate.

    Another thing you could try is to reduce the bitrate of the encoder to say 4 or 6Mbps, while keeping the full framerate.

    There are stability issues with v4l2 capture, when the DDR is heavily loaded. We are looking at this right now. And shall let you know, once we have a fix.

    -Prashant.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use