Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (90)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (7362)

  • React-Native - Path to local Files

    31 mars 2023, par iSaBo

    my question is about react-native 0.60+ and about local files.

    



    My App has the followed folder structure :

    



      

    • App.js
    • 


    • android
    • 


    • ios
    • 


    • node_modules
    • 


    • src


        

      • components
      • 


      • views
      • 


      • assets
      • 


      • images


          

        • myImage.png
        • 


      • 


    • 


    



    Now, i want to get the path from myImage.png.
I want to add an Watermark to a Video. The Watermark to add, is the myImage.png. For that issue i use the ffmpeg-Library.

    



    But how can i access to these files ? What is the Path of these files ?
i have tried it with React-Native-Filesystem (RNFS), but with no solutions.

    



    Every time a get : Directory or File not exists

    



    FFMPEG Cmd :

    



    const ffmpegWatermarkCommand = '-i '
+ RNFS.ExternalStorageDirectoryPath+ '/videos/myVideo.mp4 '
+ "-i [Path to Local Watermark]/myImage.jpg '
+ '-filter_complex "overlay=10:10" '
+ RNFS.ExternalStorageDirectoryPath + '/videos/outVideomp4';

    



    I hope someone has an solution for me. Thanks

    


  • x86inc : Avoid creating unnecessary local labels

    16 octobre 2015, par Henrik Gramner
    x86inc : Avoid creating unnecessary local labels
    

    The REP_RET workaround is only needed on old AMD cpus, and the labels clutter
    up the symbol table and confuse debugging/profiling tools, so use EQU to
    create SHN_ABS symbols instead of creating local labels. Furthermore, skip
    the workaround completely in functions that definitely won’t run on such cpus.

    This patch doesn’t modify any emitted instructions, and doesn’t actually affect
    x264 at all. It’s only for other projects that use x86inc.asm without an
    appropriate `strip` command in their buildsystem.

    Note that EQU is just creating a local label when using nasm instead of yasm.
    This is probably a bug, but at least it doesn’t break anything.

    • [DH] common/x86/x86inc.asm
  • Making half an image transparent from the command line

    14 octobre 2016, par Alex Konetchy

    I don’t really know where to start with this one. I’m trying to do something that I thought would be relatively simple to accomplish with imagemagick, but I don’t know the exact command to start with. I need to draw a line through an image, and then make everything above the line transparent in the image, and make everything below the line, the orignal image. What would be the best way to accomplish this using imagemagick ?

    So what I’ve come up with for now is to crop the image, and then resize it to the original size, but with a transparent background. The command I use is this, but it always comes out black. I’m not understanding why.

    convert -background none -gravity south out.png -resize 400x200 -extent 400x400 result.png

    Thanks for all of the help !