Recherche avancée

Médias (91)

Autres articles (44)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (4216)

  • How can I concatenate multiple videos while maintaining the original aspect ratio of each

    25 décembre 2019, par Antony

    How can I concatenate multiple videos while maintaining the original aspect ratio ? I think there are 2 approaches to do this. Either scale videos one by one or concatenate them all with one command. Currently, I’m using the following command

    ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex "[0]scale=iw*sar:ih,setsar=1[ref];[1][ref]scale2ref=w=oh*mdar:h=ih[s][v0];[s]pad=1024:576:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];[v0][0:a:0][v1][1:a:0]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" out.mp4

    In the above example the reference video(1.mp4) is 720x576[SAR 64:45 DAR 16:9]. This works great for concatenating 2 videos but I don’t know how to make it more dynamic.

    So how could I make the command above work for 3 videos ? Either scaling & concatenating 1 by 1 or all together.

  • Comparing two similar videos of different run time length

    5 décembre 2016, par Sachin Bansal

    I have two videos of a single selenium automation script. One is a baseline video and I want to compare the second video with this baseline video. In comparison I want to capture the screenshots of the frames that are not matching.

    The problem is that the videos might not be of same size and run time as the running of scripts depends on network.

    I have tried ffmpeg for this, but that didn’t result in any fruitful result. Can anyone guide me in a right direction on how to get a head-start in this.

    Thanks

  • how to play m3u8 videos from laravel storage

    10 mars 2019, par Farzane Khazaei

    I used ffmpeg to convert my MP4 videos to M3U8 format to have multiple qualities and stream my videos. because of security reason I have to put my videos in storage folder (not public) and now when I try to watch videos the browser just download M3U8 text file and video wont display. I install chrome extension to display M3U8 videos and i can see my M3U8 videos if I put the files in public folder and call the URL directly. this is my code

    $fileName = $product->details()['sample_file_name'];
    $filePath = $product->type.'s/'.$product->id.'/'.$fileName;      
    $fileContents = Storage::disk('products')->path($filePath);
    $header = ['Content-type' => Storage::disk('products')->mimeType($filePath)];
    $header = ['Content-Disposition' => 'attachment; filename='.basename($filePath)];
    $response = Response::download($fileContents, $fileName, $header);
    return $response;

    please help me what headers should i set for my download response.