Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (79)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (3618)

  • Extracting audio from video using fluent-ffmpeg

    12 mars, par Idi Favour

    Im trying to extract the audio from a video, an error is occuring
Error converting file : Error : ffmpeg exited with code 234 : Error opening output file ./src/videos/output-audio.mp3.
Error opening output files : Invalid argument

    


    I use this same directory for my video compression that runs before this one and it works.

    


    ffmpeg()
  .input(url)
  .audioChannels(0)
  .format("mp3")
  .output("./src/videos/output-audio.mp3")
  .on("error", (err) => console.error(`Error converting file: ${err}`))
  .on("end", async () => {
    console.log("audio transcripts");
   
    const stream = fs.createReadStream("./src/videos/output-audio.mp3");
    const transcription = await openai.audio.transcriptions.create({
      file: stream,
      model: "whisper-1",
      response_format: "verbose_json",
      timestamp_granularities: ["word"],
    });
    transcripts = transcription.text;
    console.log(transcription.text);
  })
  .run();


    


  • Java IO Streaming Large Files Video/Data/Sound [on hold]

    2 mars 2015, par James Relic

    I have a series of questions listed below regarding java.io streaming and sockets.

    1. What is a video streaming server ? How does it differ from a standard web server.

    2. Remember Napster/Morpheus etc ? They’re P2P programs, did they allow users to stream data to each other ? Is there a difference between streaming and downloading (on the clients end) ?

    3. How would you go about writing a generic program in java that streams anything to the client , word docs, mp3 files, videos files ? Would you use serverlets for this purpose ?

    4. If all you are doing is sending files video/sound/docs/text etc from one computer to another would you need to use specialist APIs like FFMPEG-Java, Red5 ?

    5. if you are sending video or sound as a file supposedly you don’t need to worry about encoding or decoding ?

    6. Do I need to worry about RTSP if im streaming videos as a file ? Rather then wanting them to play live on the client end ?

    I understand my questions sound very untechnical and basic, but I’m a little confused on this whole streaming topic and want to know the best way to stream large files of all types using the Java EE/Spring platform.

  • I want FFMPEG generate the m3u8 file with the oldest segments instead of the newest

    4 juin 2021, par Sandi

    I have an FFmpeg command like this :

    


     ffmpeg -i test.mp4 -f hls -hls_time 2 -hls_wrap 10 -hls_list_size 5 test.m3u8


    


    Afaik, hls_wrap is the number of segments we want to store locally and hls_list_size is the segment listed in the m3u8 output file. The command above will generate 10 files of the video segment.

    


    [seg 0][seg 1][seg 2][seg 3][seg 4][seg 5][seg 6][seg 7][seg 8][seg 9]


    


    And inside the test.m3u8, of course, there are 5 newest segments listed.

    


    [seg 5][seg 6][seg 7][seg 8][seg 9]


    


    I want the test.m3u8 lists the oldest available segment instead of the newest. So it should contain :

    


    [seg 0][seg 1][seg 2][seg 3][seg 4]


    


    In another word, I want to preload the segments before it listed in test.m3u8.

    


    The idea is I want to rsync the output of that FFmpeg command to a different folder on the network. I want to avoid test.m3u8 contains a segment that not completely copied because of the large segment size.

    


    Please help me and pardon my English. Thank you very much !