Coder Social home page Coder Social logo

compile-ffmpeg-osx-linux's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

compile-ffmpeg-osx-linux's Issues

How to ?

How do I do this compilation and do I need to download the ffmpeg repository and download the script and run it?

FFmpeg compilation failed on Ubuntu

Ubuntu 22.04 , default install

test_ld cc
test_cc
BEGIN /tmp/ffconf.2jZRRZTb/test.c
    1	int main(void){ return 0; }
END /tmp/ffconf.2jZRRZTb/test.c
gcc -I/home/XXX/compile-ffmpeg-osx-linux/local/include -fPIC -static-libstdc++ -static-libgcc -I/home/XXX/compile-ffmpeg-osx-linux/local/include -mtune=generic -O2 -static-libstdc++ -static-libgcc -fPIC -march=generic -I/usr/local/cuda/include -c -o /tmp/ffconf.2jZRRZTb/test.o /tmp/ffconf.2jZRRZTb/test.c
cc1: error: 'generic' CPU can be used only for '-mtune=' switch
cc1: error: '-fcf-protection=full' is not supported for this target
C compiler test failed.

Solved by commenting

#EXTRA_CFLAGS="-march=$tune"

Build static dependency problem.

Hi,

I'm trying to build a portable version of the ffmpeg binary with decklink support so that I can distribute it on different systems (for personal use of coarse). When I build ffmpeg on macos 10.14, and try to run the compiled binary on macos 10.13, i get a dependency error stating that liblzma is an incompatible version, 8.0.0 is required, while 5.0.0 is provided.

I have set ffmpeg_shared="", so it should build a version that has all static libs included right?
Related, I would like to include sdl2 support, but when compiling the same problem comes up. When running the compiled binary on other systems it states that the sdl2 dylib is missing from the system. I could live without sdl support, so this is not a big issue, but it's probably related.

Kind regards,
Nick

Error build ffmpeg

I'm getting an error in the last step

compile ffmpeg

HEAD is now at 947122f libavfilter: Fix fate-source after 072788c46e36a21ca9e8f1e3cc19a1944db5b89c
From https://github.com/FFmpeg/FFmpeg
 * branch            master     -> FETCH_HEAD
Already up to date.
install prefix            /root/playout/ffplayout_engine/compile-ffmpeg-osx-linux/local


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

libavdevice/avdevice.c: In function ‘avdevice_configuration’:
./config.h:4:30: error: missing terminating " character
 #define FFMPEG_CONFIGURATION "--disable-debug --disable-shared --disable-doc --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avfilter --enable-zlib --enable-pic
                              ^
./config.h:4:30: note: in definition of macro ‘FFMPEG_CONFIGURATION’
 #define FFMPEG_CONFIGURATION "--disable-debug --disable-shared --disable-doc --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avfilter --enable-zlib --enable-pic
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavdevice/avdevice.c:44:5: warning: ‘return’ with no value, in function returning non-void
     return FFMPEG_CONFIGURATION;
     ^~~~~~
libavdevice/avdevice.c:42:14: note: declared here
 const char * avdevice_configuration(void)
              ^~~~~~~~~~~~~~~~~~~~~~
ffbuild/common.mak:70: recipe for target 'libavdevice/avdevice.o' failed
make: *** [libavdevice/avdevice.o] Error 1
-------------------------------------------------
build ffmpeg-git failed...
delete the source folder under '/root/playout/ffplayout_engine/compile-ffmpeg-osx-linux/build' and start again,
or if you know there is no dependences hit enter for continue it
first close the batch window, then the shell window

rav1e Compilation failed

On Ubuntu 22.04 , standard install, rav1e do not compile

Cloning into 'rav1e-git'...
remote: Enumerating objects: 25582, done.
remote: Counting objects: 100% (1717/1717), done.
remote: Compressing objects: 100% (731/731), done.
remote: Total 25582 (delta 1122), reused 1428 (delta 982), pack-reused 23865
Receiving objects: 100% (25582/25582), 16.92 MiB | 22.42 MiB/s, done.
Resolving deltas: 100% (18231/18231), done.
error: no such subcommand: `cinstall`

	Did you mean `install`?
-------------------------------------------------
build rav1e-git failed...

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.