
Recherche avancée
Autres articles (80)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (10533)
-
How to create a thumbnail from the middle of a video with FFmpeg
12 août 2021, par Armanhow to generate thumbnail from the middle of video using ffmpeg..



e.g i have a video of duration 1 minute i want to generate thumbnail on 30th second



i have used the following code but it generate thumbnail at 59th second. i because i mention -ss 59 how can we make it dynamic to the middle of video duration.



ffmpeg -i input.mp4 -deinterlace -an -ss 59 -f mjpeg -t 1 -r 1 -y -s 256x160 output.jpg




i tried that but i am getting error no directory found.



ffmpeg -i input.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -ss `ffmpeg -i clip.mp4 2>&1 | grep Duration | awk '{print $2}' | tr -d , | awk -F ':' '{print $3/2}'` output.jpg




thanks in advance.


-
How to create a thumbnail from the middle of a video with FFmpeg
3 août 2016, par Armanhow to generate thumbnail from the middle of video using ffmpeg..
e.g i have a video of duration 1 minute i want to generate thumbnail on 30th second
i have used the following code but it generate thumbnail at 59th second. i because i mention -ss 59 how can we make it dynamic to the middle of video duration.
ffmpeg -i input.mp4 -deinterlace -an -ss 59 -f mjpeg -t 1 -r 1 -y -s 256x160 output.jpg
i tried that but i am getting error no directory found.
ffmpeg -i input.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -ss `ffmpeg -i clip.mp4 2>&1 | grep Duration | awk '{print $2}' | tr -d , | awk -F ':' '{print $3/2}'` output.jpg
thanks in advance.
-
Minimum PHP/Server Requirements for Yii 2
12 avril 2015, par Future KingI tried to run my yii2 app on my web hosting (It has PHP5.4 and Linux Server). But when I tried to upload files then it showed me error that Fileinfo extension is not installed. I asked the server guys and they told me that they can not enable that extension because it is a shared hosting.
I tried the same app on some other hosting. I received this error :
PHP Startup : Unable to load dynamic library ’/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so’ - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so : cannot open shared object file : No such file or directory
I want to know, what are the minimum server requirements (or required PHP extensions) for Yii2, so that I can find another host according to that.