
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (66)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (13536)
-
FFMPEG : merge multiple audio files to one but audio parts should be on specific location
20 octobre 2017, par NihadI am trying to build one long audio file from multiple small audio files but these parts should start at a specific time.
This is a command that I am using : (base audio is 135s long)
ffmpeg -y -i base.mp3
i first.wav
i second.wav
filter_complex
"[1] adelay=90068|90068[a1] ;
[2] adelay=130168|130168[a2] ;
[0] [a1] [a2] amix=3" output.mp3The command is working as it should, output file is being created but the delay is not as specified. The first small file has delay of 87000 (3s earlier) and the second audio has delay of 126000 (4s earlier).
This is the ffmpeg output :
ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration : —enable-gpl —enable-version3 —disable-w32threads —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libdcadec —enable-libfreetype —enable-libgme —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libschroedinger —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxavs —enable-libxvid —enable-libzimg —enable-lzma —enable-decklink —enable-zlib
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[mp3 @ 059b4400] Skipping 0 bytes of junk at 227.
Input #0, mp3, from ’base.mp3’ :
Metadata :
encoder : Lavf57.25.100
Duration : 00:02:21.04, start : 0.025057, bitrate : 31 kb/s
Stream #0:0 : Audio : mp3, 44100 Hz, mono, s16p, 32 kb/s
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, wav, from ’first.wav’ :
Duration : 00:00:14.88, bitrate : 352 kb/s
Stream #1:0 : Audio : pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, s16, 352 kb/s
Guessed Channel Layout for Input Stream #2.0 : mono
Input #2, wav, from ’second.wav’ :
Duration : 00:00:02.57, bitrate : 352 kb/s
Stream #2:0 : Audio : pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, s16, 352 kb/s
Output #0, mp3, to ’output.mp3’ :
Metadata :
TSSE : Lavf57.25.100
Stream #0:0 : Audio : mp3 (libmp3lame), 22050 Hz, mono, fltp (default)
Metadata :
encoder : Lavc57.24.102 libmp3lame
Stream mapping :
Stream #0:0 (mp3) -> amix:input0
Stream #1:0 (pcm_s16le) -> adelay
Stream #2:0 (pcm_s16le) -> adelay
amix -> Stream #0:0 (libmp3lame)
Press [q] to stop, [?] for help
size= 384kB time=00:01:38.11 bitrate= 32.0kbits/s speed= 196x
[libmp3lame @ 059eef60] Trying to remove 576 samples, but the queue is empty
size= 551kB time=00:02:21.03 bitrate= 32.0kbits/s speed= 191x
video:0kB audio:551kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.040223%Is there a way to fix this problem, maybe with some additional parameter or something ?
Thanks :)
-
avcodec/jpeglsenc : Move check out of loop
3 septembre 2020, par Andreas Rheinhardtavcodec/jpeglsenc : Move check out of loop
ls_encode_line() encodes a line of input, going from left to right. In
order to calculate a predicted value it uses the left and upper-left
value of the output picture (that is, it uses how a decoder would see
the already encoded part of the picture), unless this is the very first
pixel of this line in which case one uses the first pixel of the last
(upper) line and the line before the last line. Therefore the loop
contained a check for whether this is the beginning of a new line. This
commit moves said check out of the loop by initializing these values
before the loop and by updating these values at the end of the loop
body ; already read/calculated values are reused for this (the prediction
also needs the value of the upper pixel and this can be reused for the
upper left value of the next iteration of the loop).Reviewed-by : Paul B Mahol <onemda@gmail.com>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com> -
adjust volume just for 1 loop with ffmpeg
6 juillet 2020, par aldeWhat i've achieved so far is looping bgAudio and delay the mainAudio for 5 sec. But, there is issue when the bgAudio start to loop then its volume start again from 7.0, not from 0.9.


ffmpeg version = 3.0.1


"-i", mainAudio, "-filter_complex",
"amovie=bgAudio:loop=999,volume=enable='between(t,0,5):volume=7.0',volume=enable=" +
"'between(t,5.01,0):volume=0.9'[s] ;[0:0]adelay=5000|5000," +
"volume=6.0[a] ;[a][s]amix=inputs=2:duration=first", "-ss", "0",
"-c:a", "aac", audioPath