完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
|
你好!
我想播放解码h264视频并显示,视频分辨率为1024x768。我使用了openmax下的decode_display例子播放这个视频,首先我把原始参数width从1920改成1024,而height从1080改成768。能正常显示,但是输出的视频分辨率还是1080p,只是一帧图像变成我设置的大小。后来我查看资料,有几个问题想请教一下: 1.decode_display这个例子是否只支持1080p和720p分辨率输出。 2.openmax手册中说venc只支持720p和1080p,为什么我修改了omx capture_encode例子,它却能采集编码成1024x768的h264文件。 3.那我能不能修改omx中decode_display例子,让他能显示出成1024x768?如果能,能给我写意见吗?不能的话,那有什么办法解码显示1024x768分辨率的视频? |
|
相关推荐
4个回答
|
|
|
Yu Bin,
请参考e2e上的讨论:https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/162411。 为什么你要使用EZSDK呢?DVR RDK的开放程度更高,修改更方便一些。 |
|
|
|
|
物是人非aaa 发表于 2018-6-21 05:04 Chris Meng , 谢谢你的答复。当时我们评估板光碟就是ezsdk,所以一直使用。hdmi分辨率一直可以调,就按你发给我的贴上说的方法一样。但是omx中encd组件只能支持720p和1080p。因为我们需要解码,所以我们想修改decode_display例子,除了720p和1080p,其他都会报错。以下是错误: input file: good.h264 width: 1024 height: 768 frame_rate: 30 gfx: fbdev disable codec: h264 display_id: 0 Decoder-Display example =============================== OMX_Init completed UIAClient is ready to send a UIA configuration command UIAClient received UIA_CONFIGURE_ACK UIAClient is done sending requests UIAClient is ready to send a UIA configuration command UIAClient received UIA_CONFIGURE_ACK UIAClient is done sending requests opening file decoder compoenent is created PADX: 32 PADY: 24 level set is 12 scalar compoenent is created set input port params (width = 1024, height = 768) set output port params (width = 1024, height = 768) set number of channels set input resolution set output resolution enable scalar input port got eventEnable/Disable Event enable scalar output port got eventEnable/Disable Event found handle 0x1405f8 for component OMX.TI.VPSSM3.VFDC got display handle found handle 0x144100 for component OMX.TI.VPSSM3.CTRL.DC Buffer Size computed: 1572864 set input port params (width = 1024, height = 768) setting input and output memory type to default enable input port got eventEnable/Disable Event connect call for decoder-scalar connect call for scalar-display decoder inport buffers allocated decoder outport buffers allocated got eventState changed to: OMX_StateIdle state IDLE Scalar input port use buffer done scalar outport buffers allocated got eventState changed to: OMX_StateIdle scalar state IDLE got eventState changed to: OMX_StateIdle ctrl-dc state IDLE got eventState changed to: OMX_StateIdle display state IDLE got eventState changed to: OMX_StateExecuting display control state execute hello OMX_SendCommand got event*** unrecoverable error: OMX_ErrorBadParameter (0x80001005) 我想问能否有办法修改decode_display能让他支持其他分辨率。是不是要增加对其他分辨支持要修改hdvicp2的程序,但是在ezsdk中找不到hdvicp2的程序。再次期待你的答复,谢谢。 |
|
|
|
|
hu_wfllll1 发表于 2018-6-21 05:18 Bin Yu, 抱歉EZSDK我不是很熟悉,而且M3的源码代码也没有。 从错误看不出来,错误是在编码侧,还是在显示侧。现在显示支持1024x768么? |
|
|
|
|
物是人非aaa 发表于 2018-6-21 05:33 谢谢,你的答复,这个问题已经解决。 |
|
|
|
|
只有小组成员才能发言,加入小组>>
576 浏览 0 评论
1636 浏览 0 评论
2070 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1527 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1365 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1779浏览 29评论
2806浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1737浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1651浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1664浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-8 16:16 , Processed in 0.950829 second(s), Total 51, Slave 44 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1509