ウェブカメラ ストリーム (geovision ビデオ サーバーから) をウェブサイトに埋め込みたい。残念ながら、ビデオ データに直接アクセスできるのは rtsp ストリームだけです。
さまざまなバリエーションを試しました。このバージョンでは、エラーは発生しませんでした:
openRTSP -b 50000 -w 352 -h 288 -f 5 -v -c -u admin password rtsp://xxxxxx.dyndns.org:8554/CH001.sdp | \
ffmpeg -r 5 -b 256000 -f mp4 -i - http://127.0.0.1:8090/feed1.ffm
残念ながら、私はビデオを取得しません。時々、ウェブカメラの 1 つのフレームが表示されますが、ライブ ストリームは表示されません。
これは私のffserver.confです
Port 8090
BindAddress 0.0.0.0
MaxClients 200
MaxBandwidth 20000
CustomLog /var/log/flvserver/access.log
NoDaemon
# Server Status
<Stream stat.html>
Format status
</Stream>
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 200K
ACL allow 127.0.0.1
</Feed>
# SWF output - great for testing
<Stream test.swf>
# the source feed
Feed feed1.ffm
# the output stream format - SWF = flash
Format swf
#VideoCodec flv
# this must match the ffmpeg -r argument
VideoFrameRate 5
# another quality tweak
VideoBitRate 256K
# quality ranges - 1-31 (1 = best, 31 = worst)
VideoQMin 1
VideoQMax 3
VideoSize 352x288
# wecams don't have audio
NoAudio
</Stream>
私は何を間違っていますか?test.swf は永久に読み込まれるようです...