Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (33)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (7026)

  • NodeJs - How can i use ffmpeg with createReadStream (make a post with file in memory)

    11 mars 2023, par Matheus Gomes

    This is my code :

    


    import fs from 'fs';
import ffmpeg from 'fluent-ffmpeg';
import ffmpegPath from '@ffmpeg-installer/ffmpeg';
import { Configuration, OpenAIApi } from 'openai';

const configuration = new Configuration({ apiKey: 'sk-XXX' });
const openai = new OpenAIApi(configuration);

ffmpeg.setFfmpegPath(ffmpegPath.path);

(async () => {
  try {
    const track = 'https://tempstorage.com/file.ogg';// your path to source file

    ffmpeg(track)
      .toFormat('mpeg')
      .save('test.mpeg')
      .on('end', async () => {
        const resp = await openai.createTranscription(
          fs.createReadStream('test.mpeg'),
          'whisper-1',
        );
        console.log(resp); // FINAL
      });
  } catch (error) {
    console.log(error);
  }
})();


    


    I need to do the same thing, but instead of saving the file locally, I want to keep it in memory and use it without saving anything locally. I couldn't figure out how to do it. Can anyone point me in the right direction ?

    


    "I've tried various things with stream, but I couldn't get it to work."

    


  • Revision 519b9141ad : Merge "vp9 : fix segfault w/corrupt data post frame-parallel merge"

    6 février 2015, par James Zern

    Merge "vp9 : fix segfault w/corrupt data post frame-parallel merge"

  • What options are available for speeding up video load times on a webpage when video is hosted on IPFS

    10 août 2022, par Ryan D

    I have a site that pulls videos hosted on IPFS (Interplanetary File System), most of the videos load and play fine but if a user doesn't have a strong internet connection or if a larger video, it constantly buffer's and play's choppy.

    


    Since the video isn't hosted on my server i'm not sure what options I have to help speed the load times up. The original video is uploaded to my site though and I pass it to IPFS to upload directly. I don't currently download it to my server first to speed up the uploading process, or so the user doesn't need to wait for a double upload.

    


    I know youTube has a compression algorithm and does something with chopping up the video into chunks or something but i'm not sure exactly how that works. Im not very experienced with video codec and encoding. Ive heard good things about FFmpeg but not sure if that would help my current situation.

    


    Any ideas or tools I should look into that may help me out would be appreciated. For larger videos I could download to my server first if theres a compression mechanism or something I could apply first to help the overall load times of the site although not ideal for the user uploading.

    


    Im using videoJS for my video player with preload set to auto if that helps at all.

    


    <video width="320" height="240" controls="controls" class="video-js video" poster="{Image URL}">&#xA;    <source src="{IPFS URL}" type="video/mp4">&#xA;</source></video>&#xA;

    &#xA;

    Options im currently using

    &#xA;

    Load the video after the DOM has loaded to not slow down page loads

    &#xA;

    Preload the video

    &#xA;

    &#xA;

    &#xA;

    Although I don't think that does much.

    &#xA;

    Other than that I don't know what else I can do. Im good with PHP and or Javascript to handle this task if theres something I should look into.

    &#xA;

    Thanks !

    &#xA;