
Recherche avancée
Autres articles (34)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (5717)
-
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>