Recherche avancée

Médias (91)

Autres articles (2)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (3502)

  • configure : speed up flatten_extralibs_wrapper()

    30 juillet 2018, par Avi Halachmi (:avih)
    configure : speed up flatten_extralibs_wrapper()
    

    x50 - x200 faster.

    Currently configure spends 50-70% of its runtime inside a single
    function : flatten_extralibs[_wrapper] - which does string processing.

    During its run, nearly 20K command substitutions (subshells) are used,
    including its callees unique() and resolve(), which is the reason
    for its lengthy run.

    This commit avoids all subshells during its execution, speeding it up
    by about two orders of magnitude, and reducing the overall configure
    runtime by 50-70% .

    resolve() is rewritten to avoid subshells, and in unique() and
    flatten_extralibs() we "inline" the filter[_out] functionality.

    Note that logically, "unique" functionality has more than one possible
    output (depending on which of the recurring items is kept). As it
    turns out, other parts expect the last recurring item to be kept
    (which was the original behavior of uniqie()). This patch preservs
    its output order.

    Tested-by : Michael Niedermayer <michael@niedermayer.cc>
    Tested-by : Helmut K. C. Tessarek <tessarek@evermeet.cx>
    Tested-by : Dave Yeo <daveryeo@telus.net>
    Tested-by : Reino Wijnsma <rwijnsma@xs4all.nl>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] configure
  • Loop, trim, change speed in one command

    24 avril 2020, par Nguyễn Trọng

    I am trying to cut a piece of background music and loop it into the video, while increasing the speed of the video. When I execute the command :

    &#xA;&#xA;

    String[] cmd = {"-y", "-i", input, "-i", shortsound,&#xA;                "-filter_complex", "[0:v]trim=0:240,setpts=1/2*(PTS-STARTPTS)[v1];" &#x2B;&#xA;                "[1:a]atrim=0:6,asetpts=PTS-STARTPTS," &#x2B;&#xA;                "asetrate=44100,aloop=20:size=20*44100,aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[a1];" &#x2B;&#xA;                "[0:a]atrim=0:240,asetpts=PTS-STARTPTS,atempo=2.0" &#x2B;&#xA;                ",aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.5[a2];" &#x2B;&#xA;                "[a1][a2]amerge=inputs=2,pan=stereo|c0code>

    &#xA;&#xA;

    I get a warning :

    &#xA;&#xA;

     [Parsed_amerge_12 @ 0xf545f660] No channel layout for input 2&#xA;&#xA0;&#xA0;&#xA0;[Parsed_amerge_12 @ 0xf545f660] Input channel layouts overlap: output layout will be determined by the number of distinct input channels&#xA;

    &#xA;&#xA;

    How to fix it ?&#xA;Thank in advance.

    &#xA;

  • How to speed up the process (merging audio to video) using FFmpeg in android ?

    22 octobre 2020, par RaJ

    I've add audio(mp3) to the video file(mp4) using FFmpeg library, Merging command in below

    &#xA;

    String cmd = -i original.mp4 -i sample.mp3 -shortest -threads 0 -preset ultrafast -strict -2 output.mp4

    &#xA;

    String[] command = cmd.split(" ") ;

    &#xA;

    FFmpeg.getInstance(MainActivity.this).execute(command, new ExecuteBinaryResponseHandler()&#xA;     {&#xA;                    @Override&#xA;                    public void onFailure(String s) {&#xA;    &#xA;                    }&#xA;    &#xA;                    @Override&#xA;                    public void onSuccess(String s) {&#xA;    &#xA;                    }&#xA;    &#xA;                    @Override&#xA;                    public void onProgress(String s) {&#xA;    &#xA;                    }&#xA;                    @Override&#xA;                    public void onStart() {&#xA;    &#xA;    &#xA;                    }&#xA;    &#xA;                    @Override&#xA;                    public void onFinish() {&#xA;             &#xA;                    }&#xA;                });&#xA;            } catch (FFmpegCommandAlreadyRunningException e) {&#xA;             &#xA;            }&#xA;

    &#xA;

    This command working fine but it will take more time, Example I've add audio to 10second video merging time around 25-30sec.

    &#xA;

    Anybody know how to increase the speed ? Please share or add your valuable information, Thanks.

    &#xA;