
Recherche avancée
Autres articles (62)
-
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 (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (7472)
-
why transparent drawbox does not work on some video sources ?
28 mai 2019, par WangIt works on smptebars, smptehdbars, testsrc and testsrc2 but not other sources.
ffplay -loglevel trace -f lavfi -i testsrc=r=1:d=1:size=800x600 -vf "drawbox=x=0:y=0:w='iw/2':h='ih/2':t=max:c=white@0.5"
When I try this I can see the transparent box. But if I use color, and rgbtestsrc sources it does not work.
ffplay -loglevel trace -f lavfi -i rgbtestsrc=r=1:d=1:size=800x600 -vf "drawbox=x=0:y=0:w='iw/2':h='ih/2':t=max:c=white@0.5"
ffplay -loglevel trace -f lavfi -i color=c=red:r=1:d=1:size=800x600 -vf "drawbox=x=0:y=0:w='iw/2':h='ih/2':t=max:c=white@0.5"after looking at the trace output, it seems the transparency only works on rgb24 and yuv formats (yuv444p, yuv420p, etc.), this is surprising since we normally assume the rgba source can work with alpha channel.
The following command change the pix_fmt to rgb24, then it works :
ffplay -loglevel trace -f lavfi -i rgbtestsrc=r=1:d=1:size=800x600 -vf "format=pix_fmts=rgb24,drawbox=x=0:y=0:w='iw/2':h='ih/2':t=max:c=white@0.5"
The following command change the pix_fmt to rgba, then it does not work :
ffplay -loglevel trace -f lavfi -i rgbtestsrc=r=1:d=1:size=800x600 -vf "format=pix_fmts=rgba,drawbox=x=0:y=0:w='iw/2':h='ih/2':t=max:c=white@0.5"
Why is that ? and how can I fix this ?
-
Can't get FFMpeg to work with php
15 octobre 2017, par casusbelliI’ve installed FFMpeg using composer on my Ubuntu LAMP 16.04 however I fail to make it work.
I’m trying this simple code which make an instance of FFMpeg :
$ffmpeg = FFMpeg\FFMpeg::create();
$video = $ffmpeg->open('video101.MOV');However I get this error :
Fatal error: Uncaught Error: Class 'FFMpeg\FFMpeg' not found in /var/www/html/upload/test.php:10 Stack trace: #0 {main} thrown in /var/www/html/upload/test.php on line 10
I tried to manually include the composer autoload.php with :
require_once 'vendor/autoload.php';
However I get this error :
Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/upload/test.php on line 6
I found out that is because composer vendor is at
root
of apache.any help ?
-
FFMPEG Does not work on Windows Server 2008
25 août 2011, par KhaldounI have an ASP.NET MVC Web Site ,the user can upload a video and When Done It finish uploading I show him an image extracted from the Video,
To do this I used the FFMPEG exe to get a frame.
Everthing works well in the developement machine , when I use the test environement it does not work !!
I've given the read/write and execute permissions to following folders :
1. videos(folder that store uploaded video files)
2. thumbnails (folder that store the thumbnails of videos, captured by ffmpeg)
3.ffmpeg.exe file at root and given read/write execute permissions to that file also.
but it does not work.var _converter = new ImageConvertor(@System.Configuration.ConfigurationManager.AppSettings["FFmpegExec"].ToString());
_converter.WorkingPath = Server.MapPath("~/VideoSamples");
OutputPackage oo = _converter.ConvertToFLV(videoFilepath);
FileStream outStream = System.IO.File.OpenWrite(Path.Combine(Server.MapPath("~/VideoSamples"), id.ToString() + ".flv"));
oo.VideoStream.WriteTo(outStream);This Code Works on developement env but not in test env !!!
Any Ideas Please