
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (10592)
-
Call system package with Go on App Engine Standard
8 novembre 2019, par reidreid46I’m trying to use FFmpeg in a Go application thats running on Google App Engine Standard. I can get this to run locally, when I point to a local instance of the FFmpeg binary using exec.Command()
cmd := exec.Command(
"/Users/justin/Desktop/conversion/ffmpeg", // this won't work on a remote server
"-i", "pipe:0",
"-ac", "1",
"-codec:a", "libmp3lame",
"-b:a", "48k",
"-ar", "24000",
"-f", "mp3",
"pipe:1",
)
cmd.Stdin = bytes.NewReader(synthResp.AudioContent)
var output bytes.Buffer
cmd.Stdout = &output
err = cmd.Run()Obviously, this won’t work when I deploy the application, so I need a way to point to a hosted version of the FFmpeg binary. It seems
ffmpeg
is a system package for the go1.11 App Engine Standard environment.What are "System packages" and how do I use them ?
When I look for documentation, I find a lot of documentation onapt-get
, and no documentation on how to use them, App Engine or otherwise. Do I need to install it, or should it already be part of the container(?) that App Engine is running ?Do I call it, like I’d call other executables ? If so, that I’d expect this to work, but it doesn’t
cmd := exec.Command(
"ffmpeg", // <------ what should this be?
"-i", "pipe:0",
"-ac", "1",
"-codec:a", "libmp3lame",
"-b:a", "48k",
"-ar", "24000",
"-f", "mp3",
"pipe:1",
)
cmd.Stdin = bytes.NewReader(synthResp.AudioContent)
var output bytes.Buffer
cmd.Stdout = &output
err = cmd.Run()Logging err, I see
exec: "ffmpeg": executable file not found in $PATH
-
reading videos in matlab not working (the following codec(s) to be installed on your system)
20 février 2016, par Ehab AlBadawyWhen I try to read a video in matlab
v = VideoReader('t.avi');
I get this error :The file requires the following codec(s) to be installed on your system:
video/x-msvideoand some time it needs
mpeg
codec when I try to load mpeg or mp4 video.I found someone referring to rename libstdc++.so.6.0 to libstdc++.so.6.0.10 but I found that I already have libstdc++.so.6.0.13
I’m using matlab 2013 with archlinux.
Update : I get this warring in the terminal when trying to read a video
Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpango.so':
/usr/lib/libharfbuzz.so.0: undefined symbol: FT_Face_GetCharVariantIndex -
Python ffmpeg : [WinError 2] The system cannot find the file specified [duplicate]
21 novembre 2024, par PeppersONLY#what i did to install

pip install ffmpeg-python



#code

import ffmpeg

crop_dimensions = "640:480:0:0"

input_file = "input.mp4"
output_file = "output.mp4"

(
 ffmpeg
 .input(input_file)
 .filter("crop", *crop_dimensions.split(":"))
 .output(output_file, vcodec="libx264", crf=22)
 .overwrite_output()
 .run()
)



Whenever I run this code, I get this error :


hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified



I tried reinstalling the library but that didn't seem to work.