Recherche avancée

Médias (91)

Autres articles (94)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (6619)

  • Can only save animation in matplotlib with default parameters

    20 août 2019, par J.Doe

    I keep getting this error when trying to save my animations in matplotlib :

    import numpy as np
    import matplotlib.pyplot as plt
    from matplotlib.animation import FuncAnimation

    plt.rcParams['animation.ffmpeg_path'] = 'C:\FFmpeg\bin'

    fig, ax = plt.subplots()
    ax.set_xlim(-0.1 ,2*np.pi + 0.1)
    ax.set_ylim(-1.1 ,1.1)
    ln, = plt.plot([], [], '-')

    x = np.linspace(0,2*np.pi,1000)

    def update(frame):

       y = frame*np.sin(x)
       ln.set_data(x,y)
       return ln,

    ani = FuncAnimation(fig,
                       update,
                       frames=np.linspace(1,-1,1000),
                       interval=1000/144)

    ani.save('lol.gif')

    MovieWriter ffmpeg unavailable. Trying to use pillow instead.

    This is a repetition of an unanswered question : UserWarning : MovieWriter ffmpeg unavailable

    I tried running a sample code from here, but it still says ffmpeg isn’t available, even though I installed and activated it according to wikihow. So even setting the path to the binary doesn’t seem to work.

    I can’t set the fps or the dpi, or anything since the save function just defaults. What can I do so that python finally starts using ffmpeg ?

  • ReSample RTP Audio data over Socket as PCM data using FFMPEG

    5 février 2020, par GJ.

    I want to receive a RTP Stream and send the raw data received in it over TCP / UDP socket. For this i am trying following commands.

    1. I am sending the RTP stream using following command.

      ffmpeg -re -i hello.wav -ar 8000 -f mulaw -f rtp rtp ://127.0.0.1:1234

    2. Receiver to re transmit the stream over TCP / UDP socket.

      ffmpeg -i rtp ://127.0.0.1:1234 -f mulaw tcp ://127.0.0.1:5555 -hide_banner

    3. A Player to play this Socket stream to verify.

      ffplay tcp ://127.0.0.1:5555 ?listen

    My second command shows that its receiving data and transmitting the data to tcp over 5555 port.

    Input #0, rtp, from 'rtp://127.0.0.1:1234':
     Duration: N/A, start: 0.000000, bitrate: 64 kb/s
       Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (pcm_mulaw (native) -> pcm_mulaw (native))
    Press [q] to stop, [?] for help
    Output #0, mulaw, to 'tcp://127.0.0.1:5555':
     Metadata:
       encoder         : Lavf58.29.100
       Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
       Metadata:
         encoder         : Lavc58.54.100 pcm_mulaw

    But the third command does not receive anything, even i tried dumping the response into a file using FFMPEG in command three but same results.

    What am i doing wrong, Please suggest the correct commands using FFMPEG.

  • FFmpeg and bash, Transcode multiple files to another drive with save path

    18 juillet 2016, par Виктор Гусев

    I have folder that contain files in many different path, for example : folder1/subfolder1/file.mov
    folder1/subfolder2/file.mov

    i need to convert and copy all files to another format, and save all paths after folder 1, for example :
    folder2/subfolder1/file.mp4
    folder2/subfolder2/file.mp4

    I have this script, but it save transcoded files in original location.

    #!/bin/bash
    MOVIES=/Volumes/drive/
    find "$MOVIES" -name '*.MP4' -exec sh -c 'ffmpeg -i "$0" -map 0 -c copy "${0%%.MP4}.mov"' {} \; exit;

    Please help
    Thank you !