0
바탕 화면을 ffserver로 캐스팅하고 webm으로 스트리밍하려고합니다.ffmpeg/ffserver를 사용하여 webm을 스트리밍
<Feed feed1.ffm> # This is the input feed where FFmpeg will send
File ./feed1.ffm # video stream.
FileMaxSize 1G # Maximum file size for buffering video
ACL allow 127.0.0.1
ACL allow localhost
</Feed>
<Stream test.webm> # Output stream URL definition
Feed feed1.ffm # Feed from which to receive video
Format webm
# Audio settings
AudioCodec vorbis
AudioBitRate 64 # Audio bitrate
# Video settings
VideoCodec libvpx
VideoSize 720x576 # Video resolution
VideoFrameRate 25 # Video FPS
AVOptionVideo cpu-used 10
AVOptionVideo qmin 10
AVOptionVideo qmax 42
AVOptionVideo quality good
AVOptionAudio flags +global_header
PreRoll 15
StartSendOnKey
VideoBitRate 400 # Video bitrate
</Stream>
그리고 내 바탕 화면에서 다음 명령 :는 FFmpeg은 (아치 최신) 버전 2.4.2 및 활성화 libvpx과 함께 보낸으로
ffmpeg -f x11grab -r 25 -s 1280x800 -i :0.0 -f alsa -i pulse http://127.0.0.1:8090/feed1.ffm
나는 다음과 ffserver 구성을 사용하고 있습니다. 오류가 발생합니다.
[libvpx @ 0x20a21a0] CQ level 0 must be between minimum and maximum quantizer value (10-42)
클라이언트 측. 지금까지 ffmpeg -h full
을 호출 할 때까지는 cq 수준을 설정할 방법이 없으며 qmin을 0으로 설정하면 작동하지 않습니다. (어떤 이유로 3이 끝나면 ffmpeg가 최소로 적용됩니다).
이 구성은 인터넷의 다른 사람들에게도 효과가있는 것처럼 보입니다.하지만 cq 수준 기본값이 0 인 경우 어떻게 볼 수 없습니다. 누군가에게 아이디어가 있다면 정말 감사하겠습니다.
ffmpeg streaming guide, 감사를 읽고 권하고 싶습니다! –