I'm trying to compile x264 with mp4 output support. I download the latest version from their git by typing
git clone git://git.videolan.org/x264.git
When I run
./configure
it configures and I'm able to make it. But when i try to configure it with
./configure --enable-mp4-output
and then try to make it, it returns a strange error, indicating that there is a compilation error. The error message looks like:
... Lots of similar errors ...
output/mp4.c:297: warning: implicit declaration of function ‘gf_isom_add_sample’
output/mp4.c:297: error: ‘mp4_hnd_t’ has no member named ‘p_file’
output/mp4.c:297: error: ‘mp4_hnd_t’ has no member named ‘i_track’
output/mp4.c:297: error: ‘mp4_hnd_t’ has no member named ‘i_descidx’
output/mp4.c:297: error: ‘mp4_hnd_t’ has no member named ‘p_sample’
output/mp4.c:299: error: ‘mp4_hnd_t’ has no member named ‘p_sample’
output/mp4.c:300: error: ‘mp4_hnd_t’ has no member named ‘i_numframe’
I've tried different releases. I've installed gpac, ffmpeg, and tried numerous tips from the net. But still can't get it to work. The reason I want it with mp4 output is because I want to use ffmpeg to create mp4 files encoded with x264.
I'm running Ubuntu Server 9.10 32 bits.