Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (62)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (8830)

  • Stream real-time (video+audio) via WebRTC (TCP) with chromakey && webm, best practices - how ? [on hold]

    18 octobre 2018, par Kirill K

    Please tell us about the best practics in your opinion for the case described below.
    Are there any hardware solutions for this case ?

    I want to get the real-time stream from the ip camera, overlay a chromakey, transcode into the necessary codecs (VP8 + opus), and distribute stream via webrtc over tcp to many users with some kind of authentication, for example, via a dynamic token.
    The delay from real time should be minimal.
    The solution should be stable (do not fall after 1 hour or 24 hours).

    Now I have decided on such a solution, but the time costs are too high (delay from real-time strem), maybe there you will offer be a more elegant solution :

    1. IP Camera (h264 + aac)
    2. FFmpeg (transcoding to VP8\OPUS + chromakey)
    3. FFserver (pack to rtp (for webcallserver))
    4. WebCallServer (WebRTC)

    I tried the following solutions :

    • Flussonic - missing WebRTC via TCP
    • Wowza (written in java) - crashes, support could not say the exact reasons, talked for more than 2 months, tested on different servers in different Data Centres
  • python with ffmpeg fails randomly

    8 juillet 2017, par Jim Weisbin

    Python 2.7.1 on Mac OS X 10.12.5, ffmpeg 3.3.2 (installed with Brew).

    I’m calling ffmpeg on a loop though thousands of Apple Lossless files, converting to mp3 and tagging as I go. Here’s the call :

    thecall = '/usr/local/bin/ffmpeg -hide_banner -loglevel error -i ' + <path to="to" m4a="m4a" file="file"> + ' -i ' + <path to="to" artwork="artwork"> + ' -map 0:0 -map 1:0 -id3v2_version 3 -map_metadata -1 -metadata album="xxx" -metadata artist="xxx" -metadata comment="Cover (Front)" -f mp3 -b:a 128K ' + <path to="to" mp3file="mp3file">'

    os.system(thecall)
    </path></path></path>

    this works perfectly from the command line, and also works from Python most of the time, but randomly fails with the message

    [alac @ 0x7fc888858800] invalid samples per frame: 0
    Error while decoding stream #0:0: Invalid data found when processing input

    What’s strange is that on the files it failed on, if I run it from the command line it succeeds. I tried putting in time.sleep(5) but no change. And the failures are not always on the same file, so it seems like it’s a memory or threading issue. I also tried calling with subprocess() instead, no change.

    Any help would be appreciated.

  • ffmpeg called from python random failure

    9 juillet 2017, par Jim Weisbin

    Python 2.7.1 on Mac OS X 10.12.5, ffmpeg 3.3.2 (installed with Brew).

    ffmpeg is called in a loop though thousands of Apple Lossless files, converting to mp3 and tagging.

    thecall = '/usr/local/bin/ffmpeg -hide_banner -loglevel error -i ' + <path to="to" m4a="m4a" file="file"> + ' -i ' + <path to="to" artwork="artwork"> + ' -map 0:0 -map 1:0 -id3v2_version 3 -map_metadata -1 -metadata album="xxx" -metadata artist="xxx" -metadata comment="Cover (Front)" -f mp3 -b:a 128K ' + <path to="to" mp3file="mp3file">'
    </path></path></path>

    os.system(thecall)

    this works perfectly from the command line, and also works from Python most of the time, but randomly fails with the message

    [alac @ 0x7fc888858800] invalid samples per frame : 0
    Error while decoding stream #0:0 : Invalid data found when processing input

    What’s strange is that on the files it failed on, if I run it from the command line it succeeds. I tried putting in time.sleep(5) but no change. And the failures are not always on the same file, so it seems like it’s a memory or threading issue. I also tried calling with subprocess() instead, no change.

    Any help would be appreciated.