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
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
Satish
Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
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.
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
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.
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.
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.
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/enabledecho 0 > /sys/devices/platform/vpss/video0/enabledecho 0 > /sys/devices/platform/vpss/graphics0/enabledecho 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodesecho hdcompmux:hdmi > /sys/devices/platform/vpss/video1/nodesecho 1 > /sys/devices/platform/vpss/graphics0/enabledecho 1 > /sys/devices/platform/vpss/video0/enabled
Out put trace
VPSS_DCTRL: failed to disable the venc.VPSS_DCTRL: failed to disable hdmi vencVPSS_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' failedDivision 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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00008000Division 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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00008000Division 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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00008000Division 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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00008000Division 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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00008000Division 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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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:00000001VPSS_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:cb79a900r4: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 12allocating 6 buffers of size:4147200!!allocated outbuf:0x44e23080allocated 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 ipv6Backtrace: [<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:c04b730cr4: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:cb79a900r4: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:0x4560c080allocated outbuf:0x45a00880allocated outbuf:0x45df5080allocated outbuf:0x461e9880allocating 6 buffers of size:4147200!!allocated outbuf:0x465de080allocated outbuf:0x469d2880allocated outbuf:0x46dc7080allocated outbuf:0x471bb880allocated outbuf:0x475b0080allocated outbuf:0x479a4880Pipeline is live and does not need PREROLL ...Setting pipeline to PLAYING ...New clock: GstSystemClockCaught SIGSEGV accessing address 0x29Spinning. 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?
Robin
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.
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
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
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.binexport LD_LIBRARY_PATH=/opt/gstreamer/libexport GST_PLUGIN_PATH=/opt/gstreamer/lib/gstreamer-0.10export PATH=/opt/gstreamer/bin:$PATHexport GST_PLUGIN_SCANNER=/opt/gstreamer/libexec/gstreamer-0.10/gst-plugin-scanner =
-Amol
Hi Amol,
Thanks for your reply.
Now my v4l2src can work on the board now.
Best,
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' ! omxbufferalloc 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' failedERROR: Pipeline doesn't want to pause.ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' does not support video captureAdditional 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 the load-hd-v4l2-firmware.sh startup in rc5.d I have removed load-hd-firmware.sh from rc5.d
lsmod:
Module Size Used bybufferclass_ti 4946 0omaplfb 10794 0pvrsrvkm 155450 2 bufferclass_ti,omaplfbti81xxhdmi 14478 0ti81xxvin 20364 0tvp7002 6405 1ti81xxvo 20143 0ti81xxfb 21771 1vpss 72346 5 omaplfb,ti81xxhdmi,ti81xxvin,ti81xxvo,ti81xxfbsyslink 1113011 0ipv6 209855 14
Am I missing something?
Greg
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:
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
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.