Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (71)

  • 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 (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (9191)

  • x86inc : Clear __SECT__

    26 mai 2015, par Timothy Gu
    x86inc : Clear __SECT__
    

    This commit silences warning(s) like :

    libavcodec/x86/fft.asm:93 : warning : section flags ignored on section
    redeclaration

    The cause of this warning is that because `struc` and `endstruc` attempts to
    revert to the previous section state [1]. The section state is stored in the
    macro __SECT__, defined by x86inc.asm to be `.note.GNU-stack ...`, through the
    `SECTION` directive [2]. Thus, the `.note.GNU-stack` section is defined twice
    (once in x86inc.asm, once during `endstruc`), causing the warning.

    That is the first part of the commit : using the primitive `[section]` format
    for .note.GNU-stack etc., which does not update `__SECT__` [2].

    That fixes only half of the problem. Even without any `SECTION` directives,
    `__SECT__` is predefined as `.text`, which conflicting with the later
    `SECTION_TEXT` (which expands to `.text align=16`).

    [1] : http://www.nasm.us/doc/nasmdoc6.html#section-6.4
    [2] : http://www.nasm.us/doc/nasmdoc6.html#section-6.3

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavutil/x86/x86inc.asm
  • Problem while building libffmpeg.so from ffmpeg sources (undefined symbol : avcodec_version)

    10 octobre 2023, par serggt1

    I'm trying to build libffmpeg.so shared library from sources on Linux. Sources are here FFmpeg.git.

    &#xA;

    I run

    &#xA;

    ./configure&#xA;make -j4&#xA;&#xA;gcc -shared \&#xA;    libavcodec/libavcodec.a \&#xA;    libavdevice/libavdevice.a \&#xA;    libavfilter/libavfilter.a \&#xA;    libavformat/libavformat.a \&#xA;    libavutil/libavutil.a \&#xA;    libswresample/libswresample.a \&#xA;    libswscale/libswscale.a \&#xA;    -o libffmpeg.so&#xA;

    &#xA;

    The problem is the resulting libffmpeg.so is only 15 KB and says

    &#xA;

    dlsym fail : /opt/yandex/browser/libffmpeg.so: undefined symbol: avcodec_version&#xA;

    &#xA;

    What do I wrong and how to link the library in correct way ?

    &#xA;

    UPD :

    &#xA;

    Now trying with this :

    &#xA;

    ./configure --enable-pic --disable-programs  --enable-gpl --enable-version3 --enable-nonfree&#xA;&#xA;make -j4&#xA;&#xA;ld \&#xA;    -rpath-link=/usr/lib \&#xA;    -L/usr/lib \&#xA;    -L/lib \&#xA;    --library=c --library=m --library=z --library=dl --library=log \&#xA;    -soname libffmpeg.so -shared -nostdlib -Bsymbolic --whole-archive --no-undefined \&#xA;    libavcodec/libavcodec.a \&#xA;    libavdevice/libavdevice.a \&#xA;    libavfilter/libavfilter.a \&#xA;    libavformat/libavformat.a \&#xA;    libavutil/libavutil.a \&#xA;    libswresample/libswresample.a \&#xA;    libswscale/libswscale.a \&#xA;    -o libffmpeg.so&#xA;

    &#xA;

    Error is ld: cannot find -lc: No such file or directory

    &#xA;

  • Debugging Gstreamer pipeline with tee and a filesink in C

    28 septembre 2020, par NicolasBourbaki

    There is an excellent example on how to construct a C program using GStreamer and its tee and filesink elements on https://gist.github.com/crearo/a49a8805857f1237c401be14ba6d3b03.&#xA;(Another one can be found on https://gstreamer.freedesktop.org/documentation/tutorials/basic/multithreading-and-pad-availability.html?gi-language=c).

    &#xA;

    The idea of the tee element in a pipeline is similar like the tee program in Unix : Like a T-shaped tube, it allows to add a bifurcation to a pipeline, which is in my case used to display a video stream to the screen (which works perfectly) and writing it at the same time to a file (which doesn't work - the file is created but stays empty, i.e. has a size of 0 bytes after closing the program).

    &#xA;

    I deviated from the examples mentioned above by neither having a queue element for recording (because I also don't have one for displaying, which works) as well as neither having an encoder nor a muxer. Although this might be a problem for what gets written to the file in the end, I would expect that there is written something to the file at all.

    &#xA;

    The program does compile. What additional diagnostics could I run in order to pin down the problem ?

    &#xA;