Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (80)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (9373)

  • python - subprocess.Popen fails to pipe urllib3 Response to ffmpeg

    11 février 2018, par user2963567

    I want to open a file over a network and pipe it directly to ffmpeg using subprocess.Popen. The goal is to stream the audio file data directly into ffmpeg. Here is the code :

    # test.py
    import subprocess, sys, urllib3, time

    http = urllib3.PoolManager()
    r = http.urlopen('GET', sys.argv[1], preload_content=False)

    args = 'ffmpeg -i - -y audio.mp3'.split(' ')
    subprocess.Popen(args, stdin=r)

    r.close()

    If I run a local HTTP server and give the program the url, it works successfully, and ffmpeg processes it.

    $ python3 test.py http://192.168.1.200/original.webm

    However if I try to retrieve from a remote server, such as that below, ffmpeg fails.

    $ python3 test.py https://cdn.discordapp.com/attachments/304959901376053248/412003156638040084/original.webm

    with the following output

    pipe:: Invalid data found when processing input

    I expected this code to produce the same results as running this terminal command. This command succeeds for both the discord cdn URL and a local HTTP server url.

    $ curl [file url] | ffmpeg -i - -y audio.mp3

    I’m using python 3.5 on Linux, and ffmpeg 3.4.1.

  • Header for F_NOCACHE in Linux

    12 octobre 2013, par artaxerxe

    I got FFMpeg repository on my Ubuntu machine, installed it and imported in Eclipse as a project. Anyway, at compile time (the FFMpeg project from eclipse) I get this error :

    ’F_NOCACHE’ undeclared (first use in this function)

    This error is coming from this code line :

    fcntl(fd[i], F_NOCACHE, 1);

    both headers for fcntl are included, according to man pages. Can anyone tell me why I get this error and how to solve it ? It seems to me that F_NOCACHE is related only to BSD systems.

    Thanks in advance !

  • How to use the Source Code instead of a specific OS App with a Python Project [closed]

    28 septembre 2021, par Lara Saka

    If I want for example to install ffmpeg to use AudioSegment Library(which convert Audio to text). When you open their website you will see download for windows, apple, linux and a source code I want to use the ffmpeg in the Project regardless of the operating system by using the source code of the ffmpeg !

    


    How Can I do that ?

    


    ffmpeg download web site

    


    Thanks in advance..