mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
change demo video to 200kbps
This commit is contained in:
parent
bbf7b9bb01
commit
bf18a3ac96
4 changed files with 15 additions and 15 deletions
|
@ -36,7 +36,7 @@ FMS URL: rtmp://127.0.0.1:1935/live
|
|||
Stream: livestream
|
||||
For example, use ffmpeg to publish:
|
||||
for((;;)); do \
|
||||
./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.flv -vcodec copy -acodec copy \
|
||||
./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.200kbps.768x320.flv -vcodec copy -acodec copy \
|
||||
-f flv -y rtmp://127.0.0.1:1935/live/livestream; \
|
||||
sleep 1; \
|
||||
done
|
||||
|
|
|
@ -28,8 +28,8 @@ vhost __defaultVhost__ {
|
|||
vcodec libx264;
|
||||
vbitrate 300;
|
||||
vfps 20;
|
||||
vwidth 1152;
|
||||
vheight 480;
|
||||
vwidth 768;
|
||||
vheight 320;
|
||||
vthreads 1;
|
||||
vprofile baseline;
|
||||
vpreset superfast;
|
||||
|
@ -51,8 +51,8 @@ vhost __defaultVhost__ {
|
|||
vcodec libx264;
|
||||
vbitrate 500;
|
||||
vfps 20;
|
||||
vwidth 1152;
|
||||
vheight 480;
|
||||
vwidth 768;
|
||||
vheight 320;
|
||||
vthreads 1;
|
||||
vprofile main;
|
||||
vpreset fast;
|
||||
|
@ -81,8 +81,8 @@ vhost mirror.transcode.vhost.com {
|
|||
vcodec libx264;
|
||||
vbitrate 300;
|
||||
vfps 20;
|
||||
vwidth 1152;
|
||||
vheight 480;
|
||||
vwidth 768;
|
||||
vheight 320;
|
||||
vthreads 2;
|
||||
vprofile baseline;
|
||||
vpreset superfast;
|
||||
|
@ -111,8 +111,8 @@ vhost drawtext.transcode.vhost.com {
|
|||
vcodec libx264;
|
||||
vbitrate 300;
|
||||
vfps 20;
|
||||
vwidth 1152;
|
||||
vheight 480;
|
||||
vwidth 768;
|
||||
vheight 320;
|
||||
vthreads 2;
|
||||
vprofile baseline;
|
||||
vpreset superfast;
|
||||
|
@ -141,8 +141,8 @@ vhost crop.transcode.vhost.com {
|
|||
vcodec libx264;
|
||||
vbitrate 300;
|
||||
vfps 20;
|
||||
vwidth 1152;
|
||||
vheight 480;
|
||||
vwidth 768;
|
||||
vheight 320;
|
||||
vthreads 2;
|
||||
vprofile baseline;
|
||||
vpreset superfast;
|
||||
|
@ -171,8 +171,8 @@ vhost logo.transcode.vhost.com {
|
|||
vcodec libx264;
|
||||
vbitrate 300;
|
||||
vfps 20;
|
||||
vwidth 1152;
|
||||
vheight 480;
|
||||
vwidth 768;
|
||||
vheight 320;
|
||||
vthreads 2;
|
||||
vprofile baseline;
|
||||
vpreset superfast;
|
||||
|
@ -220,9 +220,9 @@ vhost all.transcode.vhost.com {
|
|||
# video framerate.
|
||||
vfps 25;
|
||||
# video width, must be even numbers.
|
||||
vwidth 1728;
|
||||
vwidth 768;
|
||||
# video height, must be even numbers.
|
||||
vheight 720;
|
||||
vheight 320;
|
||||
# the max threads for ffmpeg to used.
|
||||
vthreads 12;
|
||||
# x264 profile, @see x264 -help, can be:
|
||||
|
|
BIN
trunk/doc/source.200kbps.768x320.flv
Normal file
BIN
trunk/doc/source.200kbps.768x320.flv
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue