
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (66)
-
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 (11054)
-
Why mp4 can not shared on Facebook or Instagram on Android ?
8 janvier 2023, par JánosThis is the file : https://t44-post-cover.s3.eu-central-1.amazonaws.com/2e3s.mp4


When I download and try share, it fails. Why ? This is the parameters was rendered. Downloading and sharing works from iPhone to Facebook on Messenger or Instagram, but not from Android phone to Facebook on Messenger or Instagram.


What parameters
ffpmpeg
need to be able to sharemp4
from Android to Facebook / Instagram ?

await new Promise<void>((resolve, reject) => {
 ffmpeg()
 .setFfmpegPath(pathToFfmpeg)
 .input(`/tmp/input_${imgId}.gif`)
 .inputFormat('gif')
 .inputFPS(30)
 .input('anullsrc')
 .inputFormat('lavfi')
 .audioCodec('aac')
 .audioChannels(2)
 .audioFilters(['apad'])
 .videoCodec('libx264')
 .videoBitrate(1000)
 .videoFilters([
 'tpad=stop_mode=clone:stop_duration=2',
 'scale=trunc(iw/2)*2:trunc(ih/2)*2:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse',
 ])
 .fps(30)
 .duration(5)
 .format('mp4')
 .outputOptions([
 '-pix_fmt yuvj420p',
 '-profile:v baseline',
 '-level 3.0',
 '-crf 17',
 '-movflags +faststart',
 '-movflags frag_keyframe+empty_moov',
 ])
 .output(`/tmp/output_${imgId}.mp4`)
 .on('end', () => {
 console.log('MP4 video generated')
 resolve()
 })
 .on('error', (e) => {
 console.log(e)
 reject()
 })
 .run()
 })
</void>


-
avformat/mux : use only valid timestamps when calculating packet distance
28 décembre 2022, par James Almeravformat/mux : use only valid timestamps when calculating packet distance
Fixes : signed integer overflow : 0 - -9223372036854775808 cannot be represented in type 'long int'
Fixes : fate-cover-art-aiff-id3v2-remux, fate-cover-art-mp3-id3v2-remux and fate-mov-cover-image
under ubsan.Signed-off-by : James Almer <jamrial@gmail.com>
-
Unable to inject album art into m4a when converting from mp3 FFMPEG
25 décembre 2022, par RyanI've been trying so many variations of conversion for mp3 to M4A with album art injection via URL. The command below is written in
Go
, but runs directly in shell. I assume I need to parse the item in the stream differently or more explicitly specify jpg codec somehow, but at a loss.

cmd = exec.Command(
 "ffmpeg",
 "-i",
 escapedInputPath,
 "-i",
 bookArt,
 "-c:v",
 "copy",
 "-c:a",
 "aac",
 "-b:a",
 "256k",
 "-map",
 "0:0",
 "-map",
 "1:0",
 "-metadata:s:v",
 "title=Album cover",
 "-metadata:s:v",
 "comment=Cover (front)",
 escapedOutputPath,
 )



Error


Metadata:
 encoder : Lavf59.27.100
 Duration: 05:54:05.07, start: 0.025057, bitrate: 64 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 64 kb/s
Input #1, image2, from 'https://myimage.jpg':
 Duration: 00:00:00.04, start: 0.000000, bitrate: 17234 kb/s
 Stream #1:0: Video: mjpeg (Progressive), yuvj444p(pc, bt470bg/unknown/unknown), 267x400 [SAR 300:300 DAR 267:400], 25 fps, 25 tbr, 25 tbn
Stream mapping:
 Stream #0:0 -> #0:0 (mp3 (mp3float) -> aac (native))
 Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[ipod @ 0x119b04d30] Could not find tag for codec mjpeg in stream #1, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 -- 
[aac @ 0x119b05ae0] Qavg: nan
Conversion failed!