
Recherche avancée
Autres articles (70)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
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 (5840)
-
Nomenclature #4626 (Nouveau) : Renommer le menu "Squelettes"
13 janvier 2021, par RastaPopoulos ♥Un petit pavé en début d’année, comme ça peut-être qu’en décembre on aura un début d’idée de quoi faire. :D
Constat : dans mon expérience, 100% des gens à qui on apprend à utiliser éditorialement SPIP, admins et rédacs donc, n’ont strictement aucune fichue idée de ce que veut dire "Suqelettes", ni quel est le rapport avec le contenu qu’il y a à l’intérieur. Passer du temps à devoir expliquer un terme qui n’aura jamais aucun sens dans leurs activités quotidiennes est une perte de temps pour tout le monde, et 3 mois plus tard illes l’auront oublié vu que ça n’a de rapport avec rien dans leur vie d’admins/rédacs.
Le fait de faire une référence à l’histoire technique de SPIP, ça ne parle qu’aux devs/intégrateurices : fort peu de gens par rapport à la masse des admins et rédacs qui vont l’utiliser au quotidien.
Quand on se retire, en tant que devs/ingégrateurices, alors en gros 99% des utilisateurices de l’interface d’admin sont des gens qui ne savent rien du tout de comment c’est techniquement derrière, et même pour beaucoup qui n’ont jamais choisi spécialement ce CMS, et même allons plus loin : assez souvent qui ne savent même pas quel est le CMS utilisé !
Et point important : ces gens ne devraient avoir aucune obligation de le savoir pour utiliser pourtant comme il faut l’interface.
Si on leur apprend, parce que nous on aime SPIP et qu’on est enthousiaste à raconter son histoire et comment il marche, c’est super. Mais ça ne doit PAS être une obligation pour comprendre l’interface du premier coup.
Mon idée (toute relative, c’est pour démarrer quoi) : revenir à des choses simples et couramment utilisées. Il n’y a aucun intérêt spécial à vouloir être original quand on parle quand même du menu principal d’admin.
Le fait de changer l’intitulé, va forcément changer légèrement le sens, donc quelques plugins qui s’insèrent dedans devront possiblement être déplacés ailleurs. Mais il me semble que ça restera très à la marge, et que la majorité ça correspond toujours. Ça ne doit pas bloquer pour changer. Donc :
- Mise en page
- Présentation
- …Dans WP il y a une entrée principale "Apparence", mais ce n’est justement pas notre cas : il faut un terme plus large, qui couvre à la fois les choix graphiques (changer ou configurer un thème, choisir la boite modale…) et les choix de structuration générale, de navigation (Compositions, Menus…).
Dans ma tête "Mise en page" est pour le moment le terme le plus vaste qui me vient à l’esprit, et qui regroupe plusieurs notions à la fois, pas juste l’apparence graphique. S’il y a mieux tant mieux, du moment que ça regroupe bien ces différentes notions. L’autre jour sur spip-dev Laurent (c-real) disait surcharger avec ce terme aussi pour ses utilisateurices.
On ne trouvera sûrement jamais le mot parfait à 100%, mais ça sera toujours 1000 fois mieux que "Squelettes" qui vraiment, après 10 ans à devoir l’expliquer en permanence, ne signifie rien pour personne à part nous.
-
>SOLVED My FFMPEG throws me unexpected errors while writing a Thumbnail to the songs
22 février 2019, par Harmonised7My issue was that my songs already had a thumbnail. Solution to overwrite thumbnail below !
I am using Node to execute my ffmpeg. I use this wrapper :
https://www.npmjs.com/package/ffmpeg
Everything was fine when I was using smaller versions of the thumbnails provided by Youtube, but when I attempted the HD ones, it suddenly started giving me an error. I’ve tried -pix_fmt yuv422p and Many other pixel formats, but nothing helped. Though ONE out of 100+ songs did tag successfully.
here is my code :
downloadTags(tags.thumbnail, `./thumbnails/${tags.title}.jpg`).then(thumbnail =>
{
video.addCommand('-i', `"${thumbnail}"`);
video.addCommand('-map', '0');
video.addCommand('-map', '1');
video.addCommand('-c', 'copy');
video.addCommand('-c:v:1', 'png');
video.addCommand('-disposition:v:0', 'attached_pic');
if(tags.title)
video.addCommand('-metadata', `title="${tags.title}"`);
if(tags.artist)
video.addCommand('-metadata', `artist="${tags.artist}"`);
if(tags.id)
video.addCommand('-metadata', `comment="https://www.youtube.com/watch?v=${tags.id}"`);
video.addCommand('-pix_fmt', `yuv422p`);
var output = 'downloaded'
if (outFolder)
{
output = outFolder;
if(!fs.existsSync(output)) fs.mkdirSync(output);
}
video.save(`"./${output}/${tags.title}.${tags.format}"`, function (error, file)
{
if (error)
{
resolve(error);
return
}
try
{
fs.unlinkSync(song);
}
catch(err)
{
console.log(err.code);
}
resolve();
});
});
}and here is my error :
E
RROR: Error: Command failed: ffmpeg -i "songs/&I feat. Giggly Maria - Dive (Exiark's Endless Sky Remix) [Chillstep].m4a" -y -i "./thumbnails/&I feat. Giggly Maria - Dive (Exiark's Endless Sky Remix) [Chillstep].jpg" -map 0 -map 1 -c copy -c:v:1 png -disposition:v:0 attached_pic -metadata title="&I feat. Giggly Maria - Dive (Exiark's Endless Sky Remix) [Chillstep]" -metadata artist="AReallyLongAndAwesomeNameThatIsBetterThanYoursInEveryPossibleWay" -metadata comment="https://www.youtube.com/watch?v=HprdvIIpR-I" "./written/&I feat. Giggly Maria - Dive (Exiark's Endless Sky Remix) [Chillstep].m4a"
ffmpeg version N-93214-g7e4d3dbe18 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20190212
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 47.102 / 58. 47.102
libavformat 58. 26.101 / 58. 26.101
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002213366bb00] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'songs/&I feat. Giggly Maria - Dive (Exiark's Endless Sky Remix) [Chillstep].m4a':
Metadata:
major_brand : M4A
minor_version : 512
compatible_brands: isomiso2
title : &I feat. Giggly Maria - Dive (Exiark's Endless Sky Remix) [Chillstep]
artist : Cider Party
encoder : Lavf58.18.104
comment : https://www.youtube.com/watch?v=HprdvIIpR-I
Duration: 00:05:24.80, start: 0.000000, bitrate: 127 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 120x90 [SAR 1:1 DAR 4:3], 90k tbr, 90k tbn, 90k tbc
Input #1, image2, from './thumbnails/&I feat. Giggly Maria - Dive (Exiark's Endless Sky Remix) [Chillstep].jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 1575 kb/s
Stream #1:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 480x360 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #1:0 -> #0:2 (mjpeg (native) -> png (native))
Press [q] to stop, [?] for help
[swscaler @ 00000221353d4fc0] deprecated pixel format used, make sure you did set range correctly
[ipod @ 00000221336703c0] Could not find tag for codec png in stream #2, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:2 --
Conversion failed!Keep in mind that All of my thumbnails retrieved are .jpg
Any suggestions ? Getting really desperate at this point...
-
Merging .flv chunks from stream site
4 décembre 2016, par IztooiI’m trying to download a video from an alternative version of the Ustream site. This site is apparently used for a DRM protection, in fact you can’t watch this video without having access to it through a login from this site.
The video system should be the same used by ustream (same links), that is calling different flv chunks every x seconds and merging them into the stream (similar to an rtmp service, but it doesn’t use this protocol).I managed to download every .flv chunks composing this video, but i had issues on merging them into a single file. First of all these flvs files have some audio/video lags/problems, but since there is no other way to download this video i’m not complaining about lags.
The real issue is that every flv file has an additive increase on the duration, despite having a normal size. Video duration is about 6 seconds, so the first chunk is 6 seconds long, the second chunk is 12 seconds long, although only the first 6 are visible (the remaining 6 are "corrupted"). If i try to merge (with ffmpeg or any video-joining software) all these files (about 600-700, for a total duration of 1 hour and 15 minutes) only the first two sections are visible, then I cannot see anything. (Being more clear, if i try to merge the first 2 chunks, file is 18 seconds long and i can see the first 12 ; if i try to merge the first 3 chunks, file is 36 seconds long and i can still only see the first 12 seconds.)
Anyone has any idea ?