
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (60)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (11487)
-
Add extra path manually on open_basedir
27 août 2018, par JamshidI need to add an extra path manually on open_basedir, but I don’t know where I can do that I guess from phpmyadmin this is possible but for an extra path for FFmpeg plugin I need to edit a fine from terminal ssh,
this is the path I need to add : :/usr/bin/ffmpeg/ :/usr/bin/ffprobe/Thanks Developers
-
Create stream with FFmpeg from different ip
14 novembre 2017, par Ashot JlavyanI need to create HLS stream with FFmpeg from different ip. It’s like —bind-address in wget command. i have 2 network interface i need choose which i want and process command in terminal.
-
Run avconv in python and direct stdout/stderr to a file
19 février 2016, par tdkI wish to run Avconv commands and record the logs in a file. In the Ubuntu terminal this can be accomplished using
&>>
operator after the actual command enclosed in parenthesis i.e.(avconv -i SRCFILE -ss 00:15:00 -t 00:30:00 TARGETFILE -threads auto) &>> LOGFILE
The above command works perfectly when run in the terminal.
Now I have a number of such commands to run, and thought running them through Python would be good.
-
I tried using the
os.system(command_string)
way
, which when run does not pack the Avconv output to the LOGFILE, and the avconv command seems to execute after the Python script is done - evidenced by some string outputs I put in for debugging. I’m also getting some permission errors. Here is how the first portion of output looks likeAVCONV COMMAND EXECUTED
sh: 1: : Permission denied
sh: 1: : Permission denied
sh: 1:
PROGRAM DONE
: Permission denied
$ avconv version 11.2-6:11.2-1, Copyright (c) 2000-2014 the Libav developers
built on Jan 18 2015 05:12:33 with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu2)
Trailing options were found on the commandline.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ... -
I also tried using the
subprocess.call()
method for which I get the following error (NOTE : all files exist)Traceback (most recent call last):
File "/home/usr/cnv.py", line 61, in <module>
main()
File "/home/usr/cnv.py", line 46, in main
subprocess.call(newcmd)
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
</module>
I wish to run multiple (think 50+) commands of Avconv similar to the version shown at the top, and have the logs saved in a file instead of in stdout. How do I do this - in Python or otherwise ?
-