Limited set of output codecs in Fedora Linux. How can I enable others? I'm trying to render a video using blender, it have some images and sound, if I render it using just the default options I get no sound.

Searching on internet I found that I need to use other format than AVI JPEG to set some codecs options, I just have "AVI JPEG", "AVI RAW" and "FRAME SERVER". I'm keep looking but I can't found any information to solve my problem.

Im using fedora and actually I have 
xvidcore-1.3.2-5.fc20.x86_64
ffmpeg-2.1.7-1.fc20.x86_64
packages installed.

EDIT:
When I had the problem I had the last version of blender installed from blender download site, I also tried installing blender from dnf, also tried with buildbot, so this answer didn't solved my problem.
Fedora ships blender with ffmpeg disabled for stupid legal reasons.

You can rebuild blender from the fedora source rpm with -DWITH_CODEC_FFMPEG:BOOL=ON as root as follows:

# cd /var/tmp
# dnf download blender --source
# rpmbuild --rebuild blender-*.src.rpm


The latter will most likely fail which is fine because that would be the one you already have. Install the BuildRequires:

# awk '/BuildRequires:/{print$2}' ~/rpmbuild/SPECS/blender.spec \
    | xargs -r dnf -y install


Enable ffmpeg, rebuild and install:

# perl -pi~ -e 's/WITH_CODEC_FFMPEG:BOOL=OFF/WITH_CODEC_FFMPEG:BOOL=ON/' \
    ~/rpmbuild/SPECS/blender.spec
# rpmbuild -bb ~/rpmbuild/SPECS/blender.spec
# dnf reinstall ~/rpmbuild/RPMS/x86_64/blender-[0-9]*.x86_64.rpm


Now you have blender with matroska, h264 etc :)

Optionally versionlock your version:

# dnf install python-dnf-plugins-extras-versionlock
# dnf versionlock blender


Pål