Part Number: TMS320DM8168
Tool/software: Linux
Hello all!
We've got a DM8168 evaluation board with ti-ezsdk_dm816x-evm_5_05_02_00
All examples using OMX_DC_MODE_1080P_60 but we need resolution 1024x768
For example, we try to play pipeline on HDMI Display:
gst-launch -v rtspsrc location="rtsp://172.16.5.203/axis-media/media.amp" ! rtph264depay ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_videosink sync=false
On 1080P_60 mode this pipeline works fine!
Next we changed resolution in script /etc/init.d/load-hd-firware.sh:
#!/bin/sh
#
# manage HDVICP2 and HDVPSS Engine firmware
PATH=$PATH:/usr/share/ti/ti-media-controller-utils
HDVICP2_ID=1
HDVPSS_ID=2
case "$1" in
start)
echo "Loading HDVICP2 Firmware"
prcm_config_app s
modprobe syslink
until [[ -e /dev/syslinkipc_ProcMgr && -e /dev/syslinkipc_ClientNotifyMgr ]]
do
sleep 0.5
done
firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm816x_hdvicp.xem3 start
echo "Loading HDVPSS Firmware"
firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm816x_hdvpss.xem3 start
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
;;
stop)
echo "Unloading HDVICP2 Firmware"
firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm816x_hdvicp.xem3 stop
echo "Unloading HDVPSS Firmware"
rmmod ti81xxfb
rmmod ti81xxhdmi
rmmod vpss
firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm816x_hdvpss.xem3 stop
rmmod syslink
;;
*)
echo "Usage: /etc/init.d/load-hd-firmware.sh {start|stop}"
exit 1
;;
esac
exit 0
After saving we rebooted system.
We are 1024x768:
root@dm816x-evm:~# fbset
mode "1024x768-60"
# D: 65.003 MHz, H: 48.365 kHz, V: 60.006 Hz
geometry 1024 768 1024 768 32
timings 15384 160 24 29 3 136 6
rgba 8/16,8/8,8/0,8/24
endmode
But now all pipelines for display sink is NOT WORKING!
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 display-mode=FVID2_STD_XGA_60 ! omx_videosink sync=false Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency = 2000 /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: buffer-mode = slave (1) /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout = 5000000 Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout = 0 /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)4d0029, sprop-parameter-sets=(string)\"Z00AKeKQCACjYC3AQEBpB4kRUA\\=\\=\\,aO48gA\\=\\=\", a-tool=(string)GStreamer, a-type=(string)broadcast, a-framerate=(string)5.000000, a-transform=(string)\"0.900000\\,0.000000\\,0.000000\\;0.000000\\,1.000000\\,0.000000\\;0.000000\\,0.000000\\,1.000000\", clock-base=(uint)2664626438, seqnum-base=(uint)8044, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1 /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3225713374_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)4d0029, sprop-parameter-sets=(string)\"Z00AKeKQCACjYC3AQEBpB4kRUA\\=\\=\\,aO48gA\\=\\=\", a-tool=(string)GStreamer, a-type=(string)broadcast, a-framerate=(string)5.000000, a-transform=(string)\"0.900000\\,0.000000\\,0.000000\\;0.000000\\,1.000000\\,0.000000\\;0.000000\\,0.000000\\,1.000000\", clock-base=(uint)2664626438, seqnum-base=(uint)8044, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1 /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3225713374_96.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)4d0029, sprop-parameter-sets=(string)\"Z00AKeKQCACjYC3AQEBpB4kRUA\\=\\=\\,aO48gA\\=\\=\", a-tool=(string)GStreamer, a-type=(string)broadcast, a-framerate=(string)5.000000, a-transform=(string)\"0.900000\\,0.000000\\,0.000000\\;0.000000\\,1.000000\\,0.000000\\;0.000000\\,0.000000\\,1.000000\", clock-base=(uint)2664626438, seqnum-base=(uint)8044, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1 /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_3225713374_96.GstProxyPad:proxypad3: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)4d0029, sprop-parameter-sets=(string)\"Z00AKeKQCACjYC3AQEBpB4kRUA\\=\\=\\,aO48gA\\=\\=\", a-tool=(string)GStreamer, a-type=(string)broadcast, a-framerate=(string)5.000000, a-transform=(string)\"0.900000\\,0.000000\\,0.000000\\;0.000000\\,1.000000\\,0.000000\\;0.000000\\,0.000000\\,1.000000\", clock-base=(uint)2664626438, seqnum-base=(uint)8044, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1 /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, width=(int)1024, height=(int)640 /GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, width=(int)1024, height=(int)640 /GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, width=(int)1024, height=(int)640 /GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0.GstPad:src: caps = video/x-raw-yuv-strided, width=(int)1024, height=(int)640, format=(fourcc)NV12, rowstride=(int)1152, interlaced=(boolean)false, framerate=(fraction)0/1 (gst-launch-0.10:1270): GStreamer-CRITICAL **: _gst_util_uint64_scale_int: assertion `denom > 0' failed /GstPipeline:pipeline0/GstOmxScaler:omxscaler0.GstPad:sink: caps = video/x-raw-yuv-strided, width=(int)1024, height=(int)640, format=(fourcc)NV12, rowstride=(int)1152, interlaced=(boolean)false, framerate=(fraction)0/1 /GstPipeline:pipeline0/GstOmxScaler:omxscaler0.GstPad:sink: caps = video/x-raw-yuv-strided, width=(int)1024, height=(int)640, format=(fourcc)NV12, rowstride=(int)1152, interlaced=(boolean)false, framerate=(fraction)0/1 /GstPipeline:pipeline0/GstOmxScaler:omxscaler0.GstPad:src: caps = video/x-raw-yuv, width=(int)1024, height=(int)640, format=(fourcc)YUY2, framerate=(fraction)0/1, interlaced=(boolean)false /GstPipeline:pipeline0/GstOmxBaseCtrl:omxbasectrl0.GstPad:src: caps = video/x-raw-yuv, width=(int)1024, height=(int)640, format=(fourcc)YUY2, framerate=(fraction)0/1, interlaced=(boolean)false /GstPipeline:pipeline0/GstOmxBaseCtrl:omxbasectrl0.GstPad:sink: caps = video/x-raw-yuv, width=(int)1024, height=(int)640, format=(fourcc)YUY2, framerate=(fraction)0/1, interlaced=(boolean)false /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_-1069253922: caps = application/x-rtcp /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = application/x-rtcp /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp
This is hangs on this point and no video on display.
Could you please provide some way to display rtsp video for HDMI display 1024x768?
Thanks a lot!