
Recherche avancée
Autres articles (49)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5691)
-
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
-
Introducing Matomo SEO Web Vitals
-
Is it possible to use ffmpeg in nwjs native addon in linux ?
16 octobre 2016, par Sergey YakimovI’ve created native addon for encoding video from IDS camera. It work in nodejs but after rebuilding it with nw-gyp it stop working. I checked available encoders and there is none. When nwjs loads addon I think it using ffmpeg which come with nwjs and it have only few decoders compiled in and no encoders. In nwjs docs they only describe how one can enable h264 codec, but if I understand it right it will work only as decoder.
So is there a way to make addon use system ffmpeg instead of that what come with nwjs or at least rebuild ffmpeg used in nwjs to include encoders in it ?