Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (73)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (7008)

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

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

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