Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-25 Thread Carl Eugen Hoyos
2018-07-25 22:12 GMT+02:00, Mohammed Bey Ahmed Khernache :
> ​> Should be fixed in current FFmpeg.​
>
>> ​Could you precise what's being fixed in current FFmpeg?

I believe it would be visible if you hadn't cut my email
above.
You can also see it here:
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=d01d46ad

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-25 Thread Carl Eugen Hoyos
2018-07-13 21:10 GMT+02:00, Mohammed Bey Ahmed Khernache :
>> > Of course, I added "-pie" option to allow running it on Android
>> > Lollipop.
>>
>> Could you elaborate?
>> The compiler by default generates binaries that do not run
>> on Android?
>
> Yes, by default the compiler does not generate binaries
> that run on Android.

Should be fixed in current FFmpeg.

Thank you for the report, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-14 Thread Rafael Lima
I think you are creating too much expectations about android devices
running ffmpeg tasks.

I dont know what you planning to do but by my personal experience
benchmarking ffmpeg on android says you should not expect much than working
with small media and not much processing...

Android has very scrict limitations about memory for background process and
it will probably cut you out at maximum 50mb (even lower depending of which
device is running).

plus your apks will grows with ffmpeg binaries and nobody likes to install
an app which is listed on google play with 40mb, unless you know it is a
good app

and last but not least, if you are planning to encode:
- you will likely get something around 1x if using fastest preset for any
kind of video
- using normal preset will reduce your encode speed to around 0.1x to 0.3x

 i've tested in some devices including samsung s8


im not trying to tell you is not going to work... just giving my personal
experience because even if you used to ffmpeg, maybe on android devices
google MediaCodec library will fit better to your needs without all
aditional complication of cross-compiling

On Sat, Jul 14, 2018 at 8:27 AM, Mohammed Bey Ahmed Khernache <
mohbeyi...@gmail.com> wrote:

> >  The make it work, you need to have libSDL2 available.
> libSDL2 must be installed on the host machine (where I am building), or on
> the target machine (Android)?
> >  Is ffplay of any use to you on android? Do you expect it to play on the
> > Android device's screen? (I'm not saying that's ruled out - I just
> > have big doubts.)
> I need *ffplay*, because when decoding a video it gives how many frames are
> dropped. This is an important metric I need to evaluate video decoding.
> I don't know whether I can get this information using *ffmpeg *or not.
>
> Best regards
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>



-- 
--
Rafael Lima
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-14 Thread Carl Eugen Hoyos
2018-07-14 13:19 GMT+02:00, Moritz Barsnick :
> On Fri, Jul 13, 2018 at 18:58:26 +0200, Mohammed Bey Ahmed Khernache wrote:
>> Another question: why *ffplay* is not produced?
>> After ./configure ...
>> in the output, I found:
>> Programms:
>> ffmpegffprobe
>
> Unlike with some other configure scripts, "--enable-ffplay" apparently
> does not force a failure if ffplay cannot actually be enabled.

Historically, --enable-* never failed for auto-detected features, this
was changed only recently, as you found out, it is not less confusing
now.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-14 Thread Moritz Barsnick
On Sat, Jul 14, 2018 at 13:27:55 +0200, Mohammed Bey Ahmed Khernache wrote:
> >  The make it work, you need to have libSDL2 available.
> libSDL2 must be installed on the host machine (where I am building), or on
> the target machine (Android)?

How is your compile process on the host machine influenced by what you
install on your target?

Like with all the other external dependencies, it needs to be there at
compile time, and either statically linked or available on the target
at run time.

> >  Is ffplay of any use to you on android? Do you expect it to play on the
> > Android device's screen? (I'm not saying that's ruled out - I just
> > have big doubts.)
> I need *ffplay*, because when decoding a video it gives how many frames are
> dropped. This is an important metric I need to evaluate video decoding.
> I don't know whether I can get this information using *ffmpeg *or not.

We had maintained, in your previous thread, that ffplay is not a
suitable tool for that, especially if you're not displaying at all.
Jsut decoding with "ffmpeg -i bla -f null -" should show you the
decoding performance, and whether it is realtime capable or not.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-14 Thread Mohammed Bey Ahmed Khernache
>  The make it work, you need to have libSDL2 available.
libSDL2 must be installed on the host machine (where I am building), or on
the target machine (Android)?
>  Is ffplay of any use to you on android? Do you expect it to play on the
> Android device's screen? (I'm not saying that's ruled out - I just
> have big doubts.)
I need *ffplay*, because when decoding a video it gives how many frames are
dropped. This is an important metric I need to evaluate video decoding.
I don't know whether I can get this information using *ffmpeg *or not.

Best regards
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-14 Thread Moritz Barsnick
On Fri, Jul 13, 2018 at 18:58:26 +0200, Mohammed Bey Ahmed Khernache wrote:
> Another question: why *ffplay* is not produced?
> After ./configure ...
> in the output, I found:
> Programms:
> ffmpegffprobe

Unlike with some other configure scripts, "--enable-ffplay" apparently
does not force a failure if ffplay cannot actually be enabled.

The make it work, you need to have libSDL2 available.

Is ffplay of any use to you on android? Do you expect it to play on the
Android device's screen? (I'm not saying that's ruled out - I just
have big doubts.)

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Carl Eugen Hoyos
2018-07-13 21:10 GMT+02:00, Mohammed Bey Ahmed Khernache:
> > Could you elaborate?
>> The compiler by default generates binaries that do not run
>> on Android?
>
> Yes, by default the compiler does not generate binaries that run
> on Android. That's why I added in  --cross-prefix=.. . I gave the
> path of the Android compiler, using Android NDK.

I have sent a patch, thank you.

>>  --enable-nonfree
>
> I cannot use --enable-gpl option without --enable-nonfree.
> Sincerely, I don't know why.

I don't understand: Why can't you use --enable-gpl without
--enable-nonfree?
You typically want to avoid building with --enable-nonfree as
it you are not allowed to distribute the resulting binary.

>>  As said, please do not top-post here
>
> Could you explain to me? I am not really a good english speaker.

You don't have to send the message you are answering twice.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Carl Zwanzig

On 7/13/2018 12:10 PM, Mohammed Bey Ahmed Khernache wrote:

  As said, please do not top-post here

Could you explain to me? I am not really a good english speaker.


Check in Google?
https://en.wikipedia.org/wiki/Posting_style#Top-posting

Put your reply _below_ what you're answering, not above. Also remove any 
extraneous material, like extra message footers. In example, compare your 
message to this one.


Later,

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Mohammed Bey Ahmed Khernache
 > Could you elaborate?
> The compiler by default generates binaries that do not run
> on Android?
Yes, by default the compiler does not generate binaries that run on
Android. That's why I added in  --cross-prefix=.. . I gave the path of the
Android compiler, using Android NDK.
>  --enable-nonfree
I cannot use --enable-gpl option without --enable-nonfree. Sincerely, I
don't know why.
>  As said, please do not top-post here
Could you explain to me? I am not really a good english speaker.

Best regards.

On Fri, Jul 13, 2018 at 8:14 PM Carl Eugen Hoyos  wrote:

> 2018-07-13 18:31 GMT+02:00, Mohammed Bey Ahmed Khernache <
> mohbeyi...@gmail.com>:
> >> Why didn't you start with the configure line I provided (and tested)?
> >>>The following configure line works fine here:
> >>> $ ./configure --cross-prefix=../ndk-arm64-23/bin/aarch64-linux-android-
> >>> --sysroot=../ndk-arm64-23/sysroot --arch=arm64 --target-os=android
> > That works fine. Thank you very much.
>
> > Of course, I added "-pie" option to allow running it on Android Lollipop.
>
> Could you elaborate?
> The compiler by default generates binaries that do not run
> on Android?
>
> Please cut your quotes, Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Carl Eugen Hoyos
2018-07-13 18:31 GMT+02:00, Mohammed Bey Ahmed Khernache :
>> Why didn't you start with the configure line I provided (and tested)?
>>>The following configure line works fine here:
>>> $ ./configure --cross-prefix=../ndk-arm64-23/bin/aarch64-linux-android-
>>> --sysroot=../ndk-arm64-23/sysroot --arch=arm64 --target-os=android
> That works fine. Thank you very much.

> Of course, I added "-pie" option to allow running it on Android Lollipop.

Could you elaborate?
The compiler by default generates binaries that do not run
on Android?

Please cut your quotes, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Mohammed Bey Ahmed Khernache
Another question: why *ffplay* is not produced?
After ./configure ...
in the output, I found:
Programms:
ffmpegffprobe

The command I run is:
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
./configure --cross-prefix=../arm64-toolschains/bin/aarch64-linux-android-
--sysroot=../arm64-toolschains/sysroot/ --arch=arm64 --target-os=android
--prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static"
--extra-cflags="-I$HOME/ffmpeg_build/include -pie"
--extra-ldflags="-L$HOME/ffmpeg_build/lib -pie" --enable-ffplay
--bindir="$HOME/bin" --enable-gpl  --enable-nonfree



On Fri, Jul 13, 2018 at 6:31 PM Mohammed Bey Ahmed Khernache <
mohbeyi...@gmail.com> wrote:

> > Why didn't you start with the configure line I provided (and tested)?
> >>The following configure line works fine here:
> >> $ ./configure --cross-prefix=../ndk-arm64-23/bin/aarch64-linux-android-
> >> --sysroot=../ndk-arm64-23/sysroot --arch=arm64 --target-os=android
> T
> ​hat works fine. Thank you very much.
> Of course, I added "-pie" option to allow running it on Android Lollipop.
> FFmpeg finally runs on Android.
> ​
> ​Best regards​
>
> On Fri, Jul 13, 2018 at 1:49 PM Carl Eugen Hoyos 
> wrote:
>
>> 2018-07-13 7:03 GMT+02:00, Mohammed Bey Ahmed Khernache <
>> mohbeyi...@gmail.com>:
>> > I am doing cross-compilation. I am running on Ubuntu x86_64.
>> > My target os is: android.
>> > I used the script below:
>>
>> Why didn't you start with the configure line I provided (and tested)?
>>
>> Carl Eugen
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Mohammed Bey Ahmed Khernache
> Why didn't you start with the configure line I provided (and tested)?
>>The following configure line works fine here:
>> $ ./configure --cross-prefix=../ndk-arm64-23/bin/aarch64-linux-android-
>> --sysroot=../ndk-arm64-23/sysroot --arch=arm64 --target-os=android
T
​hat works fine. Thank you very much.
Of course, I added "-pie" option to allow running it on Android Lollipop.
FFmpeg finally runs on Android.
​
​Best regards​

On Fri, Jul 13, 2018 at 1:49 PM Carl Eugen Hoyos  wrote:

> 2018-07-13 7:03 GMT+02:00, Mohammed Bey Ahmed Khernache <
> mohbeyi...@gmail.com>:
> > I am doing cross-compilation. I am running on Ubuntu x86_64.
> > My target os is: android.
> > I used the script below:
>
> Why didn't you start with the configure line I provided (and tested)?
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Carl Eugen Hoyos
2018-07-13 7:03 GMT+02:00, Mohammed Bey Ahmed Khernache :
> I am doing cross-compilation. I am running on Ubuntu x86_64.
> My target os is: android.
> I used the script below:

Why didn't you start with the configure line I provided (and tested)?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-12 Thread Mohammed Bey Ahmed Khernache
I am doing cross-compilation. I am running on Ubuntu x86_64. My target os
is: android.
I used the script below:
---
#!/bin/bash
#Change NDK to your Android NDK location

pushd .
cd ../ffmpeg
PLATFORM=$NDK/platforms/android-21/arch-arm64/
PREBUILT=$NDK/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64

GENERAL="\
--enable-small \
--enable-cross-compile \
--extra-libs="-lgcc" \
--arch=aarch64 \
--cc=$PREBUILT/bin/aarch64-linux-android-gcc \
--cross-prefix=$PREBUILT/bin/aarch64-linux-android- \
--nm=$PREBUILT/bin/aarch64-linux-android-nm \
--extra-cflags="-I../ffmpeg-build/armeabi-v8a/include" \
--extra-ldflags="-L../ffmpeg-build/armeabi-v8a/lib" "

MODULES="\
--enable-gpl"

function build_arm64
{
  ./configure \
  --logfile=conflog.txt \
  --target-os=android \
  --prefix=$PREFIX/armeabi-v8a \
  ${GENERAL} \
  --sysroot=$PLATFORM \
  --extra-cflags="" \
  $COMMON_FLAGS \
  --extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib
-nostdlib -lc -lm -ldl -llog" \
  --enable-shared \
  --disable-static \
  --disable-doc \
  ${MODULES}

  make clean
  make
  make install
}

build_arm64


echo Android ARM64v8a builds finished

popd
---

The error I got is below:
---
WARNING:
/home/mohammedbey/Desktop/ffmpeg_sources/android-ndk-r17b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-pkg-config
not found, library detection may fail.
config.h is unchanged
libavutil/avconfig.h is unchanged
libavfilter/filter_list.c is unchanged
libavcodec/codec_list.c is unchanged
libavcodec/parser_list.c is unchanged
libavcodec/bsf_list.c is unchanged
libavformat/demuxer_list.c is unchanged
libavformat/muxer_list.c is unchanged
libavdevice/indev_list.c is unchanged
libavdevice/outdev_list.c is unchanged
libavformat/protocol_list.c is unchanged
ffbuild/config.sh is unchanged
GEN libavutil/libavutil.version
GEN libswscale/libswscale.version
GEN libswresample/libswresample.version
GEN libpostproc/libpostproc.version
GEN libavcodec/libavcodec.version
GEN libavformat/libavformat.version
GEN libavfilter/libavfilter.version
GEN libavdevice/libavdevice.version
CC libavdevice/alldevices.o
In file included from ./libavformat/internal.h:24:0,
 from libavdevice/alldevices.c:23:
/home/mohammedbey/Desktop/ffmpeg_sources/android-ndk-r17b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/include/stdint.h:9:26:
fatal error: stdint.h: No such file or directory
 # include_next 
  ^
compilation terminated.
ffbuild/common.mak:60: recipe for target 'libavdevice/alldevices.o' failed
make: *** [libavdevice/alldevices.o] Error 1
CC libavdevice/alldevices.o
In file included from ./libavformat/internal.h:24:0,
 from libavdevice/alldevices.c:23:
/home/mohammedbey/Desktop/ffmpeg_sources/android-ndk-r17b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/include/stdint.h:9:26:
fatal error: stdint.h: No such file or directory
 # include_next 
  ^
compilation terminated.
ffbuild/common.mak:60: recipe for target 'libavdevice/alldevices.o' failed
make: *** [libavdevice/alldevices.o] Error 1
Android ARM64v8a builds finished
/home/mohammedbey/Desktop/ffmpeg4Android-master/ffmpeg-build-script
---


​

Mohammed BEY AHMED KHERNACHE
PhD student
Lab-STICC / CNRS UMR 6285
University of Southern Brittany, Lorient, France
Tel: +33-783-700-185
Email: mohammed.bey-ahmed-kherna...@univ-ubs.fr




On Thu, Jul 12, 2018 at 12:33 AM Rafael Lima  wrote:

> Are you jealous? did you at least tried to build?
>
> it is not outdated and not broken... as I've made it few weeks ago using
> the latest version from every lib i needed for my project...
>
> if you dont need all of them it's good you can simple remove from config
> file... a work that seams to hard for you to do
>
> On Wed, Jul 11, 2018 at 7:13 PM, Carl Eugen Hoyos 
> wrote:
>
> > 2018-07-12 0:01 GMT+02:00, Rafael Lima :
> > > https://github.com/bolds07/ffmpeg-for-android-for-dummies
> >
> > Yes, apart from being outdated and broken (as every other script
> > I have seen so far), this one has the great advantage that it
> > produces binaries that you cannot legally distribute - that must
> > help many users...
> >
> > Carl Eugen
> > 

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-11 Thread Rafael Lima
Are you jealous? did you at least tried to build?

it is not outdated and not broken... as I've made it few weeks ago using
the latest version from every lib i needed for my project...

if you dont need all of them it's good you can simple remove from config
file... a work that seams to hard for you to do

On Wed, Jul 11, 2018 at 7:13 PM, Carl Eugen Hoyos 
wrote:

> 2018-07-12 0:01 GMT+02:00, Rafael Lima :
> > https://github.com/bolds07/ffmpeg-for-android-for-dummies
>
> Yes, apart from being outdated and broken (as every other script
> I have seen so far), this one has the great advantage that it
> produces binaries that you cannot legally distribute - that must
> help many users...
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>



-- 
--
Rafael Lima
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-11 Thread Carl Eugen Hoyos
2018-07-12 0:01 GMT+02:00, Rafael Lima :
> https://github.com/bolds07/ffmpeg-for-android-for-dummies

Yes, apart from being outdated and broken (as every other script
I have seen so far), this one has the great advantage that it
produces binaries that you cannot legally distribute - that must
help many users...

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-11 Thread Rafael Lima
https://github.com/bolds07/ffmpeg-for-android-for-dummies

On Wed, Jul 11, 2018 at 6:43 PM, Carl Eugen Hoyos 
wrote:

> 2018-07-11 4:47 GMT+02:00, Mohammed Bey Ahmed Khernache <
> mohbeyi...@gmail.com>:
> > Till now, i always get the error:
> > C compiler test failed
>
> The following configure line works fine here:
> $ ./configure --cross-prefix=../ndk-arm64-23/bin/aarch64-linux-android-
> --sysroot=../ndk-arm64-23/sysroot --arch=arm64 --target-os=android
>
> It looks as if I installed ndk version 23 for arm64 into .. some time ago.
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>



-- 
--
Rafael Lima
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-11 Thread Carl Eugen Hoyos
2018-07-11 4:47 GMT+02:00, Mohammed Bey Ahmed Khernache :
> Till now, i always get the error:
> C compiler test failed

The following configure line works fine here:
$ ./configure --cross-prefix=../ndk-arm64-23/bin/aarch64-linux-android-
--sysroot=../ndk-arm64-23/sysroot --arch=arm64 --target-os=android

It looks as if I installed ndk version 23 for arm64 into .. some time ago.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-11 Thread Mohammed Bey Ahmed Khernache
>  I think you need to do some research on how to build applications for
> android, this is not a good place to ask. Try building some other,
simpler,
> apps and then try ffmpeg.
Thank you or your reply. That makes me sure that the issue comes from the
compiler and from ffmpeg.


On Wed, Jul 11, 2018 at 5:08 AM Carl Zwanzig  wrote:

> On 7/10/2018 7:47 PM, Mohammed Bey Ahmed Khernache wrote:
> > Till now, i always get the error:
> > C compiler test failed
> > So I can not compile for Android.
> > I am using NDK-r17b.
>
> I think you need to do some research on how to build applications for
> android, this is not a good place to ask. Try building some other,
> simpler,
> apps and then try ffmpeg.
>
> You also need to stop top-posting, if you're not sure what that is, look
> it
> up in wikipedia.
>
> Later,
>
> z!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-11 Thread Carl Eugen Hoyos
2018-07-11 4:47 GMT+02:00, Mohammed Bey Ahmed Khernache :
> Till now, i always get the error:

Always?
Or did you type something specific before you get the error?

> C compiler test failed

Is this the only thing printed?

Please do not top-post here, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-10 Thread Carl Zwanzig

On 7/10/2018 7:47 PM, Mohammed Bey Ahmed Khernache wrote:

Till now, i always get the error:
C compiler test failed
So I can not compile for Android.
I am using NDK-r17b.


I think you need to do some research on how to build applications for 
android, this is not a good place to ask. Try building some other, simpler, 
apps and then try ffmpeg.


You also need to stop top-posting, if you're not sure what that is, look it 
up in wikipedia.


Later,

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-10 Thread Mohammed Bey Ahmed Khernache
Till now, i always get the error:
C compiler test failed
So I can not compile for Android.
I am using NDK-r17b.

On Tue, Jul 10, 2018 at 7:00 PM Mohammed Bey Ahmed Khernache <
mohbeyi...@gmail.com> wrote:

> >  Are you sure that there is a C compiler that runs *on* Android?
> No, I am not sure. I am newbie on Android OS command line.
> I am trying cross-compilation.
> ​​
>
> On Tue, Jul 10, 2018 at 2:26 PM Carl Eugen Hoyos 
> wrote:
>
>> 2018-07-09 11:04 GMT+02:00, Mohammed Bey Ahmed Khernache <
>> mohbeyi...@gmail.com>:
>>
>> > Can someone guide me to compile FFmpeg on Android OS.
>>
>> Are you sure that there is a C compiler that runs *on* Android?
>>
>> Carl Eugen
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-10 Thread Mohammed Bey Ahmed Khernache
>  Are you sure that there is a C compiler that runs *on* Android?
No, I am not sure. I am newbie on Android OS command line.
I am trying cross-compilation.
​​

On Tue, Jul 10, 2018 at 2:26 PM Carl Eugen Hoyos  wrote:

> 2018-07-09 11:04 GMT+02:00, Mohammed Bey Ahmed Khernache <
> mohbeyi...@gmail.com>:
>
> > Can someone guide me to compile FFmpeg on Android OS.
>
> Are you sure that there is a C compiler that runs *on* Android?
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-10 Thread Carl Zwanzig

On 7/10/2018 5:20 AM, Carl Eugen Hoyos wrote:

Are you sure that there is a C compiler that runs*on*  Android?


AFAICT, pretty much all android development is done via cross-compilers.

Later,

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-10 Thread Carl Eugen Hoyos
2018-07-09 11:04 GMT+02:00, Mohammed Bey Ahmed Khernache :

> Can someone guide me to compile FFmpeg on Android OS.

Are you sure that there is a C compiler that runs *on* Android?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-09 Thread Reindl Harald


Am 09.07.2018 um 11:04 schrieb Mohammed Bey Ahmed Khernache:
> Can someone guide me to compile FFmpeg on Android OS. I am using *adb shell*.
> The commands are very restricted, no apt-get, no git 
> Your help is very appreciated

you don't
https://en.wikipedia.org/wiki/Cross_compiler
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to compile ffmpeg for android with all Architectures

2016-07-05 Thread Carl Eugen Hoyos
  ffmpeg.org> writes:

> I want to build ffmpeg for all android architectures

Which architecture doesn't work for you?

> can you please give the shell script for me.

The configure script that supports Android is part 
of the FFmpeg source code.
Other scripts (no matter if they use our configure 
script or not) are not supported here, all I have 
seen so far look broken.

Carl Eugen

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".