Fast solution: 1- if you have x264, don't worry about un-install. stay with it. 2- check your assembler yasm verison. 3- install gpac --> from svn.code.sf.net and compile it. 4- copy gpac/inlucde/gapc/ into x264 5- inside x264 and configure as follow ./configure --extra-ldflags=-L/home/../gpac/bin/gcc --enable-mp4 --enable-shared --enable-debug --enable-PIC 6- you get the list in the configure x264 and you can easily find that your MP4 from 'no' changed to 'gpac' 7- do --> make 8- do --> make install 9- write x264 command as x264 big_buck_bunny.y4m -o big_buck_bunny.mp4 to test it. now you have mp4 video. in this process no necessary to convert raw video to h264 then through another tool convert to mp4. hope to be useful. M.T.A