Recherche avancée

Médias (91)

Autres articles (48)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

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

Sur d’autres sites (8865)

  • ffmpeg crop with negative offset

    12 août 2020, par Ajouve

    I have a nodejs application which is cropping videos using ffmpeg

    


    From time to time I have an error because I am trying to crop out of the video, see attached image where the black is the video and in red the crop zone. My final video has to be a square.

    


    enter image description here

    


    If I am replacing the negative offset with 0 the final result will not be a square.

    


    I just need to add a black background on the non-existing part

    


    This is my actual code

    


    const cropVideo = (buffer, width, height, x, y) => {

    const inputFile = tmp.fileSync();
    const outputFile = tmp.fileSync();

    fs.writeFileSync(inputFile.name, buffer);

    return new Promise((resolve, reject) => {
        ffmpeg(inputFile.name)
            .videoFilters(`crop=${width}:${height}:${x}:${y}`)
            .format('mp4')
            .on('error', reject)
            .on('end', () => resolve(fs.readFileSync(outputFile.name)))
            .save(outputFile.name);
    })
}


    


  • Museum of Multimedia Software, Part 3

    18 août 2010, par Multimedia Mike — Software Museum

    Discreet Cleaner 5
    Capture, author, encode, and publish multimedia in Real, QuickTime, Windows Media, MP3, DV, and MPEG formats. This package has a copyright date of 2001 (thus predating Flash video by a few years). This software seems to have since been purchased by Autodesk and is up to version 6.5 (which does support Flash video).



    Discreet Plasma
    "Web 3D Design." Package is copyright 2002. Like the last package, this package also makes reference to Discreet being a division of Autodesk. Sure enough, Autodesk purchased them in 1999 and would later rename them Autodesk Media and Entertainment.



    Debabelizer
    "The Graphics Processing Toolbox." Looking down its list of features on the box copy, I honestly wonder if it can accomplish anything that ImageMagick can’t.



    MatchWare Mediator 7
    "Create Flash, HTML & CD-Rom Presentations." Wow, version 7, and with a latest copyright date of 2002 on the box. There’s still a top-Google-hit web page for MatchWare Mediator 9, this one instead emphasizing interactive CDs, HTML, and then Flash.



    Final Cut Pro v1.2.5
    Promotional copy Apple’s video editing software. No copyright date, but it requires a PowerPC G3 or G4 and Mac OS 9.



    Apple Keynote
    More Apple software that I think can technically be classified as multimedia-related. I’m not sure which version this is.



  • How to add subtitle in Video using Ffmpeg Command

    8 mai 2014, par Sanket990

    I m executing below command and getting Stream #0:0 : Subtitle : unknown_codec
    (codec unknown_codec) not found for output stream #0:0

    FFmpeg command :

    final String demoVideoPath =   "/sdcard/b.mp4";
    final String subTitlePath="/sdcard/srtf.srt";
    String ffmpegCommand[] = { "ffmpeg", "-i", demoVideoPath, "-i", subTitlePath,
                           "-map","1", "-c", "copy","-strict", "experimental","-c:v","mpeg","-crf","23","-preset","veryfast",
                             "/sdcard/output.avi" };

    LogCat

    Shellout[srt @ 0xc03930] Estimating duration from bitrate, this may be inaccurate
    ShelloutInput #1, srt, from '/sdcard/srtf.srt':
    Shellout  Duration: N/A, bitrate: N/A
    Shellout    Stream #1:0: Subtitle: srt
    ShelloutPlease use -b:a or -b:v, -b is ambiguous
    ShelloutOutput #0, avi, to '/sdcard/output.avi':
    Shellout  Metadata:
    Shellout    major_brand     : isom
    Shellout    minor_version   : 512
    Shellout    compatible_brands: isomiso2mp41

    Shellout    creation_time   : 2013-12-20 11:33:07
    Shellout    encoder         : Lavf51.12.1
    Shellout    Stream #0:0: Subtitle: unknown_codec
    ShelloutStream mapping:
    Shellout  Stream #1:0 -> #0:0 (srt -> ?)
    ShelloutEncoder (codec unknown_codec) not found for output stream #0:0

    How to handle unknown_codec error.