Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Show Cases
IBC 2019
multistream-server
Commits
3d8aca8e
Commit
3d8aca8e
authored
Aug 30, 2019
by
Nicolas Dufresne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: Enable display on Xilinx ZCU106
parent
193dd77e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/main.c
src/main.c
+7
-1
No files found.
src/main.c
View file @
3d8aca8e
...
@@ -9,6 +9,12 @@
...
@@ -9,6 +9,12 @@
#define DEFAULT_SRT_URI "srt://:7001"
#define DEFAULT_SRT_URI "srt://:7001"
#define DEFAULT_RIST_ADDRESSES "127.0.0.1:5004"
#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
*
srt_uri
=
NULL
;
static
gchar
*
rist_addresses
=
NULL
;
static
gchar
*
rist_addresses
=
NULL
;
...
@@ -351,7 +357,7 @@ int main (int argc, char *argv[])
...
@@ -351,7 +357,7 @@ int main (int argc, char *argv[])
"t. ! queue ! rtpmp2tpay ! ristsink bonding-addresses=%s async=0 "
"t. ! queue ! rtpmp2tpay ! ristsink bonding-addresses=%s async=0 "
"t. ! queue leaky=downstream ! srtsink uri=srt://:7002?mode=listener async=0 "
"t. ! queue leaky=downstream ! srtsink uri=srt://:7002?mode=listener async=0 "
"t. ! queue ! tsdemux latency=50 ! tee name=h264_t "
"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 ! "
"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 "
"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 "
,
"h264_t. ! queue ! h264parse ! rtph264pay config-interval=1 ! application/x-rtp,payload=96 ! tee name=webrtctee allow-not-linked=true "
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment