
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (48)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (10624)
-
Anomalie #3420 (Nouveau) : ajaxCallback.js + les styles de la balise p
9 avril 2015, par chan kalanhttp://contrib.spip.net/prive/javascript/ajaxCallback.js
génère une balise p juste avant la balise fermante /body
cette balise est visible et crée une marge blanche en bas de page à cause de la règle css suivante :
h1, h2, h3, h4, h5, h6, ul, ol, dl, p, blockquote
padding : 10px ;Suppositions :
- Il me semble que ce ne serait pas le cas si les styles top et left de cette balise p étaient déterminés :
left :-5000px ;top :-5000px ;
au lieu de ceci actuellement
left :-5000 ;top :-5000 ;- Ou au moins prévenir l’héritage de certaines règles comme le padding en définissant padding:0 ;
-
ffmpeg in codeighter not working
26 mai 2015, par MichaelMHerbertffmpeg
is not working. I putffmpeg
in site root folder. here is my function for converting videos. I also almost try each and every method and try many things on google, but I am unable to figure what is problem. I also try to installffmpeg
extension on my 64bit version system but I get another error as I start upxammp
"Unable to load dynamic library ’D :\xamp\php\ext\php_ffmpeg.dll’ - %1 is not a valid Win32 application."
I am working on localhost xammp and php version is 5.5.19
public function convert_video($data) {
$vdonewPath = $data[0];
$vdodata = $data[1];
`enter code here` $vdonewName = $vdodata['orig_name'];
$vdonewPath = $vdonewPath . '/' . $vdonewName;
print_r(get_loaded_extensions());
$directory_path = $vdodata['file_path']; //Video directory location
$directory_path_full = $vdonewPath; //Video directory location with file name
exec("ffmpeg -i " . $vdonewPath . " " . $directory_path . $vdodata['raw_name'] . '.MP4');
exec("cmd.exe");
exit;
exec("D:\xampp\ffmpeg -i " . $directory_path_full . " -vf scale=50:-1 " . $directory_path . $file_name . '.jpg');
exec("ffmpeg -i " . $directory_path_full . " " . $directory_path . $file_name . '.ogg');
exec("ffmpeg -i " . $directory_path_full . " " . $directory_path . $file_name . '.WEBM');
exec("ffmpeg -i " . $directory_path_full . " " . $directory_path . $file_name . '.MP4');
// if ($data['file_ext'] != '.MP4' && $data['file_ext'] != '.mp4') {
// unlink($directory_path_full); //Removing orignal video
// }
}
public function do_upload($fileName, $dirName) {
if (is_array($_FILES) && isset($_FILES['image']['name'])) {
$dir = './uploads/' . $dirName . '/' . "images";
if (file_exists($dir) === false) {
mkdir($dir, 0777, true);
}
$config['upload_path'] = $dir;
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size'] = '300';
$config['max_width'] = '1024';
$config['max_height'] = '768';
$config['file_name'] = time();
$this->load->library('upload', $config);
if (!$this->upload->do_upload($fileName)) {
$error = array('error' => $this->upload->display_errors());
print_r('Error in Uploading Images ' . $error);
} else {
$data = array('upload_data' => $this->upload->data());
$imgData[] = array($data, $dir);
$this->resizeImage($imgData);
return $imgData;
}
} elseif (is_array($_FILES) && isset($_FILES['video']['name'])) {
$dir = './uploads/' . $dirName . '/' . "videos";
if (file_exists($dir) === false) {
mkdir($dir, 0777, true);
}
$config['upload_path'] = $dir;
$config['allowed_types'] = 'avi|flv|wmv|mpeg|mp3|mp4';
$config['max_size'] = '5000';
$config['max_width'] = '1024';
$config['max_height'] = '768';
$config['file_name'] = time();
$this->load->library('upload', $config);
if (!$this->upload->do_upload($fileName)) {
$error = array('error' => $this->upload->display_errors());
print_r($error);
} else {
$data = $this->upload->data();
$dat = array($dir, $data);
$convertVdo = $this->convert_video($dat);
var_dump($convertVdo);
return $dat;
}
}
} -
gstreamer rtsp streaming chain with LGPL elements
25 avril 2016, par user3612009The following chain seem to work well to stream video :
gst-launch filesrc location=/home/manusha/Downloads/movies/<movie file="file">.mkv ! decodebin ! ffenc_mpeg4 bitrate=5000000 ! rtpmp4vpay mtu=1400 pt=96 ssrc=0 timestamp-offset=0 seqnum-offset=0 send-config=true ! udpsink host=127.0.0.1 port=5000
</movie>This chain is able to receive the stream and play it :
gst-launch udpsrc uri=udp://127.0.0.1:5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335322e3132332e30, payload=(int)96, ssrc=(uint)298758266, clock-base=(uint)3097828288, seqnum-base=(uint)63478" ! rtpmp4vdepay ! ffdec_mpeg4 ! autovideosink
My problem is, both ffdec_mpeg4 and ffenc_mpeg4 are GPL licensed and will not suit my purpose because I need to redistribute them. I am lookiing for advice on alternative stream chains that I can form only with LGPL licensed elements. The streaming to be used only inside a LAN, but it need to support HD quality streaming.