Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (107)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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, par

    Pré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 ) (...)

Sur d’autres sites (13592)

  • avformat/async : fix assertion condition when draining buffer

    27 janvier 2019, par Marton Balint
    avformat/async : fix assertion condition when draining buffer
    

    Fixes some random assertion failures with

    ffprobe -show_packets async:samples/ffmpeg-bugs/trac/ticket6132/Samsung_HDR_-_Chasing_the_Light.ts > /dev/null

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/async.c
  • How to define the condition of a corrupted file for audio file in Python

    14 août 2020, par kutlus

    I am using Python 3.6, Jupyter notebook by connecting to a remote machine. I have a large dataset of mp3 files. I use FFmpeg (version is 2.8.14-0ubuntu0.16.04.1.) to convert mp3 files to wav format.

    &#xA;

    My code below goes over the file path list and if the file is mp3 it converts it to wav format and deletes the mp3 file. The code works but for a few files it stops and gives error. I opened those files and saw that they have no duration and each of them has size 600 looking at the terminal folder size column but it might be a coincidence. The error is file not found for &#x27;temp_name.wav&#x27;.

    &#xA;

    I can see that these corrupted files are not able to be converted to wav. When I delete them manually and run the code again it works. But I have large datasets and cannot know which files are corrupted beforehand. Is there a way to make the code (before converting the file to wav) if the file is corrupted it deletes it and continues to next file. I just don`t know how to define the condition of a corrupted file or if the file cannot be converted to wav.

    &#xA;

    # npaths is the list of full file paths &#xA;for fpath in npaths:&#xA;    if (fpath.endswith(".mp3")):&#xA;        cdir=os.path.dirname(fpath)      # extract the directory of file&#xA;        os.chdir(cdir)        # change the directory to cdir&#xA;        filename=os.path.basename(fpath)   # extract the filename from the path&#xA;        os.system("ffmpeg -i {0} temp_name.wav".format(filename))&#xA;        ofnamepath=os.path.splitext(fpath)[0]    # filename without extension&#xA;        temp_name=os.path.join(cdir, "temp_name.wav")&#xA;        new_name = os.path.join(ofnamepath&#x2B;&#x27;.wav&#x27;)&#xA;        os.rename(temp_name,new_name) # use original filename with wav ext&#xA;        old_file = os.path.join(ofnamepath&#x2B;&#x27;.mp3&#x27;)    # find and delete the mp3&#xA;        os.remove(old_file)&#xA;

    &#xA;

  • lavfi/af_asetnsamples : Remove the redundant condition check

    15 juin 2019, par Jun Zhao
    lavfi/af_asetnsamples : Remove the redundant condition check
    

    Redundant condition : ' !A || B' is equivalent to ' !A || (A && B)' but
    more clearly.

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Jun Zhao <barryjzhao@tencent.com>

    • [DH] libavfilter/af_asetnsamples.c