5 cov lus qhia tiag tiag los yog kev ntxias rau kev ua haujlwm nrog cov yeeb yaj kiab

Rau kev ua haujlwm nrog cov yeeb yaj kiab, nws raug nquahu kom siv Kev Ntshaw poj Niam o Ffmeg, tab sis ... yog dab tsi no?

Kev Ntshaw poj Niam yog qhov tso tawm video dawb tso tawm raws li GPL daim ntawv tso cai uas muaj nyob hauv MPlayer media player thaum lub sijhawm Ffmpeg yog ib cov software uas tso cai rau koj sau thiab hloov cov yeeb yaj kiab thiab audio.

peb tuaj yeem ua nrog lawv?

Txhawm rau teb nqe lus nug thib ob no, kuv nqa qee cov "kev ua kom yuam kev" thiab tso nws rau koj kom txiav txim siab seb koj puas yuav tsum tau qhov chaw ntawm peb lub khoos phis tawm.

1- Extract tus cov kab khiav tawm los ntawm kev yees duab:

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

Cov ntaub ntawv:
video.avi: kev yees duab uas peb xav kom rho tawm lub suab.
audio.wav: lub npe ntawm cov ntaub ntawv tsim tawm nrog lub suab.

2- Tig ib qhov video:

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

Cov ntaub ntawv:
kiv = <0-7>: Tig thiab kiv (yeem) duab +/- 90 qib. Rau cov lus qhia nyob nruab nrab ntawm 4-7 kev sib hloov yog ua tiav tsuas yog tias geometry ntawm zaj duab xis yog ntsug thiab tsis yog kab rov tav.
normal.avi: cov yeeb yaj kiab uas peb xav tig.
tig.avi: lub npe ntawm cov yeeb yaj kiab generated nrog lub teev ua tiav.

3- Pom ib daim vis dis aus los ntawm JPG cov duab:

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

Tsim daim video:

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

Cov ntaub ntawv:
mf: //*.jpg: coj tag nrho cov duab nrog qhov txuas ntxiv no, peb kuj tuaj yeem siv nws nrog PNG: mf: //*.png
fps: Teeb tsa qhov hloov hloov ceev ntawm cov duab.
dest.avi: lub npe ntawm cov yeeb yaj kiab generated.

4- Kev tso video thiab audio:

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

Cov ntaub ntawv:
suab.wav: cov ntaub ntawv suab.
video.avi: daim video.
videoconaudio.avi: lub npe ntawm daim video nrog lub suab sau tseg.

5- Hloov ua qhov av rau gif.

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

Cov ntaub ntawv:
video.avi: cov video uas peb xav tau txia mus ua GIF.
gif_generado.gif: lub npe ntawm cov ntaub ntawv tau los ntawm kev yees duab.
rgb24: peb hais kom meej cov xim.


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

4 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   jose said

    Ntawm no nws yuav nthuav kom paub yuav ua li cas los hloov tus duab ntawm lub suab (DTS lossis AC3) los ntawm 25 fps rau 23.976 fps thiab rov qab mus. Txog cov vis dis aus / audios ua ke koj paub… .. tab sis… yog tias peb tsuas muaj suab li cas xwb? Thiab peb zam kom rov ua tag nrho cov yeeb yaj kiab. Hauv Windows muaj cov cuab yeej zoo li ac3to lossis besweet tshwj xeeb hauv qhov ntawd ... hauv Linux koj yuav tsum sim khiav ntawm cawv .... lub kws ntuag ntoo.

    Txais tos.

    1.    KZKG ^ Gaara <° Linux said

      Kuv mam saib mus seb yog kuv tuaj yeem nrhiav tau qee yam, tab sis kuv tsis paub ... Kuv tsis xav tias nws nyuaj, puas yog? Lawm, yog tias kuv pom qee yam, Kuv yuav tso nws ntawm no here

  2.   Victor said

    Zoo heev! Kuv paub txog qee qhov ntawm lawv, tab sis tsis tso tso ua ke jpg cov ntaub ntawv. Kuv mam mus sim nws! Ua tsaug rau koj

  3.   Oscar said

    Thiab koj tsis xav tias nws yooj yim dua rau kev siv cov kev pab cuam nrog cov duab graphical zoo li Handbrake?