mirror of
https://github.com/aler9/gortsplib
synced 2025-10-07 08:01:14 +08:00
decrease bitrate of recommended GStreamer pipeline (#243)
This commit is contained in:
@@ -25,7 +25,7 @@ func main() {
|
|||||||
|
|
||||||
log.Println("Waiting for a RTP/H264 stream on UDP port 9000 - you can send one with GStreamer:\n" +
|
log.Println("Waiting for a RTP/H264 stream on UDP port 9000 - you can send one with GStreamer:\n" +
|
||||||
"gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080" +
|
"gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080" +
|
||||||
" ! x264enc speed-preset=ultrafast bitrate=6000 key-int-max=60" +
|
" ! x264enc speed-preset=ultrafast bitrate=3000 key-int-max=60" +
|
||||||
" ! video/x-h264,profile=high" +
|
" ! video/x-h264,profile=high" +
|
||||||
" ! rtph264pay ! udpsink host=127.0.0.1 port=9000")
|
" ! rtph264pay ! udpsink host=127.0.0.1 port=9000")
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@ func main() {
|
|||||||
|
|
||||||
log.Println("Waiting for a RTP/H265 stream on UDP port 9000 - you can send one with GStreamer:\n" +
|
log.Println("Waiting for a RTP/H265 stream on UDP port 9000 - you can send one with GStreamer:\n" +
|
||||||
"gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080" +
|
"gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080" +
|
||||||
" ! x265enc speed-preset=ultrafast tune=zerolatency bitrate=6000" +
|
" ! x265enc speed-preset=ultrafast tune=zerolatency bitrate=3000" +
|
||||||
" ! rtph265pay config-interval=1 ! udpsink host=127.0.0.1 port=9000")
|
" ! rtph265pay config-interval=1 ! udpsink host=127.0.0.1 port=9000")
|
||||||
|
|
||||||
// wait for first packet
|
// wait for first packet
|
||||||
|
Reference in New Issue
Block a user