Momwe Mungasinthire Audio ndi Kanema kuchokera ku Linux kupita ku Chromecast

Chromecast Icho chikukhala chida chogwiritsidwa ntchito kwambiri kupatsira pa TV yathu zomwe zikusewera pakompyuta, mafoni kapena osatsegula. Ogwiritsa ntchito a Linux alibe magwiridwe antchito omwe amatilola pangani makanema ndi makanema a Linux ku Chromecast, choncho tiyenera kusankha mapulogalamu monga mkchromecast, zomwe zimatilola kufalitsa mosavuta zomwe tikufuna kuwona pa wailesi yakanema pogwiritsa ntchito chipangizochi.

Kodi Chromecast ndi chiyani?

Ndi chipangizo cha HDMI chofanana ndi USB drive yolumikizidwa ndi TV kuti mutenge chizindikiro kuchokera pazida zamagetsi zomwe zimalumikizidwa mu netiweki ya Wi-Fi. Ndi chida ichi titha kuwona makanema omwe amatumizidwa kuchokera kumakompyuta athu, mafoni am'manja ngakhale osatsegula.

Kodi mkchromecast ndi chiyani?

Ndi chida chotseguka, cholembedwa Python ndipo mumagwiritsa ntchito chiyani  node.js, ffmpego avconv kuti mupange makanema ndi makanema kuchokera ku Linux kupita ku Chromecast.

mkchromecast imatumiza matumizidwe ophatikizika amawu, nyimbo ndi zithunzi ku Chromecast yathu popanda kutaya makanema ndi makanema, imagwiranso ntchito ndimakanema angapo, makanema apamwamba kwambiri a 24-bit / 96kHz, kufalitsa kwachindunji kuchokera ku YouTube, pakati pazinthu zina zomwe zilipo muma Chromecast amakono. Linux kupita ku Chromecast

Chidachi chili ndi gulu logwiritsa ntchito bwino, lomwe limawonetsedwa mu bokosi lathu. Momwemonso, kukhazikitsa kwa mkchromecast Ndizowonekera pafupifupi pafupifupi ma distros onse a Linux.

Momwe mungakhalire ndikugwiritsa ntchito mkchromecast?

Mu Linux distro iliyonse titha kukhazikitsa mkchromecast mwachindunji kuchokera komwe adachokera ku Github, chifukwa cha izi tiyenera kuchita izi:

  • Sanjani posungira chida, kapena, ngati simungakwanitse, tsitsani pulogalamuyo kuchokera Apa.
$ git clone https://github.com/muammar/mkchromecast.git
  • Timapita kufoda yomwe yangopangidwa kumene ndikupita kukayikira pip ndi fayilo requirements.txt yomwe ili ndi kudalira kofunikira kuti chidacho chigwire bwino ntchito (nthawi zina chida chimayenera kuyendetsedwa ndi sudo):
$ cd mkchromecast/
$ pip install -r requirements.txt

Ogwiritsa ntchito a Debia, Ubuntu ndi zotumphukira atha kuyika chida molunjika kuchokera kumalo osungira, ingothamangitsani lamulo ili kuchokera ku kontrakitala:

sudo apt-get install mkchromecast

Kwa iwo, ogwiritsa ntchito a Arch Linux ndi zotumphukira atha kugwiritsa ntchito phukusi lomwe likupezeka posungira AUR

yaourt -S mkchromecast-git

Titha kuwona momwe ntchitoyo imagwiritsidwira ntchito mwatsatanetsatane mu mphatso yotsatirayi yomwe idagawidwa ndi omwe akutukula. Titha kuwona mapulogalamu ovomerezeka ochokera ku Pano.

mkchromecast

Kutulutsa kuchokera ku Youtube kupita ku Chromecast

Makamaka china chomwe ndimakonda pantchito iyi ndikuti titha kutumiza kanema wa YouTube kuchokera pa kontrakitala kupita ku chromecast yathu, chifukwa cha izi tiyenera kutsatira lamulo ili:

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

Mosakayikira, chida chomwe chingatilole kutumiza ma multimedia kuchokera ku Linux kupita ku Chromecast m'njira yosavuta, yachangu komanso osataya mtundu.


Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Ndemanga za 14, siyani anu

Siyani ndemanga yanu

Anu email sati lofalitsidwa. Amafuna minda amalembedwa ndi *

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.

  1.   Miguel anati

    Ndimagwiritsa ntchito chida ichi kwambiri pa chromecast, chimalola kusintha kambiri pamtunduwu. mutha kutumiza fayilo iliyonse kanema

    https://github.com/xat/castnow

    1.    Muammar anati

      Castnow ndiyotumiza mafayilo amakanema, koma osati kutumiza mawu munthawi yeniyeni.

  2.   anonymous anati

    Wamkulu @Lagarto, zikomo.

  3.   Carlos Moreno anati

    Multimedia imakhala yosasintha mosiyanasiyana. Simuyenera kunena "multimedia."
    https://es.m.wiktionary.org/wiki/multimedia

    1.    buluzi anati

      Zikomo kwambiri chifukwa chofotokozera momveka bwino wokondedwa, ndasintha ndikuwonjezera mawu anga chifukwa chakuwona kwanu

  4.   Kevin anati

    Ndakhala ndikufuna china chofanana masiku. Zikomo !!

  5.   Bambo Paquito anati

    Zosangalatsa. Ndiyesera, mosakayikira.

    Funso ndi momwe mungasinthire Firewall. Mwachitsanzo, pa Chrome, sindinakwanitse kuyisintha ndipo imangotumiza zokhutira (kuchokera pa YouTube kapena chilichonse) ndi firewall yolumala.

    Kodi pali amene amadziwa momwe angakonzekere?

    1.    Muammar anati
      1.    Bambo Paquito anati

        Moni Muanmar.

        Zowonadi, ndimagwiritsa ntchito Ubuntu (pepani, koma sindinadziwe kuti ndinene) ndipo, kuyambira pano, nditha kugwiritsa ntchito Chromecast popanda kuletsa Firewall.

        Zikomo kwambiri!!!

      2.    Bambo Paquito anati

        Moni Muanmar

        Ndiyankhanso, kuti ndikuuzeni kuti nditatsegula doko 5000, ndinayambiranso, mwina, ndinatsegula Chrome ndikuwona Chromecast, ndichifukwa chake ndimaganiza kuti doko ndilovomerezeka pamachitidwe ndipo kuti pulogalamu iliyonse itha kutumiza Chromecast kamodzi tsegulani.

        Koma nthawi yotsatira ndikayesanso sikunalumikizane. Zikuwoneka kuti nthawi yoyamba makhoma oteteza moto adatenga nthawi yayitali kuti ayambe, ndichifukwa chake adagwira ntchito nthawi yoyamba.

        Chifukwa chake ndikumvetsetsa kuti doko 5000 limangokhala la mkchromecast, sichoncho?

        1.    Muammar anati

          Inde, ndikupepesa. Ndikuganiza kuti ndinawerenga molakwika. Koma poganiza, sipayenera kukhala vuto kukhala ndi firewall ndikugwiritsa ntchito chrome. Sindinayese, chifukwa ndimagwiritsa ntchito Debian. Ndipo inde, doko 5000 limafunikira kokha mkchromecast.

          1.    Bambo Paquito anati

            Zimamveka.

            Zikomo, Muammar.

  6.   Bambo Paquito anati

    Moni nonse.

    Ponena za kukhazikitsidwa kwa mkchromecast kuchokera kumalo osungira a Ubuntu, ziyenera kudziwika kuti phukusili mulibe m'malo osungira Ubuntu 16.04. Kuchokera pa zomwe ndaziwona, zikuwoneka kuti zimangopezeka ngati Ubuntu 16.10.

    Zikomo.

  7.   Daniela anati

    komanso mu gentoo distros ??
    Sindikupeza yankho la kusakhalapo pa Sabayon Linux yanga.