Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (94)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (4829)

  • Fluent-ffmpeg and complex filter in Electron (node)

    9 juillet 2016, par Matt Sergej Rinc

    I want to use fluent-ffmpeg module to call ffmpeg with complex filter from Electron but have no success. The error ’[AVFilterGraph @ 0xb8.......] No such filter " Error initalizing complex filters . Invalid argument’ is the same as in this question Error : Running FFmpeg command in Android ,splitting command in array not working but the context is different.

    What is needed ?
    Run this ffmpeg command using fluent-ffmpeg :

    ffmpeg -i safework-background-0.mp4 -i image1.png -i image2.png -i
    image3.png -filter_complex "[0:v][1:v]
    overlay=1:1:enable=’between(t,5,8.5)’ [tmp] ; [tmp][2:v]
    overlay=1:1:enable=’between(t,8.5,12)’ [tmp] ; [tmp][3:v]
    overlay=1:1:enable=’between(t,12,15)’" test-video-safework3.mp4

    It uses a complex filter to overlay three images on a video in sequence and exports a new video.

    What doesn’t work ?
    Obviously fluent-ffmpeg chokes with required quotes for complex filter, that is my conclusion (and is the same as for the Android variant question above).

    What works without fluent-ffmpeg in Electron ?
    As you can guess I have to resort to calling ffmpeg directly. To help others, the following command, with input and output video filenames parametrized, translates to Electron as :

     var spawn = require('child_process').spawn
     var fargs = ['-y', '-i', sourceDir.path() + '/' + inVideoName, '-i', tempDir.path() + '/' + 'image1.png',
     '-i', tempDir.path() + '/' + 'image2.png', '-i', tempDir.path() + '/' + 'image3.png',
     '-filter_complex', '[0:v][1:v]overlay=1:1:enable=\'between(t,5,8.5)\'[tmp];' +
     '[tmp][2:v]overlay=1:1:enable=\'between(t,8.5,12)\'[tmp];[tmp][3:v]' +
     'overlay=1:1:enable=\'between(t,12,15)\'', targetDir.path() + '/' + outVideoName]
     var ffmpeg = spawn(ffmpegc, fargs, { cwd:jetpack.cwd(app.getPath('home')).path() })
    // some code ommitted
     ffmpeg.on('close', (code) => {
       console.log(`child process exited with code ${code}`)
       webContents.send('notify-user-reply', 'Video processing done.')
     })

    The above command already has removed spaces between various filters (in complex filter) for each image or it would also choke.

    I would really love to use fluent-ffmpeg in Electron, not just for the convenience of calling ffmpeg more elegantly but also for some additional features like easy progress reporting.

  • pixfmt : add P010 pixel format

    8 décembre 2015, par Hendrik Leppkes
    pixfmt : add P010 pixel format
    

    P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two
    bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs.

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] doc/APIchanges
    • [DBH] libavutil/pixdesc.c
    • [DBH] libavutil/pixfmt.h
    • [DBH] libavutil/version.h
  • indeo2 : Drop disabled big-endian ir2_codes table

    4 juin 2016, par Diego Biurrun
    indeo2 : Drop disabled big-endian ir2_codes table
    

    Only the little-endian variant of the table is ever used.

    • [DBH] libavcodec/indeo2data.h