Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (42)

  • 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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (4067)

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