Hello all,
PLATFORM EVM8148
EZSDK version 5_03_01_15. I`m trying gst-launch samples with v4l2src and omx_videomixer. But nothing worked.
1. v4l2src
command:
root@dm814x-evm:~#
root@dm814x-evm:~# echo 0 > /sys/devices/platform/vpss/graphics0/enabled
export GST_Rroot@dm814x-evm:~#
Groot@dm814x-evm:~#
root@dm814x-evm:~# export GST_REGISTRY=/tmp/gst_registry.bin
poroot@dm814x-evm:~# export LD_LIBRARY_PATH=/opt/gstreamer/lib
orroot@dm814x-evm:~# export GST_PLUGIN_PATH=/opt/gstreamer/lib/gstreamer-0.10
poroot@dm814x-evm:~# export PATH=/opt/gstreamer/bin:$PATH
oroot@dm814x-evm:~# export GST_PLUGIN_SCANNER=/opt/gstreamer/libexec/gstreamer-0.
10/gst-plugin-scanner
root@dm814x-evm:~# usb 2-1: USB disconnect, address 2
usb 2-1: new high speed USB device using musb-hdrc and address 3
usb 2-1: New USB device found, idVendor=045e, idProduct=00f8
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: Microsoft�� LifeCam NX-6000
usb 2-1: Manufacturer: Microsoft
uvcvideo: Found UVC 1.00 device Microsoft�� LifeCam NX-6000 (045e:00f8)
uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
input: Microsoft�� LifeCam NX-6000 as /devices/platform/omap/ti81xx-usbss/musb-hdrc.1/usb2/2-1/2-1:1.0/input/input2
3:3:1 : sample bitwidth 24 in over sample bytes 2
3:3:1: cannot get freq at ep 0x84
! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=320,height=240,framerate=(
fraction)25/1' ! omxbufferalloc numBuffers=11 ! gstperf ! fakesink
In base init!!
In class init!!
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
Caught SIGSEGV accessing address (nil)
Spinning. Please run 'gdb gst-launch 1419' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
root@dm814x-evm:~# /etc/init.d/matrix-gui-e stop
/sys/devStopping Matrix GUI applicationices/p.
laroot@dm814x-evm:~#
froot@dm814x-evm:~# echo 0 > /sys/devices/platform/vpss/graphics0/enabled
xport GSroot@dm814x-evm:~#
_root@dm814x-evm:~#
Eroot@dm814x-evm:~# export GST_REGISTRY=/tmp/gst_registry.bin
exroot@dm814x-evm:~# export LD_LIBRARY_PATH=/opt/gstreamer/lib
exroot@dm814x-evm:~# export GST_PLUGIN_PATH=/opt/gstreamer/lib/gstreamer-0.10
xproot@dm814x-evm:~# export PATH=/opt/gstreamer/bin:$PATH
xproot@dm814x-evm:~# export GST_PLUGIN_SCANNER=/opt/gstreamer/libexec/gstreamer-0.
10/gst-plugin-scanner
root@dm814x-evm:~# gst-launch -e -v omx_videomixer port-index=0 name=mix ! omx_c
trl display-device=LCD ! gstperf ! omx_videosink display-device=LCD sync=false \
> videotestsrc ! 'video/x-raw-yuv,width=800,height=480' ! mix.
In base init!!
In class init!!
In base init!!
In class init!!
In instance init!!
queue_0 : 0xe6948
queue_1 : 0xe6a20
queue_2 : 0xe6978
queue_3 : 0xe6990
Setting pipeline to PAUSED ...
Video mixer activate push!!
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)NV12, color-matrix=(strin1
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)NV12, color-matrix=(string)sd1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)NV12, color-matrix=(string)s1
In sink set caps:video/x-raw-yuv, format=(fourcc)NV12, color-matrix=(string)sdtv, chroma-site=(string)mpeg2, width=(int)800, heig1
/GstPipeline:pipeline0/GstOmxVideoMixer:mix.GstPad:sink_03: caps = video/x-raw-yrix=(string)sdtv, chroma-site=(string)mpeg2, widt1
Starting input thread!!
!mx_setup!!
gst-launch-0.10 invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
Backtrace:
[<c0048b70>] (dump_backtrace+0x0/0x110) from [<c039dd84>] (dump_stack+0x18/0x1c)
r7:00000000 r6:00000000 r5:cbe5a000 r4:000201da
[<c039dd6c>] (dump_stack+0x0/0x1c) from [<c00a1158>] (dump_header+0x60/0x138)
[<c00a10f8>] (dump_header+0x0/0x138) from [<c00a14b4>] (oom_kill_process+0x50/0x1f8)
r8:cb792000 r7:00000367 r6:00000000 r5:cbe5a000 r4:000201da
[<c00a1464>] (oom_kill_process+0x0/0x1f8) from [<c00a18c0>] (out_of_memory+0x264/0x2e0)
[<c00a165c>] (out_of_memory+0x0/0x2e0) from [<c00a4a7c>] (__alloc_pages_nodemask+0x430/0x51c)
[<c00a464c>] (__alloc_pages_nodemask+0x0/0x51c) from [<c00a63f0>] (__do_page_cache_readahead+0x9c/0x1e8)
[<c00a6354>] (__do_page_cache_readahead+0x0/0x1e8) from [<c00a6568>] (ra_submit+0x2c/0x34)
[<c00a653c>] (ra_submit+0x0/0x34) from [<c009f410>] (filemap_fault+0x170/0x3b0)
[<c00[<c00b2f98>] (handle_mm_fault+0x0/0xa70) from [<c03a1cf8>] (do_page_fault+0x114/0x20c)
[<c03a1be4>] (do_page_fault+0x0/0x20c) from [<c003a208>] (do_PrefetchAb] (do_PrefetchAbort+0x0/0x9c) from [<c03a0224>] (ret_from_)
Exception stack(0xcb793fb0 to 0xcb793ff8)
3fa0: ffffffff 0000000b 441b44f4 00000010
3fc0: 441b3dcc 406b37ec 406b37ec 441b3df0 40672f80 441b3df0 00000000 400943d8
3fe0: 4009f030 441b3dc0 4064009c 405ab0c8 a0000010 ffffffff
r8:40672f80 r7:441b3df0 r6:406b37ec r5:406b37ec r4:ffffffff
Mem-info:
Normal per-cpu:
CPU 0: hi: 90, btch: 15 usd: 14
active_anon:46166 inactive_anon:211 isolated_anon:0
active_file:0 inactive_file:0 isolated_file:5
unevictable:0 dirty:0 writeback:0 unstable:0
free:444 slab_reclaimable:392 slab_unreclaimable:836
mapped:16 shmem:251 pagetables:332 bounce:0
Normal free:1776kB min:1828kB low:2284kB high:2740kB active_anon:184664kB inactive_anon:844kB active_file:0kB inactive_file:0kB uo
lowmem_reserve[]: 0 0 0
Normal: 14*4kB 9*8kB 3*16kB 10*32kB 6*64kB 3*128kB 2*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1776kB
256 total pagecache pages
65536 pages of RAM
560 free pages
14701 reserved pages
1072 slab pages
26 pages shared
0 pages swap cached
[ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
[ 76] 0 76 489 45 0 -17 -1000 udevd
[ 1260] 42 1260 608 40 0 0 0 dbus-daemon
[ 1267] 0 1267 734 15 0 0 0 telnetd
[ 1272] 0 1272 750 31 0 0 0 syslogd
[ 1274] 0 1274 734 18 0 0 0 klogd
[ 1279] 0 1279 543 56 0 0 0 thttpd
[ 1370] 0 1370 629 40 0 0 0 login
[ 1371] 0 1371 492 18 0 0 0 getty
[ 1376] 0 1376 782 29 0 0 0 sh
[ 1380] 0 1380 114204 45834 0 0 0 gst-launch-0.10
Out of memory: Kill process 1380 (gst-launch-0.10) score 871 or sacrifice child
Killed process 1380 (gst-launch-0.10) total-vm:456816kB, anon-rss:183336kB, file-rss:0kB