Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (104)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11837)

  • Combine many videos in list using FFMPEG

    2 septembre 2022, par anoor1234

    I have a bunch of videos that are MP4s with different FPS, resolution, aspect ratio, basically everything. I'm trying to see if its possible to use FFMPEG to combine them into a single 1080/720 video using a single command, or at least make them all similar format so that combining is easy. Speed and less CPU power would be preferred but I'm in no rush and

    


    I found this command on another stack overflow question :

    


    ffmpeg -i 1.mp4 -i 2.mp4 -i 3.mp4 -filter_complex \
"[0:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:-1:-1,setsar=1,fps=30,format=yuv420p[v0];
 [1:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:-1:-1,setsar=1,fps=30,format=yuv420p[v1];
 [2:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:-1:-1,setsar=1,fps=30,format=yuv420p[v2];
 [v0][0:a][v1][1:a][v2][2:a]concat=n=3:v=1:a=1[v][a]" \
-map "[v]" -map "[a]" -c:v libx264 -c:a aac -movflags +faststart output.mp4


    


    The problem is that I have more that 3 videos to combine and I don't know how to work this command with more, I have an entire list of videos in a list.txt file structured as such :

    


    file './videos/video1.mp4'
file './videos/video2.mp4'
file './videos/video3.mp4'


    


    The code that somewhat worked for me was this

    


    ffmpeg -safe 0 -f concat -i list.txt -c copy output.mp4


    


    It combines the video well and fairly fast but I get weird glitches with the audio and the resolution is weird (I'm hoping for 1920x1080). I suspect this is due to the varying attributes of each video but I'm not sure. I'm familiar with Python but I have found no Python script that can do what I ask. If there any way to combine my list into one video (using FFMPEG or not) reliably ?

    


  • checkasm/arm : preserve the stack alignment checkasm_checked_call

    12 juillet 2016, par Janne Grunau
    checkasm/arm : preserve the stack alignment checkasm_checked_call
    

    The stack used by checkasm_checked_call_vfp was a multiple of 4 when the
    checked function is called. AAPCS requires a double word (8 byte)
    aligned stack public interfaces. Since both calls are public interfaces
    the stack is misaligned when the checked is called.

    Might fix the SIGBUS error in the armv7-linux-clang-3.7 fate config.

    • [DBH] tests/checkasm/arm/checkasm.S
  • 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();