Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

Sur d’autres sites (8590)

  • Call system package with Go on App Engine Standard

    8 novembre 2019, par reidreid46

    I’m trying to use FFmpeg in a Go application thats running on Google App Engine Standard. I can get this to run locally, when I point to a local instance of the FFmpeg binary using exec.Command()

    cmd := exec.Command(
       "/Users/justin/Desktop/conversion/ffmpeg", // this won't work on a remote server
       "-i", "pipe:0",
       "-ac", "1",
       "-codec:a", "libmp3lame",
       "-b:a", "48k",
       "-ar", "24000",
       "-f", "mp3",
       "pipe:1",
     )

     cmd.Stdin = bytes.NewReader(synthResp.AudioContent)

     var output bytes.Buffer
     cmd.Stdout = &output
     err = cmd.Run()

    Obviously, this won’t work when I deploy the application, so I need a way to point to a hosted version of the FFmpeg binary. It seems ffmpeg is a system package for the go1.11 App Engine Standard environment.

    What are "System packages" and how do I use them ?
    When I look for documentation, I find a lot of documentation on apt-get, and no documentation on how to use them, App Engine or otherwise. Do I need to install it, or should it already be part of the container(?) that App Engine is running ?

    Do I call it, like I’d call other executables ? If so, that I’d expect this to work, but it doesn’t

    cmd := exec.Command(
       "ffmpeg", // <------ what should this be?
       "-i", "pipe:0",
       "-ac", "1",
       "-codec:a", "libmp3lame",
       "-b:a", "48k",
       "-ar", "24000",
       "-f", "mp3",
       "pipe:1",
     )

     cmd.Stdin = bytes.NewReader(synthResp.AudioContent)

     var output bytes.Buffer
     cmd.Stdout = &output
     err = cmd.Run()

    Logging err, I see exec: "ffmpeg": executable file not found in $PATH

  • Is it possible to use ffmpeg in nwjs native addon in linux ?

    16 octobre 2016, par Sergey Yakimov

    I’ve created native addon for encoding video from IDS camera. It work in nodejs but after rebuilding it with nw-gyp it stop working. I checked available encoders and there is none. When nwjs loads addon I think it using ffmpeg which come with nwjs and it have only few decoders compiled in and no encoders. In nwjs docs they only describe how one can enable h264 codec, but if I understand it right it will work only as decoder.

    So is there a way to make addon use system ffmpeg instead of that what come with nwjs or at least rebuild ffmpeg used in nwjs to include encoders in it ?

  • Get blur effect inside a drawn box using ass format

    18 septembre 2024, par Armen Sanoyan

    I have Nodejs application which generates subtitles file for video editing. The editing is done by ffmpeg. For each word I also generate a backdrop with rounded corners using drawing command. Example of dialog for backdrop.

    


    Dialogue: 0,00:00:38.60,00:00:42.10,Default,,0,0,0,,{\p1\1a&HD8&\c&HE27FA4&\pos(341.07421875,517.5)\an4}  {\p1}m 15 0 b 1202.8515625 .... {\p0}


    


    Now I want to make the backdrop blur.
(Text backdrop by ass formatting)

    


    I have tried to use \blur or \be, but they are for other purpose. Below is reference from the doc

    


    Enable or disable a subtle softening-effect for the edges of the text

    


    Is there any other way to achieve the blurred backdrop. I am ready even to mix ffmpeg commands like boxblur and ass file. I mean separately paint the backdrops and then apply ass subtitles file. Here is an experiment to explain the idea.

    


    [0:v]split=3[base][blur1_in][blur2_in];

[blur1_in]crop=w=100:h=100:x=20:y=40[region1];
[region1]boxblur=luma_radius=10:luma_power=1[blurred_region1];
[base][blurred_region1]overlay=x=20:y=40:enable='between(t,0,5)'[tmp1];

[blur2_in]crop=w=30:h=30:x=20:y=40[region2];
[region2]boxblur=luma_radius=5:luma_power=1[blurred_region2];
[tmp1][blurred_region2]overlay=x=20:y=40:enable='between(t,5,10)'[tmp2];

[tmp2]ass=../logs/ass.ass:fontsdir=../fonts/Audiowide-Regular.ttf[final_video]


    


    The problem in this case is that the corners are not rounded. Could anyone explain to me what is the easiest way to get backdrop with rounded corners an blurred inside