Recherche avancée

Médias (91)

Autres articles (65)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (10775)

  • qsv : Skip the packet if decoding failure

    24 janvier 2018, par Ruiling, Song
    qsv : Skip the packet if decoding failure
    

    MediaSDK may fail to decode some frame, just skip it.
    Otherwise, it will keep decoding the failure packet repeatedly
    without processing any packet afterwards.

    Signed-off-by : Ruiling Song <ruiling.song@intel.com>
    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] libavcodec/qsvdec_h2645.c
  • qsv : align surface width/height to 16.

    6 mars 2018, par Ruiling Song
    qsv : align surface width/height to 16.
    

    Per MediaSDK documentation, it requires width/height to 16 alignment.
    Without this patch, hwupload pipeline may fail if 16 alignment is
    not met. Although this patch also apply 16 alignment to qsv encoder/decoder,
    it will not bring any side-effect to them as they are already aligned.

    Signed-off-by : Ruiling Song <ruiling.song@intel.com>
    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] libavutil/hwcontext_qsv.c
  • What is the most efficient way to convert wav audio string to an ogg file without writing it to disk ?

    1er janvier 2023, par Saurabh Kumar Karn

    My final objective is to use TTS to get some Indic text converted into audio and pass that audio to a messaging system that accepts mp3 and ogg. Ogg is preferred.

    &#xA;

    I am on Ubuntu and my flow for getting audio string is something like this.

    &#xA;

      &#xA;
    1. Text in Indic language is passed to an API
    2. &#xA;

    3. API returns a json with a key value called audioContent. audioString = response.json()[&#x27;audio&#x27;][0][&#x27;audioContent&#x27;]
    4. &#xA;

    5. The decoded string is arrived by using this decode_string = base64.b64decode(dat)
    6. &#xA;

    &#xA;

    I am currently converting it to mp3 and as you can see I am writing the wave file first and then converting it into an mp3.

    &#xA;

    wav_file = open("output.wav", "wb")&#xA;decode_string = base64.b64decode(audioString)&#xA;wav_file.write(decode_string)&#xA;&#xA;# Convert this to mp3 file&#xA;print(&#x27;mp3file&#x27;)&#xA;song = AudioSegment.from_wav("output.wav")&#xA;song.export("temp.mp3", format="mp3")&#xA;

    &#xA;

    Is there a way to convert audioString directly to ogg file without doing the io ?

    &#xA;

    I've tried torchaudio and pyffmpeg to load audioString and do the conversion but it doesn't seem to be working.

    &#xA;