Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (31)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

Sur d’autres sites (5904)

  • pthread_frame : fix uninitialized variable read

    27 mars 2017, par wm4
    pthread_frame : fix uninitialized variable read
    

    Could lead to random behavior. This possibly happened due to commit
    32a5b631267. This should/could probably be simplified, but for no apply
    a minimal fix to quell the errors.

    Tested-by : Michael Niedermayer <michael@niedermayer.cc>
    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/pthread_frame.c
  • ffmpeg build fails with gcc error even with gcc installed (C compiler test failed)

    15 mars 2023, par Martin

    I am on macos 11.2.3, trying to build ffmpeg in my terminal. When I run my script sh buildffmpeg.sh which is below :

    &#xA;

    #!/bin/bash&#xA;&#xA;# If you get error `c compiler failed` run `sudo apt install libglfw3-dev libglew-dev`&#xA;# apt-get install build-essential&#xA;# apt-get build-dep ffmpeg&#xA;# when running this on mac, you need to install some libraries such as &#x27;brew install opus&#x27;&#xA;&#xA;set -e&#xA;&#xA;CWD=$(pwd)&#xA;PACKAGES="$CWD/packages"&#xA;WORKSPACE="$CWD/workspace"&#xA;ADDITIONAL_CONFIGURE_OPTIONS=""&#xA;&#xA;&#xA;mkdir -p "$PACKAGES"&#xA;mkdir -p "$WORKSPACE"&#xA;&#xA;FFMPEG_TAG="$1"&#xA;FFMPEG_URL="http://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/74c4c539538e36d8df02de2484b045010d292f2c.tar.gz"&#xA;&#xA;FFMPEG_ARCHIVE="$PACKAGES/ffmpeg.tar.gz"&#xA;&#xA;if [ ! -f "$FFMPEG_ARCHIVE" ]; then&#xA;    echo "Downloading tag ${FFMPEG_TAG}..."&#xA;    curl -L -o "$FFMPEG_ARCHIVE" "$FFMPEG_URL"&#xA;fi&#xA;&#xA;EXTRACTED_DIR="$PACKAGES/extracted"&#xA;&#xA;mkdir -p "$EXTRACTED_DIR"&#xA;&#xA;echo "Extracting..."&#xA;tar -xf "$FFMPEG_ARCHIVE" --strip-components=1 -C "$EXTRACTED_DIR"&#xA;&#xA;cd "$EXTRACTED_DIR"&#xA;&#xA;echo "Building..."&#xA;&#xA;# Min electron supported version&#xA;MACOS_MIN="10.10"&#xA;&#xA;./configure $ADDITIONAL_CONFIGURE_OPTIONS \&#xA;    --pkgconfigdir="$WORKSPACE/lib/pkgconfig" \&#xA;    --prefix=${WORKSPACE} \&#xA;    --pkg-config-flags="--static" \&#xA;    --extra-libs=-static \&#xA;    --extra-cflags=--static \&#xA;    --enable-cross-compile \&#xA;    --extra-cflags="-I$WORKSPACE/include -mmacosx-version-min=${MACOS_MIN}" \&#xA;    --extra-ldflags="-L$WORKSPACE/lib -mmacosx-version-min=${MACOS_MIN} -L/usr/local/opt/lame/lib -Wl,-rpath,/usr/local/opt/lame/lib" \&#xA;    --extra-libs="-lpthread -lm" \&#xA;    --enable-static \&#xA;    --disable-securetransport \&#xA;    --disable-debug \&#xA;    --disable-shared \&#xA;    --disable-ffplay \&#xA;    --disable-lzma \&#xA;    --disable-doc \&#xA;    --enable-version3 \&#xA;    --enable-pthreads \&#xA;    --enable-runtime-cpudetect \&#xA;    --enable-avfilter \&#xA;    --enable-filters \&#xA;    --disable-libxcb \&#xA;    --enable-gpl \&#xA;    --disable-libass \&#xA;    --enable-libmp3lame \&#xA;    --enable-libx264 \&#xA;    --enable-libopus&#xA;&#xA;make -j 4&#xA;make install&#xA;&#xA;otool -L "$WORKSPACE/bin/ffmpeg"&#xA;otool -L "$WORKSPACE/bin/ffprobe"&#xA;&#xA;echo "Building done. The binaries can be found here: $WORKSPACE/bin/ffmpeg $WORKSPACE/bin/ffprobe"&#xA;&#xA;mkdir ffmpeg-mac/ &#xA;cp -r "$WORKSPACE/bin/" "$CWD/ffmpeg-mac/"&#xA;&#xA;rm -rf "$PACKAGES"&#xA;rm -rf "$WORKSPACE"&#xA;&#xA;exit 0&#xA;&#xA;

    &#xA;

    It fails with this error :

    &#xA;

    > sh buildffmpeg.sh&#xA;&#xA;Extracting...&#xA;Building...&#xA;gcc is unable to create an executable file.&#xA;C compiler test failed.&#xA;&#xA;If you think configure made a mistake, make sure you are using the latest&#xA;version from Git.  If the latest version fails, report the problem to the&#xA;ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.&#xA;Include the log file "ffbuild/config.log" produced by configure as this will help&#xA;solve the problem.&#xA;

    &#xA;

    I have been trying to solve this error, and have installed gcc with brew, if i run gcc -v I can see my installed gcc version :

    &#xA;

    $ gcc -v&#xA;Using built-in specs.&#xA;COLLECT_GCC=gcc&#xA;COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/12.2.0/bin/../libexec/gcc/x86_64-apple-darwin20/12/lto-wrapper&#xA;Target: x86_64-apple-darwin20&#xA;Configured with: ../configure --prefix=/usr/local/opt/gcc --libdir=/usr/local/opt/gcc/lib/gcc/current --disable-nls --enable-checking=release --with-gcc-major-version-only --enable-languages=c,c&#x2B;&#x2B;,objc,obj-c&#x2B;&#x2B;,fortran --program-suffix=-12 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-zstd=/usr/local/opt/zstd --with-pkgversion=&#x27;Homebrew GCC 12.2.0&#x27; --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --with-system-zlib --build=x86_64-apple-darwin20 --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk&#xA;Thread model: posix&#xA;Supported LTO compression algorithms: zlib zstd&#xA;gcc version 12.2.0 (Homebrew GCC 12.2.0) &#xA;

    &#xA;

    So if gcc is installed correctly (i think) why is it failing with a gcc error when I build ffmpeg ?

    &#xA;

    ffbuild/config.log :

    &#xA;

    ...&#xA;mktemp -u XXXXXX&#xA;9v9a2o&#xA;test_ld cc&#xA;test_cc&#xA;BEGIN /var/folders/p7/w8ysrm_x76v_z4n3nk70yd6m0000gn/T//ffconf.rUw6aGKJ/test.c&#xA;    1   int main(void){ return 0; }&#xA;END /var/folders/p7/w8ysrm_x76v_z4n3nk70yd6m0000gn/T//ffconf.rUw6aGKJ/test.c&#xA;gcc --static -I/Users/martinbarker/Documents/projects/rendertunev1.1.2/workspace/include -mmacosx-version-min=10.10 -c -o /var/folders/p7/w8ysrm_x76v_z4n3nk70yd6m0000gn/T//ffconf.rUw6aGKJ/test.o /var/folders/p7/w8ysrm_x76v_z4n3nk70yd6m0000gn/T//ffconf.rUw6aGKJ/test.c&#xA;gcc -L/Users/martinbarker/Documents/projects/rendertunev1.1.2/workspace/lib -mmacosx-version-min=10.10 -L/usr/local/opt/lame/lib -Wl,-rpath,/usr/local/opt/lame/lib -o /var/folders/p7/w8ysrm_x76v_z4n3nk70yd6m0000gn/T//ffconf.rUw6aGKJ/test /var/folders/p7/w8ysrm_x76v_z4n3nk70yd6m0000gn/T//ffconf.rUw6aGKJ/test.o -lpthread -lm -static&#xA;ld: warning: directory not found for option &#x27;-L/Users/martinbarker/Documents/projects/rendertunev1.1.2/workspace/lib&#x27;&#xA;ld: library not found for -lcrt0.o&#xA;collect2: error: ld returned 1 exit status&#xA;C compiler test failed.&#xA;&#xA;

    &#xA;

    gcc test :

    &#xA;

    apples-MacBook:gcctest apple$ export CC=$(which gcc)&#xA;apples-MacBook:gcctest apple$ export CXX=$(which g&#x2B;&#x2B;)&#xA;apples-MacBook:gcctest apple$ ls&#xA;minimal.c&#xA;apples-MacBook:gcctest apple$ gcc -static -Wall -o minimal minimal.c -v&#xA;Apple LLVM version 10.0.0 (clang-1000.10.44.4)&#xA;Target: x86_64-apple-darwin17.0.0&#xA;Thread model: posix&#xA;InstalledDir: /Library/Developer/CommandLineTools/usr/bin&#xA; "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.13.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name minimal.c -static-define -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 409.12 -v -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0 -Wall -fdebug-compilation-dir /Users/apple/Documents/projects/gcctest -ferror-limit 19 -fmessage-length 157 -stack-protector 1 -fblocks -fencode-extended-block-signature -fobjc-runtime=macosx-10.13.0 -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/7t/d2z0gq194s92vn5xz923gq5h0000gn/T/minimal-8cfbfc.o -x c minimal.c&#xA;clang -cc1 version 10.0.0 (clang-1000.10.44.4) default target x86_64-apple-darwin17.0.0&#xA;#include "..." search starts here:&#xA;#include &lt;...> search starts here:&#xA; /usr/local/include&#xA; /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include&#xA; /Library/Developer/CommandLineTools/usr/include&#xA; /usr/include&#xA; /System/Library/Frameworks (framework directory)&#xA; /Library/Frameworks (framework directory)&#xA;End of search list.&#xA; "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -no_deduplicate -static -arch x86_64 -macosx_version_min 10.13.0 -o minimal -lcrt0.o /var/folders/7t/d2z0gq194s92vn5xz923gq5h0000gn/T/minimal-8cfbfc.o&#xA;ld: library not found for -lcrt0.o&#xA;clang: error: linker command failed with exit code 1 (use -v to see invocation)&#xA;

    &#xA;

  • Revision 7ab9a9587b : Remove Wextra warnings from vp9_sad.c As a side-effect, the max_sad check is re

    13 mai 2014, par Deb Mukherjee

    Changed Paths :
     Modify /test/sad_test.cc


     Modify /vp8/common/rtcd_defs.pl


     Modify /vp8/common/sad_c.c


     Modify /vp8/common/variance.h


     Modify /vp8/encoder/mcomp.c


     Modify /vp8/encoder/rdopt.c


     Modify /vp9/common/vp9_rtcd_defs.pl


     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_mbgraph.c


     Modify /vp9/encoder/vp9_mcomp.c


     Modify /vp9/encoder/vp9_rdopt.c


     Modify /vp9/encoder/vp9_sad.c


     Modify /vp9/encoder/vp9_variance.h



    Remove Wextra warnings from vp9_sad.c

    As a side-effect, the max_sad check is removed from the
    C-implementation of VP8, for consistency with VP9, and to
    ensure that the SAD tests common to VP8/VP9 pass.
    That will make the VP8 C implementation of sad a little slower
    but given that is rarely used in practice, the impact will be
    minimal.

    Change-Id : I7f43089fdea047fbf1862e40c21e4715c30f07ca