¾È³çÇϼ¼¿ä.
ÇöÀç ffmpeg ȨÆäÀÌÁö¿¡¼ Á¦°øÇÏ´Â static À¸·Î ºôµåµÈ ffmpeg ½ÇÇàÆÄÀÏÀ» ÀÌ¿ëÇØ rtsp ½ºÆ®¸®¹Ö ¼¹ö¸¦ µ¹·Áº¸·Á°í ÇÏ°íÀÖ½À´Ï´Ù.
¹®Á¦°¡ ÀÌ ffmpeg play°ü·Ã command ¿É¼ÇÀ» Á¦°¡ Àß ¸ô¶ó¼
udp ±îÁö´Â ¶óÀÌºê ½ºÆ®¸®¹Ö¿¡ ¼º°øÇߴ´ë rtsp °ü·Ã Ä¿¸Çµå´Â ¾îµô ã¾Æµµ ¾Èº¸À̳׿ä.
Àû´çÈ÷ ¿É¼ÅÀ» ³Ö¾î¼ ÇغÃÁö¸¸ ¹«½¼ÁþÀ» Çصµ
ÀÌ real-time buffer °ü·Ã ¿¡·¯¸¦ ÇÇÇØ°¡Áú ¸øÇϴ±º¿ä......
ffmpeg ¹ÙÀ̳ʸ®¸¦ ÀÌ¿ëÇÑ rtsp ½ºÆ®¸®¹Ö °ü·Ã¿¡ ´ëÇØ ¾Æ½Ã´Â ºÐÀÌ °è½Å´Ù¸é Á¶¾ðÀ» ºÎŹµå¸³´Ï´Ù.
¾Æ Âü°í·Î ½ÇÇà Ä¿¸Çµå´Â ´ÙÀ½°ú °°½À´Ï´Ù.
ffmpeg -f dshow -i video="AVerMedia HD Capture 1" -pix_fmt yuv420p -preset ultrafast -vcodec libx264 -r 25 -b:v 500k -f rtsp rtsp://localhost:1234 | |
|
https://trac.ffmpeg.org/wiki/StreamingGuide Âü°íÇϽðí -rtbufsize·Î real-time buffer Å©±â°¡ Á¶Àý°¡´ÉÇÕ´Ï´Ù.
°³³äÀ» ´Ù½Ã ¹è¿ö¾ß ÇÒ °Í°°½À´Ï´Ù