
Recherche avancée
Autres articles (102)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (6663)
-
Shall_exec() is not working in Cent OS 6.5 with php 5.5
5 décembre 2014, par hiteshIt is the follow up from the question here. I was not sure if it was good idea to edit that question, So I am asking a new question here
As explained in my previous question I am using
ffmpeg
for getting screenshot from video.it seems to working fine in my local but in my Cent OS 6.5 server it is not working, it throws error that
ffmpeg extension is not enabled
."Error in Loading ffmpeg"
To debug this, I commented the line
extension_loaded('ffmpeg') or die('Error in loading ffmpeg');
and I found out that in Cent OS terminal, ffmpeg command were working but if I use it with full path as I am doing in windows it did not work.So i deleted full path and used
ffmpeg
alone, I am not sure what was the reason behind this.Here is my new command
$cmd = "ffmpeg -i $vid -an -ss $getfromsecond -s $size -vframes 1 $imageFile";
$cmd2 = "ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size -vframes 1 $imageFile2 ";
echo $cmd ."<br />";
echo $cmd2."<br />";
exec($cmd, $output, $return);
echo '$output :' ; print_r($output); echo "<br />";echo '$return' . $return . "<br />";
if ($return != 0) {
// an error occurred
echo "Error in EXEC command ";
}
if(!shell_exec($cmd2)){
echo "Remote video Thumbnail created". "<br />";
}else{
echo "Error Creating Remote video thumbnail". "<br />";
}now again it was not working in server, but when I tried both command
` echo $cmd ."<br />";
echo $cmd2."<br />";`in dev terminal, it got executed successfully I could see the screenshot.
So while searching for the problem, I found this question here based on this answer here. I understood that some server may not allow it so I checked it.
if (isEnabled('shell_exec')) {
echo "Shell_exec is enabled "."<br />";
shell_exec('echo "hello world"');
echo "<br />";
}else{
echo "shell exec command is not allowed";
}I got the output
"Shell_exec is enabled "
butshell_exec('echo "hello world"');
does not seems to work, Also when I run the command directly in terminal it works.Help me find the issue here, is it issue with shall_exec() or something else ?
Any help is appreciated. Thanks
-
Is it possible to stream a video from FMLE directly to an media player without a mediation of FMS ?
7 janvier 2015, par UserOfStackoverflowI want to know if it is possible to stream a video from FMLE (Flash Media Live Encoder) directly to an media player without a mediation of FMS (Flash Media Server) since I don’t want to restream it to many users ?
Here is schematics of what I want (I hope it better explains my question) : http://s12.postimg.org/x4glz1l59/My_Scheme.png
If it is possible then what media player(s) can do that ?
Also if you know more tool like FMLE (Flash Media Live Encoder) or FFmpeg which can be controlled over command line please let me know !
P.S.
Thank you for your answers and suggestions also I hope that you like my drawing skills... :D -
Announcing TMPGEnc 4 : now with x264 !
A few months ago, we announced a commercial licensing program so that even companies unable to use GPL software in their products have a chance to use the open source x264 instead of proprietary alternatives. The system worked on two basic concepts. First, all licensees would still be required to give their changes to x264 back to us : x264 must forever remain free, with no useful contributions kept hidden from the community. Second, all the profits would go directly back to x264, primarily to the developers who’ve made the most significant contributions to x264 over the years, but also to funding future development, bounties for new features, as well as contributing to other related projects (e.g. Videolan and ffmpeg).
Over the past couple of months, we’ve gotten an enormous response ; over 40 companies have inquired about licensing, with more contacting us every day. Due to the sheer volume of interest, we’ve partnered with CoreCodec, the creators of the free Matroska container format and developers of CoreAVC, to make x264 as widely available as possible in the world of commercial software as it is in the world of open source. All of this is already filtering back to benefiting x264 users, with many bugs being reported by commercial licensees as well as some code contributed.
Today, we announce the first commercial consumer encoding software to switch to x264 : Pegasys Inc.’s TMPGEnc. Expect many more to follow : with x264 now available commercially as well as freely, there are few excuses left to use any other H.264 encoder. Vendors of overpriced, underpowered proprietary competitors should begin looking for new jobs.