Recherche avancée

Médias (91)

Autres articles (95)

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

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (5087)

  • Why this function not working, i am try to add watermark in Video for download [closed]

    13 août 2020, par Ajay Kumar

    I am trying to download Video with watermark but this function not working why

    


    SHOW massege error. Video file exist in temp folder with watermark but not download

    


    Failed to download Video if this function enabled and if disabled Video are download successful

    


    function waterMark($videoURL,$username)
{


    require 'video_editor/vendor/autoload.php';

    $ffmpeg = FFMpeg\FFMpeg::create(array(
        'ffmpeg.binaries'  => ffmpeg_lib,
        'ffprobe.binaries' => ffprobe_lib,
        'timeout'          => 8600, // The timeout for the underlying process
        'ffmpeg.threads'   => 42,   // The number of threads that FFMpeg should use
    ), null);
    $ffmpeg_string = ffprobe_lib;


    $tempFile=rand().time();
    $outputFile='tmp/'.$tempFile.'.mp4';

    $video = $ffmpeg->open($videoURL);

    $watermarkPath = watermark_Path;
    $video
        ->filters()
        ->watermark($watermarkPath, array(
            'position' => 'absolute',
            'x' => 15,
            'y' => 30,
        ));
    $text="@".$username;
    $command = "text='$text': fontcolor=white:fontfile=OpenSans-Bold.ttf: fontsize=18: x=20: y=70:";
    $format = new FFMpeg\Format\Video\X264();
    $format->setAudioCodec("aac");

    try
    {

            $video->filters()->custom("drawtext=$command");
            $video->save($format, $outputFile);

            $array_out = array();
            $array_out[] =
            array(
                "download_url" => checkVideoUrl($outputFile)
            );

            $output=array( "code" => "200", "msg" => $array_out);
            print_r(json_encode($output, true));

    }
    catch(Exception $e)
    {
            echo $e->getMessage();
            die;
    }


}


    


    Please solve this isu

    


    Why this function not working, i am try to add watermark in Video for download

    


  • Fix some store forwarding stalls

    7 février 2013, par Jason Garrett-Glaser

    Fix some store forwarding stalls

  • nut : store and read the r_frame_rate

    2 octobre 2012, par Michael Niedermayer

    nut : store and read the r_frame_rate