Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (77)

  • 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 ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (7635)

  • What does matplotlib need to know about ffmpeg's installation

    8 décembre 2016, par fffred

    My installation of ffmpeg and matplotlib seem to be problematic :

    In [9]: matplotlib.animation.writers["ffmpeg"]
    ---------------------------------------------------------------------------
    RuntimeError                              Traceback (most recent call last)
    ........
        58     def __getitem__(self, name):
        59         if not self.avail:
    ---> 60             raise RuntimeError("No MovieWriters available!")
        61         return self.avail[name]
        62

    RuntimeError: No MovieWriters available!

    It looks like ffmpeg (or any other writer) has not been found. However, I have built it from source and installed it in ~/.local. This is included in the $PATH, and I verified that the command ffmpeg is working from the terminal.

    Is there something I should watch out when installing ffmpeg ? Is there something else to do ?

    Config :

    • Python 2.7.3
    • matplotlib 1.2.0
    • ffmpeg N-82786-gc188f35
    • Red Hat 6.7

    Note : I would like to avoid re-installing everything from scratch. I do not have root access and the only thing I installed manually is ffmpeg.

  • Bash : bash script to download trimmed mp3 from youtube url

    23 février 2017, par Bhishan Poudel

    I would like to download the initially x seconds trimmed mp3 from a video url of youtube.
    I found that youtube-dl can download the video from youtube to local machine. But, when I looked at the man pages of youtube-dl, I could not find any trim options.

    So I tried to use the ffmpeg to trim downloaded mp3 file.
    Instead of doing this is two steps, I like to write one bash script which does the same thing.
    My attempt is given below.

    However, I was stuck at one place :
    "HOW TO GET THE VARIABLE NAME OF OUTPUT MP3 FILE FROM YOUTUBE-DL ?"
    The script is given below :

    # trim initial x seconds of mp3 file
    # e.g. mytrim https://www.youtube.com/watch?v=dD5RgCf1hrI 30
    function mytrim() {
       youtube-dl --extract-audio --embed-thumbnail --audio-format mp3 -o "%(title)s.%(ext)s" $1
       ffmpeg -ss $2 -i $OUTPUT_MP3 -acodec copy -y temp.mp3
       mv temp.mp3 $OUTPUT_MP3
       }

    How to get the variable value $OUTPUT_MP3 ?
    echo "%(title)s.%(ext)s" gives the verbatim output, does not give the output filename.

    How could we make the script work ?

    The help will be appreciated.

  • Getting ffprobe or avprobe not found while using youtube_dl module

    26 décembre 2016, par Avinash
    import youtube_dl


    options = {
       'format':'bestaudio/best',
       'extractaudio':True,
       'audioformat': 'mp3',
       'outtmpl':'%(id)s.%(ext)s',
       'noplaylist':True,
       'nocheckcertificate':True,
       'postprocessors': [{
           'key': 'FFmpegExtractAudio',
           'preferredcodec': 'mp3',
           'preferredquality': '192',
       }],

    }

    with youtube_dl.YoutubeDL(options) as ydl:
       ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])

    I am Getting

    "youtube_dl.utils.DownloadError : ERROR : ffprobe or avprobe not found.
    Please install one."

    I downloaded ffmpeg and tried giving its bin folder location in path variable . I also tried copying that bin folder to my youtube_dl package folder. None of them worked.

    Thanks in advance.