Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (36)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire 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 (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The 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 (...)

Sur d’autres sites (4925)

  • Batch process audio files and image files to create movie files by matching multiple wildcard values

    29 septembre 2022, par psychaudio

    I'm attempting to batch-process audio and image files to create video files using a Shell script with FFmpeg.

    


      

    1. The ffmpeg script works in Terminal :
    2. 


    


    ffmpeg -loop 1 -i image.png -i audio.wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest output.mp4


    


      

    1. A nested for loop with wildcards works as a batch script :
    2. 


    


    #!/bin/sh
for img in *.png; do
    for wav in *.wav; do
        ffmpeg -loop 1 -i $img -i $wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest ../mb/$img.mp4
    done
done


    


    The only problem here is that it creates more combinations than I need. I'd like to be able to match wildcard values and only mix those together. I'd like to be able to prepare the filenames to match in advance to make this easier : For example, only match 1.png with 1.wav to make 1.mp4, 2.png with 2.wav to make 2.mp4 and so on. I'm able to modify the script to match the wildcards in a Regex, but I'm not sure if there is a way to then execute the logic above. Here is what I am attempting :

    


    #!/bin/sh
img=*.png
wav=*.wav

if [[ ${img%.*} == ${wav%.*} ]];
    then
        ffmpeg -loop 1 -i $img -i $wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest $img.mp4;
    else
        echo "Failure"
    fi


    


    This begins by overwriting the image files, so it does not appear to work as planned. Is there a simpler way to do this ? Perhaps looping through images 1..5 in one folder and audio files 1..5 in another ?

    


    Thanks for any insights, and happy to provide more context (very new to this, so still learning).

    


  • avcodec/vvc/intra : refact, predict jcbcr to tb->coeffs

    14 mai, par Wu Jianhua
    avcodec/vvc/intra : refact, predict jcbcr to tb->coeffs
    

    prepare for adaptive color transform

    Signed-off-by : Wu Jianhua <toqsxw@outlook.com>

    • [DH] libavcodec/vvc/dsp.h
    • [DH] libavcodec/vvc/dsp_template.c
    • [DH] libavcodec/vvc/intra.c
  • Rewind problem after convert *.mp3 to *.aac

    29 août 2020, par Vitaly Vesyolko

    I need to prepare audio files in MP3 format for sending via WhatsApp to Android and iOS devices with the ability to pause and mainly rewind.

    &#xA;

    To do this, I use the ffmpeg utility on my notebook with Linux Ubuntu installed. Conversion example is described in detail here FFmpeg command to convert MP3 to AAC.

    &#xA;

    As a result, I get AAC audio files that cannot be rewound in the WhatsApp player. I tried to set different options that are responsible for the output sound quality, size, and so on. But the ability to rewind in the WhatsApp player disappears.

    &#xA;

    Rewind - is to slide by finger the circular slider in the WhatsApp audio player widget.

    &#xA;

    I also used the following online services :

    &#xA;

      &#xA;
    1. ONLINE-CONVERT
    2. &#xA;

    3. Convertio
    4. &#xA;

    5. ZAMZAR.
    6. &#xA;

    &#xA;

    One of the first two in some cases saves files with the ability to rewind, but in most cases - without it. And it very likely depends on the original file size. This is a hypothesis - if the size is small, then it is possible to rewind the audio file in the WhatsApp player. In any case, this method is not universal.

    &#xA;

    Please provide a universal solution to the task at hand - a CLI utility or a tool that would convert MP3 to AAC with the ability to rewind in the WhatsApp player. And please indicate which characteristics are responsible for the absence / presence of such functionality.

    &#xA;