
Recherche avancée
Autres articles (32)
-
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5443)
-
Anomalie #3456 (Nouveau) : bug sur |liens_absolus
26 mai 2015, par Fil UpLa fonction des liens absolus recherche bêtement src=… sur tout le contenu de la balise img, ce qui fait que si on a un data-original-src="xxxx", il ne trouve pas le src= et rate sa cible.
Proposition de patch :
```
// ne s’applique qu’aux textes contenant des liens
// http://doc.spip.org/@liens_absolus
function liens_absolus($texte, $base=’’)
- if (preg_match_all(’,(<(a|link|image):space :+[^<>]*href=["\’] ?)([^"\’ ><[:space :]]+)([^<>]*>),imsS’,
+ if (preg_match_all(’,(<(a|link|image|img|script)\s[^<>]*(href|src)=[^<>]*>),imsS’,
$texte, $liens, PREG_SET_ORDER))
foreach ($liens as $lien)
- $abs = url_absolue($lien3, $base) ;
- if ($abs <> $lien3 and !preg_match(’/^#/’,$lien3))
- $texte = str_replace($lien0, $lien1.$abs.$lien4, $texte) ;
+ foreach(array(’href’, ’src’) as $attr)
+ $href = extraire_attribut($lien0, $attr) ;
+ if (strlen($href)>0)
+ $abs = url_absolue($href, $base) ;
+ if ($href != $abs and !preg_match(’/^#/’,$href))
+ $texte = inserer_attribut($texte, $attr, $abs) ;
+
+
+
- if (preg_match_all(’,(<(img|script):space :+[^<>]*src=["\’] ?)([^"\’ ><[:space :]]+)([^<>]*>),imsS’,
- $texte, $liens, PREG_SET_ORDER))
- foreach ($liens as $lien)
- $abs = url_absolue($lien3, $base) ;
- if ($abs <> $lien3)
- $texte = str_replace($lien0, $lien1.$abs.$lien4, $texte) ;
-
-
+
return $texte ;
``` -
Is there a way to non-linear speed-up video with ffmpeg ?
3 mars 2020, par leoossaI’ve seen thousands of websites suggesting using setpts to speedup video
ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" output.mp4
The thing is - I don’t want to speed-up video in a linear way. I want it to accelerate. So I want ’acceleration’ (Wiki) to be constant and ’speed’ to be growing.
From what I’ve seen on ffmpeg docs setpts can be an equation, I tried to play with PREV_OUTPTS but with no success.
Is it even possible to achieve that with ffmpeg ? -
Split video on android via ffmpeg
27 septembre 2016, par LiorI have tried to use ffmpeg to split video,
by addingcompile 'org.bytedeco:javacv:1.+'
and
compile 'org.bytedeco.javacpp-presets:ffmpeg:3.1.2-1.2:android-arm'
to my gradle file i got all of *.os files which is JNI wrap of all ffmpeg library to my android project .According ffmpeg wiki there is option to split the video but how i deal with command like
ffmpeg -ss 00:22:30 -i Mononoke.Hime.mkv -ss 00:00:30 -frames:v 1 out3.jpg
in android.I hope for some help if someone delt with splitting video file on android before, Thanks.