
Recherche avancée
Autres articles (100)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (11364)
-
PHP variable into FFMPEG
14 juillet 2015, par kunali am making web tool which should be able to search the file within the Archive and then get the duration of the video with FFMPEG Code.
for search the file in the Archive , here is my code !
$command ='find /mnt/archiev/ -name '.$_POST['MXF'].'.mxf';
if (!($stream = ssh2_exec($con, $command))) {
echo "fail: unable to execute command\n";
} else {
$errorStream = ssh2_fetch_stream($stream, SSH2_STREAM_STDERR);
$FILE = stream_get_contents($stream);
/ check if file exist or not and then run the Next command.
if(!($FILE))
{
echo "file Doesnt Exist in the Archieve. please enter the correct file ID";
ssh2_exec($con, "logout");
exit;
}
elseif
{
$commandA= ffmpeg -i '.$FILE.' 2>&1 | grep "Duration:"';
(!($stream2 = ssh2_exec($con, $command))) {
echo "fail: unable to execute command\n";
} else {
$errorStream2 = ssh2_fetch_stream($stream2, SSH2_STREAM_STDERR);
$Duration = stream_get_contents($stream);
var_dump($duration);
}
}My problem is this code returns me NUll value , but it supposed to return me the Duration of video !
Here $FILE has the file Path , where searched File exist but when i use this with ffmpeg code it returns
null
does anyone have idea how can i make it work, i need to be able to find the files within the archiev and then with
stream_get_contens()
funcation i get the path of the video and this path i need to use within the FFMPEG as a input but it doesnt work and return theNULL
.which suppossed to retrun the video Duration.
please help !!!
thanks in adavance.
-
Revision 1220b49c89 : arm : Fix building vp8_mse16x16_neon.c with MSVC Use the right return values - v
16 septembre 2014, par Scott LaVarnwayChanged Paths :
Modify /vp8/encoder/arm/neon/vp8_mse16x16_neon.c
arm : Fix building vp8_mse16x16_neon.c with MSVCUse the right return values - vadd_s64 returns int64x1_t, not
a normal int64_t.Change-Id : Ife17213087c1dfb5faaa647f804d2fd140f3a0eb
-
Ubuntu ffmpeg command -i not found
12 avril 2016, par GerwinI’m a beginner with Ubuntu and I need to setup a streaming server for my company, I’ve installed NGINX and FFMPEG, but when I call
ffmpeg -i
in the~/ffmpeg/ffmpeg
directory it returns an errorcommand not found
but when I call./ffmpeg -i
it returns a list with configurations.. why doesffmpeg -i
not work and how can I fix it ?I think that the
Path Enviroment Variable is incorrect
but how would I go abouts changing said variable ? I’m not that experienced with Ubuntu / CMD programming / FFMPEG configuration.Sources - https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
https://github.com/arut/nginx-rtmp-module/wiki/Control-module
and http://docs.unified-streaming.com/tutorials/live/broadcast-247.html#continuous-timestamps