Display 576i 16:9 with Kmssink

Daniel Rossi electroteque at gmail.com
Sun Nov 24 08:12:33 UTC 2019


I hope someone can help me but I've discovered what is going on. I have 
a 576i interlaced stream I need to play as is through Kmssink.  I am 
using RPI3 for this purpose. I cannot use OMXplayer because I cannot 
monitor and restart the stream and need SRT support.

My command is like so

gst-launch-1.0 -vvvv rtmpsrc location=rtmp:// ! flvdemux ! h264parse ! 
v4l2h264dec ! kmssink

When I set the screen to 720 x 576i. KMSsink is seeing this monitor 
dimension and filling to this space which is 4:3 and 576p I think.

When I turn on a boot video config video=HDMI-A-1:720x576 at 50i. The 
output in Kmssink becomes 720 x 288.

/GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 720
/GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 288
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = 
video/x-h264, stream-format=(string)avc, width=(int)720, 
height=(int)576, 
codec_data=(buffer)01640029ffe1001d67640029acd940b4126ffc010000b440000003004000000c83c60c658001000568ebecb22c
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = 
video/x-h264, stream-format=(string)byte-stream, width=(int)720, 
height=(int)576, pixel-aspect-ratio=(fraction)64/45, 
framerate=(fraction)25/1, interlace-



I need the height to match how OMXPlayer outputs which is shorter in 
height and 16:9.

I believe even when filling to the screen KMSsink is still outputting 
4:3 not 16:9 576i.

I hope that makes sense. See here

https://www.raspberrypi.org/forums/viewtopic.php?f=67&t=256655&p=1570757#p1570757
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191124/584dc2a0/attachment.html>


More information about the gstreamer-devel mailing list