Git Product home page Git Product logo

Comments (33)

bbcallen avatar bbcallen commented on May 16, 2024 1

Depends on what you need.

Vitamin is better If you doesn't want to care about native c/c++ development.

Ijkplayer is better only if you are interesting in the native c/c++ development, and need a first-step implement.

Vitamio's Advantage:

  1. Vitamio supports armv6, mips, while ijkplayer doesn't and won't.
  2. Vitamio supports hardware decode, while ijkplayer doest't yet.
  3. Vitamio has more developers as far as i can tell.
  4. Vitamio has more feature, such as snapshot and media scanner.

Ijkplayer's Advantage:

  1. Open source native c/c++, which is closed in vitamio.

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

Which platform did you build on?
I'm afraid you have to fix it by yourself, since I can't reproduce this error on my build env.

from ijkplayer.

 avatar commented on May 16, 2024

Hi bbcallen.

Now I build on linux (ubuntu 12.04). Can you support me TO build on eclipse tool, pls do step by step , make a sreenshot and send it to me

from ijkplayer.

 avatar commented on May 16, 2024

If using command line build, can you DO IT step by step, make a screenshot on YOUR environment and sent it to me ?

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

Here is my build steps.

$ sh compile-ffmpeg.sh 
====================
[*] check env
====================
NDKr9c (64-bit) detected

--------------------
[*] make NDK standalone toolchain
--------------------
build on darwin-x86_64
Copying prebuilt binaries...
Copying sysroot headers and libraries...
Copying libstdc++ headers and libraries...
Copying files to: /Users/bbcallen/Documents/bili/ibili-ios-xcode5/ibiliplayer/contrib/ijkplayer/android/build/ffmpeg-armv7a/toolchain
Cleaning up...
Done.

--------------------
[*] check ffmpeg env
--------------------

--------------------
[*] configurate ffmpeg
--------------------
Configured with: --prefix=/Applications/Xcode5.0.2.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode5.0.2.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1

… FFmpeg configure and build logs blablabla ….

INSTALL libavformat/libavformat.a
INSTALL libavcodec/libavcodec.a
INSTALL libswresample/libswresample.a
INSTALL libswscale/libswscale.a
INSTALL libavutil/libavutil.a
INSTALL libavformat/avformat.h
INSTALL libavformat/avio.h
INSTALL libavformat/version.h
INSTALL libavformat/libavformat.pc
INSTALL libavcodec/avcodec.h
INSTALL libavcodec/avfft.h
INSTALL libavcodec/dxva2.h
INSTALL libavcodec/old_codec_ids.h
INSTALL libavcodec/vaapi.h
INSTALL libavcodec/vda.h
INSTALL libavcodec/vdpau.h
INSTALL libavcodec/version.h
INSTALL libavcodec/xvmc.h
INSTALL libavcodec/libavcodec.pc
INSTALL libswresample/swresample.h
INSTALL libswresample/version.h
INSTALL libswresample/libswresample.pc
INSTALL libswscale/swscale.h
INSTALL libswscale/version.h
INSTALL libswscale/libswscale.pc
INSTALL libavutil/adler32.h
INSTALL libavutil/aes.h
INSTALL libavutil/attributes.h
INSTALL libavutil/audio_fifo.h
INSTALL libavutil/audioconvert.h
INSTALL libavutil/avassert.h
INSTALL libavutil/avstring.h
INSTALL libavutil/avutil.h
INSTALL libavutil/base64.h
INSTALL libavutil/blowfish.h
INSTALL libavutil/bprint.h
INSTALL libavutil/bswap.h
INSTALL libavutil/buffer.h
INSTALL libavutil/channel_layout.h
INSTALL libavutil/common.h
INSTALL libavutil/cpu.h
INSTALL libavutil/crc.h
INSTALL libavutil/error.h
INSTALL libavutil/eval.h
INSTALL libavutil/fifo.h
INSTALL libavutil/file.h
INSTALL libavutil/frame.h
INSTALL libavutil/hmac.h
INSTALL libavutil/imgutils.h
INSTALL libavutil/intfloat.h
INSTALL libavutil/intfloat_readwrite.h
INSTALL libavutil/intreadwrite.h
INSTALL libavutil/lfg.h
INSTALL libavutil/log.h
INSTALL libavutil/mathematics.h
INSTALL libavutil/md5.h
INSTALL libavutil/mem.h
INSTALL libavutil/murmur3.h
INSTALL libavutil/dict.h
INSTALL libavutil/old_pix_fmts.h
INSTALL libavutil/opt.h
INSTALL libavutil/parseutils.h
INSTALL libavutil/pixdesc.h
INSTALL libavutil/pixfmt.h
INSTALL libavutil/random_seed.h
INSTALL libavutil/rational.h
INSTALL libavutil/ripemd.h
INSTALL libavutil/samplefmt.h
INSTALL libavutil/sha.h
INSTALL libavutil/sha512.h
INSTALL libavutil/time.h
INSTALL libavutil/timecode.h
INSTALL libavutil/timestamp.h
INSTALL libavutil/version.h
INSTALL libavutil/xtea.h
INSTALL libavutil/lzo.h
INSTALL libavutil/avconfig.h
INSTALL libavutil/libavutil.pc

--------------------
[*] link ffmpeg
--------------------

--------------------
[*] Finished
--------------------
# to continue to build ijkplayer, run script below,
sh compile-ijk.sh 
$

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

I'm afraid I'm not a shell expert to give you a blind fix.

Try google the error message, "The shell running this script isn't bash. Although we try to avoid bashism in scripts, things can happen.", and find out what really happened there on you build env.

from ijkplayer.

 avatar commented on May 16, 2024

Can you support me to build on eclipse tool ?

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

For the wrapper project, yes. There are project files under android/ijkmediaplayer.
For the FFmpeg, no. I don't think FFmpeg itself maintains any Android.mk to support that.

No offense, I think vitamio would be more suitable for you. It has already built ffmpeg for you.
https://www.vitamio.org

from ijkplayer.

 avatar commented on May 16, 2024

thanks bbcallen, can you add my skype ?, my skype : long_j2ee

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

Sorry, I don't use skype…

from ijkplayer.

 avatar commented on May 16, 2024

Please help me.

INSTALL libavutil/libavutil.pc
\n--------------------

[*] link ffmpeg

./compile-ffmpeg.sh: line 178: ccache: command not found
longtq@longtq:~/ijkplayer-android-master/android$

from ijkplayer.

 avatar commented on May 16, 2024

💃

[armeabi-v7a] StaticLibrary : libcpufeatures.a
[armeabi-v7a] SharedLibrary : libijksdl.so
[armeabi-v7a] SharedLibrary : libijkplayer.so
[armeabi-v7a] Install : libijkplayer.so => libs/armeabi-v7a/libijkplayer.so
[armeabi-v7a] Install : libijksdl.so => libs/armeabi-v7a/libijksdl.so
[armeabi-v7a] Install : libijkutil.so => libs/armeabi-v7a/libijkutil.so
[armeabi-v7a] Install : libstlport_shared.so => libs/armeabi-v7a/libstlport_shared.so

from ijkplayer.

 avatar commented on May 16, 2024

Ubuntu 12.04 LTS

  1. sudo apt-get install gcc-4.6-base cpp-4.6 libgomp1 libquadmath0 libc6-dev
  2. sudo apt-get install ccache
  3. bash ./compile-ijk.sh

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

Seems fixed?

from ijkplayer.

 avatar commented on May 16, 2024

yes, i fixed it

from ijkplayer.

 avatar commented on May 16, 2024

why do you only support ffmpeg-armv7a ? , i need support ffmpeg-arm, ffmpeg-mip, ffmpeg-x86 can you help me ?

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

I don't have that kinds of devices.

from ijkplayer.

 avatar commented on May 16, 2024

I think that all existing devices based on the ARM-V7 architecture , so no need for x86 and mip

from ijkplayer.

 avatar commented on May 16, 2024

doesn't it support protocol rstp ?

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

I don't need rtsp.
You can enable it here
https://github.com/bbcallen/ijkplayer/blob/master/tools/ffmpeg-common-profiles.sh

from ijkplayer.

 avatar commented on May 16, 2024

i see it enable, that's right ?

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

So it seems, but I don't have any rtsp stream for testing. Do you have?

from ijkplayer.

 avatar commented on May 16, 2024

please reference here : http://www.wowza.com/html/mobile.html

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
Plays OK on my MOTO MB886(ATRIX HD).

No deeper test yet.

from ijkplayer.

 avatar commented on May 16, 2024

do you think ijkplayer better than Vitamino ? :)

from ijkplayer.

 avatar commented on May 16, 2024

can you development ijkplayer to support hardware decode as Vitamio ?

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

It's a "TODO"

from ijkplayer.

liugb avatar liugb commented on May 16, 2024

@longtq-setacinq ,How do you fix "./compile-ffmpeg.sh: source: not found" ?

from ijkplayer.

jjlauer avatar jjlauer commented on May 16, 2024

Easiest fix is simple replace first line of #!/bin/sh with #!/bin/bash to fix the source error.

@bbcallen the most portable way to ensure bash is used is to have a first line of the following:

#!/usr/bin/env bash

from ijkplayer.

 avatar commented on May 16, 2024

@liugb , if you using Linux : bash ./compile-ffmpeg.sh, bash ./compile-ijk.sh ("longtq@longtq:~$ bash ./compile-ffmpeg.sh")

from ijkplayer.

liugb avatar liugb commented on May 16, 2024

thanks @longtq-setacinq @bbcallen

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

Nice, thanks, I'll fix this later

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

Fixed, I think...
17fbfe7
788ed1e

Thanks @jjlauer

from ijkplayer.

Related Issues (20)

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.