Yadda ake Sayar da Sauti da Bidiyo daga Linux zuwa Chromecast

Chromecast yana zama na'urar da aka fi amfani da ita don watsawa zuwa TV ɗinmu abin da ake sarrafawa akan kwamfutarmu, ta hannu ko ma a cikin mai bincike. Masu amfani da Linux ba su da aikin asali wanda ke ba mu damar jefa Linux audio da bidiyo zuwa Chromecast, don haka dole ne mu zaɓi aikace-aikace kamar chanasashon, wanda ke ba mu damar sauƙaƙa abubuwan da muke so mu gani a talabijin ta amfani da wannan na'urar.

Menene Chromecast?

Na'urar HDMI ce mai kama da rumbun USB wanda ke haɗuwa da TV don ɗaukar sigina daga na'urori da yawa na multimedia waɗanda ke haɗe da hanyar sadarwar Wi-Fi. Tare da wannan kayan aikin zamu iya duba abubuwan da ke cikin multimedia da aka aiko daga kwamfutocinmu, wayoyin hannu har ma da gidan yanar gizo.

Menene mkchromecast?

Kayan aiki ne na budewa, wanda aka rubuta a ciki Python kuma me kuke amfani da shi  node.js, ffmpego avconv don samun sauti da bidiyo daga Linux zuwa Chromecast.

chanasashon aika multimedia zuwa Chromecast ɗinmu ba tare da rasa ingancin odiyo da bidiyo ba, kuma ya dace da rafuka masu yawa, ƙudurin mai ƙarfi mai ƙarfi 24-bit / 96kHz, kai tsaye daga YouTube, tsakanin sauran fasalulluka da ke cikin samfurin Chromecast na zamani. Linux zuwa Chromecast

An tanadar da kayan aikin tare da kyakkyawar hanyar amfani, wanda aka nuna a cikin akwatin saƙo ɗin mu. Hakazalika, shigarwa na chanasashon yana da sauƙin kai tsaye a kusan kusan dukkanin Linux distros.

Yadda ake girka da amfani da mkchromecast?

A kowane Linux distro zamu iya sanya mkchromecast kai tsaye daga lambar tushe wacce aka shirya akan Github, saboda wannan dole ne muyi waɗannan matakan masu zuwa:

  • Sanya ma'ajiyar kayan aikin, ko, rashin nasarar hakan, zazzage ingantaccen sigar aikin daga a nan.
$ git clone https://github.com/muammar/mkchromecast.git
  • Muna tafiya zuwa sabon babban fayil ɗin cloned kuma ci gaba da aiwatar da pip shigar da fayil ɗin requirements.txt wanda ya ƙunshi duk abin dogaro da ake buƙata don kayan aikin don aiki yadda yakamata (a wasu lokuta dole ne a gudanar da kayan aikin tare da sudo):
$ cd mkchromecast/
$ pip install -r requirements.txt

Debia, Ubuntu da masu amfani masu amfani za su iya shigar da kayan aikin kai tsaye daga wuraren adana hukuma, kawai suna yin umarnin da ke gaba daga na'ura mai kwakwalwa:

sudo apt-get install mkchromecast

A nasu ɓangaren, masu amfani da Arch Linux da ƙananan abubuwa na iya amfani da kunshin da ke cikin wurin ajiyar AUR

yaourt -S mkchromecast-git

Zamu iya hango dalla-dalla halayya da amfani da wannan aikace-aikacen a cikin kyautar ta gaba wacce ƙungiyar ci gaba ta rarraba. Hakanan zamu iya ganin koyarwar amfani da hukuma daga nan.

chanasashon

Fitar daga Youtube zuwa Chromecast

Musamman wani abu da nake so game da wannan aikace-aikacen shine cewa zamu iya watsa bidiyon YouTube kai tsaye daga na'ura mai kwakwalwa zuwa chromecast ɗinmu, saboda wannan dole ne mu aiwatar da wannan umarnin:

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

Ba tare da wata shakka ba, kayan aiki wanda zai ba mu damar aika saƙonmu na multimedia daga Linux zuwa Chromecast cikin sauƙi, cikin sauri kuma ba tare da rasa inganci ba.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

14 comments, bar naka

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Miguel m

    Ina amfani da wannan kayan aikin sosai don chromecast, yana ba da damar haɓakawa da yawa akan wannan. zaka iya aika kowane fayil na bidiyo

    https://github.com/xat/castnow

    1.    Muammar m

      Castnow kawai don aika fayilolin bidiyo ne, amma ba don aika sauti ba a ainihin lokacin.

  2.   m m

    Babban @Lagarto, na gode.

  3.   Carlos Moreno m

    Multimedia ba ta canzawa a cikin jam'i. Kada ku taɓa faɗin "multimedia."
    https://es.m.wiktionary.org/wiki/multimedia

    1.    kadangare m

      Na gode sosai da bayanin ka masoyi, na gyara kuma na kara kalma ta saboda la'akari da ka

  4.   Kevin m

    Ina neman wani abu makamancin wannan kwanaki. Na gode !!

  5.   Sunan mahaifi Paquito m

    Abin sha'awa. Zan gwada shi, ba tare da wata shakka ba.

    Tambayar ita ce yaya za'a saita Firewall. Don Chrome, alal misali, ban gudanar da daidaita shi ba kuma kawai yana aika abun ciki (daga YouTube ko ma menene) tare da kashewar bangon.

    Shin akwai wanda yasan yadda ake saita shi?

      1.    Mista Paquito m

        Sannu Muanmar.

        Lallai, ina amfani da Ubuntu (yi haƙuri, amma ban gane cewa in faɗi hakan ba) kuma, daga yanzu, zan iya amfani da Chromecast ba tare da na kashe Firewall ba.

        Godiya sosai!!!

      2.    Mista Paquito m

        Sannu Muanmar

        Na sake amsawa, in gaya muku cewa bayan na bude tashar jiragen ruwa 5000, na sake farawa kawai idan na bude, na bude Chrome kuma na ga Chromecast, shi yasa na yi tunanin tashar tana da inganci a matakin tsarin kuma duk wani aikace-aikace na iya aika abun ciki zuwa Chromecast sau daya bude

        Amma lokaci na gaba da na gwada shi bai ƙara haɗuwa ba. Da alama cewa a karo na farko Firewall ya ɗauki ɗan lokaci kaɗan don farawa, kuma shi ya sa ya yi aiki a karon farko.

        Don haka na fahimci cewa tashar jiragen ruwa 5000 kawai don mkchromecast, dama?

        1.    Muammar m

          Haka ne, kayi hakuri. Ina ji ban karanta ba. Amma a ka'ida, babu matsala samun katangar bango da amfani da Chrome. Ban gwada ba, saboda ina amfani da Debian. Kuma a, ana buƙatar tashar jiragen ruwa 5000 kawai don mkchromecast.

          1.    Mista Paquito m

            An fahimta.

            Na gode, Muammar.

  6.   Mista Paquito m

    Sannun ku.

    Game da shigar da mkchromecast daga rumbun adana jami'ai na Ubuntu, ya kamata a san cewa kunshin ba ya cikin rumbunan Ubuntu 16.04. Daga abin da na gani, da alama ana samun sa ne kawai kamar na Ubuntu 16.10.

    Na gode.

  7.   Daniela m

    kuma a cikin Gentoo distros ??
    Ba zan iya samun mafita ga rashin wanzuwa kan Sabyon Linux ba.