tda4 videnc-test-app: CONTINUOUS and STEPWISE FRAMEINTERVALS not supported

这篇具有很好参考价值的文章主要介绍了tda4 videnc-test-app: CONTINUOUS and STEPWISE FRAMEINTERVALS not supported。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

/* videnc-test-app */

https://git.ti.com/cgit/jacinto7_multimedia/
git clone https://git.ti.com/git/jacinto7_multimedia/videnc-test-app.git

// 编译
./autogen.sh
./configure --enable-maintainer-mode --build=i386-linux --host=aarch64-none-linux CC=/home/share/work/tda4/linux-sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-none-linux-gnu-gcc

// 运行
./tienc_encode -d /dev/video1 -n 2 -i mix.yuv -f NV12 -c H264 -w 960 -h 540 -o video.h264   // -n 2 只编码2帧,不指定编码全帧
./tienc_encode -d /dev/video1 -i mix.yuv -f NV12 -c H264 -w 960 -h 540 -o video.h264

yuv size:
4000*3000 = 18 000 000
1280*720  = 1 382 400


/* /dev/video0 */
tienc: Opened device /dev/video0
tienc: query_device Enter
tienc: Querycaps: fd=0x5 driver=vxd-dec card=vxd-dec bus_info=platform:vxd-dec
tienc: Querycaps: device_caps=0x4204000 capabilities=0x84204000
tienc: Calling VIDIOC_ENUM_FMT on CAPTURE       // V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE 显示所有支持的格式
tienc: desc.index = 0, pixelformat = NV12, desciption = Y/CbCr 4:2:0
tienc: desc.index = 1, pixelformat = NV16, desciption = Y/CbCr 4:2:2
tienc: desc.index = 2, pixelformat = TI12, desciption = 10-bit YUV 4:2:0 (NV12)
tienc: desc.index = 3, pixelformat = TI16, desciption = 10-bit YUV 4:2:2 (NV16)
tienc: desc.index = 4, pixelformat = YM12, desciption = Planar YUV 4:2:0 (N-C)
tienc: desc.index = 5, pixelformat = YM16, desciption = Planar YUV 4:2:2 (N-C)
tienc: Calling VIDIOC_ENUM_FMT on OUTPUT        // V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE 显示所有支持的格式
tienc: desc.index = 0, pixelformat = H264, desciption = H.264
tienc: desc.index = 1, pixelformat = HEVC, desciption = HEVC
tienc: desc.index = 2, pixelformat = MJPG, desciption = Motion-JPEG
tienc: Calling VIDIOC_ENUM_FRAMESIZES           // 枚举设备支持的分辨率信息
VIDIOC_ENUM_FRAMESIZES failed 25 Inappropriate ioctl for device
tienc: Calling VIDIOC_ENUM_FRAMEINTERVALS
VIDIOC_ENUM_FRAMEINTERVALS failed 25 Inappropriate ioctl for device
Requested frame interval not found, exiting

/* /dev/video1 */
tienc: Opened device /dev/video1
tienc: query_device Enter
tienc: Querycaps: fd=0x5 driver=vxe-enc card=vxe-enc bus_info=platform:vxe-enc
tienc: Querycaps: device_caps=0x4204000 capabilities=0x84204000
tienc: Calling VIDIOC_ENUM_FMT on CAPTURE       // V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE 显示所有支持的格式
tienc: desc.index = 0, pixelformat = H264, desciption = H.264
tienc: Calling VIDIOC_ENUM_FMT on OUTPUT        // V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE 显示所有支持的格式
tienc: desc.index = 0, pixelformat = NV12, desciption = Y/CbCr 4:2:0
tienc: desc.index = 1, pixelformat = RGB4, desciption = 32-bit A/XRGB 8-8-8-8
tienc: Calling VIDIOC_ENUM_FRAMESIZES           // 枚举设备支持的分辨率信息
tienc: VIDIOC_ENUM_FRAMESIZES got CONTINUOUS
tienc: frmsizes min_width=1 max_width=1920 step_width=1
tienc: frmsizes min_height=1 max_height=1080 step_height=1
tienc: Calling VIDIOC_ENUM_FRAMEINTERVALS
tienc: VIDIOC_ENUM_FRAMEINTERVALS got CONTINUOUS
tienc: fival min: numerator=1 denominator=960 framerate=960
tienc: fival max: numerator=1 denominator=1 framerate=1
tienc: fival step: numerator=1 denominator=1 CONTINUOUS and STEPWISE FRAMEINTERVALS not supported

1.遇到此报错:CONTINUOUS and STEPWISE FRAMEINTERVALS not supported。

解:把 check_framerate 函数里的 return 1 改变 return 0;

2.遇到不能编码。

解:tienc_encode 编码需要连续帧,即最少2帧数据,不支持单帧;文章来源地址https://www.toymoban.com/news/detail-676252.html

到了这里,关于tda4 videnc-test-app: CONTINUOUS and STEPWISE FRAMEINTERVALS not supported的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 【FUSA笔记-001】TDA4VM安全手册:安全机制实现

    软件安全机制分类 1. 与软件本身、基础软件或者操作系统失效探测、指示和减轻有关的自检或监控功能 软件程序流监控 输入输出合理性检测:软件回读写入数据、软件回读传输数据等、传感器合理性检查 基础软件自检:软件自检 2. 与安全相关硬件要素故障探测、指示和减

    2024年02月03日
    浏览(26)
  • TDA4VH j784s4 使用

    // sdk https://www.ti.com/tool/PROCESSOR-SDK-J784S4 // Jacinto Processors TDA4AP-Q1/TDA4VP-Q1/TDA4AH-Q1/TDA4VH-Q1 EVM User’s Guide https://www.ti.com/lit/ug/spruj62/spruj62.pdf?ts=1682337275236ref_url=https%253A%252F%252Fwww.ti.com%252Fsitesearch%252Fen-us%252Fdocs%252Funiversalsearch.tsp%253FlangPref%253Den-US%2526searchTerm%253DTDA4VH%2526nr%253D342 /* l

    2024年02月01日
    浏览(19)
  • Continuous Distributions: Uniform, Normal, and Gamma

    作者:禅与计算机程序设计艺术 在过去的几十年里,许多领域都出现了很多统计分布的变化。从早期的正态分布到后来的指数分布、卡方分布等,各种分布也逐渐形成自己的发展历史。统计学中的一些技术或者模型需要根据数据分布进行选择和建模,所以需要对不同分布的特

    2024年02月07日
    浏览(38)
  • Python报错:ValueError: Classification metrics can‘t handle a mix of binary and continuous targets

    Python报错: 原因分析: sklearn函数输入参数的数据类型不匹配导致,有可能是输入的y_true为[0,0,1,1,1]的int型数据,而y_predict是类似于[0.5,0.3,0.6,0.5,0.2]概率数据。可能使用了 model.predict_proba() 函数进行了预测。 方法:需把概率数据转换为整型数据即可。 方法一: 在预测时使用:

    2024年02月11日
    浏览(40)
  • System Under Test (SUT) and Testing Environment

    1. System Under Test (SUT) The System Under Test (SUT) is the specific software application, component, or system that is being subjected to testing. It is the main focus of the testing process and represents the software or system that developers and testers are working on. The SUT could be a single software application, a module within a larger system, or

    2024年02月12日
    浏览(27)
  • Java Test: Specification and Structure Testing(line, branch, path coverage)

    这篇文章梳理一下Java软件测试中的Secification test和Structure test。 规范测试(specification test):又称黑盒测试(black-box testing)或需求驱动测试(requirements-driven testing),这种测试方法关注程序的功能和性能,而不关注其内部实现。 Specification(规范)是对软件组件、系统或方法

    2024年02月02日
    浏览(35)
  • Testing Angular, VueJS, and React Components with Jest

    作者:禅与计算机程序设计艺术 在过去的几年里,React、Angular和Vue等前端框架都获得了越来越多开发者的青睐,并且取得了不俗的成绩。这些前端框架的出现给前端开发领域带来了许多新鲜的机会。特别是在面对复杂业务需求时,测试驱动开发(TDD)方法对于保证项目质量至

    2024年02月06日
    浏览(32)
  • 单元测试:Testing leads to failure, and failure leads to understanding

    单元测试的概念可能多数读者都有接触过。作为开发人员,我们编写一个个测试用例,测试框架发现这些测试用例,将它们组装成测试 suite 并运行,收集测试报告,并且提供测试基础设施(断言、mock、setup 和 teardown 等)。Python 当中最主流的单元测试框架有三种,Pytest, nos

    2024年01月17日
    浏览(27)
  • openssl3.2/test/certs - 004 - cross root and root cross cert

    索引贴 openssl3.2 - 官方demo学习 - test - certs // file my_openssl_linux_log_doc_004.txt // openssl3.2/test/certs - 004 - cross root and root cross cert // -------------------------------------------------------------------------------- // 官方脚本原始内容 // -------------------------------------------------------------------------------- //

    2024年01月24日
    浏览(35)
  • 洛谷——SP1-TEST - Life, the Universe, and Everything +注册SPOJ的方法

    从输入读取数字并输出,每行一个,直到读到 42 42 42 停止。 Your program is to use the brute-force approach in order to find the Answer to Life, the Universe, and Everything. More precisely… rewrite small numbers from input to output. Stop processing input after reading in the number 42. All numbers at input are integers of one or two d

    2024年02月07日
    浏览(24)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包