Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (44)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7815)

  • Linking to libx264 library from c code Ubuntu

    30 janvier 2012, par Martin Conaghan

    I'm trying to write a small C application which uses the x264 API, and I'm having problems compiling the code with a link to the x264 libaray.

    In the /project/ directory there are two sub-folders :
    /project/mycode/ and
    /project/x264-snapshot-20120120-2245.

    I have installed x264 in the latter subdirectory using ./configure and then 'make'. As such the library I think I want to link to is /project/x264-snapshot-20120120-2245/libx264.a

    In /project/mycode/ I have a single source code file (prototype.c), which has the following imports :

    #include
    #include
    #include "../x264-snapshot-20120120-2245/x264_config.h"
    #include "../x264-snapshot-20120120-2245/x264.h"

    As expected, if I try to compile without linking to the x264 library, I get an error :

    /project/mycode: gcc -o prototype prototype.c
    /tmp/cc5NwRTp.o: In function `main':
    prototype.c:(.text+0x6c): undefined reference to `x264_param_default_preset'
    prototype.c:(.text+0xf6): undefined reference to `x264_param_apply_profile'
    collect2: ld returned 1 exit status

    So I try to link the library I mentioned above, but it isn't found :

    /project/mycode: gcc -o prototype prototype.c -I../x264-snapshot-20120120-2245/ -llibx264.a
    /usr/bin/ld: cannot find -llibx264.a
    collect2: ld returned 1 exit status

    I've tried a few variations, like :

    gcc -o prototype prototype.c -I../x264-snapshot-20120120-2245/ -l ../x264-snapshot-20120120-2245/libx264.a
    gcc -o prototype prototype.c -I../x264-snapshot-20120120-2245/ -llibx264
    gcc -I ../x264-snapshot-20120120-2245/ -llibx264.a -o prototype prototype.c

    As is probably obvious by now, I'm fairly new to this, so I'm hoping there is an easy solution

  • How to solve libx264 not found when building ffmpeg-with-libx264-enabled for android ?

    6 mars 2012, par newentry

    i am trying build android-ffmpeg-x264 downloaded from git. Link https://github.com/halfninja/android-ffmpeg-x264

    After running ./config_make_everything.sh i am getting following error

    ERROR : libx264 not found

    If you think configure made a mistake, make sure you are using the latest
    version from Git. If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.

    <pre>
    Makefile:1: config.mak: No such file or directory
    libavutil/Makefile:1: libavutil/../config.mak: No such file or directory
    libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/&#39;
    libavutil/../subdir.mak:26: warning: ignoring old commands for target `libavutil/&#39;
    libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/&#39;
    libavutil/../subdir.mak:96: warning: ignoring old commands for target `libavutil/&#39;

    tests/Makefile:44: /tests/fate.mak: No such file or directory
    tests/Makefile:45: /tests/fate2.mak: No such file or directory
    tests/Makefile:47: /tests/fate/aac.mak: No such file or directory
    tests/Makefile:48: /tests/fate/als.mak: No such file or directory
    tests/Makefile:49: /tests/fate/fft.mak: No such file or directory
    tests/Makefile:50: /tests/fate/h264.mak: No such file or directory
    tests/Makefile:51: /tests/fate/mp3.mak: No such file or directory
    tests/Makefile:52: /tests/fate/vorbis.mak: No such file or directory
    tests/Makefile:53: /tests/fate/vp8.mak: No such file or directory
    make: *** No rule to make target `/tests/fate/vp8.mak&#39;.  Stop.
    </pre>

    config.log contains

    <pre>
       ratecontrol.c:(.text+0xa400): undefined reference to `memset&#39;
    ratecontrol.c:(.text+0xa41c): undefined reference to `memset&#39;
    ratecontrol.c:(.text+0xa448): undefined reference to `__aeabi_l2d&#39;
    ratecontrol.c:(.text+0xa49c): undefined reference to `__aeabi_ldivmod&#39;
    ratecontrol.c:(.text+0xa4a0): undefined reference to `__aeabi_l2d&#39;
    ratecontrol.c:(.text+0xa4f8): undefined reference to `__aeabi_idivmod&#39;
    ratecontrol.c:(.text+0xa794): undefined reference to `__aeabi_l2d&#39;
    ../x264/libx264.a(set.o): In function `x264_validate_levels&#39;:
    set.c:(.text+0x200): undefined reference to `__aeabi_ldivmod&#39;
    set.c:(.text+0x334): undefined reference to `__aeabi_idiv&#39;
    ../x264/libx264.a(set.o): In function `x264_sei_version_write&#39;:
    set.c:(.text+0xeec): undefined reference to `strlen&#39;
    set.c:(.text+0xf10): undefined reference to `memcpy&#39;
    set.c:(.text+0xf3c): undefined reference to `sprintf&#39;
    set.c:(.text+0xf44): undefined reference to `strlen&#39;
    ../x264/libx264.a(set.o): In function `scaling_list_write&#39;:
    set.c:(.text+0x20b0): undefined reference to `memcmp&#39;
    set.c:(.text+0x2138): undefined reference to `memcmp&#39;
    set.c:(.text+0x2158): undefined reference to `memcmp&#39;
    ../x264/libx264.a(set.o): In function `x264_pps_write&#39;:
    set.c:(.text+0x5870): undefined reference to `memcmp&#39;
    set.c:(.text+0x5a7c): undefined reference to `memcmp&#39;
    ../x264/libx264.a(set.o):set.c:(.text+0x5a9c): more undefined references to `memcmp&#39; follow
    ../x264/libx264.a(macroblock.o): In function `x264_noise_reduction_update&#39;:
    macroblock.c:(.text+0xe10): undefined reference to `__aeabi_uldivmod&#39;
    ../x264/libx264.a(macroblock.o): In function `x264_predict_lossless_8x8_chroma&#39;:
    macroblock.c:(.text+0x3224): undefined reference to `memcpy&#39;
    macroblock.c:(.text+0x323c): undefined reference to `memcpy&#39;
    ../x264/libx264.a(cabac.o): In function `x264_macroblock_write_cabac&#39;:
    cabac.c:(.text+0x2c58): undefined reference to `__assert2&#39;
    cabac.c:(.text+0x2dd8): undefined reference to `__assert2&#39;
    cabac.c:(.text+0x2f80): undefined reference to `__assert2&#39;
    cabac.c:(.text+0x3020): undefined reference to `__assert2&#39;
    ../x264/libx264.a(rectangle.o): In function `x264_macroblock_cache_ref_1_1&#39;:
    rectangle.c:(.text+0x1e4): undefined reference to `__assert2&#39;
    ../x264/libx264.a(rectangle.o):rectangle.c:(.text+0x210): more undefined references to `__assert2&#39; follow
    ERROR: libx264 not found
    </pre>

    1.I am using fedora to build both ffmpeg and x264
    2.NDK r7

    Any solution to successfully build the code ?

  • Create thumbnail image from video in server in php

    28 février 2014, par swamy

    In my website I have a option to upload video file by the user. In that I want to create a thumbnail image of that video. I have tried in local system with some coding it is working fine. I tried same coding in to service it is not working. I checked for ffmpeg enabled in server, it was disabled. Is their any other option to creating thumbnail in server with out enabling the ffmpeg ? Please help me to find the solution.