This blog has moved! Redirecting...
You should be automatically redirected. If not, visit http://scrolls.mafgani.net/ and update your bookmarks.

Saturday, December 01, 2007

Extracting Audio/Video

It's really easy to extract either audio or video from a multimedia file using 'ffmpeg'. To extract audio only:

$ ffmpeg -i inputfile -vn -acodec copy outputfile

And for video only, replace '-vn' with '-an' and '-acodec' with '-vcodec'.

ffmpeg is also commonly used as a transcoding tool.

0 Comments:

Post a Comment

<< Home