Recherche avancée

Médias (91)

Autres articles (104)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (9074)

  • avidec : check for valid bit_rate range

    4 mai 2015, par Andreas Cadhalpun
    avidec : check for valid bit_rate range
    

    If bit_rate is negative, it can trigger an av_assert2 in av_rescale_rnd.

    Since av_rescale returns int64_t, but st->codec_bit_rate is int, it can
    also overflow into a negative value.

    Signed-off-by : Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/avidec.c
  • How to extract tiles from ffmpeg thumbnails by cutting them to the length of the video

    22 mars 2021, par JeeNi

    I have searched in many ways to solve this problem. But I can't find an answer, so I leave a question.

    &#xA;

    ffmpeg -i thumb_test.mp4 -filter_complex "select=&#x27;isnan(prev_selected_t)&#x2B;gte(t-prev_selected_t\,5)&#x27;,scale=120:-1,tile=layout=60x60" -vframes 1 -q:v 2 thumb.jpg&#xA;

    &#xA;

    The result of the command I used is as follows.

    &#xA;

    enter image description here

    &#xA;

    The remaining space remains black, making the file size larger.&#xA;To solve this method, I would like to specify the tile size as much as the video length when extracting thumbnails.&#xA;Please let me know if there is a solution.

    &#xA;

    Thank you.

    &#xA;

  • Segmenting .flac files with ffmpeg truncates audio but not file length

    5 avril 2022, par Yan White

    I am trying to get Twitter spaces audio (.ts) files into a format I can easily edit, on OSX.

    &#xA;

    So far I was able to convert the files in bulk to .flac with this :

    &#xA;

    for i in *.ts;&#xA;do name=`echo "$i" | cut -d&#x27;.&#x27; -f1`&#xA;echo "$name"&#xA;ffmpeg -i "$i" -sample_fmt s16 -ar 41000 "${name}.flac"&#xA;done&#xA;

    &#xA;

    That worked, and reduced the file sizes somewhat, but..&#xA;Because most of the files are around 7 hours long, my editor of choice cannot process that much audio in one file.

    &#xA;

    So I looked around and was able to find this command to segment the files into 3hr long sections.

    &#xA;

    ffmpeg -i space-1OdKrBealBqKX_0.flac -map 0 -f segment -segment_time 10800 -c copy space-1OdKrBealBqKX_0__%03d.flac&#xA;

    &#xA;

    This works, but each file contains as much empty / silent space at the end as the orginal file. That's going to be a problem for sharing with a team that will help edit these files, as each file has the original file's length and file size. There are a lot of files.&#xA;The audio segments and naming did work though.

    &#xA;

    How to truncate the actual length of the file to the audio segment ?

    &#xA;

    Caveat : I am no expert on any of these matters, I just managed to google and get this far, so if someone knows and wants to provide working code that would be very much appreciated !

    &#xA;