Gano CLI: Daga wma zuwa mp3 a matakai 2

Barka da zuwa duk mugaye da masoyan muhallin GNU / Linux cewa kamar ni, muna yin yini muna ƙoƙari don yin abin da wasu suke yi a wasu tsarin, wanda ba lallai ne ya zama haka ba Windows. Ya zama cewa na sami sabon CD ɗin X-Alphonse kuma a gaban adadi masu yawa na can waje kuma sun san ni, yana da inganci don bayyana cewa wannan CD ɗin sun ba da shi a cikin jami'o'i amma mai kyau ga abin da ya kasance.

Duk waƙoƙin CD suna ciki wma (Windows Media Audio ... aƙalla ina tsammanin dole ne ya kasance taken kalmomin waɗannan abubuwa) kuma gabaɗaya muna da guataca (kunne) saba da tsari MP3, don haka na yanke shawarar gano ko akwai wata hanyar zuwa, ba tare da fadawa cikin falsafar mallakar software ba na shigar da aikace-aikace don wani abu wanda tsarinmu ke iya yi da kansa, cimma nasara iri daya kuma duba menene daidaituwa…. tsarina (Debian 6.0 tare da LXDE)  Na riga na shirya yin hakan, ban dai sani ba ...

Bari mu gani idan nayi bayani kaina, mai kunna bidiyon da nake so shine mplayer. Sauran abin da muke buƙata shine kayan aikin wasan bidiyo da ake kira ruwa amma ban sani ba ko nawa ne Debian amma lokacin da naje girkawa…. voila an riga an girka shi don haka ban sani ba shin wannan tsoho ne ko a'a. Yanzu ci gaba, idan sun riga sun mplayer y ruwa to, bari mu tafi hanyar yin shi, idan akasin haka baka da waɗannan aikace-aikacen da kyau…. Me kuke jira don girka su? don haka bude console azaman tushe da bugawa (da alama kuna amfani da Debian ko ɗaya daga cikin abubuwan da suka samo asali):

apt-get install mplayer lame

Shirya, mun riga mun sami aikace-aikacen da muke buƙatar shigar a cikin tsarin mu, kodayake kamar yadda na ambata, wasu sun riga sun kawo ta tsoho don haka sihirin ya fara:

Bari muyi tunanin cewa muna da babban fayil inda fayilolin format na WMA da muke son canzawa suke, nayi wannan a cikin gwaji, don haka a cikin na'ura mai kwakwalwa zamu ga wani abu kamar haka:

[lambar] neji @ Maq2: ~ / Desktop / wmatomp3 $ ls
4.wma
[/ lambar]

Shirin gurgu ya bamu damar canza fayil din WAV zuwa tsari na MP3 amma tunda abinda muke dashi shine fayil na WMA to zamuyi amfani da Mplayer don canza shi zuwa WAV kamar haka:

[code] neji @ Maq2: ~ / Desktop / wmatomp3 $ mplayer 4.wma -ao pcm
MPlayer SVN-r31918 (C) 2000-2010 Kungiyar MPlayer
Ba za a iya buɗe na'urar farin ciki ba / dev / shigar / js0: Babu irin wannan fayil ɗin ko kundin adireshin
Ba za a iya shigar da joystick ba
mplayer: bai iya haɗuwa da soket ba
mplayer: Babu irin wannan fayil ɗin ko kundin adireshin
Ba a yi nasarar buɗe tallafi na LIRC ba. Ba za ku iya amfani da ikon nesa ba.

Wasa 4.wma.
An gano tsarar fayil kawai mai sauti.
========================================== ==========================
Ana buɗe mai rikodin sauti: [mp3lib] MPEG Layer-2, Layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit / 9.07% (rabo: 16000- & amp; amp; gt; 176400)
Zaɓaɓɓiyar lambar sauti: [mp3] afm: mp3lib (mp3lib MPEG Layer-2, Layer-3)
========================================== ==========================
[AO PCM] Fayil: audiodump.wav (WAVE)
PCM: Samfura: 44100Hz Tashoshi: Tsarin sitiriyo s16le
[AO PCM] Bayani: Ana saurin saurin zubar da -vc-null -vo null -ao pcm: azumi
[AO PCM] Bayani: Don rubuta fayilolin WAVE yi amfani da -ao pcm: kalaman sama (tsoho).
AO: [pcm] 44100Hz 2ch s16le (bytes biyu a kowane samfurin)
Bidiyo: babu bidiyo
An fara kunnawa ...
A: 217.0 (03: 37.0) na 265.0 (04: 25.0) 0.3%

Ana fitowa… (Karshen fayil)
[/ lambar]

Kada ku damu idan fayil ɗin da ake kira «audiodump.wav»Ba tare da ambato ba, wannan shine fayil ɗin da aka canza ta 'yan wasa kuma yanzu zamuyi amfani dashi tare da sauran shirin don canza shi zuwa tsarin MP3:

[code] neji @ Maq2: ~ / Desktop / wmatomp3 $ gurgu –r3mix audiodumpump.wav 4.mp3
LAME 3.98.4 32bits (http://www.mp3dev.org/)
Siffofin CPU: MMX (ASM da aka yi amfani da shi), SSE (ASM da aka yi amfani da shi), SSE2
Ta yin amfani da matatar polyphase lowpass, ƙungiyar sauyawa: 17960 Hz - 18494 Hz
Shigar da audiodumpump.wav zuwa 4.mp3
Zayyanawa kamar 44.1 kHz j-sitiriyo MPEG-1 Layer III VBR (q = 3)
Madauki | Lokacin CPU / kiyasi | GASKIYA lokaci / kiyasi | wasa / CPU | ETA
8309/8310 (100%) | 0: 07/0: 07 | 0: 07/0: 07 | 27.405x | 0:00
32 [108] ***
40 [1] *
48 [0] 56 [0] 64 [0] 80 [2] *
96 [34]%
112 [477]% ***********
128 [1711]% **********************************************
160 [4592] %%%%%%%% ***************************************** ************************************************* * ****************
192 [893] %%%% ******************
224 [261]% ******
256 [133]% ***
320 [97]% **
————————————————————————————————————————-
kbps LR MS% gajeren canji mai gajarta%
157.5 6.4 93.6 92.4 4.2 3.4
Rubuta LAME Tag… anyi
Sake Wasannin: -9.6dB
[/ lambar]

idan ka duba yanzu a cikin jakar muna da wannan:
[lambar] neji @ Maq2: ~ / Desktop / wmatomp3 $ ls
4.mp3 4.wma audiodump.wav
[/ lambar]

Shirya…. umarni 2 ne kawai kuma mun riga mun canza fayil daga WMA zuwa MP3. Na san cewa da yawa ba abu ne mai daɗi ba a yi amfani da umarni da yawa amma a koyaushe kuna iya yin Rubutun don gudana kuma ku yi aiki iri ɗaya zuwa babban fayil ɗin fayiloli.

A yanzu na gama da wannan, kun sani, kasance mai kyau kuma kada ku rasa sha'awar ilmantarwa kuma mafi mahimmanci: bayan kun koyi wani abu, komai ƙanƙantar da shi, kada ku daina raba shi da wasu kamar yadda na yi muku kawai .


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

16 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.   David m

    Ina amfani da Soundconverter, a gare ni aikace-aikace mai mahimmanci tare da zaɓuɓɓuka masu ban sha'awa.

    1.    Carlos m

      Kyakkyawan shirin.

  2.   David m

    Don cire sauti daga bidiyon, misali daga YouTube, Ina amfani da Clipgrab, wanda ke bani damar zaɓar tsarin sauti da bidiyo da kuma ingancinsa.
    Fayil na odiyona suna cikin Ogg.

    1.    mayan84 m

      OGG FTW!

  3.   elav <° Linux m

    Dole ne in ƙara abubuwa biyu:

    1- Don canza sauti, Ina amfani da Xcfa, wanda kuma yake gaya muku irin abubuwan kunshin da zakuyi don kowane tsari.
    2-Lame kamar ni a wurina hakan baya zuwa ta asali tare da Debian, duk da cewa ba zan iya fada muku ba, tunda ina girkawa da NetInstall sama da shekaru 3 😀

  4.   tarkon m

    Da kyau, Na shiga tashar kuma nayi amfani da ffmpeg don cire sauti a bidiyon kuma in maida su mp3, duk da cewa bai taba faruwa dani ba don canza shi zuwa wav.

  5.   mayan84 m

    Menene ba sauki ba tare da mai sauya sauti ko juzu'i mai jujjuya sauti ba?
    Kuma don wancan na software kyauta don amfani da ogg?

    Saboda wma da mp3, wma ya fi ingancin sauti.
    ko mafi kyau duk da haka, maimakon amfani da mp3, a m4a (aac).

  6.   3ndariago m

    Da kyau, duk wannan yana da kyau ƙwarai, amma ... menene jahannama "GANEWA" ??? (a cikin taken, nace) Shin wannan kalma ce a cikin Mutanen Espanya? Na san Binciken, amma ba wannan sigar marubucin ba ... OO

    1.    Hyuuga_Neji m

      Kun yi gaskiya…. madaidaiciyar kalma ita ce "Ganowa" kuma na bashi wannan taken ne saboda kimanin mako guda da ya gabata na fara ganin yadda za ayi abubuwa da yawa daga CLI (Command Lm Interface) cewa bamuyi saboda da gaske bamu san yadda ake yinsu haka ba amma wannan baya nuna cewa bazai yiwu ba. Wani abokina kuma abokin aikina ya gaya min cewa "Ina sake komawa" tare da sake yin abubuwa a kan na'urar, a gare shi lokutan Console su ne "ante-Windosianos" wato, kafin zuwan Windows, amma ba shakka… Wannan ra'ayinsa.

      1.    Merlin Dan Debian m

        Ba na tsammanin shiga cikin yana da matukar amfani wajen koyo kuma wani lokacin ma abin birgewa ne, matsalar kuwa ita ce lokacin da ake bukatar yin hakan a mafi karancin lokaci, ee na san cewa na'urar wasan tafi sauri fiye da zane amma kuna bukatar lokaci don tunawa da kwafa da liƙa umarnin cewa a ƙarshe idan baku da ƙwaƙwalwar ajiya mai kyau zaku rasa lokaci.

        Kuma haka ne, yawancin masu amfani suna da gaskiya, ya fi sauƙi a yi shi tare da mai sauyawa, amma idan Linux ɗinku suna wasa wma, ban ga dalilin da yasa za ku canza su ba.

        1.    Merlin Dan Debian m

          Yi haƙuri cewa BA sa hannu ya fi amfani don koyo.

  7.   hikima m

    Tare da ffmpeg -i file.wma file.mp3 ya isa ko zaka iya yin rubutun don canza fayiloli da yawa lokaci daya.

    1.    mayan84 m

      Kuma menene saurin da kuke amfani dashi don fitowar odiyo?

      1.    hikima m

        za'a iya gyara bitrate tare da -ab misali ffmpeg -i file.wma -ab 192k fayil.mp3

  8.   hikima m

    Ga takaddun duk abin da ffmpeg zai iya yi, kayan aiki ne mai iko sosai, ba abin da zai yi wa wasu hassada http://ffmpeg.org/ffmpeg.html

  9.   Tsadu m

    Gracias

    **** Yadda zaka canza fayilolin WMA zuwa MP3 kuma hada su cikin fayil guda na sauti ko sauti (wakoki -> faifai, jigogi -> kundin kundi) ****

    1st: Idan baku riga kun shigar da ffmpeg ba, zaku iya girka shi tare da umarnin:
    sudo dace-samun shigar ffmpeg

    Na biyu: Muna zuwa kundin adireshi ko babban fayil din inda wakokin suke:
    cd… ..

    Na uku: Kowane fayil na WMA ya canza zuwa tsarin MP3, yana aiwatar da umarni a cikin tashar:
    ffmpeg -i waka1.wma -f mp3 -ab waka 192..mp1
    ffmpeg -i waka2.wma -f mp3 -ab waka 192..mp2
    ...

    Na hudu: Ana hade bangarorin tare da umarnin da ya dace (gwargwadon yawan jigogin da za a hade su), kwatankwacin:
    ffmpeg -i "concat: song1.mp3 | song2.mp3" -acodec kwafin disko.mp3

    Harshen Fuentes:
    http://softwarelibreenmivida.blogspot.com.es/2011/11/convertir-wma-mp3-y-ogg.html
    http://superuser.com/questions/314239/how-to-join-merge-many-mp3-files