工具/软件:Linux
大家好!
我们有一个带有 ti-ezsdk_dm816x-evm_5_05_02_00的 DM8168评估板
所有使用 OMX_DC_MODE_1080p_60的示例、但我们需要分辨率1024x768
例如、我们尝试在 HDMI 显示屏上播放流水线:
gst-launch -v rtspsrc location="rtsp://172.16.5.203/axis-media/media.amp"! rtph264depay! h264parse access-unit=true! OMX_h264dec! OMX_标量器! OMX_CTRL DISPLAY_MODE=OMX_DC_MODE_1080p_60! OMX_videosink 同步=假
在1080p_60模式下、该流水线工作正常!
接下来、我们更改了脚本/etc/init.d/load-hd-firware.sh 中的分辨率:
#!/bin/sh # #管理 HDVICP2和 HDVPSS 引擎固件 路径=$PATH:/usr/share/ti/ti-media-controller-utils HDVICP2_ID=1 HDVPSS_ID=2 中的案例"$1" 开始) 回显"加载 HDVICP2固件" prcm_config_app modprobe syslink 直至[[-e /dev/syslinkipc_ProcMgr &&-e /dev/syslinkipc_ClientNotifyMgr ]] 操作 睡眠0.5 完成 firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm816x_hdvicp.xem3启动 回显"加载 HDVPSS 固件" firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm816x_hdvpss.xem3启动 modprobe VPSS sbufaddr=0xBFB00000 mode=hdmi:1024x768@60、dvo2:1024x768@60、hdcomp:1080p-60 i2c_mode=1. modprobe ti81xxfb vram=0:24M、1:16M、2:6M fbset -depth 32 -RGBA 8/16、8/8、8/0、0/0 modprobe ti81xxhdmi ; 停止) 回显"卸载 HDVICP2固件" firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm816x_hdvicp.xem3停止 回显"卸载 HDVPSS 固件" rmmod ti81xxfb rmmod ti81xxhdmi RMod VPSS firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm816x_hdvpss.xem3停止 rmmod syslink ; *) 回显"用法:/etc/init.d/load-hd-firmware.sh{start|stop}" 出口1 ; esac 出口0
保存后、我们重新启动了系统。
我们是1024x768:
root 用户@dm816x-EVM:~# fbset 模式"1024x768-60 " D:65.003 MHz、H:48.365 kHz、V:60.0.006Hz 几何形状1024 768 1024 768 32 计时15384 160 24 29 3 136 6 RGBA 8/16、8/8、8/0、8/24 端模式
但现在用于显示接收器的所有管道都无法正常工作!
root@dm816x-evm:~ gst-launch -v rtspsrc location="rtsp://172.16.5.203/ axis-medi a/media.amp"! rtph264depay! h264parse access-unit=true! OMX_h264dec! OMX_SCA ler! OMX_Ctrl 显示模式=FVID2_STD_XGA+ 60! OMX_videosink SYNC=false 将流水线设置为暂停... /GstPipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0:延迟= 2000 /GstPipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0:buffer-mode =从机(1)/rstrtspSrspSrt =零/rsprsprstrsprsprsprsprsprsprt Srsprsprsprfroc0:rstrspt Srproce0:rstrprocef 不需要超时 正在将管道设置为正在播放... 新时钟:GstSystemClock /GstPipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:timeout = 0 /GstPipine0/GstRtpH264Depay:rtp:rtph4depay0.GstPad:udpsrc:udpsrc:0 /gstpstrfetrm:rm:gr (rfin) rm:h = 60)、rstrainektpx (r)、rfin = gr (rh)、rstrfin (rf)、rfin = gr、t (rfin)、t (rfin)、t (rf)、t、rfrfrfin (rfin = gr、t、rfin (rfin)、t、t、rfin = gr 封包化模式=(string) 1、profile-leve-id=(string) 4d0029、sprop-parameter-sets=(string)\"Z00AKeKQCACjYC3AQEBpB4kRUA\\\=\=\,aO48gA\\\=""、a-tool=(streamer)、字符串=(string=) a-framera=(string) 5.000000、a-transform=(string)\"0.900000\\、0.000000\、0.000000\、1.0000\、0.000000\、0.000000\、0.000000、0.000000、1.0000\"、时钟基=(uint) 26646264、seint-start= 80nT (uint-num) play-speed=(double) 1、play-scale=(double) 1 /GstPipeline:流水线0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3225713374_96:cap = application/x-rtp、media=(string) video、900=(int)96=(字符串编码)、clock-rand=(int)264_time-time-statisting=(字符串编码) 封包化模式=(string) 1、profile-leve-id=(string) 4d0029、sprop-parameter-sets=(string)\"Z00AKeKQCACjYC3AQEBpB4kRUA\\\=\=\,aO48gA\\\=""、a-tool=(streamer)、字符串=(string=) a-framera=(string) 5.000000、a-transform=(string)\"0.900000\\、0.000000\、0.000000\、1.0000\、0.000000\、0.000000\、0.000000、0.000000、1.0000\"、时钟基=(uint) 26646264、seint-start= 80nT (uint-num) play-speed=(double) 1、play-scale=(double) 1 /GstPipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3225713374_96.GstProxy64:proxyad4:cap = application/x-payload、media=(string)96=(int)rtp (clock-staticity=(int)96,thing=(int)96、speed=(string=(int)96)rtp 封包化模式=(string) 1、profile-leve-id=(string) 4d0029、sprop-parameter-sets=(string)\"Z00AKeKQCACjYC3AQEBpB4kRUA\\\=\=\,aO48gA\\\=""、a-tool=(streamer)、字符串=(string=) a-framera=(string) 5.000000、a-transform=(string)\"0.900000\\、0.000000\、0.000000\、1.0000\、0.000000\、0.000000\、0.000000、0.000000、1.0000\"、时钟基=(uint) 26646264、seint-start= 80nT (uint-num) play-speed=(double) 1、play-scale=(double) 1 /GstPipeline:流水线0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_3225713374_96.GstPropPad:rtpin =(双倍频)、crypt =(clock-yr)、crypt =(cap)、rtp =(clock-cap =(time-cap)、r =(cap)、r =(time-cap) 1 (双倍频) 1 /r) 1 /r x ( 封包化模式=(string) 1、profile-leve-id=(string) 4d0029、sprop-parameter-sets=(string)\"Z00AKeKQCACjYC3AQEBpB4kRUA\\\=\=\,aO48gA\\\=""、a-tool=(streamer)、字符串=(string=) a-framera=(string) 5.000000、a-transform=(string)\"0.900000\\、0.000000\、0.000000\、1.0000\、0.000000\、0.000000\、0.000000、0.000000、1.0000\"、时钟基=(uint) 26646264、seint-start= 80nT (uint-num) play-speed=(double) 1、play-scale=(double) 1 /GstPipeline0/GstH264Parse:h264parse0.GstPad:sink:cap = video/x-h264、streame-format=(string) byte-stream、alignment=(string) cap /gstrfeline0/ gstrechnal:h640、gstrfape=( h)、heaporex (h)、gfrfaporex (h)、heaporsx (h)、gfr.h = gfrfr.h、h、h、h = 24、h、h、h、h、h = g4、h、h、h = 1、h、h、h、h = 1、h、h、h = 1、h、h、h = 1、h、h、h、h、h、h、h、h、h、h、h、h、h、h、h、h、h、h、h、h、h、h、h interlstep=(布尔值) false、framerate=(fraction) 0/1 (GST-launch-0.10:1270):Gstreamer-critical **:_gst_util_uint64_scal_int:断言`deNom >0'失败 /GstPipeline0/Gstx 缩放器:omxer0.GstPad 0.4gstrum=160 (uintx)、intrum=1uV、inum=1024 (raumintrum=12=uintx)、inum-160 (inum=uint-160)、intrapeum=uint-cap、intrade、inum=u interlstansc=(布尔值) false、framerate=(fraction) 0/1 /GstPipeline0/GstxScale:omxscaler0.GstPad:SINK:Cap = VIDEO/x-RAWE-YUV-striped、width=(int) 1024、height=(cc) 640、format=(OmxscalereNV12、row=(room1152)、rowing=(froomstrostrosting=(omstrostrost 隔行=(布尔型) false、帧速率=(小数) 0/1 /GstPipeline0/GstxScale:omxscaler0.GstPad:src:cap = VIDEO/x-RAWE-YUV、width=(int) 1024、height=(int) 640、format=(fourcc) OmY2、帧速率=(YU0) 隔行=(布尔值) false /GstPipeline0/GstOmxBaseCtrl:omxbasectrl0.GstPad:src:cap = video/x-rax-yUV、width=(int) 1024、height=(int) 640、format=(fourcc) yuY2、framerate=(frame=(framestaction) 0/1、 隔行=(布尔值) false /GstPipeline0/GstOmxBaseCtrl:omxbasectrl0.GstPad:灌电流:电容= VIDEO/x-RAWE-YUV、width=(int) 1024、height=(int) 640、format=(fourcc) YUY2、帧速率=(frame=(fraction) 0/1、 interlPipeline=(布尔 型) false /GstPipeline:rstine0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:SYNC_Src:cps = application/x-RstpPipeline/Rtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrttpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrttpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsrtpsr
此时挂起、显示屏上无视频。
您能否提供某种方式来显示 HDMI 显示1024x768的 rtsp 视频?
非常感谢!