Ungasakaza kanjani i-Audio nevidiyo kusuka ku-Linux kuye ku-Chromecast

Chromecasts Kuba yidivayisi esetshenziswa kakhulu ukudlulisela ku-TV yethu lokho okukhiqizwa kabusha kukhompyutha yethu, iselula noma ngisho nasesipheqululini. Abasebenzisi be-Linux abanakho ukusebenza kwendabuko okusivumelayo sakaza umsindo we-Linux nevidiyo ku-Chromecast, ngakho-ke kufanele sikhethe izicelo ezinjenge mkchromecast, esivumela ukuthi sikudlulise kalula okuqukethwe esifuna ukukubuka kuthelevishini yethu sisebenzisa le divayisi.

Yini i-Chromecast?

Iyidivayisi ye-HDMI efana ne-USB drive exhunywe kwi-TV ukuze ibambe isignali evela kumadivayisi we-multimedia axhunywe kwinethiwekhi ye-Wi-Fi. Ngaleli thuluzi singabuka okuqukethwe kwe-multimedia okuthunyelwa kusuka kumakhompyutha ethu, amaselula kanye nakwisiphequluli sewebhu.

Yini i-mkchromecast?

Ithuluzi lomthombo ovulekile, elibhalwe ku- Python futhi usebenzisa ini  node.js, ffmpego avconv ukuthola umsindo nevidiyo kusuka ku-Linux kuye ku-Chromecast.

mkchromecast ithumela i-multimedia ku-Chromecast yethu ngaphandle kokulahlekelwa ikhwalithi yomsindo nevidiyo, ibuye ihambisane nokusakazwa okuningi, ukulungiswa kwekhwalithi ephezulu ye-24-bit / 96kHz, ukudluliswa okuqondile okuvela ku-YouTube, phakathi kwezinye izinto ezikhona kumamodeli wesimanje e-Chromecast. I-Linux iye ku-Chromecast

Ithuluzi linephaneli elihle kakhulu lokusetshenziswa, eliboniswa ebhokisini lethu lokungenayo. Ngokufanayo, ukufakwa kwe- mkchromecast iqonde cishe kuwo wonke ama-Linux distros.

Ungayifaka kanjani futhi uyisebenzise kanjani i-mkchromecast?

Kunoma iyiphi i-Linux distro singafaka i-mkchromecast ngqo kusuka kukhodi yayo yomthombo ebanjwe ku-Github, ngoba lokhu kufanele senze lezi zinyathelo ezilandelayo:

  • Shintsha indawo esemthethweni yethuluzi, noma, uma wehluleka lokho, landa inguqulo ezinzile yohlelo lokusebenza kusuka ku- lapha.
$ git clone https://github.com/muammar/mkchromecast.git
  • Siya kufolda esanda kwakhiwa bese siqhubeka nokwenza ukufaka kwepayipi nefayela requirements.txt equkethe konke ukuncika okudingekayo ukuze ithuluzi lisebenze kahle (kwezinye izimo ithuluzi kumele lisebenze ngeSudo):
$ cd mkchromecast/
$ pip install -r requirements.txt

Abasebenzisi be-Debia, Ubuntu nabasebenzisi abasuselwa kokunye bangafaka ithuluzi ngqo kusuka ezinqolobaneni ezisemthethweni, vele usebenzise lo myalo olandelayo ovela kukhonsoli:

sudo apt-get install mkchromecast

Ngokwengxenye yabo, abasebenzisi be-Arch Linux kanye nokuphuma kokunye bangasebenzisa iphakethe elitholakala ekhoselweni le-AUR

yaourt -S mkchromecast-git

Singabona ngokuningiliziwe ukusebenza nokusetshenziswa kwalolu hlelo lokusebenza ku-gif elandelayo esatshalaliswa yithimba lezentuthuko. Futhi singabona okokufundisa okusemthethweni okusetshenzisiwe kusuka lapha.

mkchromecast

Sakaza kusuka ku-Youtube uye ku-Chromecast

Ikakhulu engikuthandayo ngalolu hlelo lokusebenza ukuthi singadlulisa ngqo ividiyo ye-YouTube kusuka kukhonsoli iye ku-chromecast yethu, ngoba lokhu kufanele senze umyalo olandelayo:

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

Ngaphandle kokungabaza, ithuluzi elizosivumela ukuthi sithumele i-multimedia yethu kusuka ku-Linux iye ku-Chromecast ngendlela elula, esheshayo futhi ngaphandle kokulahlekelwa ikhwalithi.


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-14, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   Miguel kusho

    Ngisebenzisa leli thuluzi kakhulu ku-chromecast, livumela ukuthuthuka okuningana ngaphezulu kwalokhu. ungathumela noma yiliphi ifayela levidiyo

    https://github.com/xat/castnow

    1.    uMuammar kusho

      ICastnow ingeyokuthumela amafayela evidiyo kuphela, kepha hhayi ukuthumela umsindo ngesikhathi sangempela.

  2.   engaziwa kusho

    Mkhulu @Lagarto, ngiyabonga.

  3.   UCarlos Moreno kusho

    Imultimedia ayibonakali ebuningini. Akufanele neze uthi "i-multimedia."
    https://es.m.wiktionary.org/wiki/multimedia

    1.    isibankwa kusho

      Ngibonga kakhulu ngokucaciswa kwakho othandekayo, ngilungisile futhi ngikhulise izwi lami ngenxa yokubheka kwakho

  4.   Kevin kusho

    Kade ngifuna okuthile okufana nezinsuku. Ngiyabonga !!

  5.   USenhor Paquito kusho

    Kuyathakazelisa. Ngizozama, ngaphandle kokungabaza.

    Umbuzo uthi ungayilungisa kanjani i-Firewall. Okwe-Chrome, ngokwesibonelo, angikwazi ukuyilungiselela futhi ngithumela kuphela okuqukethwe (i-YouTube noma yini) nge-firewall ekhutshaziwe.

    Ngabe ukhona owaziyo ukuthi angayilungisa kanjani?

      1.    UMnu Paquito kusho

        Sawubona Muanmar.

        Ngempela, ngisebenzisa Ubuntu (ngiyaxolisa, kepha angizange ngikuqonde ukusho njalo) futhi, kusukela manje kuqhubeke, sengingasebenzisa futhi iChromecast ngaphandle kokuthi ngikhubaze iFirewall.

        Ngibona kakhulu!!!

      2.    UMnu Paquito kusho

        Sawubona Muanmar

        Ngiphinda ngiphendule, ukukutshela ukuthi ngemuva kokuvula itheku 5000, ngiqale kabusha uma kwenzeka, ngavula i-Chrome futhi ngabona i-Chromecast, yingakho ngicabanga ukuthi itheku lisebenza ezingeni lohlelo nokuthi noma yiluphi uhlelo lokusebenza lungathumela okuqukethwe ku-Chromecast kanye vula.

        Kepha ngokuzayo lapho ngiyizama ibingasaxhunyiwe. Kubukeka sengathi okokuqala i-firewall ithathe isikhashana ukuqala, yingakho isebenze okokuqala.

        Ngakho-ke ngiyaqonda ukuthi i-port 5000 ingeye-mkchromecast kuphela, akunjalo?

        1.    uMuammar kusho

          Yebo, ngiyaxolisa. Ngicabanga ukuthi ngifunde okungalungile. Kepha ngombono, akufanele kube nankinga yokuba ne-firewall nokusebenzisa i-chrome. Angizange ngivivinye, ngoba ngisebenzisa iDebian. Futhi yebo, itheku 5000 lidingeka kuphela kwi-mkchromecast.

          1.    UMnu Paquito kusho

            Kuyaqondakala.

            Ngiyabonga, Muammar.

  6.   UMnu Paquito kusho

    Sanibonani nonke.

    Mayelana nokufakwa kwe-mkchromecast kusuka kumakhosombe asemthethweni e-Ubuntu, kufanele kuqashelwe ukuthi iphakethe alikho kumakhosombe e-Ubuntu 16.04. Ngokwalokho engikubonile, kubonakala sengathi kutholakala kuphela nge-Ubuntu 16.10.

    Ukubingelela

  7.   UDaniela kusho

    naku-gentoo distros ??
    Angisitholi isisombululo sokungabikho ku-Sabayon Linux yami.