Recherche avancée

Médias (91)

Autres articles (89)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • 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" ;

Sur d’autres sites (16803)

  • FFMPEG Concat protocol does not combine video files

    16 septembre 2015, par Michael Erwin

    So I’ve tried using the following command to combine 2 video files with the same codec :

    ffmpeg -i "concat:/home/mike/downloads/a1.mp4|/home/mike/downloads/a2.mp4" -c copy "/home/mike/downloads/output.mp4"

    The the result : output.mp4 only contains video from a1.mp4. I also tried 2 or more file but the result is the same. What could be the possible cause for this ? Please help

    Mike

  • Encoded mp4 video won't play in Firefox v33

    3 novembre 2014, par Michael Heuberger

    When this video is encoded with the following ffmpeg command, it cannot be played in Firefox v33 (a blank screen appears). But when I play it in the native VLC player, it works. So here the long ffmpeg command :

    $ ffmpeg -r 15 -f image2 -i /home/(...)/frames/%d.jpg -i
     /home/(...)/preview.wav -y -acodec libfdk_aac -b:a 128k
     -vcodec libx264 -b:v 386k -preset ultrafast -profile:v baseline
     -crf 6 -pix_fmt yuv420p -loglevel warning -movflags faststart
     /home/(...)/preview.mp4

    As you can see, preview.mp4 is encoded by a sequence of jpg images with a given wav file.

    The ffmpeg output is just this

    [wav @ 0x35ff460] Estimating duration from bitrate, this may be inaccurate
    Guessed Channel Layout for  Input Stream #1.0 : mono
    [swscaler @ 0x35f0d80] deprecated pixel format used, make sure you did set range correctly

    Any clues why it won’t play on Firefox (and what the other ffpmeg warnings mean) ?

    Thanks !!!

  • fluent-ffmpeg throw er when concatenate videos

    2 mai 2020, par Romualdo Arrechea Hernández

    I'm using fluent-ffmpeg version 2.1.2.
When I execute the current code the output show off a error message :

    



    var ffmpeg = require('fluent-ffmpeg');
var glob= require('glob');
ffmpeg.setFfmpegPath("/usr/bin/ffmpeg");
ffmpeg.setFfprobePath("/usr/bin/ffprobe");
var command = ffmpeg();

const path='/home/username/somefolder/*/output.mp4';

var videos=glob.sync(path);
var output="./output.mp4";
videos.map(video=>command.addInput(video));
command.mergeToFile(output);


    



    the console output>

    



    **events.js:287&#xA;      throw er; // Unhandled &#x27;error&#x27; event&#xA;      ^&#xA;&#xA;Error: ffmpeg exited with code 1: Conversion failed!&#xA;&#xA;    at ChildProcess.<anonymous> (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:182:22)&#xA;    at ChildProcess.emit (events.js:310:20)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)&#xA;Emitted &#x27;error&#x27; event on FfmpegCommand instance at:&#xA;    at emitEnd (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:424:16)&#xA;    at endCB (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:544:13)&#xA;    at handleExit (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:170:11)&#xA;    at ChildProcess.<anonymous> (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:182:11)&#xA;    at ChildProcess.emit (events.js:310:20)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)**&#xA;</anonymous></anonymous>

    &#xA;&#xA;

    The video should be created, but it's unable to concat. Some clue ?

    &#xA;