YuzukiHD / TinyVision

TinyVision - A Tiny Linux Board / IPC / Server / Router / And so on...
https://yuzukihd.top/TinyVision/#/
GNU Lesser General Public License v2.1
154 stars 19 forks source link

Record video with encoding in V851se #30

Closed mahdi2001h closed 4 months ago

mahdi2001h commented 4 months ago

hello I need to record video with encoding (like H264) . it possible in tina 5 build system ? How should I do this?

YuzukiTsuru commented 4 months ago

refer to the encoderTest

https://github.com/YuzukiHD/TinyVision/tree/main/tina/openwrt/package/allwinner/multimedia/tina_multimedia_demo/encodertest/mpp_src

mahdi2001h commented 3 months ago

thank you I tested and it worked. but i need to record from camera and compress it i tried to use trecordertest.c but it have Segmentation fault error

root@TinaLinux:~# trecorderdemo 0
****************************************************************************
* This program shows how to test trecorder
****************************************************************************

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag   : tina3.5
branch: tina-dev
date  : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
              | Preview Status | Preview Size | Audio Status | Water Mark | Recorder Status |
---------------------------------------------------------------------------------------------
      front   |     enable     |    full      |    normal    |   disable  |      stop       |
---------------------------------------------------------------------------------------------
      rear    |                |              |              |            |                 |
---------------------------------------------------------------------------------------------

RecorderCmd# Segmentation fault (core dumped)
root@TinaLinux:~# 

you have any idea to how solve or debug it ? I using GC2053 camera

and this is my menuconfig choices

image

before I enable USE VIN ISP , in recorder There was no Segmentation fault , but it did not work