
Recherche avancée
Autres articles (21)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (4565)
-
Anomalie #4370 (Nouveau) : Articles refusés invisibles pour les rédacteurs alors que les brèves re...
13 août 2019, par Vincent ROBERTSPIP 3.2.4 [24285]
Faux bug¶
Je refuse mon propre article, il disparaît de sa rubrique.
La documentation officielle ( https://www.spip.net/aide/?aide=artstatut ) annonce :
" Un article « refusé » n’est plus visible que par son auteur et par les administrateurs. "
Je suis son auteur et un administrateur du site, donc le comportement n’est pas celui annoncé par la documentation. Quoi que ...
A noter :
- Depuis la page ?exec=plan&statuts=articles-refuse on trouve bien cet article.
- Depuis la page auteur on retrouve également l’article
Après réflexion, je me dis que c’est voulu, et que c’est pour nettoyer les rubriques des articles refusés.Vrai bug¶
Les articles refusés sont invisibles pour les rédacteurs alors que les brèves et sites refusées sont visibles.
Un simple rédacteur ne peut pas consulter les articles refusés depuis la page ?exec=plan
Le menu déroulant lui propose les brèves refusés, les sites refusés, mais pas les articles refusés. ;-)
Image en PJJe suis arrivé à ces constats car je cherche un moyen de permettre à de simple rédacteurs de consulter des articles refusés.
( Au pire je créerais un auteur "article refusé" et je les laisserais en attente de validation ^^ )Vrai bug bis¶
Depuis un compte administrateur, dans le menu déroulant, en choisissant "Sites référencés refusés" il m’affiche les articles refusés.
Même comportement en choisissant brève refusée.
Image en PJ
Même comportement sur spipcontrib. -
Applying same filter_complex many times before output [duplicate]
19 août 2019, par FabiánThis question already has an answer here :
It’s not a duplicate. This is about using
filter_complex
, not -vf.In my video there’s an object that has shades of yellow (more orange-like) and a solid yellow as background.
I need to output all frames into a png sequence, using a color key filter to replace the yellow from the background :
ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.125:0[ckout]" -map "[ckout]" colorkey-%d.png
This removes the specific color, but leaves some pints behind, and some items are yellow-themed, so blending value is a no-no for this scenario.
I need to get rid of 4 specific yellow-colors from the frames :
0xfff31b
,0xfae56b
,0xfaec46
and0xeee2a0
, and I plan to run the same filter for specific colors before getting the final result.So first I tried this :
ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout1];[0:v]colorkey=0xfae56b:0.4:0[ckout2];[0:v]colorkey=0xfaec46:0.4:0[ckout3];[0:v]colorkey=0xeee2a0:0.4:0[ckout4]" -map "[ckout4]" colorkeyrefined-%d.png
Then this :
ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfae56b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfaec46:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xeee2a0:0.4:0[ckout]" -map "[ckout]" colorkeyrefined-%d.png
But both display the same error :
Filter colorkey has an unconnected output.
Is there a way to apply the colorkey feature 4 times (with the mentioned values) in one go ?
-
Bat file that extracts subtitle file then hard encodes the subtitle file into the original mkv file
1er septembre 2019, par NolanWinsmanMy tv can play
mkv
files off of a flash drive but it cannot detect the subtitles files. I am trying to make abat
file that essentially takes the.srt
file out of themkv
file then hard encodes it into the mkv file using ffmpeg. I am getting close but the naming is not working properly. For instance when it creates the subtitle file it names itinfile.mkv.srt
. When the file is encoded it is namedinfile.mkvEncoded.mkv
. I am trying to get rid of the extra .mkvI am not great with variables in bat files so I am not exactly sure what to do. I added the "Encoded" part to the name of the file so that it doesn’t overwrite the original infile. I plan on just using bulk rename utility to get rid of that part unless there is a better way.
My code is :
DO (
MKDIR Encoded_Files
)
FOR /F "tokens=*" %%G IN ('dir /b *.mkv') DO (
ffmpeg -i "%%G" -vn -an -codec:s:0.1 srt "%%G.srt"
ffmpeg -i "%%G" -vf "subtitles=%%G.srt" "%%GConverted"
move *"%%~nG" "Encoded_Files"
)The expected result would be
infileEncoded.mkv*