
Recherche avancée
Autres articles (83)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
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
Sur d’autres sites (14477)
-
Adding ffmpeg path on remote server not working [closed]
26 mars 2024, par Vatsal A MehtaI am working on mp3 audio processing and need the
ffmpeg
library for my code to work. In my local setup I have installedffmpeg
and the code is working fine. But I have to make changes to the codebase on a remote server whereffmpeg
isn't installed. I tried adding the installation folders offfmpeg
and then editing thePATH
environment variable to add theffmpeg
path. But I get an error message that says :FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
.

The ffmpeg installed files in my local setup are :




Now I copied this and added to the codebase on my remote server. Then I copied the /bin file path and added to env variables on remote server. But it doesn't seem to work.


-
Revision 00fc0e3ff5 : Tune SSSE3 implementation of fast path quantization This commit further simplif
7 juillet 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
Tune SSSE3 implementation of fast path quantizationThis commit further simplifies the SSSE3 implementation of the fast
path quantization process.Change-Id : I5be3286ec0f1bd81d1cf5be3168fece6384fb9ca
-
How to correctly specify the path to a file in -vf media ?
15 juillet 2024, par WintreistGood afternoon, please, I really need help.
I'm putting a watermark on the video :


with tempfile.TemporaryFile("wb", delete=False, suffix=".png") as watermark_file:
 watermark_file.write(buff.read())
(
 ffmpeg
 .input(str(path))
 .output(
 os.environ.get("TEMP")+f"\\{uuid.hex}_{path.name}",
 vf=f"movie='{watermark_file.name}' [watermark]; [in][watermark] overlay='{overlay}' [out]"
 )
 .global_args('-copyts')
 .run()
)



In a temporary folder, I create a file in which I write a watermark from io.BytesIO
using the ffmpeg-python library, I do not work directly with the console.


The problem is that when running .run() to the console outputs the following :


[Parsed_movie_0 @ 0000011b21b3e300] Failed to avformat_open_input 'C'
[AVFilterGraph @ 0000011b21b4d4c0] Error initializing filters
[vost#0:0/libvpx-vp9 @ 0000011b23a07500] Error initializing a simple filtergraph
Error opening output file C:\Users\smeta\AppData\Local\Temp\5e5a695966cf4d728edbd7f39c509d0e_000.webm.
Error opening output files: No such file or directory



But if I copy a watermarked file from temp and upload it to the workspace :

vf=f"movie='{'test.png'}' [watermark]; [in][watermark] overlay='{overlay}' [out]"

then everything works as it should. I.e. apparently there is a problem with the path to the watermark, and I do not understand what to do.
I ask for help