Skip to content

Commit 3d6e466

Browse files
Merge pull request #379 from ant-media/amarantmeida-patch-2
Add files via upload
2 parents 217f7cd + 48f9eca commit 3d6e466

5 files changed

Lines changed: 28 additions & 1 deletion

File tree

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
RTSP load testing files
1+
2+
3+
This is the compiled version of gstreamer/subprojects/gst-rtsp-server/examples/test-launch.c in ubuntu 22.04 for gstreamer 1.20.0
4+
5+
RTSP Server can run with
6+
7+
./test-launch "( videotestsrc pattern=snow ! video/x-raw,width=1280,height=720,format=I420 ! videoconvert ! x264enc ! rtph264pay name=pay0 pt=96 audiotestsrc ! audio/x-raw,channels=2,rate=48000 ! audioconvert ! avenc_aac ! rtpmp4apay name=pay1 pt=97 )"
8+
9+
Then stream can be playable with rtsp://SERVER_ADDRESS:8554/test
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
BASEDIR=$(dirname "$0")
3+
cd $BASEDIR
4+
5+
6+
#./test-launch "( videotestsrc pattern=snow ! video/x-raw,width=640,height=360,format=I420 ! videoconvert ! x264enc ! rtph264pay name=pay0 pt=96 audiotestsrc ! audio/x-raw,channels=2,rate=48000 ! audioconvert ! avenc_aac ! rtpmp4apay name=pay1 pt=97 )"
7+
8+
9+
./test-launch "( filesrc location=/home/yash/bigbunny.mp4 ! qtdemux name=demux demux.video_0 ! decodebin ! videoconvert ! videoscale ! video/x-raw,width=1920,height=1080,framerate=25/1 ! x264enc tune=zerolatency ! rtph264pay name=pay0 pt=96 demux.audio_0 ! decodebin ! audioconvert ! audioresample ! audio/x-raw,rate=48000,channels=2 ! avenc_aac ! rtpmp4apay name=pay1 pt=97 )"
10+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
BASEDIR=$(dirname "$0")
3+
cd $BASEDIR
4+
5+
6+
#./test-launch "( videotestsrc pattern=snow ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! x264enc ! rtph264pay name=pay0 pt=96 audiotestsrc ! audio/x-raw,channels=2,rate=48000 ! audioconvert ! avenc_aac ! rtpmp4apay name=pay1 pt=97 )"
7+
8+
9+
./test-launch "( videotestsrc pattern=snow ! video/x-raw,width=1920,height=1080,format=I420,framerate=25/1 ! videoconvert ! x264enc bitrate=2000 tune=zerolatency ! rtph264pay name=pay0 pt=96 audiotestsrc ! audio/x-raw,channels=2,rate=48000 ! audioconvert ! avenc_aac ! rtpmp4apay name=pay1 pt=97 )"
23 KB
Binary file not shown.
17.5 MB
Binary file not shown.

0 commit comments

Comments
 (0)