Giter Site home page Giter Site logo

ffmpeg-iphone-build's Introduction

Hi there 👋

ffmpeg-iphone-build's People

Contributors

gabriel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ffmpeg-iphone-build's Issues

No Working C Compiler found

Hi,

I am using build-armv6 build to compile the x264 using gcc4.2. Unfortuantely when I run the below command

CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 ./configure --host=arm-apple-darwin --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk --prefix='dist' --extra-cflags='-arch armv6' --extra-ldflags='-arch armv6' --enable-pic --disable-asm

I get No working C compiler found.

Any help to compile x264 and link to ffmpeg is highly appreciated.

Thanks,
/D

x264 fails to compile with armv6, armv7 and sdk3.0 or sdk3.2

Hi,

First thanks for our scripts ^^ it's the holly grail !!

I've got this error when I run build-x264-armv6 and build-x264-armv7

/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -O3 -fno-fast-math -Wall -I. --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk -arch armv6 -falign-loops=16 -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/me.o encoder/me.c
encoder/me.c: In function ‘x264_me_search_ref’:
encoder/me.c:249: warning: passing argument 1 of ‘x264_predictor_roundclip’ from incompatible pointer type
encoder/me.c:253: warning: cast to pointer from integer of different size
encoder/me.c:255: error: subscripted value is neither array nor pointer
encoder/me.c:256: error: subscripted value is neither array nor pointer
encoder/me.c:264: error: subscripted value is neither array nor pointer
encoder/me.c:265: error: subscripted value is neither array nor pointer
make: *** [encoder/me.o] Error 1
Installed: x264-armv6/dist

I think it's more a bug from x264 sources I check out. But it works for i386

Tiz

Can not be compiled libswsca.a.

Hi, gabriel.
how do you do?

Can not be compiled libswsca.a.
I'm not sure but before I upgrade Xcode 3.2.5, I could.

$./build-armv7

Pulling r22403...

./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 --as="$SCRIPT_DIR/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2" --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk --prefix="dist" --enable-cross-compile --target-os=darwin --arch=arm --cpu=arm1176jzf-s --extra-cflags='-arch armv6' --extra-ldflags='-arch armv6' $CONFIGURE_OPTIONS

... snip ...

Checked out revision 22403.
Configure options: --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libx264 --extra-ldflags=-L/Users/fxf/Desktop/gabriel-ffmpeg-iphone-build-b961668/x264-armv6/dist/lib --extra-cflags=-I/Users/fxf/Desktop/gabriel-ffmpeg-iphone-build-b961668/x264-armv6/dist/include

.........................

libswscale/swscale_template.c: In function ‘swScale_C’:
libswscale/swscale_template.c:2603: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale_template.c:2603: error: (Each undeclared identifier is reported only once
libswscale/swscale_template.c:2603: error: for each function it appears in.)
libswscale/swscale_template.c: In function ‘sws_init_swScale_C’:
libswscale/swscale_template.c:3004: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘palToRgbWrapper’:
libswscale/swscale.c:1478: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘planarCopyWrapper’:
libswscale/swscale.c:1709: warning: implicit declaration of function ‘av_bswap16’
libswscale/swscale.c: In function ‘ff_get_unscaled_swscale’:
libswscale/swscale.c:1794: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘reset_ptr’:
libswscale/swscale.c:1867: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘sws_scale’:
libswscale/swscale.c:1907: warning: passing argument 1 of ‘check_image_pointers’ from incompatible pointer type
libswscale/swscale.c:1911: warning: passing argument 1 of ‘check_image_pointers’ discards qualifiers from pointer target type
libswscale/swscale.c:1924: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
make: *** [libswscale/swscale.o] Error 1

... snip ...

sory my poor English.
Thanks.

x264 fails to use in x264_encoder_encode

i compile x264 with build-x264-i386 setting

when my code run in x264_encoder_encode , the program will be crashed

the error information is
"Detected an attempt to call a symbol in system libraries
that is not present on the iPhone:__isfinited called from function
get_qscale in image ffmpeginiphone.
If you are encountering this problem running a simulator binary within gdb,
make sure you 'set start-with-shell off' first."

any body have any relative experience ??
thx

gcc-4.2 is unable to create an executable file

Hi, gabriel.
how do you do?

build-armv6/7 could compile, but today I tried it,I couldn't.
I'm not sure but before I upgrade Xcode 3.2.3, I could.

$./build-armv7

Pulling r22403...

... snip ...

Checked out revision 22403.
Configure options: --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libx264 --extra-ldflags=-L/Users/mac/documents/c/git/ffmpeg-iphone-build/x264-armv7/dist/lib --extra-cflags=-I/Users/mac/documents/c/git/ffmpeg-iphone-build/x264-armv7/dist/include
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 is unable to create an executable file.
C compiler test failed.

... snip ...

sory my poor English.
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.