Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (63)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (8902)

  • Fixed race condition when cancelling the second file selection.

    8 juillet 2015, par blueimp
    Fixed race condition when cancelling the second file selection.
  • Revision 55639c383b : fix a race condition caused by intra function pointer initialization This patch

    3 mars 2015, par Yunqing Wang

    Changed Paths :
     Modify /vp9/common/vp9_reconintra.c



    fix a race condition caused by intra function pointer initialization

    This patch fixed webm issue 962.
    (https://code.google.com/p/webm/issues/detail?id=962)
    The data races occurred when an encoder and a decoder were created
    at the same time, and the function pointers were initialized twice.

    Change-Id : I8851b753c4b4ad4767d6eea781b61f0ac9abb44b

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

    


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

    


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


    


    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 :

    


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


    


    RESULT :

    


    Unrecognized option 'p'.
Error splitting the argument list: Option not found


    


    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.