
Recherche avancée
Autres articles (66)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (13474)
-
Error initializing output stream ffmpeg on Rasbpi converting jpg to video
5 avril 2021, par JakeI have a folder with thousands of jpgs at 1024x768 that I want to convert into a single video for playback.


The error I get is
Error initializing output stream 73:0 -- Error while opening encoder for output stream #73:0 - maybe incorrect parameters such as bit_rate, rate, width or height Conversion failed!


Here's my input
$ ffmpeg -i Timelapse/*.jpg -c:v libx264 -preset ultrafast -crf 0 output.mkv -y


What is strange is it errors on a specific numbered output stream. It seems to be either 71:0, 72:0, or 73:0. I thought it was something wrong with the file it is attempting to process in the given stream but the resolution is all the same (as I've seen errors when its not divisible by 2). I've deleted the 71st-73rd image in hopes it was somehow messed up but that doesn't help either. I've ensured my libx264 is installed correctly as well.


Any suggestions ?


Terminal output example




-
How do I change the default path of my homebrew installation ?
22 février 2021, par Make PerceiveI'm using both ffmpeg and youtube-dl, installed via homebrew. Mac M1 Apple silicon. They both work fine when I run a command from Terminal, but when I try to run commands via a third party automation script, I'm getting an error and I think it's because the javascript is looking for ffmpeg in the wrong location (something like "opt/bin/youtube-dl" as opposed to "/opt/homebrew/bin/youtube-dl". In this particular example, I think it relies on ffmpeg to do the conversion even though it's using youtube-dl.


I don't know what the best practice is, and in my homebrew install I did see something saying something like "next steps change eval >> path" ; I pasted the line into terminal and ran it but it does not seem to have worked.


Here's an example of the javascript.



const youtubeDL = '/opt/homebrew/bin/youtube-dl';
var url = 'https://www.youtube.com/watch?v=8YUc5-XaBbI';

log(`Download started`);

var execResult = sf.system.exec({
 commandLine: `"${youtubeDL}" "${url}" --extract-audio --audio-format wav`
 });

log (execResult)

if (execResult.exitCode !== 0) {
 throw `MP4 download failed with exit code: ${execResult.exitCode}`;
}

log('MP4 downloaded');
log (youtubeDL);
log (url);





The error that I'm getting says "ffprobe/avprobe and ffmpeg/avconv not found".


-
ffmpeg permission denied though the user has permission
12 octobre 2014, par codename_subhoI have installed ffmpeg in my server running ubuntu 14. my flask app project root is at /var/www/project/
i am able to upload files and my python scripts are able to write new files, but when i run ffmpeg in my script it gives permission denied.
Also running the below line in terminalffmpeg -i path/to/inputfile /path/to/outputfile & ps aux | grep ffmpeg
gives the user running the process is "ubuntu" which has write access to the project folder and its subfolders. As i told you other python script run by user "ubuntu" is able to create file.permission denied error happens in both cases(python script and directly in terminal)
update :
also looking at the confusion with the permissions, is there a way i can run the app from /home/ubuntu/project instead of /var/www/project. i am using mod_wsgi with apache for my flask-app.