Recherche avancée

Médias (91)

Autres articles (59)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (7248)

  • 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

    


  • Revision f7023ea014 : Remove unnecessary local variable declaration This commit removes a repetitive

    22 septembre 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_rdopt.c



    Remove unnecessary local variable declaration

    This commit removes a repetitive local variable declaration in
    vp9_rd_pick_inter_mode_sb.

    Change-Id : I1b0afa98ff1ecbfb46e17d3d1cee95d32c4309db

  • 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 !