Recherche avancée

Médias (91)

Autres articles (35)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6449)

  • Most effective way to create video from looped .gif file

    14 avril 2017, par EgorPuzyrev

    I have two files : animation.gif and audio.mp3 ; duration(audio.mp3) >> duration(animation.gif). I want to create .webm file from that two, i.e. looped (unknown number of times) animation.gif + audio.mp3.

    The simplest (or, at least, most obvious) way to create that is :

    ffmpeg -ignore_loop 0 -i animation.gif -i audio.mp3 -shortest -c:v libvpx -threads 4 -b:v 400k -f webm out.webm

    but it slow enough.
    So, the question : is there any tricks to speed that up ? What is the most effective way of creating of long video from looped animation.gif ?

  • create a video clip from m3u8 file using node js

    12 janvier 2021, par Alan
    
const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffmpeg = require('fluent-ffmpeg');
const process = require('process');


const args = process.argv.slice(2);
if (args.length !== 4) {
    console.error('Incorrect number of arguments');
    process.exit(1);
  }
const startTime = args[0];
const timeDuration = args[1];
const inputFile = args[2];
const outputFile=args[3];

ffmpeg.setFfmpegPath(ffmpegPath);

ffmpeg(inputFile)
  .setStartTime(startTime)
  .setDuration(timeDuration)
  .output(outputFile)
  .on('end', function(err) {
    if(!err) { console.log('conversion Done') }
  })
  .on('error', function(err){
    console.log('error: ', err)
  }).run();



    


    


    Here is my index.js file which can create clips from any video file (mkv,mp4,ts,etc.).
I run

    


    node index.js 0:15 20 ../../video/sample.mp4 ../../video/output.mp4

    


    This command creates a new file in a specific folder of my choice. I am running slice method to remove first two arguments and extract the last 4 args to create a clip.

    


    But I don't know how to create a clip from a m3u8 file such as

    


    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:13
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:12.960000,
test0.ts
#EXTINF:8.760000,
test1.ts
#EXTINF:10.520000,
test2.ts
#EXTINF:9.800000,
test3.ts
#EXTINF:10.000000,
test4.ts
#EXTINF:10.240000,
test5.ts
#EXT-X-ENDLIST



    


    


    let's say I wanna create a 20 seconds file that starts the 15th second so it will start from test1.ts at 3s and then will move to the next file test2.ts and then it will take only the first 5 seconds of test3.ts to create a total 20s file and give output.

    


    I'm pretty much stuck in this. Is there a way to do that like I'm doing using arguments ???

    


    


  • ffmpeg, add film grain, resize and create sbs file for stereo 3d

    14 juillet 2018, par Anmol Mishra

    I have 2 files with 1080p Res.

    I wish to resize each to 1920x2160, combine both into sbs 3840x2160, add subtle film grain, add burn in subtitles into each eye and finally create sbs 4k stereo 3d video file with CRF 18.

    I have used ffmpeg previously but this is way beyond my understanding for the filters.