
Recherche avancée
Autres articles (104)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (11679)
-
Centos Video Optimizer
2 février 2012, par Arjun NerasI have a lot of MP4 files on my server. And my aim is to get them to stream on android mobiles.
The resolution of the videos are at 480×272 and this is not a problem because I tested it and most androids are able to stream it. But the problem is the size of the video. The streaming is slow and it buffers a lot because of its size.
I need a converter that can decrease the size to around 50-60MB. With only a little decrease in quality. If possible, the output file should overwrite the input file.
Can you think of any way I can do this work in minimum time ? My server is CENTOS and I have FFMPEG, MP4Box installed.
-
split the video in several part using ffmpeg
2 février 2012, par HimikoI want to write a small program with help of ffmpeg. I want to process a video by cut the video into several parts, left part, right part...etc.
How can I do it using ffmpeg ? By the way, are there any documentation explain the API of the ffmpeg ? -
Video converted to FLV using FFMPEG gets 0 size
11 novembre 2011, par SudhirI'm trying to convert avi file to flv format using FFMPEG on server, but its giving me problems. On conversion, the file is converted to flv format but no data (0 kb size file). Tried debugging the code but could not. The FFMPEG is installed in CentOS, in path /usr/bin/ffmpeg, and i'm using following command for conversion :
$srcFile = "/home/mydomain/public_html/demo/test/sample.avi" ; $destFile = "/home/mydomain/public_html/demo/test/sample_again.flv" ;
$ffmpegPath = "/usr/bin/ffmpeg" ;
$flvtool2Path = "/usr/local/bin/flvtool2" ;$command = $ffmpegPath . " -y -i " . $srcFile . " -ar 32000 -ab 32000 -f flv -s 320x240 ".
$destFile . " | " . $flvtool2Path . " -U stdin " . $destFile ;exec($command, $output) ;
print_r($output) ;I tried doing :
exec("which ffmpeg") ;
And it gave me the path /usr/bin/ffmpeg, but get following error when i execute the code :
Array ( [0] => ERROR : undefined method `timestamp' for nil:NilClass [1] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flv/stream.rb:285:in `lasttimestamp' [2] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flv/stream.rb:274:in `duration' [3] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:181:in `add_meta_data_tag' [4] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:137:in `update' [5] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `send' [6] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `execute !' [7] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `each' [8] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `execute !' [9] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:206:in `process_files' [10] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2/base.rb:44:in `execute !' [11] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2.rb:168:in `execute !' [12] => ERROR : /usr/local/cpffmpeg/lib/ruby/site_ruby/1.8/flvtool2.rb:228 [13] => ERROR : /usr/local/bin/flvtool2:2:in `require' [14] => ERROR : /usr/local/bin/flvtool2:2 )
What could be the problem. Is this the problem of Flvtool2, if yes then what is it. Please suggest something