
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 (78)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
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 ;
Sur d’autres sites (9572)
-
Terminate ffmpeg.exe loop
5 mars 2019, par jinahoGetting a thumbnail from a RTSP source results in infinit output from ffmpeg without exiting which makes the batch script not resume.
It is basically only one line that calls the ffmpeg process like this (example) :
ffmpeg -i rtsp://192.168.1.89:554/11 -f image2 -r 1 thumb%03d.jpg
The input is user generated and for some ffmpeg is not returning a thumbnail but a warning message :
Could not find codec parameters for stream 0 (Video: h264, 1 reference frame, none(left), 1280x720, 1/180000): unspecified pixel format
After that instead of quiting and let the batch script resume, ffmpeg outputs :
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/AThis goes on forever meaning that the batch script does not resume. Manual invertention is required which is not intended.
I am looking for a way to tell the script that ffmpeg has a hanging condition and make the script quit ffmpeg so it can resume. -
How can I install ffmpeg if I'm using Cloud Foundry and a python buildpack
14 juillet 2019, par david balagueI’m writing a python application which uses pydub and want to run it in the cloud, I’m using IBM’s ibmcloud Cloud Foundry implementation to deploy the application.
pydub requires access to ffmpeg. The python buildpacks do not include this tool.
How can I install ffmpeg and make sure that pydub can access it from within my application ?
I tried to copy ffmpeg within the app’s directory, even in the app’s root directory, but I get a
[Errno 2] No such file or directory : ’ffprobe’ : ’ffprobe’
meaning that pydub cannot access ffmpeg.I tried to include an additional buildpack (https://github.com/shunjikonishi/heroku-buildpack-ffmpeg) in my manifest.yaml
Nothing worked
this is my masked manifest.yaml
applications :
services :
- xxx_de
disk_quota : 1024M
- name : ffmpeg
buildpacks : https://github.com/shunjikonishi/heroku-buildpack-ffmpeg
memory : 128Mname : xvz
#route : eu-gb.mybluemix.net
route : mybluemix.net
instances : 1
memory : 128MCould you suggest a fix or an alternative way to do this ?
Thanks !!
-
To convert from avi file to mp4 file by ffmpeg command in php
12 septembre 2018, par user27240The ffmpeg command in php below creates mp4 file from avi file without deleting the original avi file meaning that,for example,
there are two files, 1221222.avi and 1221222.mp4 exist in the directry after all.(’for i in /xxxxx/xxxxxx/*.avi ; do ffmpeg -i "$i" -frames:v 1 "/xxxxx/xxxxxx/$(basename "$i" .avi).mp4" ; done’)
I’d like to delete this 1221222.avi file right after the command created 1221222.mp4 file.
Is there any command that converts the file from avi to mp4 by replacing it ? Or do I have to add delete command after the command above ?
I would appreciate if anyone could help me out for the command.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Even though the php script below can upload avi file from local drive to application I’m currently developping, the avi will not be played at html.
So, I’m trying to convert from the avi file to mp4 file which is working fine by using ffmpeg command in php. This ffmpeg command creates mp4, but the html still do not play it. Is it because the original avi file still exists in the directory ?//php
case "video/x-msvideo":
if($header){
header("Content-Type: video/x-msvideo");
$dst_im = copy($path, $dst_file);
return "";
}else{
$dst_file = $dst_file . ".avi";
shell_exec('for i in /xxxxxx/xxxxxx/*.avi; do ffmpeg -i "$i" - frames:v 1 "/xxxxxx/xxxxxx/$(basename "$i" .avi).mp4"; done');
$dst_im = copy($path, $dst_file);
}
unlink($dst_im);
break;
//html
<video width="500" height="250" poster="video.jpg" controls="controls" preload="auto" autoplay="autoplay">
<source type="video/mp4" src="xxxxxxxxxxxxxxxxxxxxx.mp4"></source>
</video>