Recherche avancée

Médias (91)

Autres articles (40)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (3536)

  • Streaming raw sound with FFMPEG

    30 juin 2020, par Dr_Click

    I'm using the ffmpeg library to decode / encode audio in JAVA, using the Process objets. The aim is to got the raw datas decoded by ffmpeg in my JAVA code and then, to send them back to ffmpeg to generate a stream or create a file.

    &#xA;&#xA;

    As JAVA sounds only allow wav audio datas, I made a first try with this command line :

    &#xA;&#xA;

    ffmpeg -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 "/home/dr_click/montest.wav"&#xA;

    &#xA;&#xA;

    It works. But, my goal is to get the frames on the fly and not a file. I thought about using a pipe but it seems it will work only with Linux and not with Windows (and no idea for MacOS)&#xA;So, I'd prefer to stream locally a wav file and to catch it with JAVA into a AudioInputStream.

    &#xA;&#xA;

    I wrote this command :

    &#xA;&#xA;

    ffmpeg -re -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 -f rtp rtp://127.0.0.1:1234&#xA;

    &#xA;&#xA;

    It semms to work on the server side. But, when I enter the below command line on the server side :

    &#xA;&#xA;

    ffplay rtp://127.0.0.1:1234&#xA;

    &#xA;&#xA;

    It doesn't work at all. I got this error :

    &#xA;&#xA;

      &#xA;
    • [rtp @ 0x7f29c8000b80] Unable to receive RTP payload type 97 without an SDP file describing it
    • &#xA;

    &#xA;&#xA;

    If I try the couple :

    &#xA;&#xA;

    ffmpeg -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 -f rtp -sdp_file /home/dr_click/audio.sdp rtp://127.0.1.1:1234&#xA;

    &#xA;&#xA;

    and

    &#xA;&#xA;

    ffplay /home/dr_click/audio.sdp&#xA;

    &#xA;&#xA;

    I got the following error :

    &#xA;&#xA;

      &#xA;
    • [rtp @ 0x7f7d00008040] Protocol 'rtp' not on whitelist 'file,crypto' ! if
    • &#xA;

    &#xA;&#xA;

    And if I finally try :

    &#xA;&#xA;

    fmpeg -protocol_whitelist file,http,rtp,tcp -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 -f rtp -sdp_file /home/dr_click/audio.sdp rtp://127.0.1.1:1234&#xA;

    &#xA;&#xA;

    I still get the same error.

    &#xA;&#xA;

    Which point do I miss to stream locally some raw datas and catch them back in the AudioInputStream ?

    &#xA;&#xA;

    Thank you for all your replies.

    &#xA;

  • Combien audio input with infinite loop sound on FFMpeg for rPi

    6 mars 2021, par FoxFr

    Someone can say me how its the best way to combine (mixing) the sound input from a Jack with an infinite loop sound on FFMpeg ? i seen many thing about this but still crashed my test

    &#xA;

    Goal ? use the infinite loop for a bed, with a voice from mic (with jack) over the bed&#xA;the ultimate will be have a parameter for the volume of input jack & bed

    &#xA;

    So clear ?

    &#xA;

    ffmpeg \&#xA;-i /dev/video0 \&#xA;-i /dev/video2 \&#xA;-stream_loop -1 -re -i "/home/pi/videopi/bed.mp3" \&#xA;-filter_complex "[0][1]overlay=enable=&#x27;lt(mod(t,60),30)&#x27;[v];[v]drawtext=textfile=/home/pi/videopi/gps.txt:reload=1:x=30:y=100:fontfile=OpenSans.ttf:font$&#xA;-map "[v]" \&#xA;-map 2:a \&#xA;-c:v libx264 -b:v 4000k -maxrate 4000k -bufsize 8000k -g 50 -c:a aac \&#xA;-f flv rtmp://a.rtmp.youtube.com/live2/XXXXXXXXXX&#xA;

    &#xA;

    Many many thkx

    &#xA;

  • Assign output to a variable instead to a Output file

    25 juin 2013, par rash

    Here is the Python code :

    import subprocess

    cmnd = ["ffmpeg", "-i", "/home/xincoz/test/connect.flv", "-acodec", "copy", "-ss", "00:00:00", "-t", "00:00:30", "/home/xincoz/test/output.flv"]

    subprocess.call(cmnd)

    Here I get the 30sec long video output file output.flv from connect.flv video. But i want to store that 30sec long binary data in a variable instead of copying that into an output file.
    How can I able to do that ?

    Please help me. Thanks a lot in advance.