
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (49)
-
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. -
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 -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (9153)
-
Wrong path returned from MPV player using mp.get_property("path") spaces on Windows
15 août 2018, par user2432166I have my video in the following locaton with spaces on Windows.
"c :\GoogleDrive\CMD Scripts_video\test.mp4"
MPV function in Lua script returns cut path with special characters 1
video_path = mp.get_property("path")
"c :\GOOGLE 1\CMDSCR 1_video\test.mp4"
How can I get on Windows full path to use it as input for FFMPEG in my LUA script ?
Thank you
Peter -
Frames per second Conceptual Details
25 février 2014, par Whoamii am a newbie and trying to understand the concepts behind ffmpeg/video.
FPS means frame per second , for example
25fps -> 25 frames captured in a second
From the display perpective
25 frames need to be displayed in a second.
correct me if i am wrong ?
Now i have written a simple video player in ffmpeg to display. i read
frames by av_read_frame(), if fps is 25, then doesav_read_frame()
returns 25 frames per second ? how can i relate it ?
-
exec function not working as expected
6 mars 2016, par AlbertI am running a shell function from php to convert a video file to flash once it is uploaded. The exec function is like this :
exec("ffmpeg -i " . WWW_ROOT . "files" . DS . "videos" . DS . $id . $ext . " -ar 22050 -r 32 -f flv -s 640x480 " . WWW_ROOT . "files" . DS . "videos" . DS . $id . ".flv");
// if I echo the string it returns:
// ffmpeg -i /home/vceroot/public_html/example.com/test/intraweb/app/webroot/files/videos/516c1203-0484-417a-b047-5488c40293e9.mpg -ar 22050 -r 32 -f flv -s 640x480 /home/vceroot/public_html/example.com/test/intraweb/app/webroot/files/videos/516c1203-0484-417a-b047-5488c40293e9.flv
// the locations are correctHowever, it does not convert the video.
After it uploaded the file, it just goes back to the index action. There is no converted file although the uploaded file is there.
My permissions on the folder is 755. And the folder owner is apache. I don’t know what else to do. Can anyone assist me ?
UPDATE
So I’ve changed my exec query a bit and echoed the output :
exec("ffmpeg -i " . WWW_ROOT . "files" . DS . "videos" . DS . $id . $ext . " -ar 22050 -r 32 -f flv -s 640x480 " . WWW_ROOT . "files" . DS . "videos" . DS . $id . ".flv 2>&1", $output, $return);
die(print_r($output));This returned the following error :
Array ( [0] => sh: ffmpeg: command not found ) 1
So I changed it a bit to this :
exec("/usr/local/bin/ffmpeg -i " . WWW_ROOT . "files" . DS . "videos" . DS . $id . $ext . " -ar 22050 -r 32 -f flv -s 640x480 " . WWW_ROOT . "files" . DS . "videos" . DS . $id . ".flv 2>&1", $output, $return);
die(print_r($output));And now it returns :
Array ( [0] => /usr/local/bin/ffmpeg: error while loading shared libraries: libavdevice.so.55: cannot open shared object file: No such file or directory ) 1
Where do I go from here ?