Yuav Ua Li Cas Nrum Audio thiab Video los ntawm Linux rau Chromecast

Chromecast Nws tau dhau los ua cov khoom siv feem ntau siv rau kis mus rau peb lub TV dab tsi raug tsim tawm ntawm peb lub khoos phis tawm, txawb lossis txawm hauv browser. Linux cov neeg siv tsis muaj ib txwm ua haujlwm uas tso cai rau peb pov Linux lub suab thiab yees duab rau Chromecast, yog li peb yuav tsum xaiv rau cov ntawv thov xws li mkchromecast, uas tso cai rau peb kom tso cov ntsiab lus yooj yim uas peb xav mus saib ntawm peb lub TV siv cov cuab yeej no.

Dab tsi yog qhov Chromecast?

Nws yog HDMI ntaus ntawv zoo ib yam li USB tsav uas txuas nrog TV hauv TV kom thiaj li ntes lub teeb liab los ntawm cov xov tooj sib txuas ua ke uas tau txuas hauv Wi-nkaus network. Nrog cov cuab yeej no peb tuaj yeem saib cov ntsiab lus multimedia uas tau xa los ntawm peb lub khoos phis tawj, lub xov tooj ntawm tes thiab txawm tias lub web browser.

Mkchromecast yog dab tsi?

Nws yog qhov khoom siv qhib qhov chaw sau ntawv, sau rau hauv Nab hab sej thiab koj siv dab tsi  node.js, ffmpego avconv kom tau txais lub audio thiab video cam khwb cia los ntawm Linux rau Chromecast.

mkchromecast xa cov multimedia rau peb lub Chromecast tsis tas yuav poob lub suab thiab video zoo, nws tseem siv tau nrog ntau cov kwj, muaj lub suab zoo tshaj 24-ntsis / 96kHz, ncaj qha tawm hauv YouTube, ntawm lwm cov qauv qhia tam sim no hauv Chromecast qauv. Linux rau Chromecast

Lub cuab tam yog nruab nrog lub vaj huam sib luag siv tau zoo heev, uas tau qhia hauv peb lub thawv. Zoo sib xws, lub installation ntawm mkchromecast nws yog ncaj rau yuav luag txhua Linux cuam tshuam.

Yuav ua li cas rau nruab thiab siv mkchromecast?

Hauv txhua Linux distro peb tuaj yeem nruab mkchromecast ncaj qha los ntawm nws qhov chaws tso rau ntawm Github, rau qhov no peb yuav tsum ua cov kauj ruam hauv qab no:

  • Clone lub chaw tso cai ntawm lub cuab yeej, lossis, ua tsis tiav ntawd, rub tawm cov ntawv ruaj khov ntawm daim ntawv thov los ntawm no.
$ git clone https://github.com/muammar/mkchromecast.git
  • Peb mus rau lub nplaub tshev tshiab khiv tawm thiab mus rau txim tuag paws nruab nrog cov ntaub ntawv requirements.txt uas muaj tag nrho cov kev xav tau tsim nyog rau lub cuab yeej los ua haujlwm kom raug (qee kis qhov cuab yeej yuav tsum khiav nrog sudo):
$ cd mkchromecast/
$ pip install -r requirements.txt

Debia, Ubuntu thiab cov neeg siv dag zog tuaj yeem nruab cov cuab yeej ncaj qha los ntawm cov chaw tso cai, tsuas yog khiav cov lus txib hauv qab no los ntawm cov nplig:

sudo apt-get install mkchromecast

Rau lawv ib feem, Arch Linux cov neeg siv thiab kev cai tuaj yeem siv lub pob muaj nyob hauv AUR qhov chaw cia khoom

yaourt -S mkchromecast-git

Peb tuaj yeem pom kev coj tus cwj pwm thiab kev siv ntawm daim ntawv thov no kom paub meej hauv qab gif faib los ntawm pab pawg tsim tawm. Peb tseem tuaj yeem pom cov kev pabcuam raug xaiv los ntawm ntawm no.

mkchromecast

Nrum los ntawm Youtube rau Chromecast

Tshwj xeeb qee yam uas kuv nyiam txog daim ntawv thov no yog tias peb tuaj yeem ncaj qha xa tawm YouTube video los ntawm lub console rau peb chromecast, rau qhov no peb yuav tsum ua cov lus txib hauv qab no:

python mkchromecast.py -y https://www.youtube.com/watch\?v\=NVvAJhZVBT

Tsis muaj ib qho tsis txaus ntseeg, qhov cuab yeej uas yuav tso cai rau peb xa peb cov multimedia los ntawm Linux rau Chromecast hauv txoj kev yooj yim, nrawm thiab tsis poob zoo.


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

14 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   Miguel said

    Kuv siv cov cuab yeej no ntau rau chromecast, nws tso cai rau ntau yam kev txhim kho dua qhov ib. koj tuaj yeem xa cov ntaub ntawv video

    https://github.com/xat/castnow

    1.    Muammar said

      Castnow tsuas yog rau xa cov ntaub ntawv video, tab sis tsis yog rau xa cov suab hauv lub sijhawm tiag tiag.

  2.   anonymous said

    Zoo @Lagarto, tsaug.

  3.   Carlos Moreno said

    Multimedia muaj peev xwm nyob rau hauv ntau. Koj yuav tsum tsis txhob hais "multimedia."
    https://es.m.wiktionary.org/wiki/multimedia

    1.    nab qa dev said

      Ua tsaug ntau rau koj qhov kev paub tseeb, Kuv tau kho thiab nce kuv lo lus ua tsaug rau koj qhov kev xav

  4.   Kevin said

    Kuv tau saib rau ib yam dab tsi zoo sib xws rau hnub. Ua Tsaug !!

  5.   Senhor Pa said

    Nthuav. Kuv yuav sim nws, yam tsis muaj xyem xyav.

    Cov lus nug no yuav teeb lub Firewall li cas. Rau Chrome, piv txwv li, Kuv tsis tau tswj hwm nws thiab nws tsuas yog xa cov ntsiab lus (los ntawm YouTube lossis xijpeem) nrog lub foob pob hluav taws tsis ua haujlwm.

    Puas muaj leej twg paub yuav teeb tsa nws li cas?

    1.    Muammar said
      1.    Yawg Paaj said

        Nyob zoo Muanmar.

        Tseeb, Kuv siv Ubuntu (thov txim, tab sis kuv tsis tau paub hais tias) thiab, txij no mus, Kuv tseem tuaj yeem siv lub Chromecast tsis tas yuav tua lub Firewall.

        Ua tsaug ntau ntau !!!

      2.    Yawg Paaj said

        Nyob zoo Muanmar

        Kuv teb dua, txhawm rau qhia koj tias tom qab qhib chaw nres nkoj 5000, Kuv tau rov qab rau hauv rooj plaub, qhib Chrome thiab tau pom lub Chromecast, yog vim li cas kuv xav tias lub chaw nres nkoj tseem siv tau nyob rau theem ntawm tus qauv thiab tias txhua daim ntawv thov tuaj yeem xa cov ntsiab lus rau Chromecast ib zaug qhib.

        Tab sis lwm zaus kuv sim nws nws tsis txuas nrog. Nws zoo nkaus li tias thawj zaug hluav taws xob siv sijhawm ntev me ntsis kom pib, thiab vim li ntawd nws thiaj li ua haujlwm thawj zaug.

        Yog li kuv nkag siab tias chaw nres nkoj 5000 tsuas yog rau mkchromecast, puas yog?

        1.    Muammar said

          Yog lawm, kuv thov txim. Kuv xav tias kuv misread. Tab sis hauv txoj kev xav, yuav tsum tsis muaj teeb meem muaj lub foob pob hluav taws thiab siv chrome. Kuv tsis tau kuaj, vim kuv siv Debian. Thiab yog, chaw nres nkoj 5000 xav tau tsuas yog rau mkchromecast.

          1.    Yawg Paaj said

            Nws yog to taub.

            Ua tsaug, Muammar.

  6.   Yawg Paaj said

    Nyob zoo txhua tus.

    Hais txog kev teeb tsa ntawm mkchromecast los ntawm cov nom repositories kev ua haujlwm, nws yuav tsum raug sau tseg tias pob khoom tsis nyob hauv Ubuntu 16.04 qhov chaw cia khoom. Txij li qhov kuv tau pom, zoo li nws tsuas muaj li ntawm Ubuntu 16.10.

    Txais tos.

  7.   Daniela said

    thiab nyob rau hauv gentoo distros ??
    Kuv nrhiav tsis tau txoj kev hais daws rau kuv Sabayon Linux.