
Recherche avancée
Autres articles (52)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (6129)
-
x86inc : Avoid creating unnecessary local labels
16 octobre 2015, par Henrik Gramnerx86inc : 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. -
React-Native - Path to local Files
31 mars 2023, par iSaBomy 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


-
Making half an image transparent from the command line
14 octobre 2016, par Alex KonetchyI 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 !