User Tools

Site Tools


Sidebar


guides:install:ffmpeg

ffmpeg

1. Installing ffmpeg on Redhat/CentOS

First add the dag or rpmforge repo (http://dag.wieers.com/rpm/FAQ.php#B):

Red Hat Enterprise Linux 5 / i386:

 rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Red Hat Enterprise Linux 5 / x86_64:

 rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Next install by yum:

yum install ffmpeg

2. Commands

1. Convert mp3 to mp4:

Simple:

ffmpeg -i source.mp3 target.m4a

For better results to transfer metadata and to override default bitrate:

ffmpeg -i "input.mp3" -ab 256k -map_meta_data input.mp3:output.m4a output.m4a
guides/install/ffmpeg.txt · Last modified: 2011/06/16 18:04 by michaelc