
Recherche avancée
Autres articles (34)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (6499)
-
How to play back a video stream on website ?
11 juillet 2012, par John SmithLets suppose I have a streaming generated from ffmpeg :
ffmpeg -f dshow -i video="UScreenCapture" -vcodec libx264 -g 30 -f mpegts tcp://127.0.0.1:1234
on the server Im catching the stuffes like this :
error_reporting(E_ALL); /* Allow the script to hang around waiting for connections. */
set_time_limit(30); /* Turn on implicit output flushing so we see what we're getting as it comes in. */
ob_implicit_flush();
$address = '127.0.0.1';
$port = 1234;
$outfile = dirname(__FILE__)."/output.flv";
$ofp = fopen($outfile, 'wb');
if (($sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) === false) { echo "socket_create() failed: reason: " . socket_strerror(socket_last_error()) . "\n"; sleep (5); die; }
if (socket_bind($sock, $address, $port) === false) { echo "socket_bind() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n"; sleep (5); die; }
if (socket_listen($sock, 5) === false) { echo "socket_listen() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n"; sleep (5); die; }
if (($msgsock = socket_accept($sock)) === false) { echo "socket_accept() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n"; sleep (5); break; }
do {
$a = '';
socket_recv ($msgsock, $a, 65536, MSG_WAITALL);
fwrite ($ofp, $a);
fclose ($ofp);
$ofp = fopen($outfile, 'ab');
//echo strlen($a)."\r\n";
} while (true);now Im stuck replaying this. VCL player can replay this so its got to be good, but how to put it onto a site ? I know theres HTML5 video tags, but lets not use it, because it might unsupported, and I also failed make it work every way. Is there a flash solution ? Its a dymanic stream, so no start-end !
-
Swift : How can I generate Mp4 video from programmaticall output ? [closed]
21 août 2020, par Mount AinThis question is specifically to Swift programming language for Linux & macOS platforms.To understanding the concept, I used Swift programming language. But not depend on Swift programming language. C or C++ is also good to me.


I can generate JPEG image from
NSView
by usingNSBitmapImageRep
. But Linux I don't what I want to do. So, the first thing I need to know is the step to generate JPEG image by programmatically without using theNSView
. I really don't know How hard it is. But I want to learn how it's work. I feel It's the way to fill the color into pixels one by one to combine a Image. But I don't know How to do in programming. I knew the same way is used in videos by packing the series of image with audio & subtitle & other meta info.

If you ask about compression, I really want to know How Twitter & YouTube compressing uploaded videos without loss of quality.


So what is the concept,


- 

- To generate a JPEG image by programmatically without using
NSView
? - To generate MPEG-4 video by group of JPEG images ?






Thanking in advance...


- To generate a JPEG image by programmatically without using
-
How to generate gif from avi using ffmpeg ?
19 décembre 2012, par MarconiI'm trying to extract a part of a video into an animated gif using the following command :
ffmpeg -i video.avi -t 5 out.gif
It generates an animated gif but the quality is insane. However when I generate gif image using :
ffmpeg -i video.avi -t 10 out%d.gif
It generates acceptable quality of gif images. How can i generate animated gif using the first command but the same quality as the second command ?