1.x264linux
./configure --host=arm-hisiv300-linux CC=arm-hisiv300-linux-gcc --enable-pic --prefix=/usr/local/ffmpeg --cross-prefix=arm-hisiv300-linux- --enable-static --enable-sharedide
makespa
make installcode
2.ffmpegserver
1 ./configure \ 2 --prefix=/usr/local/ffmpeg/ \ 3 --enable-filters \ 4 --enable-asm \ 5 --enable-ffmpeg \ 6 --enable-ffplay \ 7 --enable-ffprobe \ 8 --enable-ffserver \ 9 --enable-doc \ 10 --enable-cross-compile \ 11 --cross-prefix=arm-hisiv300-linux- \ 12 --arch=arm \ 13 --cpu=cortex-a9 \ 14 --target-os=linux \ 15 --host-os=linux \ 16 --enable-gpl \ 17 --enable-version3 \ 18 --enable-small \ 19 --enable-shared \ 20 --enable-static \ 21 --enable-encoder=rawvideo \ 22 --enable-encoder=mpeg2video \ 23 --enable-encoder=mp2 \ 24 --enable-encoder=libx264 \ 25 --enable-libx264 \ 26 --enable-muxer=adts \ 27 --enable-muxer=mpegts \ 28 --enable-muxer=mpeg2video \ 29 --enable-muxer=rtsp \ 30 --enable-muxer=hls \ 31 --enable-muxer=h264 \ 32 --enable-muxer=rtp \ 33 --enable-muxer=avi \ 34 --enable-muxer=flv \ 35 --enable-muxer=mp4 \ 36 --enable-demuxer=mpegts \ 37 --enable-demuxer=rtsp \ 38 --enable-demuxer=hls \ 39 --enable-demuxer=h264 \ 40 --enable-demuxer=rtp \ 41 --enable-demuxer=flv \ 42 --enable-muxer=mp4 \ 43 --enable-demuxer=mpegts \ 44 --enable-demuxer=rtsp \ 45 --enable-demuxer=hls \ 46 --enable-demuxer=h264 \ 47 --enable-demuxer=rtp \ 48 --enable-demuxer=flv \ 49 --enable-demuxer=avi \ 50 --enable-demuxer=mpegps \ 51 --enable-demuxer=mpegtsraw \ 52 --enable-demuxer=mpegvideo \ 53 --enable-parser=aac \ 54 --enable-parser=h264 \ 55 --enable-parser=mpeg4video \ 56 --enable-parser=mpegvideo \ 57 --enable-parser=mpegaudio \ 58 --enable-bsf=h264_mp4toannexb \ 59 --enable-protocol=http \ 60 --enable-protocol=rtp \ 61 --enable-protocol=rtmpts \ 62 --enable-protocol=https \ 63 --enable-protocol=hls \ 64 --enable-protocol=file \ 65 --enable-protocol=data \ 66 --enable-gray \ 67 --enable-safe-bitstream-reader \ 68 --extra-cflags=-I/usr/local/x264/include \ 69 --extra-ldflags=-L/usr/local/x264/lib
makeblog
make installget