
Recherche avancée
Autres articles (88)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
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 (...)
Sur d’autres sites (7047)
-
Evolution #3563 (Nouveau) : Message d’erreur globale
7 octobre 2015, par Debondt DidierHello,
Il m’arrive souvent de me retrouver à me dire "là il faudrait parfois afficher un message d’erreur". Sans pour autant être dans un formulaire.
Et puis, je vois le nombre de niveau que je vais devoir remonter avant de pouvoir accéder à une fonction qui pourrait afficher quelque chose. Et ça fini avec un simple spip_log dans le meilleur des cas.Pourtant, je pense qu’on pourrait s’inspirer de Drupal qui propose une "zone" pour afficher les erreurs de manière global.
Les fonctions d’image par exemple. Si la taille de l’image est trop grande, ça bug et SPIP afficher une page blanche. Les utilisateurs remonte alors le bug "Page blanche" qui pourrait correspondre à n’importe quoi.
A la place, on pourrai avoir un message d’erreur global qui dirai qu’un des images est trop grande.Autre bénéfice : les actions pourraient afficher un message d’erreur quand elle échoue, car elles sont pour la plus part silencieuse vu l’absence de mécanisme d’erreur.
Bref, cela rendrai SPIP un peu plus bavard sur les erreurs.
-
sh : ffmpeg : command not found when run command through php
9 avril 2015, par AshokI have installed successfully installed FFMpeg on root of my Centos 6 machine (https://trac.ffmpeg.org/wiki/CompilationGuide/Centos).
My workplace of apache/php is /var/www/html
Now I’m running below command successfully on /var/www/html directory to capture frame from the video file. It’s capturing a frame.
[root@localhost html]# ffmpeg -i video.mpg -an -ss 30 -t 00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg -s 160x100 frame8 2>&1
I want to run this command through php and using shell_exec() or exec() php functions. My php code for running the command is :
$cmd = "/root/bin/ffmpeg -i /project/app/webroot/videos/video.mpg -ss 00:00:14.435 -f image2 -vframes 1 /project/app/webroot/videothumbnails/example-thumb.jpg";
$locale = 'en_IN.UTF-8';
setlocale(LC_ALL, $locale);
putenv('LC_ALL='.$locale);
echo shell_exec($cmd);When I’m trying to run command through above php code, I’m getting below error :
sh: ffmpeg: command not found
Please help me to solve out this problem.
-
Yes or no, will ffmpeg api do hardware decoding on iOS ?
15 janvier 2019, par FattieThere seems to be conflicting information on this.
https://trac.ffmpeg.org/wiki/HWAccelIntro
notice the first diagram, it firmly marks iOS as “Y” on VideoToolbox
however in the comments down the bottom it says
VideoToolbox. VideoToolbox, only supported on macOS. H.264 decoding is available in FFmpeg/libavcodec.
And in the confusing second diagram it says "Standalone" is not done for VideoToolbox.
We have found that using ffmpeg compiled in to iOS .... it seems to not use hardware decoding, which is really a pain.
-
With
avcodec_get_hw_config()
we getAV_PIX_FMT_VIDEOTOOLBOX
,AV_HWDEVICE_TYPE_VIDEOTOOLBOX
which is seemingly correct. -
But usage and framerates clearly shows everything is being done in CPU. The code is in
ff_hevc_hls_residual_coding
all the time. (That’s fffmpeg’s software decoder.) -
This very diff very long git.videolan.org URL here seems to suggest again it should all be working.
-
Have tried every iPhone etc. of course
-