Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (101)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (6660)

  • Can pyAudioAnalysis be used on a live http audio stream ?

    30 mars 2022, par Tompo

    I am trying to use pyAudioAnalysis to analyse an audio stream in real-time from a HTTP stream. My goal is to use the Zero Crossing Rate (ZCR) and other methods in this library to identify events in the stream.

    


    pyAudioAnalysis only supports input from a file but converting a http stream to a .wav will create a large overhead and temporary file management I would like to avoid.

    


    My method is as follows :

    


    Using ffmpeg I was able to get the raw audio bytes into a subprocess pipe.

    


    try:
    song = subprocess.Popen(["ffmpeg", "-i", "https://media-url/example", "-acodec", "pcm_s16le", "-ac", "1", "-f", "wav", "pipe:1"],
                            stdout=subprocess.PIPE)


    


    I then buffered this data using pyAudio with the hope of being able to use the bytes in pyAudioAnalysis

    


    CHUNK = 65536

p = pyaudio.PyAudio()

stream = p.open(format=pyaudio.paInt16,
                channels=1,
                rate=44100,
                output=True)

data = song.stdout.read(CHUNK)

while len(data) > 0:
    stream.write(data)
    data = song.stdout.read(CHUNK)


    


    However, inputting this data output into AudioBasicIO.read_audio_generic() produces an empty numpy array.

    


    Is there a valid solution to this problem without temporary file creation ?

    


  • avformat/hlsenc : Extend persistent http connections to playlists

    15 décembre 2017, par Karthick J
    avformat/hlsenc : Extend persistent http connections to playlists
    

    Before this patch persistent http connections would work only for media segments.
    The playlists were still opening a new connection everytime.
    This patch extends persistent http connections to playlists as well.

    Signed-off-by : Steven Liu <lq@chinaffmpeg.org>

    • [DH] libavformat/hlsenc.c
  • ffmpeg Unrecognized option 'preset' [closed]

    16 mai 2024, par Lalaluye

    Hello I just recently upgraded ffmpeg from 4.3.1 to 7.0 and getting the following error :

    &#xA;

    my command is&#xA;ffmpeg -y -f image2pipe -framerate 24 -i pipe: -c:v libx264 -preset veryfast -crf 29 -pix_fmt yuv420

    &#xA;

    and getting the below error :

    &#xA;

    16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   built with gcc 7 (GCC)&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;configuration: --prefix=/local/p4clients/pkgbuild-JklBW/workspace/src/FFmpeg/build/private/install&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavutil      59.  8.100 / 59.  8.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavcodec     61.  3.100 / 61.  3.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavformat    61.  1.100 / 61.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavdevice    61.  1.100 / 61.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavfilter    10.  1.100 / 10.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libswscale      8.  1.100 /  8.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libswresample   5.  1.100 /  5.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg Unrecognized option &#x27;preset&#x27;.&#xA;&#xA;

    &#xA;

    Haven't found a resolution so far. Any help appreciated

    &#xA;