Saturday, 2 June 2012

Air Video Server for Linux on Fedora 17

One of the things that stopped working when I upgraded to Fedora 17 was Air Video Server for Linux.  Fortunately, this is a quick fix - I needed to rebuild FFMpeg (step 4 in my previous procedure).

Unfortunately, the version of FFMpeg needed for Air Video Server Linux doesn't compile on Fedora 17 - but this was easy to fix.  So, if you are upgrading to Fedora 17 simply rebuild and install FFMpeg (step 4 in my previous procedure) following the instructions below.  If you have a new installation of Fedora 17 my previous procedure will mostly work but you should replace step 4 with the instructions below.


tar jxvf ffmpeg-for-2.4.5-beta6.tar.bz2
cd ffmpeg/libavcodec/x86
rm h264_qpel_mmx.c
wget http://dl.dropbox.com/u/9300853/AirVideoLinux-alpha6/h264_qpel_mmx.c
cd ../..
./configure --enable-pthreads --disable-shared --enable-static \
  --enable-gpl --enable-libx264 --enable-libmp3lame
make all
[sudo] make install
cd ..


Updated: Mon 4 Jun 2012 00:04

5 comments:

  1. Got here from Google search. Thanks for these instructions - I was trying to fix the same issue.

    One note for other users - when you "wget" the h264_qpel_mmx.c file, it downloads as h264_qpel_mmx.c.1. So copy h264_qpel_mmx.c.1 to h264_qpel_mmx.c (i.e. overwrite the orignal C file) for the compile to work.

    ReplyDelete
  2. Thanks, I've updated the blog entry to fix this (just remove the original h264_qpel_mmx.c before running wget).

    ReplyDelete
  3. Your instructions are even more awesome (and work!) when a body actual reads them.

    Thanks for this.

    Kurt

    ps. your comment system needs a login and must pass a captcha?

    ReplyDelete
  4. This also works for Fedora 18 thank you for the guide..

    ReplyDelete
  5. This also works for Feodora 19 , Thanx

    ReplyDelete