Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (62)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (7534)

  • Running ffmpeg silently on NodeJS (Windows)

    5 janvier 2021, par Paulo Bertotti

    I'm trying to run FFMPEG as a child process on NodeJS to extract a snapshot of an mp4 video on Windows. But even spawning the process with the "silent" option, it stills opening the command prompt for a short period. Any idea of what might be happening ?

    


    The code looks something like this :

    


    const snapshot = spawn(
              "ffmpeg",
              [
                "-ss",
                "00:00:07",
                "-i",
                `${this.directory}\\${file.name}`,
                "-vframes",
                "1",
                "-q:v",
                "2",
                `${this.directory}\\channel${this.channelNum}_snapshot.png`,
              ],
              { silent: true }
            );


    


  • ffmpeg decode gif got an error : “[gif @ 0000017ea4d9d1c0] cannot decode frame without keyframe”

    23 mai 2022, par Jeycri

    I want to decode gif when pts is greater than a certain period of time.

    


    This is my code :

    


    for(;;){
  ret = av_read_frame(in_ctx, pkt);

  if (ret != 0) {
      printf("av_read_frame errorcode %d \n", ret);
      break;
  }
        
  if (pkt->pts < av_rescale_q(3.0*AV_TIME_BASE, AV_TIME_BASE_Q, st->time_base)) {
       av_packet_unref(pkt);    
       continue;
  }

  if(pkt->stream_index == video_index){
     if (pkt) {
        ret = avcodec_send_packet(codec_ctx, pkt);
        if (ret < 0 && ret != AVERROR_EOF) break;
        while (avcodec_receive_frame(codec_ctx, frame) >= 0) {
             //do something
        }
     }
  }
}


    


    Is there any way to realize this function ?

    


    FFmpeg version is 4.3.3.

    


  • How to extract the sound of a video from two timecodes to a .ts file [closed]

    22 avril 2023, par Imprevisible

    I'm trying to use FFMPEG to extract the audio from a video for a certain period of time and cut it into 5 second chunks, but it doesn't work. Instead, the chunks have different lengths and don't match what I asked for. I tried several solutions, but nothing worked.

    


    From what I understand, the problem could be with the picturerate and the treshold, but I don't know what to do with that information. Here is the command I used :

    


    ffmpeg -loglevel error -accurate_seek -ss 00:00:00 -to 00:00:05 -t 5 -i H:/Films/Tetris.mkv -c:a aac -b:a 128k -ac 4 -vn -map 0:1 -f adts pipe:1


    


    This gave me an audio file of 53s, but if I do from 00:00:05 to 00:00:10, I have an audio file of 4.6s.

    


    If anyone can help me, that would be great. Thanks in advance