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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (4907)

  • download part youtube video with ffmpeg ?

    1er août 2020, par testoflow

    I can't get this right
    
ffmpeg works well so can you help me ?

    


    #I can't get this right

    


    #!/bin/bash
var=$(xclip -o)

if [ -z $var ]; then  
    echo 'copia url a descargar al portapapeles'  
fi  

printf "(1) download part of video without audio\n"
printf "(2) download part of audio\n"
echo
echo -n 'opcion: '
read opcion
case $opcion in
    "1") c=$(youtube-dl -g $var | awk '{ if(NR==1) print $0 }' | sed 's/^/"/;s/$/"/')  && echo -n 'start time: ' && read segundos && echo -n 'duration: ' && read duration &&  ffmpeg -i $c -ss $segundos -t $duration probe.mp4;;  
    "2") b=$(youtube-dl -g $var | awk '{ if(NR==2) print $0 }' | sed 's/^/"/;s/$/"/')  && echo $b && ffmpeg -ss 0 -i $b  -t 10 probe.mp3;;  
esac  


    


  • 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

    


  • Failed to install ffmpeg. Failed to download resource "x265"

    19 août 2020, par Olha Olha

    I was trying to run "brew install ffmpeg" and two download links failed. So it failed the installation.

    


    Those are the links that aren't working :

    


    ==> Downloading https://mirrors.edge.kernel.org/pub/software/scm/git/git-htmldocs-2.28.0.tar.
==> Downloading https://bitbucket.org/multicoreware/x265/downloads/x265_3.4.tar.gz


    


    I got this errors :

    


    Error: Failed to download resource "git--html"

Download failed: https://mirrors.edge.kernel.org/pub/software/scm/git/git-htmldocs-2.28.0.tar.xz

Error: Failed to download resource "x265"

Download failed: https://bitbucket.org/multicoreware/x265/downloads/x265_3.4.tar.gz