
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (97)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (10452)
-
Extracting aspect ratio from ffprobe
29 décembre 2020, par LinxI'm using ffprobe to determine a video's properties and assign them as variables in a bash script for batch encoding with ffmpeg, like so :


eval $(ffprobe -v quiet -show_format -of flat=s=_ -show_entries 
 stream=height,width,duration,display_aspect_ratio "$f");
 width=${streams_stream_0_width};
 height=${streams_stream_0_height};
 aspect=${streams_stream_0_display_aspect_ratio};
 
 echo -e "Height/Width = $height/$width, Aspect = $aspect\n";



That returns "Height/Width = 480/720, Aspect = 4:3" exactly like it should. But I need to insert the variable into my encode command as 4/3 and not 4:3. I'm not very good with bash scripting and I've searched for a solution, but I'm not even sure what you call what I'm trying to do, so I'm sure I've done the wrong search terms. How can I convert this ratio into a fraction to insert into a ffmpeg command ?


-
Images to video in PHP with FFmpeg
14 mars 2013, par Boris KremenovicI got a terrible problem. I've been searching, and google-ing my whole day and can't find the answer to this problem..
I am trying to convert 5 pictures to video using FFmpeg in PHP. I have FFmpeg extension installed in my php.ini.
Trying running this command :
<?php
exec("ffmpeg -r 25 -qscale 2 -i %05d.jpg output.mp4");
?>but it gives me a blank page with no errors or something. Can anybody help me ?
-
FFMPEG GOP Extraction
29 mars 2015, par user3601375I have an MPEG -4 video and I would like to extract a one GOP (Group of pictures ) at a time to BMPs (using FFMPEG and c++ (code block) ) rather than the whole video in one go, since now all my code writing is stuck there I use to sketch everything in my mind then program and I can’t imagine how to do this, I searched the net for something like that but of no use.. any command line or any library used to do that (I have no full experience on FFMPEG I have read the documentation but that thing was not there). I will appreciate any kind help and thanks for reading y post.
Regards,