
Recherche avancée
Autres articles (43)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 ;
-
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 (8557)
-
Anomalie #2442 : Insertion de vidéo dans un article
5 décembre 2011, par cy_altern -oups ! fausse alerte : la config du SPIP testé n’avait pas les document associés autorisés avec les articles... (ceci dit c’est beta qu’elle ne le soit pas par défaut lorsque l’on crée le SPIP...)
-
Querying an audio/video file for information
4 juin 2013, par TRiGI want a PHP function which receives the path to a file and returns an array of information about it. The PHP file can call FFmpeg.
Returned data should be something like
Array(
[mime] => video/ogg
[container] => Ogg
[video] => Theora
[audio] => Vorbis
[duration] => 20.3 // in seconds
)
Array(
[mime] => audio/ogg
[container] => Ogg
[video] =>
[audio] => FLAC
[duration] => 3
)
Array(
[mime] => image/gif
[container] => GIF
[video] => Animated GIF
[audio] =>
[duration] => 2
)
Array(
[mime] => video/webm
[container] => WebM
[video] => VP8
[audio] => Vorbis
[duration] => 900.7
)
false // not a media fileI've never worked with FFmpeg or with PHP's
shell_exec()
function, but it seems that FFmpeg will give information about videos (or audio files) in a fairly hard-to-parse format. I assume that something like this is possible, though. -
How to convert video to `m4v` with `ffmpeg` ?
9 mai 2016, par Silver LightI’m trying to encode a video to
m4v
, so I can play it using jplayer on my website, but having troubles while specifieng correct parameter toffmpeg
. Here is the command I use :ffmpeg -i 1.avi -vcodec mpeg4 -f m4v -qmax 8 1.m4v 2>&1
The video I get with this command won’t play in jplayer and even in Totem Movie Player (on ubuntu). But if I try the demo video from jplayer website evrything works fine.
Can anyone give me a hint on what parameters I need to specify to
ffmpeg
to get a workingm4v
video, like the one with a bunny ?