正在显示
3 个修改的文件
包含
60 行增加
和
30 行删除
| 1 | -*.conf | ||
| 2 | -doc/frozen*.flv | ||
| 3 | -doc/kungfupanda*.flv | ||
| 4 | -doc/time*.flv | ||
| 5 | -html | ||
| 6 | -ide/srs_xcode/srs_xcode.xcodeproj/project.xcworkspace/xcshareddata/ | ||
| 7 | -ide/srs_xcode/srs_xcode.xcodeproj/project.xcworkspace/xcuserdata/ | ||
| 8 | -ide/srs_xcode/srs_xcode.xcodeproj/xcuserdata/ | ||
| 9 | -research/aac/ | ||
| 10 | .idea/ | 1 | .idea/ |
| 11 | -research/api-server/static-dir/mse | ||
| 12 | -research/bat/ | ||
| 13 | -research/big/ | ||
| 14 | -research/bitch/ | ||
| 15 | -research/bott/ | ||
| 16 | -research/cgo/ | ||
| 17 | -research/dns/ | ||
| 18 | -research/empty/ | ||
| 19 | -research/golang/golang | ||
| 20 | -research/golang/temp.flv | ||
| 21 | -research/librtmp/720p.h264.raw | ||
| 22 | -research/librtmp/test.h264 | ||
| 23 | -research/licenser/ | ||
| 24 | -research/players/fls_player/ | ||
| 25 | -research/players/mic/ | ||
| 26 | -research/proxy/ | ||
| 27 | -research/redis-ocluster/ | ||
| 28 | -research/rtmfp/ | ||
| 29 | -research/snap/ | ||
| 30 | -research/speex/ | ||
| 31 | -test/ | 2 | +/*.conf |
| 3 | +/doc/frozen*.flv | ||
| 4 | +/doc/kungfupanda*.flv | ||
| 5 | +/doc/time*.flv | ||
| 6 | +/html | ||
| 7 | +/ide/srs_xcode/srs_xcode.xcodeproj/project.xcworkspace/xcshareddata/ | ||
| 8 | +/ide/srs_xcode/srs_xcode.xcodeproj/project.xcworkspace/xcuserdata/ | ||
| 9 | +/ide/srs_xcode/srs_xcode.xcodeproj/xcuserdata/ | ||
| 10 | +/research/aac/ | ||
| 11 | +/research/api-server/static-dir/mse | ||
| 12 | +/research/bat/ | ||
| 13 | +/research/big/ | ||
| 14 | +/research/bitch/ | ||
| 15 | +/research/bott/ | ||
| 16 | +/research/cgo/ | ||
| 17 | +/research/dns/ | ||
| 18 | +/research/empty/ | ||
| 19 | +/research/golang/golang | ||
| 20 | +/research/golang/temp.flv | ||
| 21 | +/research/librtmp/720p.h264.raw | ||
| 22 | +/research/librtmp/test.h264 | ||
| 23 | +/research/licenser/ | ||
| 24 | +/research/players/fls_player/ | ||
| 25 | +/research/players/mic/ | ||
| 26 | +/research/proxy/ | ||
| 27 | +/research/redis-ocluster/ | ||
| 28 | +/research/rtmfp/ | ||
| 29 | +/research/snap/ | ||
| 30 | +/research/speex/ | ||
| 31 | +/test/ | ||
| 32 | 32 |
| @@ -1230,6 +1230,10 @@ vhost transcode.ingest.srs.com { | @@ -1230,6 +1230,10 @@ vhost transcode.ingest.srs.com { | ||
| 1230 | ffmpeg ./objs/ffmpeg/bin/ffmpeg; | 1230 | ffmpeg ./objs/ffmpeg/bin/ffmpeg; |
| 1231 | engine { | 1231 | engine { |
| 1232 | enabled off; | 1232 | enabled off; |
| 1233 | + perfile { | ||
| 1234 | + re; | ||
| 1235 | + rtsp_transport tcp; | ||
| 1236 | + } | ||
| 1233 | iformat flv; | 1237 | iformat flv; |
| 1234 | vfilter { | 1238 | vfilter { |
| 1235 | i ./doc/ffmpeg-logo.png; | 1239 | i ./doc/ffmpeg-logo.png; |
trunk/conf/ingest.rtsp.conf
0 → 100644
| 1 | +# use ffmpeg to ingest file/stream/device to SRS | ||
| 2 | +# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleIngest | ||
| 3 | +# @see full.conf for detail config. | ||
| 4 | + | ||
| 5 | +listen 1935; | ||
| 6 | +max_connections 1000; | ||
| 7 | +vhost __defaultVhost__ { | ||
| 8 | + ingest { | ||
| 9 | + enabled on; | ||
| 10 | + input { | ||
| 11 | + type stream; | ||
| 12 | + url rtsp://admin:12345678@192.168.2.21:554/Streaming/Channels/501?transportmode=unicast; | ||
| 13 | + } | ||
| 14 | + ffmpeg ./objs/ffmpeg/bin/ffmpeg; | ||
| 15 | + engine { | ||
| 16 | + enabled on; | ||
| 17 | + perfile { | ||
| 18 | + rtsp_transport tcp; | ||
| 19 | + } | ||
| 20 | + vcodec copy; | ||
| 21 | + acodec copy; | ||
| 22 | + output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream; | ||
| 23 | + } | ||
| 24 | + } | ||
| 25 | +} | ||
| 26 | + |
-
请 注册 或 登录 后发表评论