Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (111)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (5836)

  • String command for watermarking a video using FFmpeg in Android Studio

    11 octobre 2017, par djac

    Following is the ffmpeg function which accepts string command, coded in Android Studio. Can you give Sample/Reference string command for watermarking a video for this function (in Android Studio) ?

    For example :
    Input video file absolute path is "inputvideo".
    Watermark text is "stackoverflow".
    Output video file absolute path is "outputvideo".

    private void execFFmpegBinary(final String[] command) {
    try {
    ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
    @Override
    public void onFailure(String s) {
    Log.d(TAG, “FAILED with output : ” + s);
    }

    @Override
    public void onSuccess(String s) {
    Log.d(TAG, “SUCCESS with output : ” + s);
    //Perform action on success
    }
    }

    @Override
    public void onProgress(String s) {
    Log.d(TAG, “progress : ” + s);
    }

    @Override
    public void onStart() {
    Log.d(TAG, “Started command : ffmpeg ” + command);
    }

    @Override
    public void onFinish() {
    Log.d(TAG, “Finished command : ffmpeg ” + command);

    }
    });
    } catch (FFmpegCommandAlreadyRunningException e) {

    }
    }
  • String command for text-watermarking a video using FFmpeg in Android Studio

    11 octobre 2017, par djac

    Following is the ffmpeg function which accepts string command, coded in Android Studio. Can you give Sample/Reference string command for text-watermarking a video for this function (in Android Studio) ?

    For example :
    Input video file absolute path is "inputvideo".
    Watermark text is "stackoverflow".
    Output video file absolute path is "outputvideo".

    private void execFFmpegBinary(final String[] command) {
    try {
    ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
    @Override
    public void onFailure(String s) {
    Log.d(TAG, “FAILED with output : ” + s);
    }

    @Override
    public void onSuccess(String s) {
    Log.d(TAG, “SUCCESS with output : ” + s);
    //Perform action on success
    }
    }

    @Override
    public void onProgress(String s) {
    Log.d(TAG, “progress : ” + s);
    }

    @Override
    public void onStart() {
    Log.d(TAG, “Started command : ffmpeg ” + command);
    }

    @Override
    public void onFinish() {
    Log.d(TAG, “Finished command : ffmpeg ” + command);

    }
    });
    } catch (FFmpegCommandAlreadyRunningException e) {

    }
    }
  • Watermarking in video using ffmpeg

    14 octobre 2017, par Monisha Vp

    Following is for video watermarking

    include "vendor/autoload.php";\n<br />
    $logger="";<br />
    $ffmpeg = \FFMpeg\FFMpeg::create([
           'ffmpeg.binaries'  => 'C:\ffmpeg\bin\ffmpeg.exe', // the path to the FFMpeg binary<br />
           'ffprobe.binaries' => 'C:\ffmpeg\bin\ffprobe.exe', // the path to the FFProbe binary<br />
       ]);<br />
       $video = $ffmpeg->open('sample.mp4');<br />
       $video<br />
       ->filters()<br />
       ->watermark('watermark.png', array(<br />
           'position' => 'absolute',<br />
           'x' => 1180,<br />
           'y' => 620,<br />
       ));<br />
       $video<br />
       ->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4');<br />
       print "ssddd";

    But it return error

    Fatal error : Uncaught exception
    ’Alchemy\BinaryDriver\Exception\ExecutionFailureException’ with
    message ’ffmpeg failed to execute command C :\ffmpeg\bin\ffmpeg.exe -y
    -i sample.mp4 -vcodec libx264 -acodec libfaac -b:v 1000k -refs 6 -coder 1 -sc_threshold 40 -flags +loop -me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 -qdiff 4 -trellis 1 -b:a 128k -vf "movie=watermark.png [watermark] ;[in][watermark] overlay=1180:620 [out]" -pass 1
    -passlogfile "C :\Users\Lap215\AppData\Local\Temp\ffmpeg-passes59e25ad8c4dd5xwrpl/pass-59e25ad8c5327"
    export-x264.mp4’ in
    C :\xampp\htdocs\test_html\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php:100
    Stack trace : #0
    C :\xampp\htdocs\test_html\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php(72) :
    Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure(’C :\ffmpeg\bin\f...’)

    1 C :\xampp\htdocs\test_html\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(209) :

    Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\P
    in
    C :\xampp\htdocs\test_html\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\Video.php
    on line 228.

    Please help me