Ungayiguqula njani iMTS

Las iikhamera zeefoto kunye nevidiyo de Sony loo ngxelo ifomathi MTS ihlala iza nesoftware ukuzala Isebenza kuphela kwi-Windows yeWindows, ukuze udlale iividiyo kwi-GNU / Linux kuya kufuneka usebenzise isoftware enjengeVLC okanye iMplayer, ethi yamkele phantse zonke iifomathi.

Nangona kunjalo, ukuba ukongeza ekubaboneni, sifuna bahlele, le nto yile ubunzima kuba azinakungeniswa ngokuthe ngqo kwiCinelerra, PiTiVi, Kino, njl. Ekuphela kwendlela kukuba baguqule ngaphambili.


Kule nto sinokusebenzisa i-VLC nomsebenzi wayo "wokuguqula", kodwa le fomathi ayinabubele kwaye ihlala inika iingxaki.

Olunye uhlobo olungcono yi-ffmpeg, ethi nangona isebenza ngomgca wokuyalela ine-graphical interface: WinFF.

Ukufakela i-ffmpeg, vula itheminali kwaye usebenze:

Ubuntu kunye neziphumo:

sudo apt-get update
Sudo apt-fumana ukufaka ffmpeg

igophe kunye neziphumo:

Isudo pacman -S ffmpeg

Emva koko, sinamathuba ama-2: sifaka i-WinFF ukusebenza sisebenzisa i-graphical interface okanye sisebenzisa i-ffmpeg ngomgca wokuyalela ngesikripthi esincinci se-bash esiya kuthi ngokukhawuleza kwaye sisebenze ngakumbi.

Ukufumana idatha echanekileyo yokuguqula

Elinye lamaqhosha kuguquko kukusebenzisa iiparameter ezifanayo zevidiyo yoqobo kuguquko ukuze ungalahli umgangatho okanye ubungakanani (yiyo loo nto sithenge ikhamera ye-HD, akunjalo?). Kungenxa yoko le nto kunomdla wokuqala ukwenza uhlalutyo lwefayile yoqobo kunye nomsebenzi wokufumana ulwazi obandakanyiwe kwiffmpeg. Ngenxa yoko sihamba siye kwisikhombisi apho sine- * MTS yokulahla kunye nokwenza:

ffmpeg -iFayile_name.MTS

Siza kufumana ulwazi oluninzi kodwa into enomdla kuthi yinxalenye yokugqibela apho kubonakala khona idatha yekhowudi yevidiyo:

Igalelo # 0, mpegts, ukusuka 'kwifayile.MTS':
Ixesha: 00: 01: 13.86, qala: 1.000033, i-bitrate: 9390 kb / s
1
Ukusasaza # 0.0 [0x1011]: Ividiyo: h264, yuv420p, 1440 × 1080 [INDIMA 4: 3 DAR 16: 9], 50 fps, 50 tbr, 90k tbn, 50 tbc
Ukusasaza # 0.1 [0x1100]: Umsindo: ac3, 48000 Hz, stereo, s16, 256 kb / s
Ukusasaza # 0.2 [0x1200]: Umxholo ongezantsi: pgssub

Kulo mzekelo, ividiyo ibhalwe ngekhowudi ye-h264 kwi-9390kb / s kunye neefowuni ezingama-50 ngomzuzwana, ezinobungakanani beepikseli eziyi-1440 × 1080, umlinganiso wepikseli we-4: 3 kunye nomlinganiso we-16: 9. Isandi besifakwe i-ac3, kwi-stereo, kwi-256kbs kunye ne-48kHz.

Inguquko: kusetyenziswa iWinFF

Ukufaka i-WinFF, vula itheminali kwaye usebenzise:

Ubuntu kunye neziphumo:

Sudo apt-fumana ukufaka i-winff

igophe kunye neziphumo:

Yourt -S winff

Emva koko, vula i-WinFF kwaye ungenise iifayile ofuna ukuziguqula. Inkqubo isebenza kwibhetshi, ke kuyenzeka ukuba kwenziwe umgca wokusebenza wokuguqula iifayile ngokulandelelana.

Nje ukuba ungenise ngaphakathi, ezantsi, phantsi kwesiphumo, khetha iikhowudi ofuna ukuzisebenzisa. Cinezela iqhosha elingaphezulu «Useto» kwaye ukope idatha yevidiyo oyifumene ngaphambili ukugcina elona zinga liphezulu kuguqulo.

Ewe kunjalo, kunokwenzeka ukuba uguqule iividiyo zibe kumgangatho osezantsi (koku, sele kukho useto olungagqibekanga onokukhetha kulo).

Okokugqibela, hit hit Guqula iqhosha.

Ngale nto kuya kufuneka ukuba ube neevidiyo ezintsha kwifomathi eqondakalayo ngabadlali bevidiyo abaqhelekileyo kunye nabahleli.

Uguquko: ukusebenzisa i-terminal

Kwimeko apho ukhetha indlela enomdla kakhulu yesiphelo, sebenzisa i-ffmpeg ngesi syntax silandelayo:

ffmpeg -i .MTS file -vcodec libxvid -b 12000k -acodec libmp3lame -ac 2 -ab 256k -deinterlace -s 1440x1080 .AVI file

Ungalibali ukutshintsha amagama efayile kunye neeparameter zoqwalaselo ngokusekwe kwidatha efunyenwe ngokuqhutywa ffmpeg -i.

Kwimeko apho ufuna ukuguqula zonke iividiyo ze-MTS ngaphakathi kulawulo, unokwenza iskripthi se-bash ngokulula.

Ukwenza oku, yenza ifayile yokuguqula kunye nomhleli wombhalo owuthandayo kwaye uncamathisele umxholo olandelayo:

#! / bin / ibash
ngee-ls *. MTS`; Ngaba ffmpeg -i $ a -vcodec libxvid -b 12000k -acodec libmp3lame -ac 2 -ab 256k -deinterlace -s 1440x1080 `echo" $ a "| sika -d '.' -f1`.avi; yenziwe
Phuma

Ungalibali ukusebenzisa iiparameter zoqwalaselo ezihambelana neemfuno zakho.

Ukwenza lula ngakumbi, ungagcina iskripthi kwi / usr / share apho unakho khona ukwenza ifolda yokubhala (ukugcina ezi zinto zincinci).

Okokugqibela, yiya kulawulo apho iividiyo zigcinwa khona kwaye ziqhube iskripthi ngolu hlobo lulandelayo:

i-bash / usr / isabelo / i-myscript / i-convertmts

Oku kuya kuqala inkqubo yokuguqula zonke iividiyo kulawulo.

Umthombo: Tatblog & Cacisa nje ngokucacileyo


Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

      iiseli sitsho

    undisindisile

      UDaniel Vazquez sitsho

    Enkosi kakhulu, ubusindisile ubomi bam. Ndisandula ukufuduka ndisuka kwiWindows 8 ndisiya kwi-Ubuntu 14.04 LTS kwaye andifumani ndlela yokuhlela / ukuvula le fomathi. Enkosi.