<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[摄像头无法获取图像]]></title><description><![CDATA[<pre><code>root@TinaLinux:~# camerademo
[CAMERA]**********************************************************
[CAMERA]*                                                        *
[CAMERA]*              this is camera test.                      *
[CAMERA]*                                                        *
[CAMERA]**********************************************************
[CAMERA]**********************************************************
[CAMERA] open /dev/video0!
[CAMERA]**********************************************************
[CAMERA]**********************************************************
[CAMERA] The path to data saving is /tmp.
[CAMERA] The number of captured photos is 5.
[CAMERA] save bmp format
[ 2985.150296] [VIN_ERR]vin is not support this pixelformat
[ 2985.156416] [VIN_ERR]vin is not support this pixelformat
[ 2985.162582] [VIN_ERR]vin is not support this pixelformat
[ 2985.168735] [VIN_ERR]vin is not support this pixelformat
[ 2985.174843] [VIN_ERR]vin is not support this pixelformat
[ 2985.181081] [VIN_ERR]vin is not support this pixelformat
[ 2985.187206] [VIN_ERR]vin is not support this pixelformat
[ 2985.193347] [VIN_ERR]vin is not support this pixelformat
[ 2985.199479] [VIN_ERR]vin is not support this pixelformat
[ 2985.205593] [VIN_ERR]vin is not support this pixelformat
[ 2985.211718] [VIN_ERR]vin is not support this pixelformat
[ 2985.217827] [VIN_ERR]vin is not support this pixelformat
[CAMERA]**********************************************************
[CAMERA] Using format parameters NV21.
[CAMERA_ERR] sensor not support 640 * 480
[CAMERA] use support for the first resolution
[CAMERA] camera pixelformat: NV21
[CAMERA] Resolution size : 1920 * 1088
[CAMERA] The photo save path is /tmp.
[CAMERA] The number of photos taken is 5.
begin ion_alloc_open
pid: 1121, g_alloc_context = 0x2ecd0
[CAMERA] Camera capture framerate is 20/1
[CAMERA] VIDIOC_S_FMT succeed
[CAMERA] fmt.type = 9
[CAMERA] fmt.fmt.pix_mp.width = 1920
[CAMERA] fmt.fmt.pix_mp.height = 1088
[CAMERA] fmt.fmt.pix_mp.pixelformat = NV21
[CAMERA] fmt.fmt.pix_mp.field = 1
[CAMERA] stream on succeed
[CAMERA] camera0 capture num is [0]
[CAMERA_PROMPT] the time interval from the start to the first frame is 264 ms
[ 2985.769031] camerademo invoked oom-killer: gfp_mask=0x24200ca(GFP_HIGHUSER_MOVABLE), nodemask=0, order=0, oom_score_adj=0
[ 2985.781473] CPU: 0 PID: 1121 Comm: camerademo Not tainted 4.9.191 #1
[ 2985.788614] Hardware name: sun8iw21
[ 2985.792588] [&lt;c010d5a0&gt;] (unwind_backtrace) from [&lt;c010a694&gt;] (show_stack+0x10/0x14)
[ 2985.801689] [&lt;c010a694&gt;] (show_stack) from [&lt;c01b36b0&gt;] (dump_header+0x7c/0x1cc)
[ 2985.810032] [&lt;c01b36b0&gt;] (dump_header) from [&lt;c0176bd4&gt;] (oom_kill_process+0xe4/0x4dc)
[ 2985.818946] [&lt;c0176bd4&gt;] (oom_kill_process) from [&lt;c017741c&gt;] (out_of_memory+0x2d0/0x3fc)
[ 2985.828111] [&lt;c017741c&gt;] (out_of_memory) from [&lt;c017b694&gt;] (__alloc_pages_nodemask+0x8a8/0x954)
[ 2985.837963] [&lt;c017b694&gt;] (__alloc_pages_nodemask) from [&lt;c0198bf4&gt;] (handle_mm_fault+0x1cc/0xbb4)
[ 2985.848165] [&lt;c0198bf4&gt;] (handle_mm_fault) from [&lt;c0111188&gt;] (do_page_fault+0x1a4/0x314)
[ 2985.857282] [&lt;c0111188&gt;] (do_page_fault) from [&lt;c01012d0&gt;] (do_DataAbort+0x34/0xb4)
[ 2985.865882] [&lt;c01012d0&gt;] (do_DataAbort) from [&lt;c010b35c&gt;] (__dabt_usr+0x3c/0x40)
[ 2985.874183] Exception stack(0xc1b7bfb0 to 0xc1b7bff8)
[ 2985.879917] bfa0:                                     b6571990 b6de3880 00000780 00000440
[ 2985.889105] bfc0: 00000036 000003bf b6571fff 00000225 00000034 b6de3aa6 00001685 00056040
[ 2985.898483] bfe0: 00000048 bef9b4f8 00000040 00015294 80000010 ffffffff
[ 2985.905920] Mem-Info:
[ 2985.908478] active_anon:1460 inactive_anon:3760 isolated_anon:0
[ 2985.908478]  active_file:280 inactive_file:329 isolated_file:0
[ 2985.908478]  unevictable:0 dirty:0 writeback:0 unstable:0
[ 2985.908478]  slab_reclaimable:293 slab_unreclaimable:1268
[ 2985.908478]  mapped:254 shmem:3760 pagetables:30 bounce:0
[ 2985.908478]  free:220 free_pcp:1 free_cma:0
[ 2985.944554] Node 0 active_anon:5840kB inactive_anon:15040kB active_file:1120kB inactive_file:1316kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:1016kB dirty:0kB writeback:0kB shmem:15040kB writeback_tmp:0kB unstable:0kB pages_scanned:28303 all_unreclaimable? yes
[ 2985.972479] Normal free:880kB min:880kB low:1100kB high:1320kB active_anon:5840kB inactive_anon:15040kB active_file:1120kB inactive_file:1316kB unevictable:0kB writepending:0kB present:60928kB managed:51188kB mlocked:0kB slab_reclaimable:1172kB slab_unreclaimable:5072kB kernel_stack:480kB pagetables:120kB bounce:0kB free_pcp:4kB local_pcp:4kB free_cma:0kB
[ 2986.007995] lowmem_reserve[]: 0 0 0
[ 2986.011949] Normal: 38*4kB (UME) 5*8kB (UE) 11*16kB (U) 16*32kB (UM) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 880kB
[ 2986.025648] 4369 total pagecache pages
[ 2986.029861] 0 pages in swap cache
[ 2986.033581] Swap cache stats: add 0, delete 0, find 0/0
[ 2986.039442] Free swap  = 0kB
[ 2986.042662] Total swap = 0kB
[ 2986.045884] 15232 pages RAM
[ 2986.049285] 0 pages HighMem/MovableOnly
[ 2986.053598] 2435 pages reserved
[ 2986.057112] 0 pages cma reserved
[ 2986.060745] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
[ 2986.070433] [  966]     0   966      280       59       4       0        0             0 adbd
[ 2986.080014] [  972]     0   972      334      123       5       0        0             0 wifi_daemon
[ 2986.090271] [  985]     0   985      237      111       4       0        0             0 sh
[ 2986.099940] [  997]     0   997      578      200       4       0        0             0 wpa_supplicant
[ 2986.110501] [ 1121]     0  1121     3986     1461      10       0        0             0 camerademo
[ 2986.120658] Out of memory: Kill process 1121 (camerademo) score 111 or sacrifice child
[ 2986.129552] Killed process 1121 (camerademo) total-vm:15944kB, anon-rss:5440kB, file-rss:404kB, shmem-rss:0kB
[ 2986.143015] oom_reaper: reaped process 1121 (camerademo), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

</code></pre>
]]></description><link>https://bbs.aw-ol.com/topic/4414/摄像头无法获取图像</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 11:12:30 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/4414.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 15 Oct 2023 11:09:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 摄像头无法获取图像 on Tue, 17 Oct 2023 04:09:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3870">@lynnl4</a> 1920 1088</p>
]]></description><link>https://bbs.aw-ol.com/post/19257</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/19257</guid><dc:creator><![CDATA[fawen]]></dc:creator><pubDate>Tue, 17 Oct 2023 04:09:13 GMT</pubDate></item><item><title><![CDATA[Reply to 摄像头无法获取图像 on Mon, 16 Oct 2023 10:25:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/1915">@awwwwa</a> 我配置小的，camerademo 320 320，提示不支持。你之前测试过那个可以用的分辨率吗</p>
]]></description><link>https://bbs.aw-ol.com/post/19245</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/19245</guid><dc:creator><![CDATA[LynnL4]]></dc:creator><pubDate>Mon, 16 Oct 2023 10:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to 摄像头无法获取图像 on Mon, 16 Oct 2023 03:12:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3870">@lynnl4</a></p>
<p dir="auto">Out of memory 没有内存了，camerademo走的拍摄路径是v4l2不是mpp的vipp路径，需要的内存较大，可以尝试拍摄小分辨率的图片测试</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3870">@lynnl4</a> 在 <a href="/post/19216">摄像头无法获取图像</a> 中说：</p>
<blockquote>
<p dir="auto">[CAMERA] Resolution size : 1920 * 1088</p>
</blockquote>
]]></description><link>https://bbs.aw-ol.com/post/19233</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/19233</guid><dc:creator><![CDATA[awwwwa]]></dc:creator><pubDate>Mon, 16 Oct 2023 03:12:34 GMT</pubDate></item></channel></rss>