
Recherche avancée
Autres articles (96)
-
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)
Sur d’autres sites (4758)
-
ffmpeg-php module fails in linux
26 juillet 2017, par SwatiI’ve been trying this for a couple of days now. I am trying to install ffmpeg-php on my CentOS server.
OS : CentOS 6
PHP : 5.5
ffmpeg : 1.2.1
ffmpeg-php : 0.6.0
The ffmpeg installation went on without a hitch and I am able to convert files back and forth via the CLI.While installing ffmpeg-php, I encountered errors while making (after configuring) due to time.h references which was corrected by renaming the files creating with an extension .loT to .lo (as rightly pointed out here)
Once this was done, the make process went on smoothly and the make install went through without a hitch. However, after specifying the extension=ffmpeg.so in the php.ini file and after restarting Apache, the module doesn’t load or show up in phpinfo().
The Apache error log shows only "PHP Warning : PHP Startup : Invalid library (maybe not a PHP library) ’ffmpeg.so’ in Unknown on line 0" and nothing else.
make test also shows the same error and FAILS the associated tests. I’ve checked here which wasn’t very helpful. Also, I read somewhere that it may be the issue with permissions but the permissions for the ffmpeg.so file is 755.
Any help is appreciated.
Thanks in advance.
-
Animated GIF to video with ffmpeg - wrong timing
27 juillet 2017, par BarbaraKwarcI’m trying to convert an animated GIF to video with ffmpeg, but there’s a strange problem : the time delays of each frame seem to be off by one frame.
For example, if the frame #1 is supposed to be shown for 2000 ms and the frames from #2 to #10 are supposed to be shown for 100 ms each, in the resulting video it immediately skips to the frame #2 which is shown for 2000 ms instead :PIs this some kind of a bug ? Or am I doing something wrong ?
Here’s my command line :
ffmpeg –i Mnozenie_anim_deop.gif Mnozenie_anim.mp4
(Aside : why doesn’t the "-" show up in code blocks unless I replace it with "–" ?)
so nothing extraordinary, just the defaults. (Unless this is the root of the problem ? Maybe my defaults are bad, and I need to specify some magic options ?)
This problem seems to appear for any video formats except MKV, and when I play these files in mplayer, they all behave that way except MKV.
But when I open them in kdenlive (a non-linear video editing program), the problem appears in all of them, including MKV (which is strange, because it plays back just fine in mplayer :q ).
I tried converting the same exact file with this online converter here :
https://ezgif.com/gif-to-mp4
and there is no problem with its output – it plays back fine both in mplayer and when imported to kdenlive, so I guess they must have been using some magic command line options that I’m missing.Any ideas what can be wrong and how to track down the culprit ?
Edit : Here’s a sample animated GIF file I’m trying to convert :
http://nauka.mistu.info/Matematyka/Algebra/Szeregi/Mnozenie_anim.gif
and the MP4 file that I generated from it which demonstrates this problem :
http://sasq.comyr.com/Stuff/Mnozenie_anim.mp4
As you can see, the fade in starts prematurely but stops for a couple of seconds instead of waiting for a couple of seconds BEFORE the fade in begins. -
FFMPEG python check if dictionary key exists
4 février 2021, par Georgi StoyanovI want to check if there is a dictionary key :
"data["streams"][1]["codec_name"]"
and if there is one to print the values of couple of keys and if not to print "No Audio". Actually if there is no audio the whole data["streams"][1] is missing. Right now the script is always returning No Audio even if the audio exists. What I am doing wrong ?

#!/usr/bin/env python
import subprocess
import json

input_file = raw_input("Please enter the input file path: ")

returned_data = subprocess.check_output(['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_format', '-show_streams', input_file])
data = json.loads(returned_data.decode('utf-8'))
print "==========================Audio============================="
if 'data["streams"][1]["codec_name"]' in data:
 print "Codec: %s" %(data["streams"][1]["codec_name"])
 print "Sample Rate: %.3f KHz" %(int(data["streams"][1]["sample_rate"])/1000)
 print "Bitrate: %d Kbps" %(int(data["streams"][1]["bit_rate"])/1000)
else:
 print "NO AUDIO"