winlin

change demo video to 200kbps

@@ -36,7 +36,7 @@ FMS URL: rtmp://127.0.0.1:1935/live @@ -36,7 +36,7 @@ FMS URL: rtmp://127.0.0.1:1935/live
36 Stream: livestream 36 Stream: livestream
37 For example, use ffmpeg to publish: 37 For example, use ffmpeg to publish:
38 for((;;)); do \ 38 for((;;)); do \
39 - ./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.flv -vcodec copy -acodec copy \ 39 + ./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.200kbps.768x320.flv -vcodec copy -acodec copy \
40 -f flv -y rtmp://127.0.0.1:1935/live/livestream; \ 40 -f flv -y rtmp://127.0.0.1:1935/live/livestream; \
41 sleep 1; \ 41 sleep 1; \
42 done 42 done
@@ -28,8 +28,8 @@ vhost __defaultVhost__ { @@ -28,8 +28,8 @@ vhost __defaultVhost__ {
28 vcodec libx264; 28 vcodec libx264;
29 vbitrate 300; 29 vbitrate 300;
30 vfps 20; 30 vfps 20;
31 - vwidth 1152;  
32 - vheight 480; 31 + vwidth 768;
  32 + vheight 320;
33 vthreads 1; 33 vthreads 1;
34 vprofile baseline; 34 vprofile baseline;
35 vpreset superfast; 35 vpreset superfast;
@@ -51,8 +51,8 @@ vhost __defaultVhost__ { @@ -51,8 +51,8 @@ vhost __defaultVhost__ {
51 vcodec libx264; 51 vcodec libx264;
52 vbitrate 500; 52 vbitrate 500;
53 vfps 20; 53 vfps 20;
54 - vwidth 1152;  
55 - vheight 480; 54 + vwidth 768;
  55 + vheight 320;
56 vthreads 1; 56 vthreads 1;
57 vprofile main; 57 vprofile main;
58 vpreset fast; 58 vpreset fast;
@@ -81,8 +81,8 @@ vhost mirror.transcode.vhost.com { @@ -81,8 +81,8 @@ vhost mirror.transcode.vhost.com {
81 vcodec libx264; 81 vcodec libx264;
82 vbitrate 300; 82 vbitrate 300;
83 vfps 20; 83 vfps 20;
84 - vwidth 1152;  
85 - vheight 480; 84 + vwidth 768;
  85 + vheight 320;
86 vthreads 2; 86 vthreads 2;
87 vprofile baseline; 87 vprofile baseline;
88 vpreset superfast; 88 vpreset superfast;
@@ -111,8 +111,8 @@ vhost drawtext.transcode.vhost.com { @@ -111,8 +111,8 @@ vhost drawtext.transcode.vhost.com {
111 vcodec libx264; 111 vcodec libx264;
112 vbitrate 300; 112 vbitrate 300;
113 vfps 20; 113 vfps 20;
114 - vwidth 1152;  
115 - vheight 480; 114 + vwidth 768;
  115 + vheight 320;
116 vthreads 2; 116 vthreads 2;
117 vprofile baseline; 117 vprofile baseline;
118 vpreset superfast; 118 vpreset superfast;
@@ -141,8 +141,8 @@ vhost crop.transcode.vhost.com { @@ -141,8 +141,8 @@ vhost crop.transcode.vhost.com {
141 vcodec libx264; 141 vcodec libx264;
142 vbitrate 300; 142 vbitrate 300;
143 vfps 20; 143 vfps 20;
144 - vwidth 1152;  
145 - vheight 480; 144 + vwidth 768;
  145 + vheight 320;
146 vthreads 2; 146 vthreads 2;
147 vprofile baseline; 147 vprofile baseline;
148 vpreset superfast; 148 vpreset superfast;
@@ -171,8 +171,8 @@ vhost logo.transcode.vhost.com { @@ -171,8 +171,8 @@ vhost logo.transcode.vhost.com {
171 vcodec libx264; 171 vcodec libx264;
172 vbitrate 300; 172 vbitrate 300;
173 vfps 20; 173 vfps 20;
174 - vwidth 1152;  
175 - vheight 480; 174 + vwidth 768;
  175 + vheight 320;
176 vthreads 2; 176 vthreads 2;
177 vprofile baseline; 177 vprofile baseline;
178 vpreset superfast; 178 vpreset superfast;
@@ -220,9 +220,9 @@ vhost all.transcode.vhost.com { @@ -220,9 +220,9 @@ vhost all.transcode.vhost.com {
220 # video framerate. 220 # video framerate.
221 vfps 25; 221 vfps 25;
222 # video width, must be even numbers. 222 # video width, must be even numbers.
223 - vwidth 1728; 223 + vwidth 768;
224 # video height, must be even numbers. 224 # video height, must be even numbers.
225 - vheight 720; 225 + vheight 320;
226 # the max threads for ffmpeg to used. 226 # the max threads for ffmpeg to used.
227 vthreads 12; 227 vthreads 12;
228 # x264 profile, @see x264 -help, can be: 228 # x264 profile, @see x264 -help, can be:
不能预览此文件类型
This file is too large to display.