Skip to main content
Pembahagian video dengan FFMPEG

Untuk memuat naik video yang mempunyai julat masa 21 minit ke Youtube tidak lagi dibenarkan untuk ahli-ahli baru. Oleh itu anda perlu memecahkan fail itu kepada tempoh maksimum 10 minit. Katalah untuk pecah kepada 3 bahagian, kita ambil formasi 9+9+3 minit untuk setiap fail.

Andaikan nama fail ialah copy.wmv (sebenarnya berformat 3GP, tetapi telah ditukar kepada WMV).

ffmpeg -sameq -ss 00:00:00 -t 00:09:00 -i copy.wmv copy1.wmv
ffmpeg -sameq -ss 00:09:01 -t 00:09:00 -i copy.wmv copy2.wmv
ffmpeg -sameq -ss 00:18:01 -t 00:04:00 -i copy.wmv copy3.wmv

"Flag" -ss untuk start session, iaitu pada jam/minit/saat mana yang anda ingin mula sebagai "offset" dan -t untuk tempoh bagi setiap fail.

-sameq untuk mengekalkan kualiti fail (same quality).

Comments

Popular posts from this blog

Danga Bay, Chevrolet Optra and bio...(eh?) I thought it was Debian(haha). My colleague point me to the AirAsia flight turbin and he told me, "Macam debian punya logo" I saw a spiral on top the turbin blades. Pretty much like Debian Logo That's spark me to shoot for a pix. And I was warned by the airport staff. Uh,uh. Flash lamp will spark burst,eh? I was presented my "mock" research proposal. Suggested "Profiling Bioinformatics Application Behavior on Distributed Computing Architecture". Eh, will this gonna be bioinformatics specific or hardware optimization specific.or? Flashback: I spent almost a week at the office. When it's Subh azan,went back to my house for bath and pray. Reading all the journals and papers was not funny,really. Tough eye balls. No world cup. Ewh. And have some VCD lure. Uh,uh. you gonna be kidding. Anyway, I learned a lot and UTM SLAB Research Course is no joke. Really. My proposal has been corrected with comments so I have
Gue dengan S2 gue. Sronok banget!