ffmpeg를 사용하여 데스크톱 화면을 TV의 브라우저로 스트리밍하려고 하므로 여기에 내 CLI가 있습니다.
./ffmpeg -probesize 1000M -framerate 60 -video_size 1680x1050 -f x11grab -i :0.0 -f alsa -i default -c:a aac -c:v libx264 http://localhost:8090/feed1.ffm
그리고 여기 내꺼야ffserver.conf
<Stream h264>
Format webm
Feed feed1.ffm
VideoCodec libx264
VideoFrameRate 24
VideoBitRate 100
VideoSize 480x272
#AVPresetVideo default
#AVPresetVideo baseline
AVOptionVideo profile main
PixelFormat yuv420p
#
AudioCodec aac
AudioBitRate 32
AudioChannels 2
AudioSampleRate 22050
AVOptionAudio flags +global_header
</Stream>
그리고 여기에 오류가 발생했습니다.
[x11grab @ 0x55ff0e354a00] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[msmpeg4 @ 0x55ff0e3ab840] rc buffer underflow
[msmpeg4 @ 0x55ff0e3ab840] max bitrate possibly too small or try trellis with large lmax or increase qmax
x264 [error]: baseline profile doesn't support 4:4:4
[libx264 @ 0x55ff0e3b4ca0] Error setting profile baseline.
[libx264 @ 0x55ff0e3b4ca0] Possible profiles: baseline main high high10 high422 high444
Error initializing output stream 0:5 -- Error while opening encoder for output stream #0:5 - maybe incorrect parameters such as bit_rate, rate, width or height
[aac @ 0x55ff0e3b36c0] Qavg: -nan
[alsa @ 0x55ff0e35dc40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Conversion failed!
그래서 내가 뭘 잘못하고 있는 거지?