Page 1 of 2

x264 make problem

Posted: 13 Aug 2011 09:56
by huoyee
Dear friends,

I downloaded x264 source code from the videolan.org website. In Linux environment, I use make command to compile the x264 source code, but generated the following errors:

Makefile:3: config.mak: Don't have the file or directory
cat: config.h: Don't have the file or directory
./configure
Found no assembler
Minimum version is yasm-0.7.0
If you really want to compile without asm, configure with --disable-asm.
make: *** [config.mak] Error 1

Who knows how to solve the problem and run the x264 source code correctly, please tell me.
Thanks you in advance!

Re: x264 make problem

Posted: 13 Aug 2011 14:13
by Jean-Baptiste Kempf
Install yasm... JUST read what it says!

Re: x264 make problem

Posted: 15 Aug 2011 09:42
by huoyee
Thanks a lot Jean, I downloaded a yasm packet from the http://yasm.tortall.net/Download.html and the file name is "Source .tar.gz ". Now how should I do to assemble the x264 source code, who knows how to do it please?

Thank you in advance!

Re: x264 make problem

Posted: 15 Aug 2011 17:47
by VLC_help
It is easier to install the yasm from package manager.

Re: x264 make problem

Posted: 16 Aug 2011 05:39
by huoyee
Thank you VLC_help. Do you mean I don't need to download the yasm source code, and I can directly use sudo apt-get install yasm command to install it?

Thank you in advance!

Re: x264 make problem

Posted: 16 Aug 2011 15:52
by VLC_help

Re: x264 make problem

Posted: 17 Aug 2011 10:41
by huoyee
Thank you VLC_help! I installed yasm successfully now.

Now I run make command under the x264 directory, but it generated the following error:

Makefile:3: config.mak: don't have the file or directory
cat: config.h: don't have the file or directory
./configure
./version.sh: line 2: git:can't find the command

Who knows what should I do to complete the ./configure?
Thank you in advance!

Re: x264 make problem

Posted: 17 Aug 2011 11:23
by Jean-Baptiste Kempf
What about you learn to read?
Install git!

Re: x264 make problem

Posted: 18 Aug 2011 04:51
by huoyee
Thank you, Jean!

I runned make command and generated the following information. Is this mean it has compiled x264 source correctly,please?

gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o input/input.o input/input.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o input/timecode.o input/timecode.c
input/timecode.c: In function ‘parse_tcfile’:
input/timecode.c:163: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
input/timecode.c:196: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
input/timecode.c:242: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
input/timecode.c:248: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o input/raw.o input/raw.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o input/y4m.o input/y4m.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o output/raw.o output/raw.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o output/matroska.o output/matroska.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o output/matroska_ebml.o output/matroska_ebml.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o output/flv.o output/flv.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o output/flv_bytestream.o output/flv_bytestream.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/filters.o filters/filters.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/video.o filters/video/video.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/source.o filters/video/source.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/internal.o filters/video/internal.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/resize.o filters/video/resize.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/cache.o filters/video/cache.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/fix_vfr_pts.o filters/video/fix_vfr_pts.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/select_every.o filters/video/select_every.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/crop.o filters/video/crop.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/depth.o filters/video/depth.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o input/thread.o input/thread.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/mc.o common/mc.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/predict.o common/predict.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/pixel.o common/pixel.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/macroblock.o common/macroblock.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/frame.o common/frame.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/dct.o common/dct.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/cpu.o common/cpu.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/cabac.o common/cabac.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/common.o common/common.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/osdep.o common/osdep.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/rectangle.o common/rectangle.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/set.o common/set.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/quant.o common/quant.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/deblock.o common/deblock.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/vlc.o common/vlc.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/mvpred.o common/mvpred.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/bitstream.o common/bitstream.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o encoder/analyse.o encoder/analyse.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o encoder/me.o encoder/me.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o encoder/ratecontrol.o encoder/ratecontrol.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o encoder/set.o encoder/set.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o encoder/macroblock.o encoder/macroblock.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o encoder/cabac.o encoder/cabac.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o encoder/cavlc.o encoder/cavlc.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o encoder/encoder.o encoder/encoder.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o encoder/lookahead.o encoder/lookahead.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/threadpool.o common/threadpool.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/x86/mc-c.o common/x86/mc-c.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -c -o common/x86/predict-c.o common/x86/predict-c.c
ar rc libx264.a common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/osdep.o common/rectangle.o common/set.o common/quant.o common/deblock.o common/vlc.o common/mvpred.o common/bitstream.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/lookahead.o common/threadpool.o common/x86/mc-c.o common/x86/predict-c.o common/x86/const-a.o common/x86/cabac-a.o common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o common/x86/cpu-a.o common/x86/dct-32.o common/x86/bitstream-a.o common/x86/sad-a.o common/x86/pixel-32.o
ranlib libx264.a
gcc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o libx264.a -lm -lpthread


Thank you in advance!

Re: x264 make problem

Posted: 18 Aug 2011 15:40
by VLC_help
Is this mean it has compiled x264 source correctly,please?
Yes, there should x264 binary in that directory now.

Re: x264 make problem

Posted: 19 Aug 2011 04:26
by huoyee
Thank you, VLC_help! I have solved the problem now. Now I want to use the x264.exe to compile an .avi file,but it generated the following error:

x264 [error]: not compiled with MP4 output support

Who knows how to solve it and enable it to support MP4 output,please!

Thank you in advance!

Re: x264 make problem

Posted: 19 Aug 2011 11:26
by huoyee
Dear friends,

I used the command of "./configure --enable-mp4-output", but it generated the following information:

Unknown option --enable-mp4-output, ignored

What can I do to enable it to support mp4,please?

I appreciate your help very much^_^

Re: x264 make problem

Posted: 19 Aug 2011 12:17
by huoyee
Dear everyone,

I tried to download the earlier versions of x264 and compile it again with ./configure --enable-mp4-out, it generated the following information and seemed that it can support mp4 output.

./version.sh: 2: git-rev-list: not found
Platform: X86
System: LINUX
asm: yes
avis input: no
mp4 output: yes
pthread: yes
gtk: no
debug: no
gprof: no
PIC: no
shared: no
visualize: no

But when I next use "make" command,it generated the following errors:

muxers.c:41:27: error: gpac/isomedia.h: don't have this file or directory
muxers.c: In function ‘read_frame_y4m’:
muxers.c:293: warning: dereferencing type-punned pointer will break strict-aliasing rules
muxers.c: At top level:
muxers.c:557: error: expected specifier-qualifier-list before ‘GF_ISOFile’
muxers.c:571: error: expected ‘)’ before ‘*’ token
muxers.c: In function ‘close_file_mp4’:
muxers.c:623: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:624: warning: implicit declaration of function ‘gf_odf_avc_cfg_del’
muxers.c:624: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:626: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:628: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:629: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:631: warning: implicit declaration of function ‘gf_isom_sample_del’
muxers.c:631: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:634: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:636: warning: implicit declaration of function ‘recompute_bitrate_mp4’
muxers.c:636: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:636: error: ‘mp4_t’ has no member named ‘i_track’
muxers.c:637: warning: implicit declaration of function ‘gf_isom_set_pl_indication’
muxers.c:637: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:637: error: ‘GF_ISOM_PL_VISUAL’ undeclared (first use in this function)
muxers.c:637: error: (Each undeclared identifier is reported only once
muxers.c:637: error: for each function it appears in.)
muxers.c:638: warning: implicit declaration of function ‘gf_isom_set_storage_mode’
muxers.c:638: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:638: error: ‘GF_ISOM_STORE_FLAT’ undeclared (first use in this function)
muxers.c:639: warning: implicit declaration of function ‘gf_isom_close’
muxers.c:639: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c: In function ‘open_file_mp4’:
muxers.c:657: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:657: warning: implicit declaration of function ‘gf_isom_open’
muxers.c:657: error: ‘GF_ISOM_OPEN_WRITE’ undeclared (first use in this function)
muxers.c:659: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:659: warning: implicit declaration of function ‘gf_isom_sample_new’
muxers.c:665: warning: implicit declaration of function ‘gf_isom_set_brand_info’
muxers.c:665: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:665: error: ‘GF_ISOM_BRAND_AVC1’ undeclared (first use in this function)
muxers.c: In function ‘set_param_mp4’:
muxers.c:677: error: ‘mp4_t’ has no member named ‘i_track’
muxers.c:677: warning: implicit declaration of function ‘gf_isom_new_track’
muxers.c:677: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:677: error: ‘GF_ISOM_MEDIA_VISUAL’ undeclared (first use in this function)
muxers.c:680: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:680: warning: implicit declaration of function ‘gf_odf_avc_cfg_new’
muxers.c:681: warning: implicit declaration of function ‘gf_isom_avc_config_new’
muxers.c:681: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:681: error: ‘mp4_t’ has no member named ‘i_track’
muxers.c:681: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:682: error: ‘mp4_t’ has no member named ‘i_descidx’
muxers.c:684: warning: implicit declaration of function ‘gf_isom_set_track_enabled’
muxers.c:684: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:684: error: ‘mp4_t’ has no member named ‘i_track’
muxers.c:686: warning: implicit declaration of function ‘gf_isom_set_visual_info’
muxers.c:686: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:686: error: ‘mp4_t’ has no member named ‘i_track’
muxers.c:686: error: ‘mp4_t’ has no member named ‘i_descidx’
muxers.c:698: warning: implicit declaration of function ‘gf_isom_set_track_layout_info’
muxers.c:698: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:698: error: ‘mp4_t’ has no member named ‘i_track’
muxers.c:701: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:702: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:705: error: ‘mp4_t’ has no member named ‘i_time_res’
muxers.c:706: error: ‘mp4_t’ has no member named ‘i_time_inc’
muxers.c:707: error: ‘mp4_t’ has no member named ‘i_init_delay’
muxers.c:708: error: ‘mp4_t’ has no member named ‘i_init_delay’
muxers.c:708: error: ‘mp4_t’ has no member named ‘i_time_inc’
muxers.c:710: error: ‘mp4_t’ has no member named ‘i_init_delay’
muxers.c:710: error: ‘mp4_t’ has no member named ‘i_time_res’
muxers.c: In function ‘write_nalu_mp4’:
muxers.c:719: error: ‘GF_AVCConfigSlot’ undeclared (first use in this function)
muxers.c:719: error: ‘p_slot’ undeclared (first use in this function)
muxers.c:727: error: ‘mp4_t’ has no member named ‘b_sps’
muxers.c:729: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:730: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:731: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:732: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:733: error: expected expression before ‘)’ token
muxers.c:737: warning: implicit declaration of function ‘gf_list_add’
muxers.c:737: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:739: error: ‘mp4_t’ has no member named ‘b_sps’
muxers.c:745: error: ‘mp4_t’ has no member named ‘b_pps’
muxers.c:747: error: expected expression before ‘)’ token
muxers.c:751: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:753: error: ‘mp4_t’ has no member named ‘b_pps’
muxers.c:754: error: ‘mp4_t’ has no member named ‘b_sps’
muxers.c:755: warning: implicit declaration of function ‘gf_isom_avc_config_update’
muxers.c:755: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:755: error: ‘mp4_t’ has no member named ‘i_track’
muxers.c:755: error: ‘mp4_t’ has no member named ‘p_config’
muxers.c:764: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:764: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:765: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:765: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:766: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:766: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:767: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:767: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:768: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:768: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:769: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c: In function ‘set_eop_mp4’:
muxers.c:779: error: ‘mp4_t’ has no member named ‘i_numframe’
muxers.c:779: error: ‘mp4_t’ has no member named ‘i_time_inc’
muxers.c:781: error: ‘mp4_t’ has no member named ‘i_init_delay’
muxers.c:783: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:784: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:785: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:786: warning: implicit declaration of function ‘gf_isom_add_sample’
muxers.c:786: error: ‘mp4_t’ has no member named ‘p_file’
muxers.c:786: error: ‘mp4_t’ has no member named ‘i_track’
muxers.c:786: error: ‘mp4_t’ has no member named ‘i_descidx’
muxers.c:786: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:788: error: ‘mp4_t’ has no member named ‘p_sample’
muxers.c:789: error: ‘mp4_t’ has no member named ‘i_numframe’
make: *** [muxers.o] Error 1

I now have got the "gpac" packet but don't know how to use it? Who can tell me how to solve the problem and enable it to support mp4 output,please?

I appreciate your help very much!

Re: x264 make problem

Posted: 19 Aug 2011 19:05
by VLC_help

Re: x264 make problem

Posted: 20 Aug 2011 11:29
by huoyee
Thank you very much, VLC_help!

I tried the method of the page and when I go to the command of "svn co svn://svn.videolan.org/x264/trunk x264" it requires username and password, how can I get them,please?

The second problem is when I use a previously downloaded x264, and go to the command of "cp -R ./gpac/include/gpac", it suggested that "don't have destination directory or file. So what is the destination of the cp command,please?

Thank you in advance!

Re: x264 make problem

Posted: 20 Aug 2011 11:54
by huoyee
Dear friends,

I have known the second problem of cp command and now I just have the first problem of

I tried the method of the page and when I go to the command of "svn co svn://svn.videolan.org/x264/trunk x264" it requires username and password, how can I get them,please?
Thank you in advance!

Re: x264 make problem

Posted: 20 Aug 2011 19:11
by VLC_help
Use git. You don't have to follow orders literally.

Re: x264 make problem

Posted: 21 Aug 2011 09:46
by huoyee
Thank you very much, VLC_help!

But what is git? I haven't used it before, could you tell me the git command that equals to the svn command,please ? Thank you!

Re: x264 make problem

Posted: 21 Aug 2011 15:08
by VLC_help

Code: Select all

git clone git://git.videolan.org/x264.git
http://wiki.videolan.org/Git#Getting_VL ... de_via_Git

Re: x264 make problem

Posted: 22 Aug 2011 04:21
by huoyee
Thank you so much, VLC_help :D

Re: x264 make problem

Posted: 22 Aug 2011 10:36
by huoyee
Dear everyone,

Now I need to compress the original pictures into the video of h264. I have known that I need to include x264 into ffmpeg, but what are the main processes,please?

Thank you in advance!

Re: x264 make problem

Posted: 22 Aug 2011 16:31
by VLC_help

Re: x264 make problem

Posted: 24 Aug 2011 12:48
by huoyee
Dear everyone,

Now I need to copy the x264.h and x264_config.h to the directory of /usr/include, but it generated the following error:

cp:can't create common file: “/usr/include/x264_config.h”: Permission denied

So what should I do so that I can copy the files to /usr/include,please?

Thank you in advance!

Re: x264 make problem

Posted: 24 Aug 2011 15:13
by huoyee
Dear everyone,

I have solved the problem by using "sudo cp ...".
Then I tried to compile and install ffmpeg by using "#./configure --enable-shared --disable-static --enable-memalign-hack --enable-libx264 --enable-gpl --enable-pthreads", but it generated the following errors:

Unknown option --disable-static, ignored
Unknown option --enable-memalign-hack, ignored
Unknown option --enable-libx264, ignored
Unknown option --enable-gpl, ignored
Unknown option --enable-pthreads, ignored

What's the reason for this and what should I do to solve the problem,please?

Thank you in advance :D

Re: x264 make problem

Posted: 24 Aug 2011 16:06
by huoyee
Dear everyone,

I have solved the problem by hand input for the command mentioned above.

Now I want to compile the dynamic lib for x264 by using the command of "patch -p0 < dll.patch" but it generated the following error:

bash: dll.patch: Don't have the file or directory

How to solve the problem,please?

Thank you in advance!