| streamnik ¼¹ö Streamnik Server ÇÁ·ÎÁ§Æ®´Â Open ÄÚµ¦ OGG / Vorbis ¹× OGG / Theora¸¦ ±â¹ÝÀ¸·Î ÇÑ IPTV ¼¹öÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
streamnik ¼¹ö ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.streamnik.de/
streamnik ¼¹ö ű×
streamnik ¼¹ö ¼³¸í
StreamNik Server ÇÁ·ÎÁ§Æ®´Â Open Codec OGG / Vorbis ¹× OGG / Theora¸¦ ±â¹ÝÀ¸·Î ÇÑ IPTV ¼¹öÀÔ´Ï´Ù. StreamNik Server ÇÁ·ÎÁ§Æ®´Â Open Codec OGG / Vorbis ¹× OGG / Theora¸¦ ±â¹ÝÀ¸·Î ÇÑ IPTV ¼¹öÀÔ´Ï´Ù. ´Ù¾çÇÑ Ã¤³ÎÀ» ½ºÆ®¸®¹Ö ÇÒ ¼ö ÀÖÀ¸¸ç ÀÓ´ë (°¡»ó) ¼¹ö¿¡¼ ½ÇÇàµÇµµ·Ï ÃÖÀûȵǾî ÀÖ½À´Ï´Ù. ÇÁ·Î±×·¥ ÀÏÁ¤Àº SQL µ¥ÀÌÅͺ£À̽º Å×ÀÌºí¿¡ ÀÇÇØ Á¤ÀǵǸç runtime.requirements¿¡¼ º¯°æÇÒ ¼ö ÀÖ½À´Ï´Ù. ¡¤ º¸Åë C ++ (mysqlclient) ¼³Ä¡ : ÄÄÆÄÀÏÇÏ·Á¸é, ¸ðµç °ÍÀÌ ÀϹÝÀûÀ¸·Î ÀÛµ¿ÇÕ´Ï´Ù. ./ configuremakesudo ¼¹ö¸¦ ½ÃÀÛÇؾßÇÕ´Ï´Ù. : ªÀº Çʸ§ Çڵ鸵 ÇÁ·¹ÀÓº¸±â : ªÀº ¹Ì¸®º¸±â Çʸ§ (¿¹ : ±¤°í -ÀÌ ½ºÆ®¸²Àº ...) µ¿¿µ»ó : ºñµð¿À¸¦ º¸¿©ÁÖ´Â ºñµð¿À, ªÀº ºñµð¿À, ¡á ´Ü¶ô ¹× »çÄ¡´Â ÇÁ·¹ÀÓ ÀÎ, Å° ÇÁ·¹ÀÓ °Å¸®¿¡¼ ÀÏÄ¡ÇؾßÇÕ´Ï´Ù. ½ÇÁ¦·Î Å° À̸§À» °¡Áö°í ij½ÃÇÏ°í ÄÄÆÄÀÏ (´ÙÀ½ ¹öÀü¿¡ ´ëÇÑ µ¥ÀÌÅͺ£À̽º Ç׸ñÀ» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù) ½ÃÀÛ : ¼¹ö¸¦ ½ÃÀÛÇϽʽÿÀ.> streamnikserver -d -u -p ¹× ¼¹ö¿¡ ¾×¼¼½ºÇϽʽÿÀ. mplayer :> mplayer "http : // localhost : 12000 / Video.ogg? Channel = 1"±×·¯³ª ¸ðµç Ãß°¡ ÀÛ¾÷À» ¼³Á¤ÇؾßÇÕ´Ï´Ù. µ¥ÀÌÅͺ£À̽º : SQL-DEBANADED°¡ ÇÊ¿äÇÕ´Ï´Ù. ´Þ¸®±â. ¸í·É¹®ÀºÀÌ ¹®¼ÀÇ ³¡¿¡ Ç¥½ÃµË´Ï´Ù.ÀÌ ÆÄÀÏ°ú ¾ÏÈ£´Â ¸í·É ÁÙ¿¡ Ãß°¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÆÄÀÏ : Ȩ> °øÀ¯> OGG> ShortyThe ogg µð·ºÅ丮°¡ ÇÊ¿äÇÕ´Ï´Ù. ¸ðµç ÆÄÀÏÀ» ¿î¹ÝÇÏ¸ç ½ºÆ®¸®¹ÖµÇ¾î¾ßÇÕ´Ï´Ù. ¸ðµç ÆÄÀÏ¿¡´Â SQL µ¥ÀÌÅͺ£À̽º ( "ºñµð¿À"Å×À̺í)¿¡ ÇØ´ç Ç׸ñÀÌ ÀÖ½À´Ï´Ù. ´Ü¶ôÀº ¿À·ù¿¡ Ç¥½ÃµÈ ÀÛÀº OGG ÆÄÀÏÀÔ´Ï´Ù. shorty_1.ogg -> ¾øÀ½ ½ºÆ®¸² availesTry_2.ogg -> ¹«´Ü AccessShorty_3.ogg -> ½ºÆ®¸®¹Ö timeoutsshorty_4.ogg -> database previews (adds for adds for for for for for for own for ¿ø·¡ ½ºÆ®¸²)¸¦ Ãß°¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù.ÀÌ ÆÄÀÏÀº ªÀº µð·ºÅ丮µµ ¾Æ´Ï¸ç ¹Ì¸®º¸±â _ *. ogg.The ½Ã½ºÅÛÀº ¾øÁö¸¸ ½Ã½ºÅÛÀÌ ÇູÇÏÁö´Â ¾ÊÁö¸¸ ¾÷ ·¯½Ã¸¦ ½ÃÀÛÇÕ´Ï´Ù. ä³ÎÀº SQL µ¥ÀÌÅͺ£À̽ºÀÇ Ç׸ñÀ¸·Î ¿¸³´Ï´Ù. ÀÌ Ç׸ñÀº ½ÇÁ¦·Î ½ÃÀ۽à ½ÇÁ¦·Î Á¸ÀçÇؾßÇÕ´Ï´Ù. ¸ðµç ä³ÎÀ» À§ÇØ StreamCreator °´Ã¼°¡ ¸¸µé¾îÁö¸ç ¸ÖƼÇ÷º¼¿¡ µ¥ÀÌÅÍÀÇ µ¥ÀÌÅ͸¦ º¸³À´Ï´Ù. ±×·± ´ÙÀ½ ¸ðµç Ŭ¶óÀ̾ðÆ® ¿äûÀ» ó¸®ÇÕ´Ï´Ù. TCPLISTENER (Æ÷Æ® 12000) StreamSend (Ŭ¶óÀ̾ðÆ® 1) | | / file -> streamcreator -> ¸ÖƼÇ÷º¼ ---> streamsend (Ŭ¶óÀ̾ðÆ® 2) ½ºÆ®¸² 1 | | -> streamsend (Ŭ¶óÀ̾ðÆ® 3) | SQL µ¥ÀÌÅͺ£À̽º ¾×¼¼½º | ^ | -> StreamSend (Ŭ¶óÀ̾ðÆ® 4) | | / file -> streamcreator -> ¸ÖƼÇ÷º¼ ---> streamsend (Ŭ¶óÀ̾ðÆ® 5) ½ºÆ®¸² 2 | | | SQL µ¥ÀÌÅͺ£À̽º ¾×¼¼½º | ^ | ---> streamsend (Ŭ¶óÀ̾ðÆ® 6) | | / file -> streamcreator -> ¸ÖƼÇ÷º¼ -----> streamsend (Ŭ¶óÀ̾ðÆ® 7) ½ºÆ®¸² 3 -> streamsend (Ŭ¶óÀ̾ðÆ® 8) -> streamsend (Ŭ¶óÀ̾ðÆ® 9) ... ÀÏÁ¤ : ÀÏÁ¤ÀÌ "ÀÏÁ¤"¿¡ ¹èÄ¡µË´Ï´Ù Å×ÀÌºí µ¥ÀÌÅͺ£À̽ºÀÇ Å×À̺í. ( "day_id"¹× "date"´Â ½ÇÁ¦·Î »ç¿ëµÇÁö ¾Ê½À´Ï´Ù.) CHANNEL_ID ¹× VIDEO_ID´Â ´Ù¸¥ Å×À̺íÀÇ Ç׸ñ¿¡ ÇØ´çÇÕ´Ï´Ù. ¸ðµç Çʸ§ÀÇ À§Ä¡°¡ ÀÖ½À´Ï´Ù (ÇÏ·ç). 4½Ã¿¡ ÇÏ·ç°¡ ½ÃÀ۵˴ϴÙ. ÇÑ ºí·ÏÀÇ Çʸ§ÀÇ Ã¹ ¹ø° Ç׸ñÀº »óÅ "1"»óÅ·Πǥ½ÃµÇ¾î¾ßÇÕ´Ï´Ù. Çʸ§ÀÌ Áö¼ÓÀûÀ¸·Î ¿¬°áµÇ¾î ÀÖÁö ¾ÊÀ¸¸é "1"»óŸ¦ ´Ù½Ã Ãß°¡ÇؾßÇÕ´Ï´Ù. ************ *************************************************************** ******************************************************** ** Å×ÀÌºí ¸¸µé±â`Schedule` (`day_id` int (11) ºÎÈ£ ¾øÀ½ null ±âº»°ª '0',`date` varchar (8) null ±âº»°ª '',`channel_id` int (11) ºÎÈ£ ¾øÀ½ null ±âº»°ª '0' `position` int (10) null not null ±âº»°ª '0',`video_id` int (10) ºÎÈ£¾ø´Â null ±âº»°ª '0',`duration` int (10) null ±âº» '0',`status` stattnt (3) unsigned not default '0'create table` ºñµð¿À`(`id` int (10) insigned not null in null auto_increment,`insonigned not null default '0',`title` varchar (80 ) Not Null ±âº»°ª '',`subtitle` varchar (80) not null ±âº»°ª ',`ÀÛ¼ºÀÚ varchar (80) null ±âº»°ª' ',`ÀúÀÛ±Ç'varchar (160) null default '',`discoptire 'varchar (255) not null ±âº»°ª ' ',`time_added` int (10) in null default'0 ',`duration` int (10) ºÎÈ£¾ø´Â null ±âº»'0 ',`ready` tinyint (1) null ±âº»'0 ', ±âº» Å° (` ID`) Å×ÀÌºí ¸¸µé±â`ä³Î (`int (11) ºÎÈ£¾ø´Â null ±âº»°ª '0',`name varchar (80) null ±âº»°ª '',`int (11) null default '0 ',`description` varchar (80) not null ±âº»°ª' ',`randomplay` tinyint (1) not null ±âº»'0 ', ±âº» Å° (`id`))ÀÌ ¸±¸®½ºÀÇ »õ·Î¿î ±â´É : ¡¤ÀÌ ¸±¸®½º´Â ¼¹ö ¼³Á¤À»À§ÇÑ »õ·Î¿î ¹®¼ÀÔ´Ï´Ù. ¡¤ STREAMNIK ¼¹ö¸¦ ÇÑ ´Ü°è ¸¸¿¡ ÄÄÆÄÀÏ, ¼³Ä¡ ¹× ¼³Á¤ÇÏ´Â ½ºÅ©¸³Æ®°¡ ÀÖ½À´Ï´Ù. ¡¤ ±¸¼º ÆÄÀÏÀº / etc / streamnik¿¡ ¹èÄ¡ µÈ ±¸¼º ÆÄÀÏ·Î ±¸¼º ÇÒ ¼ö ÀÖ½À´Ï´Ù. . ¡¤ ´Ù¸¥ Linux ¹èÆ÷ÆÇ ¾Æ·¡¿¡¼ ÄÄÆÄÀÏÇϱâÀ§ÇÑ ¼öÁ¤ »çÇ×°ú °°Àº ÀϺΠ»ç¼ÒÇÑ ¹ö±× ¼öÁ¤ÀÌ ÀÖ½À´Ï´Ù.
streamnik ¼¹ö °ü·Ã ¼ÒÇÁÆ®¿þ¾î