Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (34)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7351)

  • FFmpeg cannot extract correct first frame - always extract the second frame [closed]

    21 octobre 2024, par Cai Yu

    I am on macos Ventura 13.2.1, on Macbook Pro M1Max.

    


    The video is number counting animation video. From 2 to 125. The number on first frame is 2. The number on last frame is 125. The number plus one on each frame. You can download the video here.

    


    NOTE that :
First, you hit space bar to play it in Finder, you can see the first frame of the video is number 2.

    


    Second, in professional Video editing software - davinci resolve, on the timeline, you can see the first frame is number 2.

    


    Now I try to use FFmpeg to extract the first frame of the video.
First Try :

    


    ffmpeg -i /Users/chris/Downloads/2to125.mov -vframes 1 /Users/chris/Downloads/1.png


    


    The output png image is number 3. So it's actually the second frame.

    


    Second try :

    


    ffmpeg -i /Users/chris/Downloads/2to125.mov -frames:v 1 /Users/chris/Downloads/1.png


    


    The output png image is still the second frame - the number 3.

    


    Third try :

    


    ffmpeg -i /Users/chris/Downloads/2to125.mov -vf "select=eq(n\,0)" -q:v 3 /Users/chris/Downloads/1.png


    


    The output image is sitll the wrong second frame.

    


    NOTE that :

    


    first : all these three method are from internet. And a lot of people voted correct answer for this question.

    


    second : all their output on my system is the incorrect second frame, not the first frame.

    


    I cannot find what's wrong. Hope friend here help me.

    


  • How to avoid downloading the same video with different file extension (remux) in yt-dlp

    23 décembre 2022, par Daniel

    This is the command I'm using to download my videos :
yt-dlp —remux "webm>avi" -o "%(upload_date)s %(title)s.%(ext)s" -f bv[format !*=248] -a List.txt

    


    I have text files with tons of links
So, if the videos are already downloaded in avi format
yt-dlp doesn't detect it, instead it downloads the video again creating a webm.part file, then it remuxes the file and overwrites the old avi downloaded video

    


    I know the cause of this is the ".%(ext)s" command but I cannot remove that part

    


    So what I need is for yt-dlp to recognize the file name instead of the extension, because from time to time I will need to check those video lists again with yt-dlp, to check for missing videos, or if I add new link videos to those lists

    


  • Concat audio files then call create file

    11 mai 2020, par bleepbloopbleep

    I am new and am trying to concat a folder of audio files and then stream the create file with ffmpeg in node.js.

    



    I thought I could call the function that creates the file with await and then when it's done the code would continue allowing me to call the created file. However thats not whats happening. I am getting a "file undefined"

    



    Main function

    



    //CONCATS THE FILES
  await concatAudio(supportedFileTypes.supportedAudioTypes, `${path}${config[typeKey].audio_directory}`);

  // CALLS THE FILE CREATED FROM concatAudio
  const randomSong = await getRandomFileWithExtensionFromPath(
    supportedFileTypes.supportedAudioTypes,
    `${path}${config[typeKey].audio_final}`
  );


    



    concatAudio function

    



    var audioconcat = require('audioconcat');
const getRandomFileWithExtensionFromPath = require('./randomFile');
const find = require('find');

// Async Function to get a random file from a path
module.exports = async (extensions, path) => {
  // Find al of our files with the extensions
  let allFiles = [];

  extensions.forEach(extension => {
    allFiles = [...allFiles, ...find.fileSync(extension, path)];
  });

  await audioconcat(allFiles)
    .concat('./live-stream-radio/final/all.mp3')
    .on('start', function(command) {
      console.log('ffmpeg process started:', command);
    })
    .on('error', function(err, stdout, stderr) {
      console.error('Error:', err);
      console.error('ffmpeg stderr:', stderr);
    })
    .on('end', function(output) {
      console.error('Audio created in:', output);
    });

  // Return a random file

  // return '/Users/Semmes/Downloads/live-stream-radio-ffmpeg-builds/live-stream-radio/final/all.mp3';
};