
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (91)
-
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (14524)
-
Making a blu-ray video-album from 30fps video-recordings ?
11 janvier 2015, par mr_louI wish to make a blu-ray video-album with all the family video-recordings I’ve done with various recording devices through-up the years. Most of the recordings are 720p 30fps, recorded with my cellphone.
As many others before me I have now learned, that simply saving my video-project as a 720p 24fps rendering, results in a lot of jerkiness due to the missing frames. Not good.
But what to do then ?
According to http://en.wikipedia.org/wiki/Blu-ray_Disc#Media_format my other framerate options for 720p are 60fps (59.94fps) or 50fps. So as I’m writing this I’m trying to render my project into a 59.94fps video. Logically, if my recordings have 30fps, there’ll be a little jerkiness here too though ?
Another option I seem to have, is to save my project as a 1080i 29.97fps video. This is as close to the 30fps I can get, but again : 29.97fps isn’t 30fps, so what happens with jerkiness here ?
Also, saving my 720p 30fps recordings as either 720p 59.94fps or 1080i 29.97fps logically results in a bigger filesize. Filesize is somewhat important too, as I expect this blu-ray collection to contain as many videos as possible. (720p recordings should give at least 11 hours on a standard 25gb blu-ray disc).
And finally, there’s also the theoretical option of converting my 30fps recordings to smooth 24fps recordings, but as far as I can understand in my searches, this is extremely tricky / almost impossible to do ?
Surely it can’t be this tricky to put everyday recordings onto a blu-ray disc ? I must be missing something ?
The overall question is : What is the best solution for putting 720p 30fps and 1080p 30fps video-recordings onto a blu-ray disc ?
Thanks !
EDIT :
Two possible answers I’m expecting to hear :
1) Best practice to put 720p 30fps and 1080p 30fps videos onto a blu-ray, is to just stick to 720p 30fps and 1080p 30fps. Although it is not a blu-ray standard, the majority of players will play them anyway.
2) Best practice is to use 720p 59.94fps. That’s the only way to make sure the video plays on most devices. There are simply too many devices that will only play the blu-ray standards. So you can forget about using anything else.
-
Improve ffmpeg performance
8 décembre 2014, par hiteshI am using
ffmpeg
to take screen shot from video , it is video from CDN.I am doing below steps
1.Upload video to CDN using html file tag.
2.Get CDN url and use it for creating screen shot using
ffmpeg
.3.Upload the screenshot in CDN.
4.Save video and screenshot CDN url to DB
the whole process is really time consuming, even if I put loader it is really slow.
This is code of POC I did for ffmpeg :
$imageFile = realpath("./videos") . '/test5.png';
$imageFile2 = realpath("./videos") . '/test6.png';
$size = "230x155";
$getfromsecond = 8;
if (isEnabled('shell_exec')) {
echo "Shall_exec is enabled " . "<br />";
shell_exec('echo "hello world"');
echo "<br />";
} else {
echo "shall exec command is not allowed";
}
$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 'command 1 - local Image : ' . $cmd . "<br />";
echo 'command 2 - remote video : ' . $cmd2 . "<br />";
echo "<br />command 2 - remote video shell_exec output : " . shell_exec($cmd) . "<br />";
echo '<br />command 2 - remote video shell_exec output : ' . shell_exec($cmd2) . "<br />";
if (!shell_exec($cmd)) {
echo " video Thumbnail created" . "<br />";
} else {
echo "Error Creating video thumbnail" . "<br />";
}
if (!shell_exec($cmd2)) {
echo "Remote video Thumbnail created" . "<br />";
} else {
echo "Error Creating Remote video thumbnail" . "<br />";
}
function isEnabled($func) {
return is_callable($func) && false === stripos(ini_get('disable_functions'), $func);
}Is there some way to improve ffmpeg performance ?
Thanks
-
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