Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (48)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9583)

  • README updates.

    28 juin 2014, par Erik de Castro Lopo
    README updates.
    

    Patch-from : lvqcl <lvqcl.mail@gmail.com>

    • [DH] README
  • Revision 38950 : Beaucoup de modifs : Un nouvelle tache cron générale qui vérifie : - Que ...

    22 juin 2010, par kent1@… — Log

    Beaucoup de modifs :
    Un nouvelle tache cron générale qui vérifie :
    - Que les binaires sont bien accessibles
    - Qu’il n’y a pas d’erreurs d’encodage (sinon on envoie un mail)
    On refait marcher correctement les actions de récupération de logo et d’informations dans le privé
    On utilise qt-faststart pour améliorer les fichiers mov et mp4
    On passe les encodages en erreur au statut "erreur" pour ne pas bloquer la file d’attente
    Quelques autres petites choses
    On ajoute les notifications aux admins et users

  • FFMPEG FDKAAC and Python

    3 avril 2024, par Eric Barker

    Been banging my head against the wall for days on this. I'm writing a python program to take a 48kHz WAV file, convert it to 44.1kHz and encode it to HE-AAC via FDKAAC. FDK cannot convert to sample rates, so I'm using FFMPEG as the wrapper and piping it through FDKAAC. In a perfect world, I'd make a custom build of FFMPEG with FKD, but I've run into loads of issues on our Windows Server 2019 machine trying to build out FFMPEG, so I'm using vanilla FFMPEG with FDK piped in.

    &#xA;

    I can get the command to work perfectly from a command prompt :

    &#xA;

    ffmpeg -progress pipe:2 -i  -f wav -ar 44100 - | fdkaac -p 5 -b 64000 -o &#xA;

    &#xA;

    But when I try to split it in Python for a Popen, it tries to evaluate the arguments and fails because ffmpeg doesn't have a "-p" argument :

    &#xA;

    cmd = [&#x27;ffmpeg&#x27;, &#x27;-progress&#x27;, &#x27;pipe:2&#x27;, &#x27;-i&#x27;, inFile, \&#xA;    &#x27;-f&#x27;, &#x27;wav&#x27;, &#x27;-ar&#x27;, &#x27;44100&#x27;, &#x27;-&#x27;, &#x27;|&#x27;, \&#xA;    &#x27;fdkaac&#x27;, &#x27;-p&#x27;, &#x27;5&#x27;, &#x27;-b&#x27;, &#x27;64000&#x27;, &#x27;-o&#x27;, outFile]&#xA;fdkProcess = subprocess.Popen(cmd,&#xA;            stdout=subprocess.PIPE,&#xA;            universal_newlines=True)&#xA;for line in fdkProcess.stdout:&#xA;    print(line)&#xA;

    &#xA;

    RESULT :

    &#xA;

    Unrecognized option &#x27;p&#x27;.&#xA;Error splitting the argument list: Option not found&#xA;

    &#xA;

    I'll admit, I don't fully understand the pipeline process, and how to split commands via the "|" flag, and have them properly feed into stdout for the subprocess function to work correctly. I'm fairly new to python, and very new to programmatically capturing the output of a process like ffmpeg.

    &#xA;