Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (86)

Sur d’autres sites (15293)

  • What is this "fixing the build scripts" for compiling x264 ?

    29 mai 2020, par Blake Senftner

    I am trying to compile an all static build of source-customized ffmpeg libraries with the additional codecs from VideoLAN, such as their x264 codec. I am ultimately building for use in Windows with Visual Studio 2015 C++, so I am comparing a few compiling guides for my instructions.

    



    In the guide linked below (I located via Google searches) shows how to compile x264 with the VS2015 toolchain in MSYS2 without any special steps :
https://gist.github.com/RangelReale/3e6392289d8ba1a52b6e70cdd7e10282

    



    While in this other guide, offered by the compiling guide pages from ffmpeg's web site, it includes steps for "fixing the build scripts" for x264 :
https://www.roxlu.com/2019/062/compiling-ffmpeg-with-x264-on-windows-10-using-msvc

    



    Problem being, when I "fix the build scripts" the configure script no longer finds a C compiler. Building with the first guide seems to work, but it was also written nearly 2 years ago, so perhaps the ffmpeg guide is doing some important fix ? I don't know.

    



    I am :

    



      

    1. Running a "VS2015 x64 Native Tools Command Prompt"
    2. 


    3. launching a pacman loaded msys2 shell via "msys2_shell.cmd -mingw64 -use-full-path"
    4. 


    5. git cloning http://git.videolan.org/git/x264.git
    6. 


    



    and at this point the two compiling guides vary, the first guide just cd's into x264 and runs configure while the other guide does some curl download of a config.guess file and then some sed manipulation of ./configure. Considering these instructions are "endorsed" by the ffmpeg site, I am left wondering what that is doing and how critical is it that these "special" steps cause my x264 configure to fail.

    


  • Stackposts ffmpeg error (Instagram videos)

    30 décembre 2023, par starneybinson

    I am trying to post Instagram Reels via Stackposts (Ubuntu/nginx) but I am facing this error message :

    


    For sharing videos on Instagram, you have to install the FFmpeg library on your server and configure executables path.

    


    error message

    


    I have ffmpeg installed but it still won't work :

    


    ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil      56. 70.100 / 56. 70.100
libavcodec     58.134.100 / 58.134.100
libavformat    58. 76.100 / 58. 76.100
libavdevice    58. 13.100 / 58. 13.100
libavfilter     7.110.100 /  7.110.100
libswscale      5.  9.100 /  5.  9.100
libswresample   3.  9.100 /  3.  9.100
libpostproc    55.  9.100 / 55.  9.100


    


    Does anyone have an idea on how to fix this ?

    


    I have tried to modify the file permissions of the library located in /bin/ffmpeg for the nginx user (www) and I have tried to move the binary to the location of the Stackposts installation.

    


  • ffmpeg armv7s compile segmentation fault

    13 mai 2015, par Sergey92zp

    I use https://github.com/kewlbear/FFmpeg-iOS-build-script to compile ffmpeg,
    but when i try to compile, for armv7s architecture i have next error

    all other archs compile fine

    clang : error : unable to execute command : Segmentation fault : 11 clang :
    error : clang frontend command failed due to signal (use -v to see
    invocation) Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM
    3.6.0svn) Target : arm-apple-darwin14.3.0 Thread model : posix clang : note : diagnostic msg : PLEASE submit a bug report to
    http://developer.apple.com/bugreporter/ and include the crash
    backtrace, preprocessed source, and associated run script. clang :
    note : diagnostic msg :


    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT : Preprocessed
    source(s) and associated run script(s) are located at : clang : note :
    diagnostic msg :
    /var/folders/zk/wj2cn08s26x64nlzk3_kjnv80000gn/T/vp8-c6ec27.c clang :
    note : diagnostic msg :
    /var/folders/zk/wj2cn08s26x64nlzk3_kjnv80000gn/T/vp8-c6ec27.sh clang :
    note : diagnostic msg :

    ******************** make : * [libavcodec/vp8.o] Error 254 make : * Waiting for unfinished jobs.... CC libavcodec/wmv2enc.o

    Couple months ago all compiled without any errors.
    Tried on couple versions of ffmpeg

    Here is Clang -v

    Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
    Target : x86_64-apple-darwin14.3.0 Thread model : posix

    and xcode version is Version 6.3.1 (6D1002)