rjn
rjn

Reputation: 13

How to add libmp3lame, libx264, libvo_aacenc and libvorbis codecs to existing ffmpeg install on Redhat 6.7

Adobe cq uses ffmpeg to transcode videos. There is a workflow that is triggered when a user uploads any video to the digital asset management (DAM) section. This workflow internally uses ffmpeg to transcode the uploaded video and spits out additional video renditions in formats like ogg, m4v, mp3.

The server (Red Hat Enterprise Linux Server release 6.5) on which adobe cq runs needs to have ffmpeg installed for the DAM workflow to function. ffmpeg has already installed been installed, but it is missing certain codecs: libmp3lame, libx264, libvo_aacenc and libvorbis.

How to add and enable these codecs ?

Upvotes: 0

Views: 783

Answers (1)

llogan
llogan

Reputation: 134063

You can't just add support for arbitrary external libraries to an existing ffmpeg binary.

You'll either need to download a new ffmpeg binary, or compile ffmpeg. Downloading a build is easiest and supports the encoders you listed (except libvo_aacenc). Compiling allows for customization.

Avoid libvo_aacenc: it provides poor quality and support for libvo_aacenc has been removed from FFmpeg. Use the native FFmpeg AAC encoder instead. See FFmpeg Wiki: AAC for more info.

Upvotes: 0

Related Questions