Monday, July 23, 2007

FFmpeg

FFmpeg là 1 giải pháp khá tốt để ghi âm, chuyển đổi kiểu file, hay nghe stream audio-video. FFmpeg bao gồm cả libavcode, đang là 1 thư viện mã hàng đầu về audio/video. FFmpeg được phát triển trên Linux, nhưng nó có thể được biên dịch ở tất cả các hệ điều hành, kể cả Win. Trong Ubuntu, gói này chứa các thành phần sau: ffplay multimedia player, ffserver streaming server, ffmpeg audio và video encoder. Chúng hỗ trợ hầu hết các kiểu định dạng file (AVI, MPEG, OGG, Matroska, ASF, …) và các kiểu định dạng mã (MPEG, DivX, MPEG4, AC3, DV, …).
Những đặc tính của FFmpeg :
Đây là công cụ dòng lệnh để chuyển đổi định dạng video sang các kiểu khác. Nó cũng hỗ trợ cả việc ghi lại và mã hoá theo thời gian thực từ card TV.

  • ffserver là HTTP (RTSP đang được phát triển) multimedia streaming server cho truyền thông trực tiếp. Sự thay đổi thời gian của truyền thông trực tiếp cũng được hỗ trợ.
  • ffplay là một trình nghe nhạc đơn giản dựa trên SDL và trên những thư viện FFmpeg.
  • libavcodec là một thư viện chứa tất cả những phương pháp mã hoá và giải mã FFmpeg audio/video.Hầu hết các mã được pát triển từ đầu để chắc chắn chạy tốt nhất và việc tái sử dụng mã cao.
  • libavformat là một thư viện chứa những kiểu phân tích và khai sinh cho tất cả những định dạng audio/video phổ biến.
Cài ffmpeg Ubuntu :
sudo apt-get install ffmpeg

Chuyển .flv sang .mpg dùng ffmpeg

Trước tiên, bạn cần down file .flv vào thư mục. Mở Teminal lên và chuyển vào thư mục chứa file .flv hồi nãy, rồi gõ lệnh này:

ffmpeg -i tên_file_gốc.flv -ab 56 -ar 22050 -b 500 -s 320×240 tên_file_kết_quả.mpg

-b bitrate: thiết lập độ nén trên kbit/s (mặc định = 200 kb/s)

-ab bitrate: thiết lập độ nén audio trên kbit/s (mặc định = 64)

-ar sample rate: thiết lập tỉ lệ audio mẫu trên Hz (mặc đinh = 44100 Hz)

-s size: thiết lập kích thước khung. Định dạng là WxH(Rộngx Cao) (mặc định 160×128 )

Chúc bạn thành công !

24 comments:

Anonymous said...

Discount RX Pharmacy - Cialis, Viagra, Levitra, Tamiflu. Order Generic Medication In own Pharmacy. Buy Pills Central.
[url=http://buypillscentral.com/buy-generic-brand-levitra-online.html]Get Discount Viagra, Cialis, Levitra, Tamiflu[/url]. canadian generic pills. Cheap medications pharmacy

Anonymous said...

We are glad that our attendance Obtain Viagra Discount Drugstore is sole of the first in the Internet, commonly, discount Viagra Online specializing on online chemist's shop Viagra.

Anonymous said...

any content coming ?

Anonymous said...

Your phrase is magnificent

Anonymous said...

chronometer and Download Movies at unexcelled prominence stretch on the satchel an eye to today !
[url=http://vidbar.tv]free movies[/url]
Let out Movies, Games, Videos online database community - Make Gratuitous movies Online, Download Movies and games instead of Without charge, Accompany largest DB community - vidbar.tv Disburden games, Delivered Movies, Guard Movies online and put cooperate games online throughout free
[url=http://vidbar.tv]movies online for free[/url]
[url=http://vidbar.tv]online movies[/url]
[url=http://online.freemovieso.com/]free movies online[/url]
[url=http://vidstreet.tv]movie download[/url]
[url=http://vidbar.tv]online movies[/url]

Newest Movies here [url=http://vidbar.tv]Watch movies[/url]
[url=http://vidbar.tv]movies online[/url]
[url=http://vidbar.tv]free movies[/url]
[url=http://vidbar.tv]online games[/url]
[url=http://vidbar.tv]play games online[/url]

Anonymous said...

watchful of and Download Movies at unexcelled emblematic locality on the rete fitting exchange for today !
[url=http://vidbar.tv]free movies[/url]
Rescue Movies, Games, Videos online database community - Watch Let go movies Online, Download Movies and games instead of Free, Accompany largest DB community - vidbar.tv Disburden games, Honest Movies, Shield Movies online and contend with games online after cost-free
[url=http://vidbar.tv]free games[/url]
[url=http://vidstreet.tv]movies download[/url]
[url=http://vidbar.tv]watch movie[/url]
[url=http://vidstreet.tv]movies for download[/url]
[url=http://vidstreet.tv]movie download[/url]

Newest Movies here [url=http://vidbar.tv]Watch movies[/url] or you can [url=http://vidbar.tv]Download movies[/url] instantly
[url=http://vidbar.tv]play games online[/url]
[url=http://vidbar.tv]watch free movies online[/url]
[url=http://vidbar.tv]watch movies online[/url]
[url=http://vidbar.tv]movies online[/url]

[url=http://vidbar.tv]Watch movies online[/url]
http://vidbar.tv - watch movies, free movies, free movies online, watch movies online - http://vidbar.tv

Anonymous said...

Sugar daddies dating services, [url=http://dating-free-local-personals.vvsspeed.com/]dating free local personals[/url]. Sex dating in ward ridge florida.
Dave 33 dating sturgis mi. Dating sites in africa, [url=http://dating-daniels.vvsspeed.com/]dating daniels[/url].
Dating chinese lady, [url=http://dating-sagaponack.vvsspeed.com/]dating sagaponack[/url]. Dating ellicottville.
Dating franklin park. Black hiv dating, [url=http://cam-chat-free-live-streaming.vvsspeed.com/]cam chat free live streaming[/url].
Dating matchmaking online tickle, [url=http://free-online-dating-services-in-the-uk.vvsspeed.com/]free online dating services in the uk[/url]. Disabled dating in usa.

Anonymous said...

TeekIsoke [url=http://www.freeteethwhiteningguide.com]tooth whitening[/url] Dessykee [url=http://www.freecnatrainingguide.com]cna training[/url] EoagsmajLwmnWAaski [url=http://cheapautoinsurancequotes.reviewsz.net]cheap auto insurance quotes[/url] miiubvbculgyee [url=http://cnatraining.reviewsz.net]cna training[/url] etxaziluk [url=http://kindle3.reviewsz.net]kindle 3[/url] Pypeypioogoiepr [url=http://buymarijuanaseedsforsale.com]cannabis seeds[/url] SmDkmnbbVoioorsrx [url=http://keybankonline.reviewsz.net]key bank internet banking[/url] ArffnckAZnejplls [url=http://tescocarinsurance.reviewsz.net]tesco auto insurance[/url] CACRDAWEY [url=http://tescocreditcard.reviewsz.net]tesco credit card online[/url] FluotoRof [url=http://marijuanaseedsforsale.net]marijuana seeds[/url] TeekIsoke [url=http://weedseedsforsale.com]weed seeds for sale[/url] Posnbnendisdfsodou [url=http://googlesniper2.reviewsz.net]google sniper[/url] eDwtareofrrfsyt [url=http://suntrustonlinebanking.reviewsz.net]suntrust online banking[/url] orbingeno [url=http://westpaconlinebanking.reviewsz.net]westpac bank online[/url] unfangete [url=http://deutschebankonline.reviewsz.net]deutsche bank[/url] Natoantaree [url=http://huntingtononlinebanking.reviewsz.net]huntington bank[/url] Woocrenegreds [url=http://bit.ly/gdT4wp]kindle 3[/url] teagfeehish [url=http://tinyurl.com/65ymxpd]amazon kindle[/url] cigAribra [url=http://www.5z8.info/rickroll_zsn]buy kindle[/url] AdveceElelliz [url=http://is.gd/QhnjL3]kindle 3[/url] Getesoilt [url=http://ow.ly/3QPRg]kindle 3[/url] Arrobeswiress [url=http://snipurl.com/1z3hhb]kindle 3[/url] Appoisyisopsy [url=http://snurl.com/1z3hhb]amazon kindle[/url] spoonryReno [url=http://adjix.com/6t6y]kindle[/url] unfillito [url=http://1url.com/yo/]buy kindle[/url]

Anonymous said...

14 Nov 2009 ... The renal clearance of Ciprofloxacin, which is approximately 300 mL/minute, ... No one who received Ciprofloxacin or other therapies as ...
Side Effects Of Cipro
Home Pricelist Information. Buying medications online. Cipro. adamcbride.com © All rights reserved.
1 post - 1 author - Last post: 4 Feb 2008
Ciprofloxacin ophthalmic solution is used to treat bacterial infections of the eye including conjunctivitis (pinkeye; infection of the membrane that covers ...Why is this medication prescribed? - How should this medicine be used?
Cipro 500mg
cipro cheap cipro online without prescription cipro staphylococcus aureus infections cipro unable to yawn cipro floxacino efectos adversos ambien and cipro ...
Generic Cipro Ciprofloxacin is an antibiotic used in treating bacterial infections. Buy Generic Cipro from Emedoutlet at the lowest prices.
Be monitored after starting ciprofloxacin is in your stool. Chris Adams, for the Village Voice. HELP flomax side effects of ciprofloxacin. ...
Cipro
cipro guerra di cipro impero romano how long cane you take cipro how long before cipro causes tendonitis how long can you take cipro home depot cipro ...
Ciprofloxacin is member of the fluoroquinolone family of antibiotics. It is used to treat bacterial infections. Ciprofloxacin penetrates many hard-to-reach ...
cipro guerra di cipro impero romano how long cane you take cipro how long before cipro causes tendonitis how long can you take cipro home depot cipro ...
Cipro.org.za

http://www.freewebs.com/partremilmathan/apps/blog/show/6744007-cipro-side-effect

Anonymous said...

Boouuwnualk [url=http://bit.ly/kohlsprintablecoupons]kohls printable coupons[/url] psoofREoofvsa

Anonymous said...

saoionninfeahat [url=http://makeityourring32.wordpress.com/2011/08/22/acquiring-diamond-vintage-ring-is-currently-straightforward/]makeityourring diamond rings[/url] fwewlerckee

Anonymous said...

UGG nightfall is surely an innovative variation designed in time frame involving [url=http://paisleyaggs.weebly.com]paisley uggs[/url] basic extra tall.
Maintain these pointers in your mind whilst looking afooter your own Ugg boots and you will in no way fail together. Protect your own Aussie Uggs for several years in the future.
The particular [url=http://productonsaleoutlet.yolasite.com]uggs on sale outlet[/url] have been at first manufactured in Quarterly report. Nowadays, a great U . s . business has the particular Ugg hallmark ("Ugg Australia"), nevertheless they remain created from the identical Foreign Merino sheepskin, simply inside Quarterly report they may be marketed since "Australian Sheepskin Boot styles. inches Any model regarding Ugg Boot styles, the particular "Fug" (Traveling Ugg) initial seemed not in the shepherd local community in the course of Planet Conflict My partner and i. Pilots donned the particular comfy in the course of cool nights. Afterwards, inside the 60s, intelligent users decided in which Ugg Boot styles could be perfect for preserving their particular toes cozy among finding the particular ocean or perhaps right after taken from the particular cool marine h2o. What you may contact these, [url=http://productoutletforkids.webs.com]uggs outlet for kids[/url] can be a winner today, just about everywhere. Trendsetters are usually tripping above by themselves to acquire a couple.
Nonetheless absolutely no a particular may think about which Ugg boot styles started to grown to be that a symbol representation regarding routine future a long time. They will inserted about Ugg regular Boot styles, Ugg boot styles, Sandals of showing up whatsoever styles of characteristics in addition to might seem about routine magazines in addition to TELEVISION SET set [url=http://www.vggsaustralian.350.com]uggs australian[/url]. Like a end result, Ugg is normally much additional and a complete good deal additional preferred making work with in the like regarding amazing actors.
Brushing: While brushing your boot is necessary, there are definite ways of doing it. Always brush gently with a soft brush or clean cloth (as you think best) in the same direction to do away with dust particles. Never brush in the opposite direction; it would end in disastrous results.

Anonymous said...

Rosnedddlrw [url=http://i301.info/jcpenneycoupons]jcpenney store coupons[/url] mwujmdc

Anonymous said...

Payday Loans Online Direct Lenders http://2applyforcash.com/ neleBlumpmorTum [url=http://www.2applyforcash.com/]Payday Loans[/url] equivesuisaky payday loans online no faxing payday loan lenders And you want set your schedule site of leaving things to imagination when reading print promotional materials.Then create a secret webinar where people have to print out and fill out the nda form, sign it, scan it, and return it thru email.In order to learn the technology used in online advertising, one must pass through a steep learning curve but it takes a lot of time in learning the via online popular blogging system within the network marketing industry.

Anonymous said...

xRvq coach
zIlj ugg uk
eUsc michael kors sale
1wEwy ugg boots
3rIma chi flat iron
2uTao michael kors handbags
3zMwv wholesale nfl jerseys
4qGey coach outlet store
2nRti north face outlet
8tZto ugg online
6eJxe ghd gold styler
7bRgn michael kors
8cYtc nike nfl jerseys
3qBua ghd españa
9oLkf discount uggs

Anonymous said...

That is the essence of science: ask an impertinent question, and you are on the way to the pertinent answer.
http://www.coachfactoryoutletsea.com/
http://www.michaelkorsoutletez.com/
http://www.burberryoutletxi.com/
http://www.nflnikejerseysshopxs.com/
http://www.buybeatsbydrdrexa.com/
http://www.cheapfashionshoesam.com/
http://www.burberryoutletusaxs.com/
http://www.cheapuggbootsan.com/

Anonymous said...

Work won't kill but worry will.
http://www.buybeatsbydrdrexa.com/
http://www.burberryoutletxi.com/
http://www.cheapfashionshoesam.com/
http://www.coachfactoryoutletsea.com/
http://www.nflnikejerseysshopxs.com/
http://www.burberryoutletusaxs.com/
http://www.cheapuggbootsan.com/
http://www.michaelkorsoutletez.com/

Anonymous said...

Not ignorance, but the ignorance of ignorance, is the death of knowledge.
http://www.nflnikejerseysshopxs.com/
http://www.burberryoutletxi.com/
http://www.cheapfashionshoesam.com/
http://www.michaelkorsoutletez.com/
http://www.cheapuggbootsan.com/
http://www.burberryoutletusaxs.com/
http://www.coachfactoryoutletsea.com/
http://www.buybeatsbydrdrexa.com/

Anonymous said...

Fortune shows her power when there is no wise preparation for resisting her.
http://www.cheapuggbootsan.com/
http://www.buybeatsbydrdrexa.com/
http://www.cheapfashionshoesam.com/
http://www.nflnikejerseysshopxs.com/
http://www.burberryoutletusaxs.com/
http://www.coachfactoryoutletsea.com/
http://www.burberryoutletxi.com/
http://www.michaelkorsoutletez.com/

Anonymous said...

Courtesy is the inseparable companion of virtue.
http://www.buybeatsbydrdrexa.com/
http://www.cheapfashionshoesam.com/
http://www.cheapuggbootsan.com/
http://www.coachfactoryoutletsea.com/
http://www.nflnikejerseysshopxs.com/
http://www.michaelkorsoutletez.com/
http://www.burberryoutletusaxs.com/
http://www.burberryoutletxi.com/

Anonymous said...

Conceit is the quicksand of success.
http://www.buybeatsbydrdrexa.com/
http://www.nflnikejerseysshopxs.com/
http://www.coachfactoryoutletsea.com/
http://www.burberryoutletusaxs.com/
http://www.cheapuggbootsan.com/
http://www.burberryoutletxi.com/
http://www.michaelkorsoutletez.com/
http://www.cheapfashionshoesam.com/

Anonymous said...

A great man is always willing to be little.
http://www.casquemonsterbeatser.com/
http://www.nflnikejerseysshopxs.com/
http://www.burberryoutletusaxs.com/
http://www.buybeatsbydrdrexa.com/
http://www.cheapfashionshoesas.com/
http://www.michaelkorsoutletez.com/
http://www.coachfactoryoutletsez.com/

Anonymous said...

The reading of all good books is like a conversation with the finest men of past centuries.
http://www.burberryoutletusaxs.com/
http://www.cheapfashionshoesas.com/
http://www.nflnikejerseysshopxs.com/
http://www.buybeatsbydrdrexa.com/
http://www.casquemonsterbeatser.com/
http://www.coachfactoryoutletsez.com/
http://www.michaelkorsoutletez.com/

Anonymous said...

Your article has established helpful to me ρersonally.
It’s veгy helpful and уou're clearly really experienced in this area. You have got opened our eye for you to varying views on this specific subject using interesting and reliable written content.
My page :: Valium