diff --git a/README.md b/README.md index 82510cc4d..8eed1b997 100755 --- a/README.md +++ b/README.md @@ -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 diff --git a/trunk/conf/srs.conf b/trunk/conf/srs.conf index c475beadf..a15d7ae75 100755 --- a/trunk/conf/srs.conf +++ b/trunk/conf/srs.conf @@ -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: diff --git a/trunk/doc/source.200kbps.768x320.flv b/trunk/doc/source.200kbps.768x320.flv new file mode 100644 index 000000000..84bbb0cd7 Binary files /dev/null and b/trunk/doc/source.200kbps.768x320.flv differ diff --git a/trunk/doc/source.flv b/trunk/doc/source.flv deleted file mode 100644 index 832125829..000000000 Binary files a/trunk/doc/source.flv and /dev/null differ