Commit 3d8aca8e authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

WIP: Enable display on Xilinx ZCU106

parent 193dd77e
......@@ -9,6 +9,12 @@
#define DEFAULT_SRT_URI "srt://:7001"
#define DEFAULT_RIST_ADDRESSES "127.0.0.1:5004"
#ifdef __aarch64__
#define DEFAULT_VIDEOSINK " queue ! videoconvert n-threads=2 ! queue max-size-bytes=0 ! kmssink bus-id=a00b0000.v_mix"
#else
#define DEFAULT_VIDEOSINK " videoconvert ! autovideosink "
#endif
static gchar *srt_uri = NULL;
static gchar *rist_addresses = NULL;
......@@ -351,7 +357,7 @@ int main (int argc, char *argv[])
"t. ! queue ! rtpmp2tpay ! ristsink bonding-addresses=%s async=0 "
"t. ! queue leaky=downstream ! srtsink uri=srt://:7002?mode=listener async=0 "
"t. ! queue ! tsdemux latency=50 ! tee name=h264_t "
"h264_t. ! queue ! decodebin ! videoconvert ! autovideosink async=0 "
"h264_t. ! queue ! decodebin ! videoconvert ! " DEFAULT_VIDEOSINK " async=0 "
"h264_t. ! queue ! h264parse ! video/x-h264, alignment=au ! "
"hlssink2 location=%s/segment%%05d.ts playlist-location=%s/playlist.m3u8 send-keyframe-requests=0 target-duration=1 playlist-length=5 async=0 "
"h264_t. ! queue ! h264parse ! rtph264pay config-interval=1 ! application/x-rtp,payload=96 ! tee name=webrtctee allow-not-linked=true ",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment