So, what can FFm­peg do?

OpenSource For You - - FOR U & ME LET’S TRY -

List sup­ported codecs: The codecs or -for­mats op­tions will list all the codecs that are sup­ported. Each codec is re­ferred to by a spe­cial name, which will have to be used in your FFm­peg com­mands when a par­tic­u­lar codec needs to be used. The -en­coders op­tion will list all codecs which FFm­peg can con­vert to, i.e., the out­put for­mats. The -de­coders op­tion will list all codecs which FFm­peg can con­vert from, i.e., the in­put for­mats. Check codecs used in a me­dia file: FFm­peg uses the -i op­tion to spec­ify the in­put file. This will dis­play the streams avail­able in the file and the set­tings with which each stream was en­coded. Do re­mem­ber that file ex­ten­sions can be mis­lead­ing. MP4, AVI or WMV files are merely con­tain­ers for mul­ti­ple con­tent streams. There is no guar­an­tee that a WMV file will have a stream in Win­dows Me­dia Au­dio for­mat. It could very well have MPEG-3 au­dio. Ex­tract au­dio from a video file: You can use the -vn op­tion to dis­able the video stream and save the re­main­ing au­dio stream to an MP3 file, as fol­lows:

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.