Recherche avancée

Médias (91)

Autres articles (94)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (11089)

  • Revision 2a19c96362 : onyx_if : quiet -Warray-bounds warnings 'number_of_layers' is range checked befo

    15 mars 2014, par James Zern

    Changed Paths :
     Modify /vp8/encoder/onyx_if.c



    onyx_if : quiet -Warray-bounds warnings

    'number_of_layers' is range checked before assignment from the user
    config.

    Change-Id : Idefdaceb8736f126fa7c647da2b047dafb56ea52

  • Fixed grammar error in german range validator message. Fixes #315

    29 mars 2012, par fbuchinger

    m localization/messages_de.js Fixed grammar error in german range validator message. Fixes #315

  • how to set output video length from ffmpeg

    25 avril 2022, par naval Hurpade

    I'm Creating youtube video downloader using ytdl-core and ffmpeg, I'm able to combine video and audio files using ffmpeg, and files are working fine, but

    


    When I play that video video length (duration) is set to some random number like 212309854
I Already tryied ading -t flag to set time it works but I still video duration as this random number.

    


    See screenshot bellow.
And in video properties I see no length is set.

    


    module.exports = function (audio, video, selectedAudioFormat, selectedVideoFormat,res) {
  
  const ffmpegProcess = spawn(
    ffmpegInstallation.path,
    [
      '-i',
      `pipe:3`,
      '-i',
      `pipe:4`,
      '-map',
      '0:v',
      '-map',
      '1:a',
      '-c:v',
      'copy',
      '-c:a',
      'copy',
      '-crf',
      '27',
      '-preset',
      '6',
      '-movflags',
      'frag_keyframe+empty_moov',
      '-f',
      selectedVideoFormat.container,
      '-t',
      '30',
      '-loglevel',
      'info',
      '-',
    ],
    {
      stdio: ['pipe', 'pipe', 'pipe', 'pipe', 'pipe']
    }
  );
  
  
  video.pipe(ffmpegProcess.stdio[3]);
  audio.pipe(ffmpegProcess.stdio[4]);
  ffmpegProcess.stdio[1]
  .pipe(res);
  
  let ffmpegLogs = '';
  
  ffmpegProcess.stdio[2].on('data', (chunk) => {
    ffmpegLogs += chunk.toString();
  });
  
  ffmpegProcess.on('exit', (exitCode) => {
    if (exitCode === 1) {
      console.error('ERROR IN CHILD ::', ffmpegLogs);
    }
  });


    


    enter image description here