Recherche avancée

Médias (91)

Autres articles (76)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (4854)

  • Pass multiple input files to ffmpeg using a single stream in Node

    1er mai 2019, par Matteo Bonacini

    I’m trying to use ffmpeg to merge multiple video files. Every file has the same encoding, and they just need to be stitched together. The problem I’m having is that I’d like to do this using streams, but ffmpeg only supports one input stream per command.

    Since the files have the same encoding, I thought I could merge them into a single stream, and feed it as an input to ffmpeg.

    const CombinedStream = require("combined-stream")
    const ffmpeg = require("fluent-ffmpeg")
    const AWS = require("aws-sdk")
    const s3 = new AWS.S3()

    const merge = ({ videos }) => {
     const combinedStream = CombinedStream.create();

     videos //I take my videos from S3 and merge them
       .map((video => {
         return s3
           .getObject({
             Bucket: "myAWSBucketName",
             Key: video
           })
           .createReadStream()
       }))
       .forEach(stream => {
         combinedStream.append(stream)
       })

     ffmpeg()
       .input(combinedStream)
       .save("/tmp/file.mp4")
    }

    merge({ videos: ["video1.mp4", "video2.mp4"]})

    I was hoping ffmpeg could read the files from the single stream and output them together, but I got this error instead :

    Error: ffmpeg exited with code 1: pipe:0: Invalid data found when processing input
    Cannot determine format of input stream 0:0 after EOF
    Error marking filters as finished
    Conversion failed!

    Can anyone help me ?

  • avfilter/vf_idet : Fixing idet for single-frame inputs.

    28 novembre 2014, par Neil Birkbeck
    avfilter/vf_idet : Fixing idet for single-frame inputs.
    

    Handle single frame inputs similar to yadif (e.g., https://github.com/FFmpeg/FFmpeg/commit/0f9f24c9cfd291c7ece4d3bad64fdf06d107168a and https://github.com/FFmpeg/FFmpeg/commit/681e008d06d2241d50abe6316c908a184ddc5942)

    Example :
    ffmpeg -r 1 -t 1 -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet,showinfo -f null -y /dev/null

    Previously :
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
    [Parsed_idet_0 @ 0x36389d0] Repeated Fields : Neither : 0 Top : 0 Bottom : 0

    After patch :
    [Parsed_showinfo_1 @ 0x1909810] n:0 pts:0 pts_time:0 pos :-1 fmt:gray sar:0/1 s:352x432 ...
    [Parsed_idet_0 @ 0x18f9bb0] Repeated Fields : Neither : 1 Top : 0 Bottom : 0

    Fate looks good.

    Signed-off-by : Neil Birkbeck <neil.birkbeck@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavfilter/vf_idet.c
  • avcodec/mjpegdec : print a message when there was just a single field and no frame

    14 août 2013, par Michael Niedermayer
    avcodec/mjpegdec : print a message when there was just a single field and no frame
    

    Fixes ticket1915

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/mjpegdec.c