From 4cf972b5adc2f12d333431742aecdcfc944ca5d3 Mon Sep 17 00:00:00 2001 From: Vasily Evseenko Date: Fri, 15 Dec 2023 19:34:15 +0300 Subject: [PATCH] Fix videotestsrc format in sample script --- scripts/video_test_src.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/video_test_src.sh b/scripts/video_test_src.sh index 23225678..88688ce9 100755 --- a/scripts/video_test_src.sh +++ b/scripts/video_test_src.sh @@ -1,3 +1,3 @@ #!/bin/sh -gst-launch-1.0 videotestsrc ! videoconvert ! video/x-raw,format=NV12,framerate=60/1,width=1280,height=720 ! vaapih264enc bitrate=4000 keyframe-period=3 rate-control=cbr max-bframes=0 ! rtph264pay config-interval=-1 ! udpsink host=localhost port=5602 +gst-launch-1.0 videotestsrc ! videoconvert ! video/x-raw,format=NV12,framerate=60/1,width=1280,height=720,format=I420 ! vaapih264enc bitrate=4000 keyframe-period=3 rate-control=cbr max-bframes=0 ! rtph264pay config-interval=-1 ! udpsink host=localhost port=5602