5 amathiphu noma amaqhinga athakazelisayo wokusebenza namavidiyo

Ngokusebenza namavidiyo, kunconywa ukuthi usebenzise I-Mencoder o I-Ffmeg, kodwa ... yini le?

I-Mencoder isifaki khodi samahhala samahhala esikhishwe ngaphansi kwelayisense ye-GPL efakiwe kwisidlali semidiya se-MPlayer ngenkathi Ffmpeg iqoqo lesoftware ekuvumela ukuthi urekhode futhi uguqule amavidiyo nomsindo.

esingakwenza ngabo?

Ukuphendula lo mbuzo wesibili, ngikulethela "amaqhinga" futhi ngikushiyela kuwe ukuthi wahlulele ukuthi uyakufanelekela yini ukuthola indawo kukhompyutha yethu.

1- Khipha ithrekhi yomsindo kuvidiyo:

mplayer -vo null -hardframedrop -ao pcm:file=audio.wav video.avi

Idatha:
ividiyo.avi: ividiyo esifuna ukukhipha kuyo umsindo.
umsindo.wav: igama lefayela elenziwe ngomsindo.

2- Zungezisa ividiyo:

mencoder -vop rotate=2 -oac pcm -ovc lavc ./normal.avi -o ./rotada.avi

Idatha:
phenduka = ​​<0-7>: Rotate and flip (uyazikhethela) isithombe +/- 90 degrees. Ngamapharamitha aphakathi kuka-4-7 ukuzungezisa kwenziwa kuphela uma i-geometry yefilimu ime mpo hhayi evundlile.
evamile.avi: ividiyo esifuna ukuyishintshanisa.
azungezise.avi: igama levidiyo ekhiqizwe ngokuzungezisa okucacisiwe.

3- Bona ividiyo kusuka kuzithombe ze-JPG:

mplayer "mf://*.jpg" -mf fps=15

Dala ividiyo:

mencoder "mf://*.jpg" -mf fps=15 -ovc lavc -o ./dest.avi

Idatha:
mf: //*.jpg: thatha zonke izithombe ngalesi sandiso, singazisebenzisa ne-PNG: mf: //*.png
fPS: Isetha ijubane lokuguquka phakathi kwezithombe.
khanyisile: igama levidiyo ekhiqiziwe.

4- Hlanganisa ividiyo nomsindo:

ffmpeg -i sonido.wav -i video.avi videoconaudio.avi

Idatha:
umsindo: ifayela lomsindo.
ividiyo.avi: ifayela levidiyo.
videocudioudio.avi: igama lefayela levidiyo ngomsindo ocacisiwe.

5- Guqula i-avi ibe yi-gif.

ffmpeg -i video.avi -pix_fmt rgb24 gif_generado.gif

Idatha:
ividiyo.avi: ividiyo esifuna ukuyiguqula ibe yi-GIF.
gif_generado.gif: igama lefayela elitholwe kuvidiyo.
amg24: sicacisa imibala.


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

Amazwana ayi-4, 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.   Jose kusho

    Lapha kungangithakazelisa ukwazi ukuthi ungashintsha kanjani ifreyimu yomsindo (i-DTS noma i-AC3) kusuka kuma-fps angama-25 kuye kuma-fps angama-23.976 futhi okuphambene nalokho. Ngamavidiyo / imisindo ndawonye uyazi… .. kodwa… kuthiwani uma sinomsindo kuphela? Futhi sigwema ukufaka ividiyo yonke kabusha. Ku-Windows kunamathuluzi afana ne-ac3to noma ama-besweet akhethekile kulokho ... ku-Linux kufanele uzame ukusebenzisa iwayini .... ithini.

    Ukubingelela

    1.    I-KZKG ^ Gaara <° Linux kusho

      Ngizobheka ukubona ukuthi ngingakuthola yini okuthile, kepha angazi ... angicabangi ukuthi kunzima kanjalo, akunjalo Noma kunjalo, uma ngithola okuthile, ngizokuyeka lapha 😀

  2.   Victor kusho

    Kuhle kakhulu! Bengazi ngamanye awo, kepha hhayi ukuhlanganisa amafayela we-jpg. Ngizoyizama! Ngiyabonga

  3.   oscar kusho

    Futhi awucabangi ukuthi kulula ukusebenzisa izinhlelo ezinesibonisi sokuqhafaza esifana ne-Handbrake?